Commit graph

60 commits

Author SHA1 Message Date
dholland
6da92a9b0a Patch out an unnecessary configure test that blows up with the latest
autoconf. While here, mop up some pkglint.
2012-04-29 17:17:59 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +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
wiz
a73293016c Remove ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 00:01:08 +00:00
drochner
d1c79f7ae4 update to 1.0.10
The 1.0.10 release adds provisional support for ANG and aNIM and has
some minor bug-fixes.
2007-07-17 10:35:55 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
81db182ecc Rename the following variables to reduce the number that we need to track:
EXTRACT_CMD_OPTS.bin		->  EXTRACT_OPTS_BIN
	EXTRACT_CMD_OPTS.lha		->  EXTRACT_OPTS_LHA
	EXTRACT_CMD_OPTS.rar		->  EXTRACT_OPTS_RAR
	EXTRACT_CMD_OPTS.tar		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.Z		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.bz2	->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tar.gz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tbz2		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.tgz		->  EXTRACT_OPTS_TAR
	EXTRACT_CMD_OPTS.zip		->  EXTRACT_OPTS_ZIP
	EXTRACT_CMD_OPTS.zoo		->  EXTRACT_OPTS_ZOO
	EXTRACT_CMD_OPTS_tar.gz		->  EXTRACT_OPTS_TAR
2006-01-20 23:41:29 +00:00
reed
e2035831d7 Use PKGMANDIR for man pages. 2005-12-28 04:54:17 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
wiz
b96ff62741 Switch to using the zipfile instead of the tar.gz,
in the expectation that it fixes the build on 1.6.x. No change in the source code.
2005-02-20 00:51:27 +00:00
wiz
dd6ee4fb97 Update to 1.0.9:
1.0.9 (jan 30th 2005)
---------------------

in short:

New optimizations save over 20KB on footprint.
Also a few bugfixes and several patches.

Thanks to those sending in their additions and for testing!

To turn on the optimizations do:

#DEFINE MNG_OPTIMIZE_CHUNKINITFREE
#DEFINE MNG_OPTIMIZE_OBJCLEANUP
#DEFINE MNG_OPTIMIZE_CHUNKASSIGN
#DEFINE MNG_OPTIMIZE_CHUNKREADER

