Commit graph

35 commits

Author SHA1 Message Date
jschauma
721b60b433 Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
2006-12-02 22:32:59 +00:00
wiz
18e3283474 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 20:46:42 +00:00
wiz
068ca21347 Update to 0.19:
shared-mime-info 0.19 (2006-08-25)
* Mime-type Changes:
- Add application/powerpoint and application/mspowerpoint as aliases for
  Powerpoint
- Add VHDL mime-type
- Add application/mbox for the MBOX mailboxes
- Add text/x-txt2tags
- Remove *.dat as a glob for MPEG videos
- Add Monkey's Audio, AC3, and Musepack mime-types
- Fix matching Type1 fonts
- Remove useless application/octet-stream mime-type
- Add *.mo to application/x-gettext-translation
- Add loads of tracker audio files, console ROMs, raw images mime-types
- Fix QuickTime Media Links mime-types and detection
- Add audio/AMR and audio/AMR-WB mime-types and detection
- Add better TeX magic, and more globs
- Add better magic for patch files
- Fix .jar files' mime-types, and add better magic
- Fix magic for MPEG4 audio files
- Add an alias for .deb packages
- Add application/sieve mime-type
- Fix application/javascript's mime-type
- Fix text/csv's mime-type

* Other:
- Add paths to the .pc file
2006-09-03 10:19:01 +00:00
wiz
f976139e99 Update to 0.18:
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
2006-07-10 17:42:19 +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
00478b39e6 Sweep pkgsrc and convert packages that included intltool/buildlink3.mk
to use instead "USE_TOOLS+=intltool".  Remove now unused
intltool/buildlink3.mk
2006-07-05 05:37:39 +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
joerg
85eaf6b8a2 Needs msgfmt. 2006-06-08 09:56:43 +00:00
rillig
88afb47d6c Fixed pkglint warnings. 2006-05-21 16:13:34 +00:00
jschauma
2d6b80eade add '-c99' to the CFLAGS when using MIPSPro 2006-05-08 19:41:47 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
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.
2006-04-17 07:07:11 +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
jmmv
f892e389cb Update to 0.17:
* Mime-types Changes:
- Added application/x-cue (CD image cuesheet)
- Added application/vnd.ms-access (Access database)
- Added application/x-7z-compressed (7-zip archive)
- Added application/mathematica (Mathematica)
- Added application/x-gedcom (GEDCOM genealogy)
- Added application/x-shorten (Shorten audio)
- Added video/3gpp (3GPP video)
- Added application/docbook+xml (Docbook)
- Added application/x-sqlite (SQLite database)
- Added application/x-go-sgf (Go saved games)
- Added application/x-m4 (M4 scripts)
- Added a few Ogg related mime-types
- Added application/x-cbr and application/x-cbz (Comic books archives)
- Added flv-application/octet-stream (Flash video)
- Added application/x-gnuplot (Gnuplot)
- Added application/x-srt (Text subtitle files)

* New translations:
- zh_TW

* Spec changes:
- Make the mime cache contain an mmappable binary format
- Add acronym and expanded-acronym
- Add recommendations for duplicate globs handling
2006-03-30 20:47:19 +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
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +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
jmmv
540619138a Include bsd.prefs.mk before defining CPPFLAGS, as mk.conf may do a
'CPPFLAGS=...' overriding its value.  Fixes PR pkg/30030 by Idar Tollefsen.
Allowed by agc@ during freeze.
2005-09-26 11:46:07 +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
wiz
050dbc917b Update to 0.16:
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
2005-03-29 14:15:37 +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
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
recht
756ec268d4 adapt to latest bsd.pkg.mk changes 2005-02-13 19:17:46 +00:00
sketch
b1b963aac9 Correct URL to distfile, from Alexis Robert. 2004-11-26 17:20:07 +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
d63fa3cd53 Update to 0.15:
* Changes in the package:
- Add a buildlink3.mk file to be used to add a direct dependency on this
  package.  This file also creates a fake "update-mime-database" wrapper
  in the buildlink directory so that programs can't run it directly
  during its build.
- Add the mimedb.mk file, which can be used by packages that install
  mimedb extensions (into share/mime/packages) to automatically rebuild
  the database at (de)installation time.
- The mime database files (except those installed into share/mime/packages)
  must not be listed in the PLIST, so add some PRINT_PLIST_AWK magic to
  handle this automatically.

* Mime Types Changes:
- Added various aliases
- Make text files inherit from text/plain
- Added text/x-xmi
- Added application/x-javascripta

* Translations:
- new translations: Danish (Ole Laursen), Greek (Nikos Charonitakis),
  Korean (Cha Young-Ho)
- updated translations: Finnish  (Ville Skyttä), German (Christian Neumair)
2004-08-31 11:43:44 +00:00
xtraeme
3be38dae2b Enable pkgviews installation. 2004-06-04 23:58:12 +00:00
adam
cac29bdd97 Prefer pkgsrc 'perl' over system 'perl' = now compiles on Darwin 2004-04-05 18:16:20 +00:00
adam
ef2a2814e9 Changes 0.14:
* new MIMEs
* new locale

Pkgsrc:
* use pkgsrc installation of 'perl' (= now compiles on Darwin)
2004-04-05 18:14:42 +00:00
jmmv
51163fe5e1 Initial import of shared-mime-info, version 0.13:
Many programs and desktops use the MIME system to represent the types of
files.  Frequently, it is necessary to work out the correct MIME type for
a file.  This is generally done by examining the file's name or contents,
and looking up the correct MIME type in a database.

For interoperability, it is useful for different programs to use the same
database so that different programs agree on the type of a file, and new
rules for determining the type apply to all programs.

This package contains the core database of common types and the
update-mime-database command used to extend it.
2004-02-14 19:06:03 +00:00