Commit graph

164 commits

Author SHA1 Message Date
wiz
662a258e1b Remove workaround for compiler bug in gcc2 on sparc64. 2010-01-16 17:57:36 +00:00
adam
dd5c4c2e5c Changes 0.95.2:
* Bug fix release.
2010-01-16 09:15:25 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +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
tnn
f93612c133 ABI depends lower than API depends is not allowed. 2008-05-24 15:01:38 +00:00
reed
cf20782cb3 Include libXext's buildlink3.mk.
The libXm library directly uses libXext.
Noticed when building Ted.
2008-05-06 20:19:14 +00:00
tnn
a55eef10c0 0.95.0nb1 did introduce a small API change, belatedly fix in bl3.mk 2007-08-07 10:25:11 +00:00
tnn
4999ea3775 Patch c / c++ linkage problem in lesstif headers that causes the build
of print/xpdf to fail when MOTIF_TYPE=lesstif and using gcc4.
Patch borrowed from Arch Linux. PKGREVISION++
2007-06-26 10:39:44 +00:00
reed
9b0cbdf33c Just remove a space at end of a line. 2007-04-26 14:31:48 +00:00
tnn
a5e2f9d2bd include libXt's bl3.mk to get X11/Intrinsic.h 2007-04-23 22:08:30 +00:00
reed
dff7ad22af Include printproto's buildlink3.mk.
These headers use X11/extensions/Print.h.
2007-01-23 23:32:29 +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
adam
18b8638de8 Changes 0.95.0:
* We're  now  also  distributing  a version of LessTif packaged with
       [1]autopackage.  Fixes  to  the autopackage/default.apspec.in were
       applied  for  this,  and  the  autopackage  team  augmented  their
       implementation for us (thanks!).
     * Change  the  API of the _LtDebugPrintRenderTable function, the old
       one wasn't working well.
     * Add a dependency so ResConvert.c is compiled whenever configure.in
       changes.
     * Make  the  message  from  configure  about  missing  or  too old X
       development  packages  mention  the missing case too. Happens more
       often than old versions nowadays.
     * Add code to the release script to create an autopackage file.
     * Add code to the release script to create RPMs automatically.
     * Fix  and  clean  up  some  of  the  XmStringCreate functions, they
       weren't  handling  tabs  and  newlines  correctly.
     * Implement   XmStringGenerate()  and  XmStringParseText()  somewhat
       better.
     * Fix  an  initialisation  problem  with  RenderTables  which caused
       colour settings to fail in some circumstances.
     * Fix a bug that caused XmTextField to overwrite its border.
     * Remove a couple of fprintf statements saying "Yow"
     * Fix  freetype installation check which appears to require include.
     * Fix  the  build  so  it  won't override defaults from libtool.
     * Fix compile error in TextOut.c when compiling with Xft.
     * RPM specfile syntax has renamed Copyright into License.
     * Patch by Eric Branlund for _MOTIF_DRAG_TARGETS on x86_64.
     * Patches by Winfried to fix warnings detected with GCC 4.
2006-07-29 14:32:12 +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
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +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
wiz
387183aeac Do not remove share/aclocal, it's in the *dist files. 2006-02-16 18:09:27 +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
joerg
71dfeb49cc No need to declare FILES_SUBST_SED anymore. 2006-01-22 01:00:44 +00:00
joerg
5dc881fc03 Use INSTALL_EXTRA_TMPL / DEINSTALL_EXTRA_TMPL instead of manually
messing with the scripts.
2006-01-22 00:48:02 +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
adam
197667c3ad Changes 0.94.4:
* Fixes some critical build system bugs w.r.t. 0.94.2
Changes 0.94.2:
* Lots of improvements, most importantly better XmRenderTable support
2005-06-30 15:42:49 +00:00
adam
8b771d86bf Changes 0.11.55:
* Added "Require Source Selection" (and Destination ditto) flag
  in the "Before&After" options for external command rows. This
  prevents commands from running if there is no selection, which
  is handy to avoid making programs read from stdin. Added after
  issue report by C. H. Block.
* Brought Copyright in About window and man page into 2005. :)
* Added (commented-out) sample row in gentoogtkrc.in to show how
  to set color of non-used pane rows (not reachable by gentoo's
  File Style system).
* Fixed broken g_snprintf() formatting specifier in the overwrite
  dialog that caused it to crash on Solaris. Reported (possibly
  among others) by N. Antic.
* Added option to let window manager position dialogs. Suggested
  by "Martinko". This is the new default behavior, too.
* Added a SelectShell command, that makes select/unselect/toggle
  decisions based on running shell commands. Suggested by me. :)
  See docs/scratch/command_args.txt, or use the GUI. Modified the
  default button layout to put SelectRE/SelectShell together.
2005-06-30 15:28:45 +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
salo
38e7aa6618 Bump BUILDLINK_RECOMMENDED for security update. (hi wiz!) 2005-03-11 00:34:19 +00:00
wiz
97dedc5718 Add patch to fix CAN-2005-0605. Bump PKGREVISION. 2005-03-10 16:07:26 +00:00
wiz
096bb8ea84 Sort. 2005-03-10 16:07:15 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
adam
8ccfbaf9e6 Changes 0.94.0:
* XPM security fixes
* memory leak fixes
* other fixes
2005-01-05 11:16:38 +00:00
adam
b0afeb69ee Changes 0.93.97:
* unknown
2004-11-22 14:30: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
adam
59dad1457e Changes 0.93.96:
* Scroll wheel suuport
* Xpm security fixes
* XmList fixes
* XmFrame fixes
* fix for uninitialised memory problems
2004-09-28 12:52:13 +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
wiz
f4257e2c3a Unused. 2004-05-03 23:32:28 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
grant
ba999f508e add missing dependency on expat. 2004-04-12 02:15:40 +00:00
xtraeme
f8537ca547 bl3ify 2004-04-11 18:26:34 +00:00
snj
9c23f1a430 Fix build on sparc64 with gcc2. 2004-03-20 00:48:36 +00:00
jlam
3ebe053d90 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:49 +00:00
grant
9b4feec99c replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:30:32 +00:00
adam
0c52b0d5d9 Changes 0.93.94:
Fix the crashes that were introduced by fixes for gadget colour problems.

Changes 0.93.91:
Implement Add Mode in XmText.
2003-12-12 10:11:39 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
markd
2388958fee install LessTif.tmpl where imake and motif.buildlink2.mk expects.
bump PKGREVISION.
2003-08-20 10:37:37 +00:00