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.
* libglade/src/xml.hg:
* libglade/src/xml.ccg: Do not use exceptions when compiled with
exceptions disabled. Instead, Gnome::Glade::Xml takes an additional
error parameter like most other g*mm methods that can fail.
* docs/reference/Doxyfile.in: Add defines to PREDEFINED so that documentation
is built wihout hiding optional API, such as use of exceptions.
2.6.4:
* Xml(const char* buffer, ) constructor: Make this actually
work. (Douglas C. MacKenzie) Bug #326512.
* Documentation: Clarified lifetime rules. (Ole Laursen)
* Build:
- Fixed build when disabling properties and exceptions.
(Armin Burgmeier, Openismus)
- Check for both m4 and M4 in the GNU m4 output, to fix
the build on some platforms. (Yselkowitz) Bug #42399.
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
* Glade::get_widget(): Show the name of not-found
widgets on the console, because libglade does not seem to
do this anymore (I think it did once.)
* Example: Delete the dialog when we are finished with it.
* Windows build fixes.
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).
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
libglademm 2.6 is API/ABI-compatible with libglademm 2.4.
Changes since libglademm 2.4:
* Glade::Xml: Added connect_clicked() for easy connection of
buttons and menuitems signals.
* Glade::VariablesMap: now handles Entry, ComboTextEntry,
SpinButton, *Scale, Calendar and CheckBox.