============
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).
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.
============
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).
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.
============
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).
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.
============
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)
============
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)
============
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)
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.
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
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.
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.
============
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)
============
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)
============
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)
============
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)
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
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.
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.
============
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ä)
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).
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.