Commit graph

41 commits

Author SHA1 Message Date
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
a88ff2d299 Fix compilation on platforms where gcc does not produce PIC objects by default. 2007-01-19 18:04:03 +00:00
wiz
d2ace5112a Fix BUILDLINK_ABI_DEPENDS to use PYPKGPREFIX. 2006-07-26 17:56:25 +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
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +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
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
ghen
e64aa87bbe BUILDLINK_DEPMETHOD.qt3-tools change was bogus here, py-qt3-sip pulls in
qt3-tools via BUILD_DEPENDS.
2006-01-05 12:00:39 +00:00
ghen
455345bb5b Change the default for BUILDLINK_DEPMETHOD.qt3-tools from "full" to "build",
without affecting packages that are currently using it.

Packages which previously didn't set BUILDLINK_DEPMETHOD to neither "full" nor
"build" now set it to "full", but should be checked whether they really need it
(comment added).  Packages which previously set it to "build" now don't set it
anymore.

Ok by jlam, wiz.
2006-01-05 10:08:58 +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
drochner
aac655ba2f update to 4.3.2
changes:
-fixes
-added sipdistutils.py script
2005-11-22 18:50:30 +00:00
drochner
209ed87a48 revert previous
While I still think that the textfile check is bogus, and that silently
dropping files is nasty, find(1) is broken in -current and many more
pkgs are affected.
2005-10-21 15:28:10 +00:00
drochner
ec8fae95ef override the bogus text file test in mk/subst.mk
(NetBSD-current's new file(1) reports "MKS Spell hash list (old format)",
this causes the substitution to be silently skipped.)
(This should probably be fixed in subst.mk, but we already had a commit
war about this...)
2005-10-21 10:55:29 +00:00
drochner
079ce44901 update py-qt3 to 3.15
changes:
-sync with newer qscintilla
-bugfixes
2005-10-06 17:57:49 +00:00
reed
cc27231a6c Fix build on Solaris. Include ../../mk/compiler.mk before checking
CC_VERSION. This is noted in mk/compiler.mk and also thanks to grant@
for explaining.

(This was based on my Solaris and gcc check from a couple months ago.)
2005-09-01 01:01:19 +00:00
reed
f79176322f Add support for Darwin.
And add support for Solaris. Sorry I commit both at same time.
I forgot to commit this earlier.
2005-07-01 01:27:09 +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
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
drochner
cbd96e8a7f update to 4.2.1
changes: bugfixes
2005-05-02 15:35:39 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
rillig
dca2f2876d Fixed typo (there was a $). Approved by wiz. 2005-03-16 22:25:05 +00:00
drochner
68b32e264c fix checksums 2005-03-03 16:47:53 +00:00
drochner
ac48341716 update to 4.2
changes:
This is a major feature release. Highlights include enums are
now implemented as distinct types, signal signatures may include typedef
types, signals from external sources (e.g. ActiveX controls) are supported.
2005-02-24 20:12:10 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
darcy
2cb9f7ba27 Builds OK with latest version of Python. 2005-01-05 10:05:19 +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
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
recht
a5a7a38072 update py-qt3-sip to 4.0rc3 and bl3ify
4.0 (guessing from ChangeLog since the NEWS file is empty)
- needs Python >= 2.3
- more documentation
- new build system
- Darwin/OSX support

v3.10.1 11th March 2004
	Bug fixes only - see the ChangeLog file for details.

v3.10 16th January 2004
	Added the asstring() method to the sip.voidptr type.

v3.9 7th December 2003
	Added the -w flag to sip to enable warning messages.  Added the -j flag
	to sip to concatanated source files.  %Import, %Include and
	%OptionalInclude can now take a relative (UNIX style) pathname.  The
	directory containing the file will also be searched for files that it
	itself includes or imports.  Added %MethodCode and deprecated
	%MemberCode.  Deprecated %Makefile and %ExportedHeaderCode.  Added
	%TypeHeaderCode as a synonym for the deprecated %HeaderCode in type
	definitions.  Added %ModuleHeaderCode as a synonym for the deprecated
	%HeaderCode in module definitions.  Added %ModuleCode as a synonym for
	the deprecated %C++Code in module definitions.  Added %TypeCode as a
	synonym for the deprecated %C++Code in type definitions.  Added
	%PostInitialisationCode as a synonym for the deprecated
	%PostInitialisationC++Code.  Added support for functions that return
	values via pointers and references.  Added support for structs within
	classes.  Added support for %AccessCode and deprecated %VariableCode.
	Added support for %VirtualCatcherCode and deprecated %VirtualCode.
	Added support for explicit C++ signatures.  Added the SIP_SLOT,
	SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT
	types.  Added /PreHook/ and /PostHook/ to ctors.  Added /TransferBack/
	for function results.  Added /AllowNone/ and /GetWrapper/ to arguments.
	Added sipTrace(), sipBadCatcherResult(), sipParseResult(),
	sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and
	sipBuildResult() to the module API.  Added SIP_VERSION and SIP_BUILD to
	sip.h.  A new (configure.py) build system has been added which is
	independent of tmake and qmake and installs a sipconfig module.  The
	old (build.py) build system also installs a (different and
	incompatible) sipconfig module.  SIP is now licensed under a single
	Python-like license.
2004-05-09 17:04:22 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
grant
9b4feec99c replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:30:32 +00:00
recht
6940237289 Also support Python 2.3.
OK'ed by drochner@
2003-08-25 17:31:43 +00:00
drochner
e5bbac5670 update to 3.8
"The main changes are the addition of many operators to existing classes
(thanks to Torsten Marek) and full support for Qt v3.2.0."
2003-08-23 15:02:24 +00:00
jmc
d07560dbb5 On all of these create symlinks from the libraries installed under PYSITELIB
to QTDIR/lib as qmake builds libtool archives that reference themselves
as coming from QTDIR/lib.
XXX - This really should be fixed in qmake.conf or something and not in
each package but for now it fixes 5 broken packages (these + devel/eric3)
2003-08-19 04:35:03 +00:00
drochner
e85ff06350 Add the links and LDFLAGS to build PyQt properly. 2003-07-22 17:19:59 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
drochner
977226692b import sip-x11-gpl-3.7 for qt3, a wrapper ganerator which will be needed
for PyQt3
2003-07-15 16:40:45 +00:00