(eg. they're not on by default (yet) !)

-------------------

bugfixes:
- fixed chunk pushing mechanism
- fixed bug in writing sBIT for indexed color
- fixed PPLT getchunk/putchunk routines
- fixed MNG_NO_1_2_4BIT_SUPPORT for TBBN1G04.PNG
- cleaned up macro-invocations (thanks to D. Airlie)

core:
- added more SKIPCHUNK conditionals
- replaced MNG_TWEAK_LARGE_FILES with permanent solution
- improved handling of cheap transparency when 16-bit support is disabled
- added some MNG_SUPPORT_WRITE conditionals
- added function to retrieve current FRAM delay
- added MNG_NO_1_2_4BIT_SUPPORT
- added bgr565_a8 canvas-style (thanks to J. Elvander)
- standard windows dll upgraded to zlib 1.2.2
- added LITTLEENDIAN/BIGENDIAN fixtures (thanks J.Stiles)
- inclusion of zlib/lcms/ijgsrc6b with <> instead of ""
- added conditional MNG_OPTIMIZE_CHUNKINITFREE
- added conditional MNG_OPTIMIZE_OBJCLEANUP
- added conditional MNG_OPTIMIZE_CHUNKASSIGN
- added conditional MNG_OPTIMIZE_CHUNKREADER
- fixed problem with global PLTE/tRNS

samples:

contrib:

doc:
- patched jng & mng manual pages (Thanks Peter Breitenlohner)

makefiles:

autoconf:
- patched makefile.am & configure.in (Thanks Peter Breitenlohner)
2005-02-09 20:15:50 +00:00
minskim
8d1f697265 Disable pkgviews installation until automake is pkgviews-enabled.
This closes PR/pkg 28323.
2004-12-05 20:19:50 +00:00
reed
b1ad419389 Make sure that the AUTOM4TE and AUTOCONF is defined in the environment
because old (or wrong) versions may be used or the tool may be missing
(such as not in path).

When not in path, you may receive errors like:
 sh: autom4te: not found
 aclocal-1.9: autom4te failed with exit status: 1
(noticed under Solaris)

Or if wrong versions are used, you may receive:
 autom4te: unknown language: Autoconf-without-aclocal-m4
 aclocal-1.9: autom4te failed with exit status: 1
(noticed under Mac OS X)

Maybe the correct fix would be to fix the pkgsrc-installed
aclocal and automake scripts so that the autom4te and autoconf
scripts used from within are using the correct path and version
(as also installed from pkgsrc).
2004-12-02 17:51:19 +00:00
reed
8ac2f31093 Remove files before creating symlinks (as required on Solaris). 2004-12-02 17:42:18 +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
adam
23007267c0 Changes 1.0.8:
bugfixes:
* fixed problem with PAST usage where source > dest

core:
* added missing get-/put-chunk-jdaa
* added CRC existence & checking flags
* added data-push mechanisms for specialized decoders
* some speed optimizations (thanks to John Stiles)
* defend against using undefined closestream function
* defend against using undefined openstream function
* added check for extreme chunk-lengths
* change worst-case iAlphadepth to 1 for standalone PNGs
* added support for 3+byte pixelsize for JPEG's
* added conditional to allow easier writing of large MNG's
2004-08-09 07:29:00 +00:00
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +00:00
adam
639e87d4ef Changes 1.0.7:
bugfixes:
- fixed inclusion of IJNG chunk for non-JNG use (J.S)
- fixed bug in chunk-storage of SHOW chunk (where from == to)
- fixed bug in promote_g8_g8 with 16bit support off

core:
- added CANVAS_RGB565 and CANVAS_BGR565 (big thanx to Raphael Assenat!!)
- added CANVAS_RGBA565 and CANVAS_BGRA565 ( -- ditto -- )
- upgraded to zlib 1.2.1
- upgraded to lcms 1.11
- added premultiplied alpha canvas' for RGBA, ARGB, ABGR (thx to John Stiles)
- more optimizations with 16bit support off
- put conditionals around openstream/closestream callbacks.
- fixed typo (MNG_SKIPCHUNK_SAVE -> MNG_SKIPCHUNK_nEED)
- fixed some 64-bit platform compiler warnings

Changes 1.0.6:
core:
- added support for reducing the footprint of libmng by macros that optionally
  skip unused chunks, remove 16-bit sample support, remove Delta support, and
  remove JNG support, to accomodate Mozilla/Firebird.
- further optional removal of unused functions
- added MNG_NO_SUPPORT_FUNCQUERY conditional
- added iPNGdepth member to pData structure
- added conditionals around MAGN chunk support
- added conditionals around non-VLC chunk support
- added conditionals around "mng_display_go*" and other unused functions
- added more conditionals around "promote" functions
- removed email references as appropriate
2004-04-06 09:17:56 +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
minskim
2a5445bbe4 Create directories before installing man pages. Required by pkgviews
installation.
2004-03-07 14:37:02 +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
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
snj
705f4edd80 s/Independant/Independent/ 2004-02-13 23:44:59 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
b4b4554ca2 bl3ify 2004-01-24 00:56:37 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
wiz
45261b6f61 Update to 1.0.5.
1.0.5 (mar 1st 2003)
Only a small fix for progressive jpeg suspension problem.
This is the long-awaited final release containing the new 'dynamic MNG' feature
and bringing MNG compliance to near 100%!
1.0.5-rc3 (jan 20th 2003)
Minor bug-fixes and finalizing the accepted proposal (by official vote) for
the TERM/frame_delay changes on mng-list (nov-dec/2002).
1.0.5-rc2 (dec 9th 2002)
This contains fixes for a few minor details reported by the loyal testers.
It fixes some issues with the goframe/golayer/gotime processing and related
stuff. And it adds a way to disable playback-caching from within the MNG,
which is very useful for streaming-MNG encoders (such as gserver!).
1.0.5-rc1 (nov 1st 2002)
This fixes a few small problems and brings the TERM/MEND processing, with
respect to interframe_delay as per the current discussion on MNG-list,
up-to-date with the latest proposal.
1.0.5-b3 (oct 15th 2002)
Fairly quick after beta2, since that introduced a couple of unfortunate
booboo's and wasn't very workable. It also changes the standard configure
script to build a standard shared object similar to what I intended.
1.0.5-b2 (oct 9th 2002)
Second beta for next 1.0.5 release. This addresses some minor problems
detected during testing. It adds the proposed change to the MNG spec as
discussed on the "mng-list" recently; eg. Adam's option 4.
And it adds a little function to check at run-time if the lib is a beta or not.
1.0.5-b1 (sep 24th 2002)
First beta of a large maintenance release. This completes support of the MNG
specification to nearly 100% (PAST, PROM, delta-images, BACK image+tile).
It adds "dynamic" MNG and a few other neat routines as well as fixes several
bugs reported through SourceForge or to me directly.
2003-03-04 13:50:16 +00:00
cjep
77c08729ba Whitespace fix 2002-12-23 16:14:38 +00:00
wiz
70ef70b5de Update mng to 1.0.4nb1: Install man pages and documentation. 2002-12-02 15:20:07 +00:00
jlam
ec4d4c1220 Properly detect lcms again. 2002-10-31 08:01:21 +00:00
wiz
cfbe429ab9 Unused. 2002-10-09 13:05:35 +00:00
wiz
d1420a1ba3 packages@netbsd.org, not .com! 2002-09-28 10:31:04 +00:00
wiz
9e3b54a402 Update to 1.0.4: Small bugfixes. 2002-08-30 23:53:48 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
agc
95b3c24e92 Upgrade the mng package from 1.0.0 to 1.0.3.
Provided in PR 15043 by Robert Elz.

"The changes appear to be mostly bug fixes - particularly some
memory leaks (at least from my point of view).   If you've
ever done anything non trivial with an MNG, and see now big
things become, this might help."
2002-01-09 12:28:37 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00