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.
shared-mime-info 0.60 (2009-02-21)
* Mime-type Changes:
- Add alias for SMIL
- Fix SMIL detection
- Add Annodex mime-type
- Only use .ogg for audio Ogg files
- Fix RDF mime-type
- Oasis mime-type fixes
- Make PICTURES match a picture CD but not "pictures"
- Add alias for application/zip
- Add Microsoft Document Imaging format
- Add magic for 7z archives
- Add cb7 comic book archives
- Add magic for XCF files
- Remove application/x-msi magic
- Add audio/x-gsm mime-type
- Add MS cab mime-type
- Add FictionBook mime-type
- Fix PKCS#12 bundles definition (not text files)
- Add PKCS#7 and PkiPath mime-types
- Add application/vnd.ms-wpl mime-type
- Add more aliases for media types
- Add alias for text/x-csv
- Fix comment for Gnucash files
- Make Javascript a sub-class of C
- Add *.vapi as a glob for Vala files
- Fix image/fits to match IANA
- Add Office 2007/OpenXML documents mime-types
- Add Pocket Word and AportisDoc document types
- Fix MS ICO, and Photoshop image to match IANA
* Other changes:
- Regenerate the pot file when needed
- Some clarifications in the spec
- Build fix when srcdir != builddir
shared-mime-info 0.30 (2008-05-12)
* Mime-type Changes:
- Add LZMA archive
- Add Eiffel source
- Add TTX font
- Add EXR image
- Add SubViewer subtitle
- Add Windows Registry
- Add SMAF, XMF and iMelogy ringtones
- Add MRML playlists
- Add FLTK Fluid
- Add NFO info
- Add ALZ archive
- Add MS Word template
- Add GNUNet saved searches
- Add MOF
- Add CDRDAO TOC
- Add magic for KDC Kodak
- Add pattern for PCX images
- Add pattern for mbox files
- Add pattern for AWK scripts
- Add more magic for FLAC audio
- Add iptables
- Add Electronic books
- Add Cisco VPN
- Add Pack200 archives
- Add CMake scripts
- Add MS Works document
- Update DjVu types
- Update Flash video type
- Mark RCS files as text/plain
- Add an alias for RPM packages
- Remove application/x-cgi mime-type
- Remove *.exe glob for Unix executables
- Remove audio/x-mp3-playlist and make it an alias for MP3 playlists
- Remove the useless application/x-dbm type
- Remove duplicate *.amr glob from 3GPP files
- Add "<Asx" as a pattern for ASX files
- Lower XML magic priority so text/html is preferred
- Fix magic for application/x-java
- Fix up magic for AVI files
- Add "*.med" glob to MOD music
- Add "*.3gp2" glob for 3GPP audio/video
- Fix multiple XML mime-types
- Remove duplicate StuffIt archive type
- Remove unused text/x-ksysv-log
* Other:
- Update specification
- Add instructions on how to file bugs, and update translations
- Update dependencies to GLib 2.6
- Update DTD, require translated comments, require expanded-acronym if
acronym is present, require a known value for generic-icon
- Small fix to the update-mime-database man page
- Ignore unknown fields in update-mime-database
- Make sure all the comments are marked for translation
- Fix typos in the DTD
- Avoid warnings in update-mime-database for the x-content/ mimetypes
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.
shared-mime-info 0.23 (2007-12-18)
* Mime-type Changes:
- Add QTIF QuickTime image
- Add SDP stream description
- Add Vala source file
- Add Atom feed, OPML
- Add SAMI, MicroDVD, MPSub, SSA subtitles
- Add audio/x-m4b as a sub-class of audio/mp4
- Add *.aac as a suffix for MPEG-4 audio files
- Add Compressed Flash detection, add FutureSplash support
- Add *.asc as a suffix for PGP armoured keys
- Add application/msword as a sub-class of application/x-ole-storage
- Don't associate *.htm and *.html to Mozilla bookmarks
- Add more aliases for PowerPoint and Word mime-types
- Add *.vlc as a suffix for m3u files
- Better magic for Word and Office documents
- Split Windows Media Station playlists from ASX ones
- Fix up JPEG 2000 mime-types
* Other:
- Add a testsuite in the CVS tree
shared-mime-info 0.18 (2006-07-03)
* Mime-type Changes:
- Add *.qtl to video/quicktime
- Add *.wax to audio/x-ms-asx
- Add *.mpga to audio/mpeg
- Add audio/x-ms-wma (Windows Media Audio)
- Add application/xspf+xml (XSPF playlist)
- Add a lot of subclassing information
- Fix the RSS mime-types
- Fix *.asx files' mime-type
- Avoid audio/x-ms-asx files being detected as HTML
- Avoid application/pdf files being detected as Matlab documents
- Clarify C, C++, C# and ObjC mime-types
* New translations:
- Danish
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.
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.
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.
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.
shared-mime-info 0.16 (2004-03-22)
* Mime Types Changes:
- Added application/mathematica
- Added application/stuffit
- Fixed application/vnd.lotus-1-2-3 and other office types
- Added application/vnd.oasis.opendocument
- Even more types now inherit from text/plain
- Added text/x-gettext-translation
- Fixed up text/x-python
* Lots of new translations:
- bg eo es eu it ja ms nb pl pt pt_BR ru sq uk zh_CN
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
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.