Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.
Packages needing empty directories can use the @pkgdir command in PLIST.
Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
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.
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.
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
- Added internet audio keys support, see README to setup your keys for X.
- Updated French translation.
* Fixes to ogg support for the vorbis 1.0 release.
* Fixed endless loop causing lockup when repeat and play next song on
error is enabled with only one song in the playlist.
Changes:
* Speed improvement when removing many songs at once from the playlist.
* Fixed incorrect column location for text entry when editing comments in
the playlist window.
* Fixed bug causing flybys to never show when the delay between songs is
set to 0 seconds.
- Skin resizing speed improvements.
- List scrolling speed improvements.
- Added skin release info editing to the skin editor (comments button).
- Added keyboard window sizing support.
* Fixed list bugs when clicking on a non active row.
* Fixed events being sent to a window twice.
* Skin editor fixes.
* Fixed initial path display in file dialogs.
Changes since 0.16.0:
The default skin now includes a playlist viewer, and uses standard
X fonts so that international characters will display correctly.
Several new skin features were added, and ID3 tag v1.1 track numbers
are now supported. Support for use of X fonts in skins has been
added to allow the display of international characters. The mrclean
skin has been updated to help users test the new font features. A
bug causing Ogg zombie processes was fixed.
Added configuration of radio device.
Added 'save playlist' to main pop up menu.
Added open_file, open_playlist, open_custom, and save_playlist to the skin spec.
Many fixes to the ogg123 support (patch-ac).
gtk specific command line options now work.
Fixed a possible buffer over run in cpu percent usage polling (linux).
SLIK 0.10.0:
Added divider between dirs and files in path selection dialogs.
Fixed a file descriptor leak in skin loader.
Fixed writing of blank focus file name (should not be written at all)
in the editor.
Fixed unhiding of a widget to update it's state first.
Fixed clist in place editing scroll bug.
Fix and guard against a few cases that may cause a crash at startup.
from the last set), making ogg playback useful:
- implement ogg123_pipe_open() which opens a pipe and runs the command
supplied in the char **, returning the child pid and fd array from pipe(2).
based on code from ogg123_child_run().
- replace popen() with ogg123_pipe_open() in ogg123_info_get(),
ogg123_comment_get(), and ogg123_comment_set(). now info actually
works for file names which contain wacky shell characters (where
surrounding the file name with quotes just Isn't Enough)
- parse_bitrate(): current bitrate in ogg123 output is now "(NNN.MM kbps)",
so look for that rather than "Bitrate: NNNN"
- when setting the initial bit_rate for a song, use "bitrate_average / 1000"
rather than "bitrate_nominal", since bit_rate is in kbps and bitrate_*
is in bps and bitrate_average is more appropriate that bitrate_nominal.
+ Skins can now open skinned subwindows.
+ Cleaned up mrclean skin, adding themed playlist and song info windows.
- Flybys are now interactive, and include a right click menu.
- Flybys and themed menus now support all widgets of the main window.
- Added playlist text widget to skin spec for display of playlist name.
* Fix command line file path handling.
* Small bug fixes.
Notes:
- Keyboard focus support with tab and shift-tab uses the order of widgets
in the skin. Most skins were made before keyboard focus was added, so
tab and shift-tab movement may seem completely random in those skins.
XXX: not strongly buildlinked any longer -- a -I/usr/X11R6/include
crept in somewhere, but right now I'm too tired to go look where.
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".]
+ Added keyboard support to the skin engine (on by default).
+ Added skinned menu support (off by default).
+ Added flyby window that briefly appears at the beginning of each song
to display the title and artist (off by default). This is only displayed
when the player advances to another song without user intervention.
+ Included new mrclean skin to the package.
- On demand song info loading is now done in the background.
- F10 key now displays the pop-up menu.
- Updated French translation.
- Increased ID3v2 header skip size maximium to 64k (from 16k).
- Spacebar no longer equates to 'play' button, use P instead.
* Fixed imported fonts for the text widget failing to display in the
the skin editor.
- Updated French, and added Finnish translations.
- Added on demand load of song information for the playlist window.
- Searches further into mp3 files with ID3v2 tags for header info.
- Added ID3 blank genre option.
* Fixed file descriptor leak in mpg123 fork pipe.
* ogg song information tags are now case insensitive.
* Fixed possible buffer overruns with sprintf, strcpy, etc.
* More bug fixes.
- Added --geometry command line option.
- Updated French translation.
- Playlist now scrolls with drag and drop.
- Adding directory contents to a playlist now sorts the contents first.
* Fixed ogg filenames with spaces.
* Made the M3U file reading actually work.
* Minor other fixes.
Close pkg/15435
+ Added bitrate etc. information and comment support for ogg files,
including a comment editor.
+ Song titles and comments are now customizable, and are saved in the
playlist (to customize use right click menu in playlist).
+ Added Traditional Chinese translation (zh_TW).
- Added help window (displays README).
- Basic read-only support for m3u 3.0 titles saved in a playlist.
* Fix (at least improved) --dockwm behavior.
* Several misc fixes.
Update submitted by Rui-Xiang Guo <rxg@ms25.url.com.tw> in PR 15242