The NetBSD Project

CVS log for pkgsrc/mk/plist/

[BACK] Up to [] / pkgsrc / mk / plist

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 11 14:53:10 2018 UTC (13 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD
Changes since 1.33: +13 -13 lines
Diff to previous 1.33 (colored)

mk/plist: make print-PLIST discoverable by "make help"

Because print-PLIST uses mixed case (unlike most of the other make
targets), it is not found by the keyword search of "make help".

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 14 16:23:09 2017 UTC (22 months, 1 week ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

Essentially from OBATA Akio in private mail, June 2015:

Introduce Icon Theme cache handling framework

Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool.  Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs.  With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.

Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
  gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
  also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
  using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
  maintained by gtk3+.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 25 21:57:23 2016 UTC (2 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.31: +1 -10 lines
Diff to previous 1.31 (colored)

Remove special PRINT_PLIST_AWK for a couple of variables.

In particular:

Reason: Only very few packages really need these, many other have false

Ok jperkin@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 3 14:32:30 2016 UTC (2 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Honour ALL_ENV in print-PLIST.

Revision 1.30 / (download) - annotate - [select for diffs], Tue May 10 16:54:05 2016 UTC (2 years, 11 months ago) by jperkin
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

Restore print-PLIST @pkgdir functionality.  This was lost in the @dirrm
cleanup as the implicit print action was removed.

Revision 1.29 / (download) - annotate - [select for diffs], Wed May 4 11:17:41 2016 UTC (2 years, 11 months ago) by jperkin
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Handle MANZ for print-PLIST.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 10 15:58:03 2016 UTC (3 years ago) by joerg
Branch: MAIN
Changes since 1.27: +3 -13 lines
Diff to previous 1.27 (colored)

Remove support for USE_DESTDIR=no.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 7 03:39:08 2015 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.26: +2 -34 lines
Diff to previous 1.26 (colored)

Garbage collect remaining part of the @dirrm logic.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 24 12:42:52 2014 UTC (5 years, 2 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.25: +1 -4 lines
Diff to previous 1.25 (colored)

Move PY_PEP3147 specific PRINT_PLIST handling from common mk/plist/
to lang/python/, handling reverse way.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 18 19:48:57 2014 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.24: +5 -1 lines
Diff to previous 1.24 (colored)

Improve support for python-3.3.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jul 5 15:31:54 2013 UTC (5 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

Fix print-PLIST with a custom PKGGNUDIR.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 20 09:19:08 2013 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Fix continuation for previous.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 20 08:45:05 2013 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

Remove OPSYS and LOWER_OPSYS substitutions in print-PLIST;
nowadays they cause more PLIST breakage than they fix.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Dec 6 11:36:31 2012 UTC (6 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Introduce PKGGNUDIR as a way to control gnu prefix.

By default pkgsrc uses LOCABASE/gnu as a prefix for packages to install
native versions of GNU tools, which are them symbolically linked back to
the 'g' versions of the files in LOCALBASE, and users can then add
LOCALBASE/gnu/bin to PATH to pick up those tools.

On systems where the GNU environment is desired, PKGGNUDIR now allows
users to install the non-'g' files directly into LOCALBASE, making them
the default without having to alter PATH, whilst retaining the 'g' files
in order to ensure dependencies and tool paths remain the same.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 8 23:12:16 2012 UTC (7 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.19: +1 -5 lines
Diff to previous 1.19 (colored)

Remove special handling for LOWER_VENDOR in print-PLIST, it hurts more
than it helps (e.g. replacing foo.pc with foo.${LOWER_VENDOR}).

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 30 11:19:51 2011 UTC (7 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

escape `+' in DESTDIR for regex.
fixes PR#45245.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 14 17:12:03 2009 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.17: +2 -7 lines
Diff to previous 1.17 (colored)

Don't generate @dirrm lines in print-PLIST, switch @exec mkdir lines to

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 17 22:13:36 2009 UTC (10 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.16: +4 -5 lines
Diff to previous 1.16 (colored)

Replaced _PKG_SILENT and _PKG_DEBUG with RUN.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 23 23:46:26 2008 UTC (10 years, 9 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Avoid quoting "other character" in awk's strings as regular expressions.
See pkg/39002.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 20 10:59:53 2007 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, cwrapper
Changes since 1.14: +8 -1 lines
Diff to previous 1.14 (colored)

For DESTDIR operation, no need to filter out old files.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 31 19:51:01 2007 UTC (11 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.13: +13 -8 lines
Diff to previous 1.13 (colored)

Don't substitute for OPSYS- or ARCH-related variables in print-plist
if EMUL_PLATFORMS is defined.  This facilitates making

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 2 14:54:21 2007 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

Remove USE_MTREE support. Keep one copy (the NetBSD version) for
the purpose of print-PLIST in plist/common-dirs.mtree.

Discussed with wiz@, no objections on tech-pkg@.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 2 09:08:33 2007 UTC (12 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, jlam-pkgviews-base, jlam-pkgviews
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Make MTREE_FILE and MTREE_ARGS internal by prefixing them with '_'.
They are not supposed to be set by the user.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 15 10:40:34 2006 UTC (12 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.10: +14 -1 lines
Diff to previous 1.10 (colored)

Font-related entries we skip for CHECK_FILES should be skipped for
print-PLIST as well.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 9 12:25:44 2006 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

Main infrastructure for DESTDIR support.

Packages may set PKG_DESTDIR_SUPPORT to either "destdir" or
"user-destdir" to flag support for this, following the same
rules as PKG_INSTALLATION_TYPES (e.g. define before first include

The user activates it via USE_DESTDIR. When set to "yes",
packages with "user-destdir" are handled as "destdir".
The installation of the package will not go to ${LOCALBASE},
but a subdirectory of ${WRKDIR} instead. pre/post install scripts are
not run and the package is not registered either. A binary package
can be created instead to be installed normally with pkg_add.

For "user-destdir" packages, everything is run as normal user and
ownership is supposed to be correctled by pkg_create later. Since
the current pkg_install code uses pax and it doesn't allow overwriting
owners, this does not work yet.

For "destdir" packages, installation, packaging and cleaning is run as

This commit does not change the handling of DEPENDS_TARGET or
bin-install to allow recursive usage.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 7 21:24:29 2006 UTC (12 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Rename <phase>_COOKIE variables to _COOKIE.<phase>.  These are private
variables so there are no user-visible changes.  This change just makes
it a little easier to write for loops.

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 14 14:27:41 2006 UTC (12 years, 11 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Re-add ${PREFIX} to the list of directories print-PLIST target
should ignore or it is broken for packages that installing files right
under ${PREFIX}.  Example in lang/sun-jre15:
$ make print-PLIST
@dirrm java/sun-1.5
ls: /usr/pkg//usr/pkg/.: No such file or directory
@dirrm /usr/pkg/.

It looks to me that was removed by mistake in revision 1.5
of this file.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 9 21:37:33 2006 UTC (12 years, 11 months ago) by minskim
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Apply PRINT_PLIST_AWK and _PLIST_PLIST_AWK_SUBST in the same order
for both files and directories.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 17 06:12:46 2006 UTC (13 years ago) by jlam
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Modify the plist module to automatically transform "^share/locale" in
PLISTs to "${PKGLOCALEDIR}/locale" for the installed PLIST.  This is
similar to the work that's already done to automatically handle
PKGINFODIR and PKGMANDIR.  PLISTs in pkgsrc will be modified so that
they would just list the message files to be under "share/locale".
USE_PKGLOCALEDIR must continue to be set in package Makefiles so that
localedir substitutions happen at post-configure time.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 20 01:48:58 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.4: +12 -11 lines
Diff to previous 1.4 (colored)

* Creates a new variable PKGINFODIR (named similarly to PKGMANDIR)
  that is a purely user-settable variable to represent the relative
  path under ${PREFIX} where info files are stored and "dir" files
  are managed.  PKGINFODIR defaults to "info".  INFO_DIR still works,
  but will be obsoleted after the 2006Q1 branch.

* Modify GNU_CONFIGURE_INFODIR to only honor ${PKGINFODIR} if the
  package installs directly into ${PREFIX} and not some subdirectory
  under ${PREFIX}.  This fixes packages that don't really honor
  $(infodir) all that well, and also avoids PLIST problems relating
  to directory removal for those packages.

* Since the majority of Emacs Lisp packages use GNU_CONFIGURE, just
  set GNU_CONFIGURE_INFODIR directly to ${EMACS_INFOPREFIX}, which is
  the Emacs-distro-specific location for info files.  Also pass
  EMACS_INFOPREFIX through PLIST_SUBST for PLIST substitution.

* INFO_FILES should be defined if the package installs info files.
  If the info files are not listed in the PLIST, then INFO_FILES
  must list the filenames for the info files installed by the package,
  which are assumed to be located in ${PREFIX}/${PKGINFODIR}.

* The plist module can now better detect info files listed in PLISTs
  and exports a command to the pkginstall module to append info file
  names to the +INFO_FILES scriptlet at install-time.

* The print-PLIST target is updated to properly list info files in
  the auto-generated PLIST.

* The check-files code is updated to skip all "dir" Info database files.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 9 16:39:39 2006 UTC (13 years, 1 month ago) by jlam
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Check that INFO_FILES is defined before using its value.  Fixes PR pkg/33043.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 14 00:58:37 2006 UTC (13 years, 3 months ago) by seb
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Signature police.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 13 22:37:02 2006 UTC (13 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Remove the show-shlib-type target since it's no longer needed ... the
same value is returned by querying for SHLIB_TYPE via show-var, so
convert the only remaining use of show-shlib-type to just use SHLIB_TYPE.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 12 23:43:57 2006 UTC (13 years, 3 months ago) by jlam
Branch: MAIN

Initial commit of a new module that encapsulates all of the code
for manipulating PLISTs.  This module is not used by default pending
more widespread testing -- currently the variable _USE_PLIST_MODULE
must be defined in /etc/mk.conf to enable its use.

The main features of the new PLIST module are:

    (1) Splits out the PLIST-handling code from into a
	separate "plist" module.

    (2) Splits out giant, multi-line awk scripts stored in make
	variables into separate awk scripts that may be joined
	together to post-process PLISTs.  Each of these awk scripts
	consolidates the processing for one set of files, e.g.,
	man pages, info pages, etc., and is more easily commented
	than a make variable.

    (3) Splits out the print-PLIST code from the regular PLIST code
	since they have no common pieces ( vs.

    (4) Completely re-implements the shared-library handling to be
	more efficient.  Along the way, this also fixes a problem
	for Mac OS X users where the PLISTs incorrectly contained
	absolute paths.

    (5) Completely re-implements the info-file handling so that we
	can migrate from INFO_FILES definitions to just adding
	info/ entries in the static PLISTs.

    (6) Adds commented-out support for automatically compressed or
	decompressed info page entries based on the value of MANZ.
	These changes will be activated after has been
	replaced by something that is built using the more modern
	primitives now available in pkgsrc.

    (7) Move the file compression logic into a separate script
	"doc-compress" that compresses or decompresses files while
	minding symlinks.  This script is now called by
	to do the "autmoatic man page handling".  In the future,
	it will also handle the "automatic info page handling" and
	possible others.

In general, the idea is to move stuff out of the Makefiles and into
separate files where we don't need to worry about quoting rules
and where each file can have a separate history of commits.  This
simplifies the makefile logic (especially in terms of readability)
and also simplifies maintenance of the code.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>