Commit graph

31 commits

Author SHA1 Message Date
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
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
xtraeme
dc18349b47 This needs PTHREAD_AUTO_VARS=yes, fixes bulk build problem. 2004-11-30 01:34:41 +00:00
jlam
af591191d2 Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk.  Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).
2004-11-12 06:39: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
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
jmmv
eecda97118 Update xosd and xmms-osd to 2.2.12. The reason for it is that the previous
version in pkgsrc (2.2.10) does not work at all under NetBSD 2.x.  Addresses
PR pkg/26781, which was already closed without the update...

2.2.12:
	Applied three patches from the debian maintainer. The first cleans
	up file handles, the second fixes a man page, the third fixes a
	centering bug, and the last fixes a deadlock.

2.2.11:
	Applied two more patches from the debian maintainer. The first
	fixes a bug introduced by a patch in 2.2.9 and the second reorders
	the main xodf event loop. These patches appear to have increased
	xosd's speed.
2004-09-14 08:25:43 +00:00
adam
d8cd8f7aa7 Changes 2.2.10:
* Fixes a bug in alignment
* A lot of submitted patches were applied
2004-08-27 09:18:12 +00:00
jmmv
83c784e871 Update xosd and xmms-osd to 2.2.8:
- investigated using indent. From now on I'll use these arguments to
  indent before releasing:
    indent -br -ce -bap -bbo -npcs -nprs -nsob -nut xosd.c
  (the program indent.sh should indent everything:) (Tim Wright)
- new version of osd_cat that can do percentage and slider bars (phil gees)
- speed optimisation (Piotr Chmura)
2004-07-05 08:00:01 +00:00
xtraeme
61febd376c Update x11/xosd to 2.2.7.
Changes:

2.2.7:
    Complete rewrite of timeout_func to avoid sending
    lineakd to 100% CPU. There was a case where timeout_func
    would keep looping around in circles never pausing for breath.
    (Tim Wright)

2.2.6:
    FontSet fixes (Philipp Matthias Hahn)
    Title change fix (Philipp Matthias Hahn)
    Memory leak patch (Philipp Matthias Hahn)
    New, improved timeout_func (Philipp Matthias Hahn)
    New TODO list  (Philipp Matthias Hahn)
    Fixed bug where osd displays after clicking 'apply' in XMMS
    config dialogue (Tim Wright)
2004-06-04 11:45:45 +00:00
snj
35960d4b8e Fix build on sparc64 with gcc2. 2004-03-20 01:51:03 +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
wiz
75a5a40aca Unused. 2004-02-19 18:14:08 +00:00
wiz
97a4918772 Convert to buildlink3. 2004-02-19 15:00:38 +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
xtraeme
deef537567 Use subst.mk instead of using sed and mv. 2004-02-03 17:56:54 +00:00
xtraeme
a06881657c Replace harcoded -lpthread from configure script with ${PTHREAD_LDFLAGS}
to make this build on systems where -lpthread is not valid.
2004-01-07 07:37:59 +00:00
jmmv
cf5784cc44 Update xosd and xmms-osd to 2.2.5. Changes since 2.2.2:
2.2.5:
        set font patch (Joachim "nomeata" Breitner)
	cleanup "draw_bar" method patch (Philipp Matthias Hahn)
	ran all source and header files through 'indent' for
	  consistancy (Tim Wright). Used default arguents --- GNU style.

2.2.4:  outline/shadow cut fix (Tomas Janousek)
	xmms_plugin: added outline (Ondrej Novy)
		     added playlist_pos/playlist_length (Ondrej Novy)
 		     added time_pos on pause (Ondrej Novy)
 	added outline to draw_bar and shadow fix (Ondrej Novy)

2.2.3:
        Alignment patch (Philipp Matthias Hahn)
	xosd-config xlibs patch (Philipp Matthias Hahn)
2003-09-26 11:23:43 +00:00
jmmv
248dc57105 Do not build the static version of the xmms-osd plugin (it's useless).
Bump revision of its package (xmms-osd) to 2.
2003-07-24 17:17:36 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jmmv
e1bc011533 Update to 2.2.2:
- Misc xosd patches (Philipp Matthias Hahn)
- configure.ac libxinerama.pic or libxinerama patch (Philipp Matthias Hahn)
2003-06-29 11:45:00 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +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
jmmv
30257e8f93 Note that this package needs a threaded X Window. 2003-04-25 12:22:55 +00:00
jmmv
cdd97ae111 Update to 2.2.1:
* Made the underscores disappear correctly (James Roberts-Thomson)
* xmms plugin breakdown and breakup (Philipp Matthias Hahn)
* configure.in xinerama patch (Julio Merino)
* configure.in -> configure.ac conversion (Philipp Matthias Hahn)
2003-04-22 19:06:11 +00:00
jmmv
56ce080dbe Remove useless dependancies. 2003-04-12 13:23:13 +00:00
jmmv
cab5f614c4 Do not build nor install the example xmms plugin. This dramatically
shrinks the dependancy tree for this simple library.  Bump PKGREVISION to 1.
Take maintainership.
2003-04-12 12:14:15 +00:00
jmmv
71571dcf56 Update to 2.2.0: Manpages updates, Xineramia fixes, flickering fixes,
text shadow/outline updates.
2003-04-12 09:21:24 +00:00
jmmv
09a8de7f4b Remove (commented) USE_GMAKE... 2003-04-07 14:50:41 +00:00
jmmv
4f82565e1a Initial import of xosd, version 2.1.3:
XOSD is a simple library to display shaped text on your X display,
like a TV On Screen Display. It also contains an XMMS plugin, and
a simple example program that can display system logs overlayed on
your desktop.

Closes my own PR pkg/18117.
2003-04-07 14:46:28 +00:00