Commit graph

33 commits

Author SHA1 Message Date
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
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +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
jmmv
0d3662ee66 Drop maintainership
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.
2008-04-30 13:38:14 +00:00
wiz
08acbf69d3 Update to 0.15:
============
Version 0.15
============

  o make the extension check for Icon key a warning instead of an error for now
    (Ray Strode)
  o Fix a crash in update-desktop-database when there's no group (Vincent)
  o Fix a crash in the validator happening for very small lines (Vincent)
2008-03-04 13:25:18 +00:00
heinz
9551b671bc Package supports installation to DESTDIR. 2007-11-29 22:05:33 +00:00
wiz
3b89c50e0e Update to 0.14:
============
Version 0.14
============

  o update of the Emacs editing mode for .desktop files (Ville Skyttä)
  o make desktop-file-install print an error when trying to install a
    non-existing desktop file, or a desktop file that can't be read (Vincent)
  o make the validator check the content of the Icon key (Vincent)
  o make the validator accept X-Foo as a valid environment (this was added to
    the spec) (Stanislav Brabec, Vincent)
  o really handle the -m command line argument for desktop-file-install
    (Matthias Clasen)
  o make desktop-file-install accept as one valid argument multiple
    categories/only-show-in/mime-types values. Now --add-category="GNOME;GTK"
    works as expected. (Vincent)
  o make desktop-file-install validate the created desktop file before removing
    the original file, and unlink it if it's not valid (Vincent)
  o code cleanups for desktop-file-install (Vincent)
2007-09-07 16:11:19 +00:00
drochner
88ce34b5ab remove unneeded dependency on popt, bump PKGREVISION 2007-07-13 15:53:42 +00:00
wiz
02082589b5 Update to 0.13:
============
Version 0.13
============

  o rewrite validator, and update it for desktop entry specification 1.0.
    The validator should be stricter and report more useful messages.
    (Vincent)
  o add --warn-kde and --no-warn-deprecated command line options to
    desktop-file-validate (Vincent)
  o port desktop-file-install to GKeyFile (Vincent)
  o don't require --vendor for desktop-file-install (Vincent)
  o some general module cleanup (Vincent)
2007-07-03 19:47:36 +00:00
wiz
ca76a27581 Update to 0.12:
============
Version 0.12
============

  o improves category validation code to not catch false positives (Vincent Fretin, Ville Skyttä, Ray Strode, Vincent Untz)
  o make category validation code non-fatal (Ray)
  o fix mem leaks and double frees (Pascal Terjan)
2006-11-18 23:58:53 +00:00
wiz
7938151fe6 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:59:34 +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
jlam
e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +00:00
jlam
827643d4bb Split out deinstall portions of INSTALL scripts into DEINSTALL scripts.
This avoids the need for a confusing line of the form:

	DEINSTALL_TEMPLATE+=	path/to/INSTALL

in the package Makefile, and actually removes the need to specify it
altogether since by convention, the existence of the DEINSTALL script
is enough to add it to DEINSTALL_TEMPLATE.
2006-06-15 20:40:15 +00:00
wiz
3341457e81 Update to 0.11:
============
Version 0.11
============

  o Validate desktop file categories (Emmet Hikory, Vincent Untz)
  o Use GKeyFile instead of the old egg code in update-desktop-database (Vincent)
  o Use GOption instead of popt (Vincent)
  o Fix grammar problem in one of the strings (Moritz Barsnick)
  o NULL terminate search patch in update-desktop-database (Mike Hearn)
  o Fix language to encoding mapping to match spec (Ville Skyttä)
2006-04-28 18:36:01 +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
11993b86ed Bump PKGREVISION for all packages that had broken INSTALL/DEINSTALL
scripts prior to revision 1.43 of bsd.pkginstall.mk.
2006-03-21 06:00:43 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
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.
2006-03-14 01:14:26 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +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
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
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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
da2fc85390 Don't check for USE_BUILDLINK3 anymore in these files. These are included
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
2005-03-24 22:42:58 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
jmmv
07532578cf Update to 0.10:
o Remove all menus code (Mark McLoughlin)
o Don't try and add key/value pairs to comments (Miloslav Trmac)
2005-01-03 21:43:07 +00:00
jmmv
cd7cfd13be Update to 0.9:
o Many update-desktop-database improvements (Ray Strode,  Dan Williams)
o Fix desktop-file-install --remove-only-show-in (Ray Strode)
2004-12-05 09:38:02 +00:00
sketch
92e0154dd9 Correct URL to distfile. 2004-11-26 17:22:54 +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
jmmv
fca42f8372 Initial import of desktop-file-utils, version 0.8:
desktop-file-utils contains a couple of command line utilities for working
with desktop entries and the applications database.  More specifically,
it contains the update-desktop-database utility, used to rebuild the database
that connects MIME types to applications.
2004-09-21 17:03:53 +00:00