Commit graph

71 commits

Author SHA1 Message Date
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +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
adam
96a8de6bb4 * x11 is now an option
* install documentation into share/doc/${PKGNAME}
2010-11-11 11:38:36 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
wiz
5ce5fb991e Remove kei as maintainer, he resigned. 2009-09-02 08:34:13 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
salo
8f7a834d4e Security fix for CVE-2006-3376:
"A vulnerability in libwmf can be potentially exploited by malicious
 people to compromise an application using the vulnerable library.

 The vulnerability is caused due to an integer overflow error when
 allocating memory based on a value taken directly from a WMF file
 without performing any checks. This can be exploited to cause a
 heap-based buffer overflow when a specially crafted WMF file is
 processed.

 Successful exploitation may allow execution of arbitrary code."

http://secunia.com/advisories/20921/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3376

Patch from Red Hat.  Bump PKGREVISION.
2006-08-20 21:38:45 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +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
adam
dd1335caf2 Changes 0.2.8.4:
* 3 patches from Caolan at RedHat: remove unnecessary extra linked
	  libs; remove some warnings; rh154813 which (same redhat issuzilla
	  bug id) I theorize fixes some upsidedown wmfs.
2006-01-18 22:04:58 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
drochner
ffe81e6a2d explicitely buildlink to textproc/expat; otherwise we get a library
dependency on X11's libexpat which causes conflicts later
bump PKGREVISION
2005-04-20 15:42:11 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jklos
a48a266065 Bumped PKGREVISION because of removal of xpm building reference. 2005-02-05 08:47:33 +00:00
jklos
3c3b661861 Removed buildlink references for xpm. It's not necessary, and it's
insecure at the moment.
2005-02-05 01:18:13 +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
reed
a1177dd4da Update to release 0.2.8.3. From release notes:
CygWin changes mostly (all thanks to Tor Lillqvist), though build-tools
  updates may make it build better on various systems. Has been tested by
  various people since February; thought it was well-past time to release
  this properly...

ChangeLog says:
  * configure.ac: Don't use -lm on Windows. mingw has an (empty)
    dummy libm, but it confuses libtool.) [Tor Lillqvist  <tml@iki.fi>]
  * libwm-config.in: Make installation-location-independent when run
    in a Cygwin shell. [Tor Lillqvist  <tml@iki.fi>]
  * src/Makefile.am: Don't use -lm on Windows. Add libwmflite.la to
    io_wmf_la_LIBADD. [Tor Lillqvist  <tml@iki.fi>]
  * src/wmf.c: Don't use hardcoded path for WMF_FONTDIR on Windows.
    Instead, assume being built as a DLL, and look up the DLL
    location in a DllMain routine, and use that to build the font
    directory path at run-time. [Tor Lillqvist  <tml@iki.fi>]
  * src/font.c: Don't use hardcoded path for WMF_XTRA_FONTMAP either.
    (remap_font_file_name): On Windows, if a font file name starts
    with the build-time prefix, replace that with the run-time
    installation prefix. [Tor Lillqvist  <tml@iki.fi>]

I have been using this in my pkgsrc one a few systems for maybe two
months.
2004-06-05 22:53:54 +00:00
minskim
f9085ee19e Enable pkgviews installation. 2004-04-25 04:52:57 +00:00
adam
9d4eb707fc Changes 0.2.8.2:
* proper freetype header inclusion
Changes 0.2.8.1:
* security fix
2004-03-02 09:03:10 +00:00
wiz
a59c55175d Convert to buildlink3. 2004-02-15 20:01:11 +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
jmmv
a58dd81611 Bump PKGREVISION due to xmlcatmgr update to 2.0beta1. I know; this is a PITA.
This shouldn't be needed if we had non-recursive dependancies *sigh*.
2004-01-23 21:50:42 +00:00
xtraeme
f794de2624 Bump PKGREVISION (libxml2, libxslt and imlib2 were updated). 2003-12-04 19:48:24 +00:00
wiz
d50314bf8a Remove empty gd subdir instead of PLIST; fixes binary package deinstall. 2003-09-21 21:47:11 +00:00
adam
b440f310f5 Package cleaned-up, shorter include dir, added support for JPEG 2003-09-19 17:19:21 +00:00
jmmv
cc1e71fbb9 Explicitly disable gd (to avoid side-effects if present). Fixes PR pkg/19839
by David Griffith.
2003-09-09 16:23:49 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
jmmv
4b47f36617 Line up PKGREVISION whitespace. 2003-05-05 16:32:24 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
drochner
4a8fe5b914 update to 0.2.8
changes:
        * update wmf2x & wmf2gd to use wmf_display_size() (fjf)
        * ditch wmf_gd_image_free(); api_destroy takes care of the image (fjf)
        * add new wmf_display_size() function which returns integer
          size of image for display; io-wmf loader update (dom)
        * add two convenience functions to xgd device layer for
          manipulating GD image post-conversion (fjf)
        * give libwmflite its own interface/binary numbers (fjf)
        * change gd.c (add _tpixels member to gdImageStruct)
        - now allocates contiguous array for truecolor pixels (fjf)
        * gdk-pixbuf plugin added (dom); config update (fjf)
