Commit graph

56 commits

Author SHA1 Message Date
schmonz
5fee0ded68 Borrow patches from OpenBSD ports to fix build, adding pledge() and
unveil() support while we're at it. NFCI for other platforms.
2020-09-01 10:21:55 +00:00
ryoon
d9e1b62f05 desktop-file-utils: Remove a patch for removed file 2020-08-09 11:37:50 +00:00
wiz
05feb6d74f desktop-file-utils: update to 0.26.
============
Version 0.26
============

This version fixes an error that snuck into the Meson build files in version
0.25. The Autotools build is unaffected. Since the previous release has only
been out for a day, Autotools support is maintained in this release.

 update-desktop-database
  - Fix erroneous installation as "desktop-file-update" when using the Meson
    build system (fdo#58) (Antoine Jacoutot).

============
Version 0.25
============

This version adds support for the Meson build system and deprecates
Autotools. Support for the latter will be removed in the next release.

 common
  - Add Meson build system (fdo#14) (Félix Piédallu).

 desktop-file-validate
  - Allow desktop file spec version 1.4.
  - Make it possible to deprecate keys starting with "X-" (Bastien Nocera).
  - Add the "Implements" field from spec version 1.2 (fdo#55) (Dylan Baker).
  - Add the "PrefersNonDefaultGPU" key and deprecate "X-KDE-RunOnDiscreteGpu"
    (Bastien Nocera).
  - Set locale for correct output message encoding (Philip Withnall).
  - Add coloured output support (Philip Withnall).
  - Fix parsing of escaped double quote in quoted strings (fdo#56). Found
    by Frédéric Brière.
  - Add GNOME Flashback, GNOME Classic desktops (Alberts Muktupāvels).
2020-07-31 09:17:53 +00:00
wiz
f669fda471 *: recursive bump for libffi 2020-03-08 16:47:24 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
rillig
7039525ab2 sysutils/desktop-file-utils: fix pkglint warnings 2019-09-12 20:46:03 +00:00
wiz
eb743e5f93 desktop-file-utils: update to 0.24.
============
Version 0.24
============

 desktop-file-validate
  - Allow desktop file spec version 1.2 (Severin Glöckner).
  - Add Budgie, Deepin, Enlightenment and Pantheon to list of
    registered desktop environments (fdo#10, fdo#11, fdo#16, oldfdo#97385)
    (Ikey Doherty, sensor.wen, Joonas Niilola, David Faure).

 update-desktop-database
  - Sort output lines internally to conserve reproduceability (fdo#12)
    (Chris Lamb).
  - Use pledge(2) on OpenBSD to limit capabilities (fdo#13) (Jasper Lievisse
    Adriaanse).

 common
  - Fix missing ; when appending to a list not ending with one (oldfdo#97388)
    (Pascal Terjan).
  - Add font as valid media type (Matthias Clasen).
  - Fix broken emacs blocking compile (fdo#15) (Hans Petter Jansson, reported
    by John).
2019-08-16 09:29:33 +00:00
maya
eef61a27b6 desktop-file-utils: link against libintl on SunOS. tested by wilbury, thanks. 2019-06-04 13:05:28 +00:00
markd
fda3468340 desktop-file-utils: Add font as valid media type
This was codified in RFC 8081, and some desktop apps are using
this now.
https://bugs.freedesktop.org/show_bug.cgi?id=105785
2018-04-17 10:59:19 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
37575e4e2c Updated desktop-file-utils to 0.23.
============
Version 0.23
============

 desktop-file-validate
  - Accept version 1.1 desktop files (Matthias Clasen).
  - Add Cinnamon, EDE and LXQt to the list of registered desktop environments
    (fdo#73497, fdo#56353, fdo#79561) (Michael Webster, David Faure,
    Jauhien Piatlicki).
  - Allow multipart/related MIME type; it's used for MHTML (fdo#93376)
    (Hans Petter Jansson).
  - Ensure DBusActivatable filenames conform to reverse-DNS notation
    (fdo#66904) (Hans Petter Jansson).
  - Downgrade trailing semicolons to optional (fdo#76902) (Jerome Leclanche).
  - Fix buffer over-read (fdo#94303) (Hans Petter Jansson; reported by
    Hanno Boeck and Agostino Sarubbo).
2016-06-30 17:42:18 +00:00
agc
17886c78da Add SHA512 digests for distfiles for sysutils category
Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:32:05 +00:00
wiz
0250ed233c Update to 0.22:
============
Version 0.22
============

 desktop-file-validate
  - add DBusActivatable key to allowed keys (Matthias Clasen)
  - warn about OnlyShowIn in Action groups (Matthias Clasen)
  - allow validating multiple desktop files (Matthias Clasen)
  - improve help output (Matthias Clasen)
  - update man page (Matthias Clasen)

 update-desktop-database
  - list only once a desktop file per mime type (Vincent)

 misc
  - honor NOCONFIGURE=1 (Colin Walters)
2013-09-02 16:08:11 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
wiz
f89e8d19a0 Update to 0.21. Add comment to patch.
============
Version 0.21
============

 desktop-file-validate
  - update to current version of menu specification (Vincent):
    - only print hint if no main category is present, not an error
    - make Science a main category
    - add new registered categories: Adult, Feed, Humanities, Maps,
      Shooter, Spirituality, XFCE
    - update related categories
    - add TDE to list of registered OnlyShowIn
  - accept and validate GNOME3/GSettings for AutostartCondition (Vincent)
  - output hint if more than one main category is present (Vincent)
  - output hint about suggested related categories (Vincent)

 misc
  - do not require glib >= 2.28 for build (Vincent)
2012-10-14 18:13:18 +00:00
obache
c38c120ee5 recursive bump from libffi shlib major bump
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-15 10:03:29 +00:00
wiz
40bb7def04 Update to 0.20:
============
Version 0.20
============

 desktop-file-install
  - fix list of locale strings without trailing slash (Matthias Clasen)

 desktop-file-validate
  - add MATE and Razor to list of registered environments (Vincent)
  - validate Desktop Actions (Giovanni Campagna, Vincent)
2012-04-15 15:44:32 +00:00
wiz
ee311e3b36 Recursive bump for pcre-8.30* (shlib major change) 2012-03-03 00:11:51 +00:00
drochner
535cb4fe91 update to 0.19
changes:
-many fixes
-documentation updates, manpages added
2012-02-13 12:29:12 +00:00
wiz
fb1a8e5414 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:41:29 +00:00
marino
3a19b64a78 sysutils/desktop-file-utils: cleanup after deinstall
This package creates ${LOCALBASE}/share/applications directory, but it
didn't attempt to remove it upon deinstallation.  DEINSTALL fragment has
been updated to fix this.
2011-11-11 22:36:43 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
heinz
2ed94cb8b5 Added LICENSE. 2010-01-16 23:37:48 +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
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