Commit graph

52 commits

Author SHA1 Message Date
tnn
82e85f42c1 Update to libgii-1.0.2.
Needed for libggi update. No NEWS entry.
2010-01-30 14:54:48 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +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
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
f34bc73bf8 Modular Xorg support. 2007-02-02 19:17:31 +00:00
wiz
5edcbb2ea9 Remove ftp site that refuses connections from MASTER_SITES. 2007-01-29 21:22:08 +00:00
minskim
2440d7d564 Correct PLIST on Linux. Bump PKGREVISION. 2006-07-29 06:59:37 +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
joerg
b23f84b01f Record vgl module on DragonFly and FreeBSD in PLIST. Bump revision. 2006-04-12 16:57:04 +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
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
joerg
f7bfac86f9 Reorder thread library detection. On FreeBSD 4 and DragonFly 1.2 gcc
links against -lc_r only when -pthread is used, otherwise both -lc_r and
-lc gets linked in.
2005-10-10 16:53:57 +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
wiz
db3176eef9 Update to 0.9.1:
- input-linux_kbd: Fix tons of warnings about type re-defintions. Patch from
  Tobias Hunger.
- fix compiler error with gcc 3.4 in the pthread based scheduler. Patch from
  Tobias Hunger.
- #define GIIK_Enter and GIIK_Delete properly in <ggi/keyboard.h>
- pthread locking: fix crash on GNU Hurd
- typo fix: configure --disable-stdin now actually disables input-stdin
- input-xwin: locking is conditional, so do with unlocking. Patch from SF
  #1164406
- input-x: enable keyboard focus by default as originally intended
- build system: fix case bug in long long test
- build system: make configure fail when passing an unsupported mutex type
  to --enable-mutexes
- documentation: added manpages for input-x and input-xwin
2005-04-18 15:53:35 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
41aaa0a9bc Require native threads or build ggtick; should fix bulk build on 1.6.2. 2005-04-05 10:20:05 +00:00
wiz
28f9dee186 Remove --enable-mutexes=int from CONFIGURE_ARGS (suggested by
Christoph Egger) and fix PLIST on NetBSD-1.6 (and other systems
without native threads).
Set TEST_TARGET.
Bump PKGREVISION to 1.
2005-03-28 23:55:42 +00:00
wiz
1825c7529a Update to 0.9.0:
New in 0.9.0: 2004-11-30:
- Documentation updates
- KII target improvements
    - minor fixes to button and symbol handling
    - handle labels correctly now
    - merge improvements from the FreeBSD ports tree
- works on Windows using MinGW w/o requiring special Makefiles.
- task scheduler as an abstraction for platform independent threads.
- DirectX target improvements
    - Tries to use the actual keyboard layout, and only fall back
      to the hardcoded defines when that does not work.
    - Makes shift and caps lock bring you capital letters.
    - Dead keys support (GIIK_VOID in sym, synthetic press/release
      events if non-matching key is hit after the dead key).
    - Renamed Caps, Num and Scroll to CapsLock, NumLock etc.
    - Mouse wheel support.
    - Support for up to 8 mouse buttons (2 previously).
    - Support for emPtrRelative.
    - Preliminary support for emPtrRelative.
    - Fixed a bug so that a lot of surplus emPtrAbsolute events are
      killed.
    - Support for various game controllers.
    - The mouse and the keyboard are separated into two devices.
    - Emulates key repeat messages.

New in 0.8.7: 2004-11-30:
* hotfix: input-linux-evdev: fix compiling error where KEY_103RD is not defined (SuSE 9.1)
* minor buildsystem update
* use more length bounded string operations
2005-03-25 02:46:49 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +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
wiz
2240056466 Update DESCR, requested and supplied by Christoph Egger. 2004-09-21 13:37:04 +00:00
wiz
6850ca5bbf Update to 0.8.6:
New in 0.8.6: 2004-09-14:
* ggGetUserDir(3): Eliminate race condition
* ggGetUserDir(3): Fix memory leak on Darwin when $HOME is not set
* Bugfix: ensure aligned memory access in event handling. Fixes crash on NetBSD/sparc64
* giiSplitInputs(3): make it work - finds the actual input
* config file parsing fixes

New in 0.8.5: 2004-05-29:
* add hotfix to make libgii compile for linux users,
  who uses kernel 2.6 headers to compile their userland. Fixes Debian bug 224802
