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
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).
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
0.99.99 December 21, 2004
* Core changes:
* Startup time has been greatly reduced (especially
when there are a lot of cached streams)
* The cache format has changed (a binary cache has
been reintroduced, improving performance and
allowing to inline binary files into the cache)
* Was sometimes locking up at startup: fixed
* The preferences dialog has been reworked
* A tab can now reload multiple categories
concurrently
* The stop button now only stops the currently
selected tab
* The stream columns can now be reordered
* The stream columns menu item now displays a dialog
* The plugin API has been enriched (handler
configuration, handler preferences widget, character
set handling in the transfer framework, utilities,
...) and documented
* Bookmarks now include a description, homepage and
URI list
* The about dialog does not list the plugins and
handlers anymore
* Hyperlinks can now be focused, and activated using
the keyboard
* User interface images are now loaded from external
files, for smaller memory usage
* When a plugin was disabled, its configuration was
lost: fixed
* Now compiles cleanly even when -fstrict-aliasing is
in use (based on a patch by Philipp Thomas)
* The stock preselections have been updated
* The streamtuner icon now uses the new colour scheme
* Other fixes, cleanups and improvements
pkgsrc changes:
* Make it use the options framework. The following options are
recognized:
o streamtuner-local (to enable the local metadata plugin)
o streamtuner-xiph (to enable the xiph plugin)
o python (to enable the python plugin)
The python option is off by default and the other ones are on.
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.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
0.99 23 October 2004
* The plugins have been included in the core distribution
* The plugins can now be disabled from the preferences
* The paned position and column widths were not saved anymore:
fixed
* The Local plugin now depends on TagLib (instead of libid3tag
and libvorbis)
* The Xiph plugin has been fixed, it now lists all the streams
(but depends on libxml2)
* STREAMTUNER_LOCAL_ROOT has been deprecated: the music folder
can now be set from the preferences
* The session is now always saved upon exit
* Tab labels now have their own popup menu, containing
tab-specific actions
* The german translations have been updated (submitted by
Martin Stromberger)
* Minor fixes and cleanups
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".
0.12.1 30 March 2004
* Fixed bookmarks loading
0.12.0 30 March 2004
* The bookmarks are now global
* A preselections handler has been implemented
* The properties dialog can now edit a stream
* Some streams can now be deleted
* HTTP transfers are now compressed if possible (suggested by
Marcus Rückert)
* HTTP transfers now follow redirections
* Socks 5 proxy support has been added
* The documentation is now in DocBook format
* A splash screen has been implemented
* Some icons have been changed
* Tabs can now be reordered
* GTK+ interactive search has been fixed
* Several UI improvements have been performed
* The API has been enriched
* The overall performance has been greatly improved
* Major code cleanups have been performed
* Several bugs and memory leaks have been fixed
* streamtuner-theme-convert has been removed
* Now requires GTK+ version 2.2.2 or superior
* Now requires libcurl version 7.10.5 or superior
0.11.1 07 February 2004
* Fixed a deadlock on Linux and other platforms having
non-recursive mutexes (reported by Marcus Rückert)
* Fixed a crlf parsing bug in transfer code
* A minor bug in tab switching has been fixed
0.11.0 31 January 2004
* Reimplemented bookmarks support (unseen since 0.7.3)
* Multiple stream selection is now possible (a new event has
been added, ST_HANDLER_EVENT_STREAM_TUNE_IN_MULTIPLE)
* Categories are now displayed when they are selected
* Removed the "Stop tune in" feature and the task dialogs
* The stop button now is now global
* Removed the category menu and moved its items to the view
menu
* The transfer API has been improved:
- retrieval of HTTP headers
- UNIX, DOS and Mac newline support
- cleaner API
* Introduced the st_action API, obsoleting st_programs
* Implemented a minimal m3u and pls API
* Added st_handler_set_description() and
st_handler_set_home(): a clickable label pointing to the
currently selected handler's home is now displayed in the
toolbar
* GTK_STOCK_REFRESH and GTK_STOCK_STOP now replaces
ST_STOCK_RELOAD and ST_STOCK_STOP
* Categories now have a descriptive icon
* Tab icons can now be hidden
* Added an "Always refresh categories" option
* The SHOUTcast plugin can now parse the charset information
of the Content-Type HTTP header
* A SHOUTcast playlist writing bug has been fixed
* Multi-threading is now mandatory
Changes:
0.10.1 18 September 2003
* Internationalization has been performed, and a french
translation is already available
* Switched to Autoconf 2.57, Automake 1.7.5 and Libtool 1.5
* The build system has been cleaned up
* Most of the code has been rewritten in a pure GObject-oriented fashion
* As a side-effect of the above, some bugs have been fixed
* The interface has been revamped and is now (almost fully) HIG-compliant
* Native theme support has been deprecated in favor of GTK+ theming (see
streamtuner-theme-convert(1) for details)
* The API minor version has been bumped (added ST_HANDLER_EVENT_THREAD_BEGIN
and ST_HANDLER_EVENT_THREAD_END)