Commit graph

45 commits

Author SHA1 Message Date
markd
5d838e034c Fix build with gcc4.3 2011-01-29 21:04:59 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +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
sketch
56a2636a88 Don't include sys/byteorder.h on Solaris. 2009-01-20 20:23:36 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
joerg
c1628656cc Use FreeBSD IO code for now on DragonFly. 2007-06-12 18:21:57 +00:00
wiz
1b2c707977 Mention that this is the obsolete version, and that the current
version is available in audio/libmusicbrainz.
2007-06-08 07:04:52 +00:00
wiz
c4c1210b8c Update to 2.1.5:
Changes for libmusicbrainz 2.1.5
-------------------------------------

   - Fix for CD TOC reading on Solaris, thanks to Brian Cameron. (#2009)
   - Fixed compilation on GCC 4.3. (http://bugs.debian.org/417352)
   - Fix the patch for buffer overflows in rdfparse.c (2066)
   - Support for Debian GNU/kFreeBSD in configure.in (patch from the
     libmb package in Debian)
   - Patch to allow manually entering the CD TOC information, thanks
     to sbooth. (#2193)
   - Fixed configure.in to work with newer versions of autoconf. (#1829)
   - Buffer overflow in MBHttp::WriteToBuffer. (#2273)
   - Python bindings:
      - No shebang in non-executable scripts.
2007-06-08 06:34:01 +00:00
tron
44322c506b Update homepage URL. 2006-08-30 10:44:46 +00:00
drochner
0d74fb602c update to 2.1.4
changes:
- Fixed buffer overflows in the RDF parsing and HTTP code.
- Fixed memory leaks in RDFExtract.
- Fixed invalid memory access in the HTTP code.
(CVE-2006-4197)
2006-08-30 09:12:30 +00:00
wiz
55fb61b0b1 Update to 2.1.3:
Changes for libmusicbrainz 2.1.3
-------------------------------------

   - New queries for selecting album artists:
      - MBS_SelectAlbumArtist
      - MBE_AlbumGetAlbumArtistName
      - MBE_AlbumGetAlbumArtistSortName
   - New query MBE_AlbumGetCdindexId
   - Using size_t instead of int in networking code
   - Little fixes in the API documentation
   - Python bindings:
      - Using the new ctypes 0.9.9.x API, with support to fallback to
        the old API if only an old ctypes version is installed
      - Removed dependency on ctypes in setup.py
2006-07-10 16:11:26 +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
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
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
rxg
bc23bfb57a Updated musicbrainz to 2.1.2.
Changes for libmusicbrainz 2.1.2
-------------------------------------

   - Since expat is now installed on most systems we removed our internal copy
     and now rely on the system installed version.
   - Juergen Kreileder Supplied minimal patch for making sure that mb_client sti
ll works
     when CDO_CHECK_TYPE is defined
   - Fixed a C++ style variable declaration inside the album.c C module
   - On linux the cdrom drive is now opened in non-blocking mode
   - Fixed bug #834541: Tagger setting track no. is 0 - possibly due to trm mixu
p?
   - Added support for parsing AdvancedRelationship date. Also added new
     getrels.c example program.
   - Re-added the python bindings and changed the binding's version number to
     match the version of this lib.
   - Fixed bug # 1224562: libmusicbrainz fails to post large RDF. This fixes
     problems looking up CDs with large numbers of tracks. (This was also
     bug # 725701 ignores blank tracks)

   The included perl bindings had the following changes:
      - Updated bindings to match up to 2.1.1
      - Fixed int size cast warning
      - Fixed #6431: unmatched bootstrap parameter
      - Updated req for MusicBrainz::Queries to 0.07

   The included python bindings had the following changes:
      - Fixed #957393: Python Bindings type bug
      - Fixed #1206514: Python bindings to select release not up-to-date
2006-01-02 15:52:01 +00:00
joerg
38a98215aa Add DrgaonFly support by handling it like FreeBSD. 2005-10-10 14:23:53 +00:00
grant
2d76f5d3bf strip -lstdc++ if not using gcc. 2005-08-20 11:17:52 +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
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +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
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
markd
4ea7bc5f40 Fix build with gcc2. 2004-08-25 22:06:40 +00:00
markd
34835a6fd0 Update to version 2.1.1.
Changes for libmusicbrainz 2.1.1
-------------------------------------

   - Return special TRMs for special conditions for TRM generation:
     c457a4a8-b342-4ec9-8f13-b6bd26c0e400  -- Sigserver busy and overloaded
     f9809ab1-2b0f-4d78-8862-fb425ade8ab9  -- Source file is too short to
     calculate TRM
     7d154f52-b536-4fae-b58b-0666826c2bac  -- File is slience

   - If the TRM signature server becomes overloaded, it will now start
     returning HTTP 503 error codes and the TRM generator will catch that
     and return the Sigserver busy TRM shown above.


Changes for libmusicbrainz 2.1.0
-------------------------------------

   - moved the python bindings into a new seperate project
   - rewrote the mp3 duration detection code to be more robust
     by making it vastly easier. In the process the bitzi
     related code has been tossed. This should make the libary
     smaller and the mp3 duration checking faster.
   - Due to the bitzi code being removed, the SHA1 and Bitprint
     related functions have been removed.
   - Added query items for Release Dates/Countries, Amazon Asins and
     Amazon cover art URLs
   - Move include files into include/musicbrainz so that the example
     files will compile outside of the libmusicbrainz client
     source tree.
2004-08-21 11:07:35 +00:00
wiz
fc0ff84f92 Unused. 2004-04-25 00:01:15 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
wiz
5864f18321 buildlink{2,3} files should not include pkgconfig/buildlink{2,3}.mk. 2004-02-19 17:54:05 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
bbdd151ce7 BUILDLINK_DEPENDS.<pkg> lines should _always_ use += to _append_ to the
existing value.  This is critical to set the correct list of dependencies
for a package.
2004-02-09 23:56:32 +00:00
chris
8cc0b9ce4f Correct the name of this package used in buildlink3.mk
I'd created this package originally as libmusicbrainz, till someone
pointed it out as musicbrainz
2004-02-09 01:23:43 +00:00
chris
d494a2f9bf Update musicbrainz to 2.0.2. Also add buildlink3.mk glue.
Changes are:
Changes for libmusicbrainz 2.0.2
-------------------------------------

   - Added support for Mac OS X
   - Improved build system
   - Added build files for Visual Studio .NET (VC7)

Changes for libmusicbrainz 2.0.1
-------------------------------------
   - Added patch for pkgconfig
   - Threading handled correctly in python wrapper
   - New perl bindings
   - Had client use HTTP 1.0 rather than HTTP 1.1
2004-02-09 00:07:36 +00:00
grant
ed16993a08 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:14:59 +00:00
martti
ff0278ea30 COMMENT should start with a capital letter. 2003-07-21 16:24:36 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
salo
8ad3dcddf4 Updated to version 2.0.0.
Addresses PR pkg/20446 by Matthias Friedrich.

Changes:

2.0.0:
======
- Removed some spurious C++ comments from mb_c.h
- Fixes and improvements to the python language bindings and tools
- Updated NetBSD cdrom reading code

2.0.0-pre4:
===========
- Two new functions have been added:
    mb_GetFragmentFromURL - Retrieve a fragment from a URI
    mb_GetOrdinalFromList - Retrieve a list ordinal from a given list --
                            this is sometimes needed to determine the
                            location of an item in a list. (e.g. a track
                            in an album in order to find the track number)
- The TRM code has been updated for TRM B#er.
- New queries have been added to queries.h in order to support the improved
  FileLookupInterface.
- The client library now uses the mm-2.1 and mq-1.1 namespaces.
- The client library will now be referred to as libmusicbrainz

2.0.0-pre1:
===========
- Added authentication support
- Added new queries
- Added support for submitting client version to the server during TRM
  submits
- Updated client code for TRM B#er
2003-02-20 16:02:34 +00:00
wiz
f6131e0676 Nobody uses this. 2002-08-31 03:17:41 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
wiz
b2e435b229 Use bz2 distfile. 2002-05-05 16:10:26 +00:00
zuntum
c1b67caba2 Initial import of musicbrainz-1.1.0 [pkgsrc/audio/musicbrainz]
MusicBrainz is the second generation incarnation of the CD Index.
This server is designed to enable Audio CD and MP3/Vorbis players
to download metadata about the music they are playing. All of the
data collected on the Musicbrainz server is made available to the
public under the OpenContent license.

Provided by Rui-Xiang Guo <rxg@netbsd.org> in pkg/15984
2002-04-19 20:23:58 +00:00