This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
0.9.6 20040430 Compilation fixes for Solaris
Compilation fixes for ImageMagick unavailability
0.9.5 20040406 Bug fixes
Compilation with gcc 2.95.x should work again
0.9.4 20040316 Mostly bug fixes
Minimum version required for AbiWord 2.1.1 and later
0.9.3 20040226 Minimum version required for new AbiWord 2.1 plugin
Fixed a few minor bugs
Added psiconv_unicode_from_list and psiconv_unicode_strstr
Much better error and progress reporting in generators
0.9.2.1 20040223 Quick fix for the library number mistake in 0.9.2
0.9.2 20040223 Many bugfixes, among them some critical ones:
* Package now builds without psiconv.conf files installed
UTF8 Psion support might now actually work
-c argument introduced for psiconv program
0.9.1 20040209 Added the psiconv-config program.
Fixed the installation of @includedir@/psiconv/general.h
Added the forgotted psiconv_config_free function.
Removed some small memory leaks.
0.9.0 20040204 New major library version number breaks source compatibility:
* All strings and characters are now stored in UCS-2
* New config structure.
- Call psiconv_config_default and psiconv_config_read at the
start of your program
- Almost all functions have a new psiconv_config parameter
- All former global variables are now in this structure
* Several minor changes in the functions defined in
parse_routines.h and generate_routines.h
* All generate_* routines have now a lev parameter except
generate_file.
* psiconv_sketch_section data representation changes
* New verbosity level PSICONV_VERB_ERROR
Use config files /etc/psiconv.conf and ~/.psiconv.conf
Support automake 1.6, 1.7 and 1.8
Support autoconf-2.50 and up
Support ImageMagick 5.4.x and 5.5.x (API changed once again...)
Support Unicode output in psiconv program (Keita Kawabe)
Don't use features not present in plain sh (Keita Kawabe)
Clean up some automake-related stuff.
Format documentation is now installed too.
Debian build support
Embedded objects in Word are now properly parsed and generated
Sketch file generation is added (stand-alone and as object)
MBM and Clipart file generation is added
Image files other than 2-bits greyscale are parsed and
generated (experimental)
Errors and warnings sanitized
Rewrite of the psiconv program:
* Outputs in UTF8, UCS2, ASCII or Psion encodings
* XHTML target generates strict XHTML using CSS
* HTML4 target generates traditional HTML without CSS
* IMAGE target remains the same
* LATEX and RTF targets are not supported anymore
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
libcompat.la, as that makes libtool think that package will be installed.
This was causing libpsiconv.la to depend on libcompat.la, even though the
latter was never installed. Bump the PKGREVISION.
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
Changes since 0.6.1:
0.8.2 200002?? Basic sheet support in library
Added autogen.sh
autoconf-2.50, automake-1.4-p4
0.8.1 20000110 New enum screenfont_t
New program rewrite in extra
Added psiconv_empty_* functions
Fixed a few minor generation bugs
0.8.0 20001228 Fixed style inheritance from Normal
Fixed warnings in layouts
Added generation routines to libpsiconv
Upgraded documentation to version 2.6
Fixed several minor parse-related issues
0.7.1 20001218 Maintenance release to be used with Abiword.
Set proper interline defaults.
0.7.0 20001215 Made libpsiconv C++ compatible.
general.h is now installed properly (oops...)
Revamped package directory structure and files.
Include files contain now the correct paths.
Fixed a nasty typo; larger files should now work.
It seems psiconv_verbosity was never defined.
Added message printing hook for applications to capture.
All result codes are now tested, library is much more robust.
Some internal data fields have been renamed.
0.6.2 20001021 ImageMagick 5 now works. I hope.
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
use X11_BUILDLINK_MK as a test value. Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links. These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.
Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.