Commit graph

61 commits

Author SHA1 Message Date
sno
2e84c0a7cb bump revision because of graphics/jpeg update 2009-08-26 20:19:17 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
wiz
d70523df21 Remove USE_DIRS from pkgsrc.
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
2009-07-22 09:01:16 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
wiz
8e810a2bc9 Recursive PKGREVISION bump for gnutls-2.2.2 update with shlib major bump. 2008-03-06 14:53:47 +00:00
wiz
3528e06345 Fix paths for GConf, libglade, libart, libsigc++, lablgtk moves.
Bump PKGREVISION.
2007-09-21 13:03:25 +00:00
wiz
42825e73a6 Bump PKGREVISION for gnome-vfs rename. 2007-09-19 23:18:43 +00:00
wiz
e64b358b66 Use gnome-vfs instead of gnome-vfs2. 2007-09-19 23:13:12 +00:00
wiz
f9ca475dd5 Bump PKGREVISION for opencdk shlib major bump. 2007-06-05 08:11:43 +00:00
joerg
d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +00:00
jmmv
0183f102be Bump revisions due to gnome-vfs2 update: dbus-glib is now a dependency.
This fixes problems when some installed packages are outdated.
Per wiz@'s request.

(These are some that I forgot in the previous commit because they weren't
initially in the file list.  Reported by hira@.)
2006-09-16 15:36:12 +00:00
wiz
193cbc7eb7 Move gcc4 hack into hacks.mk 2006-08-07 11:21:45 +00:00
jmmv
83017eb95e Update bmp and bmp-esound to 0.9.7.1. Basically doing this to fix the
problems with GCC 4 but they seem to not have gone away completely; hence,
disabling optimizations with this compiler.

Enhancements
* New (free) ClearSky skin by Will Reinhart
* New desktop icon
* New GConf schema
* New multi-thread mode for ALSA plugin
* Support for customizable accelerators
* Queue support in Jump to Track
* Partial support for new XMMS 1.2.11 remote control functions
* New translations (Finnish, Georgian, Hindi, Ukrainian, Traditional Chinese)
  and updates

Miscellaneous
* Log file renamed to 'log'
* Minor GUI tweaks

Bugfixes
* Fixed some ALSA playback issues
* Fixed crashes when output plugin returning sound volume for only 1 channel
* Fixed crashes when input plugins do not set title when getting song info
* Fixed infinite recursion in logger
* Fixed bogus values returned by xmms_remote_get_info()
* Fixed general/visualization plugin About dialogs not opening correctly
* Fixed centering of playlist in Playlist Editor
* Fixed incorrect length of 1st track read from .m3u files
* Fixed gcc4 compilation errors
* Fixed 64-bit issues setting/getting ESD volume
* Fixed MimeType value in desktop file
* Fixed text clipping of non-ASCII titles in Playlist Editor
2006-07-31 21:43:55 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
minskim
7145580d62 Fix PLIST on Darwin, where the CD audio input module is not built. 2006-07-06 00:15:14 +00:00
rillig
dccb47c9fa Fixed pkglint warnings in audio/bmp-esound by not using the := operator. 2006-05-31 09:12:18 +00:00
wiz
375b5e4933 More PKGREVISION bumps for png-1.2.9nb2 update. 2006-04-17 14:52:10 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
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.
2006-04-17 07:07:11 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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).
2006-04-06 06:21:32 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jmmv
d971a332da Drop maintainership. I can't seriously be the maintainer of so many
packages - specially of packages that I haven't touched for a long
while or those that other people can handle better than me.
2006-01-20 16:15:52 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
minskim
d9b1ca3db6 Add IPv6 support for beep-media-player, as suggested by Kevin Kim in
private email.  The patches were created by Byung-Hee HWANG.
Bump PKGREVISION since IPv6 is enabled by default.

Approved by the maintainer.
2005-10-19 15:09:37 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
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-08-10 20:56:10 +00:00
rillig
a3bcf47ff3 Fixed a suble quoting bug. CONFIGURE_ARGS (and probably others) must not
be used with the := assignment operator when they contain quoted
components.
2005-08-01 00:09:35 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
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.
2005-06-01 18:02:37 +00:00
jlam
1012ae7ffc Avoid using != to set RAWPART all of the time... we can defer it using :sh
to whenever CONFIGURE_ARGS is used.
2005-04-28 22:16:31 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jmmv
87a0c71650 Depend on unzip, as it's required to use winamp (zipped) skins. Otherwise,
if the program cannot find unzip, the window screen gets garbled.  This
is just a workaround for what seems to be a bug in the program, but is not
our fault.  Closes PR pkg/29697 by sigsegv@rambler.ru.
2005-03-16 21:27:00 +00:00
jmmv
4efb7c1adf Depend on pango (used directly). 2005-03-16 16:33:25 +00:00
jmmv
2f0dde48d3 Add an option (xmms-eq) to enable XMMS's equalizer legacy code (off by
default, so that the package does not change).  The new code does strange
things with old presets (dunno if there is a bug or something has really
changed; anyway, it's not our fault, so all we can do is provide an option).
2005-03-08 17:05:17 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
jmmv
dc0fbba41b Update bmp and bmp-esound to 0.9.7; from Stefan Krüger in PR pkg/28672.
Enhancements
* Multiple encoding support for trying ID3 title conversion
* GUI refinement tweaks
* New logo and icons
* New command line option to bring BMP to desktop foreground (--activate).
* New compile-time option select XMMS equalization (--with-xmms-eq).
* New translations (Brazilian Portuguese, Breton, Czech, Greek, Hungarian,
  Macedonian, Romanian, Slovak)
* Running beep-media-player --version now prints built-in optional components

Bugfixes
* Fixed removal of dead playlist entries
* Fixed dependency information in pkg-config file (bmp.pc)
* Fixed and disambiguated playlist editor accelerators
* Hacked around playlist editor shade bug (now always unshades on launch)
* Many others (see Bugzilla and ChangeLog)
2004-12-25 15:22:36 +00:00
jmmv
c06a4789d4 Add a workaround for PR pkg/26846 (fix a crash during bmp's shutdown).
A detailed analisys of the problem can be found in the report.
Bump PKGREVISION to 4.
2004-11-14 19:26:08 +00:00
wiz
7f36410a83 Add bl3 file for libvisual-bmp. 2004-11-05 21:13:18 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
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".
2004-09-22 08:09:14 +00:00
jmmv
c4d8715a9e Rebuild the desktop database at (de)install time to get the MIME types
correctly registered.  Bump PKGREVISION to 2.
2004-09-21 17:22:12 +00:00