* libtool update. Fixes Debian bug 208288.
* add 'See Also' section to libgii(7) manpage and lots of other documentation updates
* build system updates
* linux_kbd fix: read unicode symbols correctly. Patch from Aurelien Reynaud.
* focus pulling fix in xwin/x: Key focus should
  no longer get lost, when the mouse is NOT over the window.
  Note, input-x need to know some little more information from libggi's
  display-X. So don't forget to update libggi's display-X as well,
  otherwise you may experience everything from strange input behaviour to crashes.

Hi Christoph!
2004-09-20 22:37:08 +00:00
snj
1d6c2182ae No longer used. 2004-04-18 01:06:46 +00:00
jlam
c95af4404b bl3ify 2004-03-11 06:58:12 +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
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
xtraeme
73155e7426 Update to 0.8.4
Changes since 0.8.3:

    * gcc 3.3 warning fix (warnings caused by <ggi/gg.h>:194 fixed)
    * hotfixes for libgii 0.8.3
    * fixed memory leak on unloading modules under Darwin
    * win32 (cygwin/mingw) compile fixes from Albert Graef
    * cygwin build fixes
2004-01-05 00:21:03 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
915696e1dc Replace patch-ab with the version that will be in the next release. 2003-04-06 15:42:46 +00:00
wiz
e4b9ad3f90 Update to 0.8.3:
New in 0.8.3:
 * The two hotfixes for libgii 0.8.2
 * manpage fixes
 * several minor fixes

New in 0.8.2: 2002-12-??;
* Misc bugfixes (see ChangeLog).
* Huge Documentation update.
* Threadsafety fixes
* LibGG: New supported platform: Darwin
* Major build system update
  - autoconf 2.5x works now
  - build fixes for many platforms
* input-kii
  - new input target. Works for many KGI users, but
    still not for everyone.
  - still very experimental, thus disabled by default
* input-x/input-xwin
  - handle GraphicExpose events
* input-ipaq
  - new touchscreen input for Compaq iPaq from Tobias
* input-zaurus
  - new touchscreen input for Sharp Zaurus from Tobias

New in 0.8.1: 2001-08-26;
* Nothing much in the code except the usual minor fixes.
* The build process is improved.

New in 0.8: 2001-07-10;
* Misc bugfixes (see ChangeLog).
* Huge Documentation update.
* New API: giiSplitInputs()
* input-linux-evdev
  - Bugfixes from Stephan
* input-directx
  - Update
* input-vgl
  - small build fix for FreeBSD

New in 0.7: 2000-12-18;
* Portability fixes for non-Linux platforms.
* Preliminary Win32 support.
* All headers should be C++ compatible now.
* Misc bugfixes (see ChangeLog).
* Documentation updates.
* Renamed GGI_ELOCKBUSY to GGI_EBUSY.
* New LibGG functions ggCurTime() and ggConfigExpandAlias().
* LibGG now uses it's own mutexes when compiled with gcc - no more
  pthreads and dynamic linker bugs.
* Support compiler type checking on gii_input_t.
* New command events GII_CMDCODE_PREFER_ABSPTR and GII_CMDCODE_PREFER_RELPTR.

* input-linux-evdev
  - New target to support the new evdev input API present in Linux 2.4 and
    2.2.18. Should handle mice, joysticks and keyboards.
* input-linux-mouse
  - Improved autodetection of mousetype.
* input-mouse
  - 3 button support for MS protocol.
  - 4 button support for IMPS/2 protocol.
* input-x/input-xwin
  - Prevent events from lagging in the socket queue in apps that don't call
    XFLush/XSync frequently.
* input-vgl
  - New inputlib for FreeBSD's VGL library.
* input-directx
  - New inputlib for DirectInput on Win32.
* filter-keytrans
  - Added new filter to arbitrarily remap key events.
2003-04-02 12:03:41 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jmmv
161491bfbe Make this package install its configuration file under the examples tree
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR.
Bump PKGREVISION to 1.
2003-01-02 23:15:44 +00:00
jlam
a7e627ccd6 Fix distinfo checksums. 2002-11-25 20:40:13 +00:00
jlam
f6d1d2a580 Note that this package uses X11. 2002-11-25 20:34:36 +00:00
jlam
50ddc2c2a2 buildlink2.mk file for graphics/libgii. 2002-11-25 20:33:36 +00:00
jlam
c65db281f1 Use buildlink2, fix libtool usage and PLIST. 2002-11-25 20:16:26 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
a4f21a5507 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 09:54:06 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
rh
1c8f8eba16 Set runtime library search path. 2000-10-01 13:40:24 +00:00