(needed for gimageview)
2003-01-20 21:46:48 +00:00
wiz
d8262452c1 Bump PKGREVISION because of dependency on latest freetype2 or glib2
package and library major bumps therein.
Also match dependency in corresponding buildlink2.mk's for the same reason.
Mmmm, binary packages.
2002-12-24 06:09:44 +00:00
wiz
9138b8064a Update to 0.2.7. Changes:
* update Fontmap[.GS] detection (guesswork, really) (fjf)
* don't include trio.h when --disable-heavy is used (fjf)
* remember to update both version numbers in configure.ac!
* move player.h's defs into metadefs.h for recorder.c (fjf)
* add some missing "extern"s (c. Jeremy Shane Sanders)
* added recorder.h & libwmf/canvas.h; call it Canvas now (fjf)
2002-11-15 17:50:24 +00:00
wiz
dac9005a07 Update to 0.2.6. Convert to buildlink2.
Changes:
Split libwmf in two, libwmflite (with the parser) and libwmf (utility
functions, device layers, etc.). Should also better support ImageMagick.
Other changes unknown.
2002-09-11 11:19:56 +00:00
wiz
80ee491886 Since the major of libiconv was increased during the update to 1.8,
bump dependency to latest libiconv version; recursively also bump all
dependencies of packages depending on libiconv.
Requested by fredb.
2002-09-10 16:06:32 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
taca
3de3618262 Update libwmf package to 0.2.2.
Changes from 0.2.1 are here:

v. 0.2.2
	* fix wmf2x arg detection bug (Bob Friesenhahn)
	* added --with-layers option (fjf)
	* de-necessitate GD, add libpng support (highly experimental);
	  rename config.h* to wmfconfig.h*; libxml2 fix (fjf)
	* release builds: configure-time Darwin-detection & lt-patching;
	  make magick device layer optional; rewrite xml2 detection (wv);
	  make secondary IPA functions static (fjf)
	* change copyright on include/libwmf/magick.h
	* add paranoid check for xmlChar**attributes==NULL
	* add one of many missing consts (Bob Friesenhahn)
	* add check for vsnprintf in libdb (David C Sterratt)
	* add 'foreign' device layer for non-wmf stuff
	* x,gd: better placement of text
	* x,gd: beginnings of a ROP implementation
	* change gd-layer source file names to 'xgd' root
	* use X-layer style text drawing in gd-layer
	* yet more config updates (fun, fun, fun!)
	* update other config stuff to handle autoconf-2.52
	* update config.sub/guess to libtool-1.4.1
	* make building/inclusion of GD library optional (fjf)
	* acinclude fix (Tomasz K^3oczko)
	* up the version number (fjf)
2001-12-10 13:56:42 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
kei
44a48b30ad updated libwmf package to latest version 0.2.1. The author says that 0.1.x
series is no longer in active development.

Please take a look at release note for more info of this version.

http://www.alinameridon.com/libwmf/Readme.html

converters/wv package will also be updated to latest version soon.
2001-10-15 15:47:43 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
zuntum
480c07a4a6 Converted to use buildlink.mk files 2001-07-09 18:51:38 +00:00
wiz
26c40c61dd Update dependency on png to >=1.0.11 because of the shlib major bump.
Noted by Frederick Bruckman.
2001-05-22 09:32:18 +00:00