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.
Stop lying and drop maintainership of these packages. I have not
maintained them for a very long time already, so leave room for
fresh blood to take over them.
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
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
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.
2005-03-04 Jody Goldberg <jody@gnome.org>
* libgnomecups/gnome-cups-printer.c (gnome_cups_printer_set_name) :
delete.
2005-02-17 Jody Goldberg <jody@gnome.org>
http://mail.gnome.org/archives/gnome-print-list/2004-August/msg00023.html
* libgnomecups/gnome-cups-printer.c (cups_get_dests) : copied from
cups.
(parse_lpoptions) : stripped down cupsGetDests that does not pull in
ppds.
(get_default) : Use parse_lpoptions in place of cupsGetDests.
(check_exists) : delete.
(gnome_cups_printer_get) : Just see if the list printer is in the list
of known printers rather than using the defunct check_exists that
would actually ping the printer.
(get_ppd_uri_path) : new.
(get_tmp_ppd_file) : new.
(gnome_cups_printer_get_ppd) :
2005-02-17 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=157829
* libgnomecups/gnome-cups-request.c (idle_stop_unused_threads) :
unlock before stopping the threads
(close_unused_connection) : avoid deadlocks when already locked.
2005-01-06 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.in: error out if cups-config not found
2004-12-14 Jody Goldberg <jody@gnome.org>
* configure.in : post releaes bump
2004-11-16 Jody Goldberg <jody@gnome.org>
* libgnomecups/gnome-cups-printer.c (gnome_cups_printer_set_name) :
Add a decl in the header.
* libgnomecups/gnome-cups-printer.c (update_attributes) : disable the
optimization that went directly to a printer when we knew it's host.
This caused problems when the remote printer was not accessible, or
for machines with unresolveable localnames (eg SuSE). People can
re-enable it if they'd like (eg RedHat) by tweaking the magic global
static variable go_directly_to_printer_when_possible.
(_gnome_cups_printer_get_host) : ditto.
2004-10-27 Jody Goldberg <jody@gnome.org>
* libgnomecups/gnome-cups-printer.c (gnome_cups_printer_set_name) : new
(gnome_cups_printer_set_description) :
s/CUPS_ADD_PRINTER/IPP_SET_PRINTER_ATTRIBUTES/
(gnome_cups_printer_set_location) : ditto
2004-10-14 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=151218
* libgnomecups/gnome-cups-request.c (gnome_cups_request_new) : patch
minor leak.
2004-10-10 Malcolm Tredinnick <malcolm@commsecure.com.au>
* configure.in: Wrap the GETTEXT_PACKAGE string in quotes.
Unbreaks the build.
2004-10-09 James Henstridge <james@jamesh.id.au>
* acconfig.h, acinclude.m4: remove unnecessary autoconf/automake
cruft.
* libgnomecups/Makefile.am: don't set LDFLAGS variable, since it
is meant to be a user variable. Don't define GNOMELOCALEDIR,
since it is done in the configure script now.
* configure.in: remove some macro calls that are unnecessary with
newer versions of Automake.
* autogen.sh: ask for Automake >= 1.7
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.