Commit graph

101 commits

Author SHA1 Message Date
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
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
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
obache
3e2779d4e6 Switch MASTER_SITES from dead sites to download.savvanah.nongnu.org.
Noticed by Zafer Aydogan via private mail.
distfile name is differ, but contents are same.
2008-04-16 05:42:46 +00:00
tron
4a2f4d4922 Update the home page URL. 2007-08-09 09:40:36 +00:00
joerg
d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00
rillig
ef58fbca22 Fixed PKGMANDIR. 2006-10-18 21:36:03 +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
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
5bad78c8ce If defined, use _DIRENT_DIRSIZ on DragonFly to compute the size of
a dirent. Ignore the bogus size check done before.
2005-11-07 14:41:20 +00:00
joerg
2c08e0d917 Don't declare errno, if it exists as macro already. 2005-10-10 12:11:46 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
reed
e117eda090 Bump PKGREVISIONs due to libtiff update.
Some BUILDLINK_RECOMMENDED bumps done also.

(If I missed any, please let me know -- and let me know a good
way to automate this.)
2004-12-28 23:18:15 +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
wiz
aa3e858c8e Unused. 2004-05-09 11:23:51 +00:00
xtraeme
b618bb2708 bl3ify 2004-04-11 15:40:01 +00:00
reed
6d9af8d68d Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
2004-01-03 18:49:33 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +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
jschauma
90fb80758b Use new IMAKE_MAN_DIR variables in PLISTs to make these packages more
portable.  Bump PKGREVISION accordingly.
2003-03-03 04:17:23 +00:00
jmmv
884cfa1dd5 Sync with reality. Patch provided by Marc Recht in PR pkg/20412. 2003-02-18 16:18:48 +00:00
jschauma
ee682c2d8c Add LDFLAGS to the relevant Imakefile in order to fix the problem seen
in Huberts bulk-builds.  Remove previous attempt to fix this and while we're
there, we can remove USE_X11 since we already use USE_IMAKE.
2003-01-12 18:30:56 +00:00
jschauma
32733224d5 Add an LDFLAG that will hopefully fix the problem seen in Huberts recent
bulk-builds.  (I still think that should be done in buildlink2, as far as
I understand it.)

NB: I couldn't reproduce the problem, so this is a shot in the dark.
2003-01-10 15:10:17 +00:00
jschauma
11632737ad Update to latest version 1.0 using patches provided by Jeremey C. Reed
(reed at reedmedia dot net) in
<Pine.LNX.4.43.0212260432280.22292-100000@pilchuck.reedmedia.net> to tech-pkg.
xforms is now LGPL.
Changes:

V1.0RC6.1 November 19, 2002
  o. Fixed early tooltip hide causing recursive fl_free_forms() entry.
  o. Fixed typo in `lib/Imakefile'.
V1.0RC6 November 16, 2002
  o. TabFolder coordinate update corrected. (Angus Leeming)
  o. Tooltips could be orphaned when form hidden.  (Angus Leeming)
V1.0RC5.2 October 2, 2002
  o. Documented `InstallNonstandard' procedure.
V1.0RC5.1 October 1, 2002
  o. Mac OS X build support.
V1.0RC3 June 5, 2002
  o. Fixed condition in forms.c preventing use of cursor keys.
  o. Fumigated with -Wall, eliminating all complaints in xforms
     sources.
V1.0RC2	June 1, 2002
  o. Picked up some missing prototypes in `flimage.h'.
  o. Deleted fl_snprintf() with snprintf() and changed all references
     thereto.  Added a new library for those lacking the latter
     function, filched from the SpamAssassin distributon, of all things.
     Had to hack it a bit to get it to work.  Others, on other systems,
     may have to as well.
V1.0RC1	May 30, 2002
  o. Very minor API changes.  `FL_ERROR_FUNC' has been typedef'd for
     fl_set_error_handler() function.  `FL_VAL_FILTER' has also been
     typedef'd for use by fl_set_{counter,slider}_filter().  Neither
     of these changes should affect much of anything.
  o. The flimage functions are in their own library now: libflimage.
     They should be usable standalone, but I have not had an
     opportunity to test them.
  o. The OpenGL functions are in their own library now: libformsGL
     fl_add_glcanvas() and its ilk live there.  Application build scripts/
     Makefiles should include -lformsGL.
  o. The Xpm library is no longer built or distributed with XForms.
  o. The majority of the function prototypes in `forms.h' have been
     expanded to include variable names.
  o. various bug fixes.
2002-12-28 19:49:06 +00:00
jlam
0cfca04786 No packages use xforms/buildlink.mk anymore. 2002-09-21 06:34:15 +00:00
jlam
32ad6cd96f buildlink1 -> buildlink2 2002-09-21 00:24:03 +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
776a263c16 Fix typo in Imakefile. Closes pkg/17877 by Wojciech Puchar. 2002-08-08 10:37:11 +00:00
wiz
1be0d239dd Use xpm buildlink instead of USE_XPM. Addresses pkg/17700. 2002-07-26 15:21:08 +00:00
wiz
f4ea381eac Add RCS Id. 2002-07-02 13:09:41 +00:00
fredb
e11e21b972 Make the included programs and demos link against the package's "forms"
shared library, rather than any previously installed one.
2002-04-17 18:18:53 +00:00
fredb
10fcfc27f9 Update buildlink depends, too. 2002-04-17 04:46:24 +00:00
fredb
6a1cfa2366 Update xforms to 0.9999. This is the first Open Source version (LGPL),
and is evidently very close to 1.0. This is a completely new package
-- all ports build from source; no more abominable relinking of binaries.
2002-04-17 04:40:36 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
933abc9dd1 Move pkg/ files into package's toplevel directory 2001-10-31 22:29:22 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
wiz
25427e4014 Add SunOS support, provided by Peter L. Petersen in pkg/13655. 2001-08-09 13:45:43 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
dd30dabc8c Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:51 +00:00
zuntum
146ba0078f Add buildlink.mk file for use by other packages 2001-07-03 21:29:56 +00:00
zuntum
8af1756d98 First step in conversion to buildlink.mk -- use xpm's buildlink instead of USE_XPM 2001-07-03 20:59:05 +00:00