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
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
uebayasi
9fc677698c Fix quoting. 2005-03-07 10:03:13 +00:00
wiz
d5dd07cda8 Add RMD160 checksums to the SHA1 ones. 2005-02-23 18:43:53 +00:00
cube
c0cb9d1e07 Well, pwm still conflicts with ion from older versions. Noted by Thomas
Klausner.
2005-02-05 00:24:14 +00:00
cube
653574f203 pwm no longer conflicts with wm/ion. 2005-02-05 00:02:58 +00:00
wiz
e9034c8c88 pwm and ion conflict with each other -- both install bin/pwm and its man page.
Noted by Leonard Schmidt on tech-pkg.
2005-02-04 13:58:32 +00:00
salo
1fb4ca7526 Define _ISOC99_SOURCE for libtu, so NetBSD has the chance to get the correct
definition of va_copy from own headers.  Should fix building on amd64.
Per discussion with kristerw@.
2004-04-10 20:42:11 +00:00
grant
e3d128293a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:18:32 +00:00
jlam
d916fe5c4e bl3ify 2004-01-05 12:48:30 +00:00
salo
16c9bcc149 Update to the latest snapshot.
2003-06-17
    * Applied a patch to convert sprintf:s to snprintf:s.
2003-12-15 18:51:21 +00:00
jmmv
bee7fabdc9 Update homepage. 2003-09-05 16:34:59 +00:00
jlam
21211ccaee Ensure that the program and manpage directories are created before
installing files into them.
2003-08-12 06:44:35 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
salo
4b6d9ea8d1 Remove some gccisms and enable POSIX/XOPEN_SOURCE defines.
Compiles on Solaris with a native compiler.
2003-07-10 19:41:20 +00:00
jlam
2bdce20e34 Fix location of global config files to be in /etc/pwm, not /etc/pwm/pwm.
Bump PKGREVISION of wm/pwm to 1.
2003-06-13 03:55:17 +00:00
salo
333e9cbd59 Updated to 20030528 snapshot.
Thanks to Jon Olsson for notification.

Changes:

- take over maintainership
- whitespace
- DESCR has 80 columns
- simplify

1.0.20030528:
=============
- License model changed to Artistic/GPL dual license.
- Fixed lockup when a window's title ends in its only colon
  (and spaces) but even just the three dots and instance
  number are too long to fit in the tab.
- Applied an (old) tab_switch_and_raise patch.
- Some #includes added.
- Phantom-window fix.
- Allow windows to move themselves
- Phantom dockapp fix
- "dock" configuration option changes: "hidden" option,
  direction 1/0 replaced with "vertical" option.
- Added 'gotodir' function (move to frame in given direction).
- Makefile/path setting changes
- Built-in 'ws_menu' and 'movetows_menu'.
- Added keybindings to the man page.
- Added 'PWM manual' entry in the default root menu.
- Don't kill client on close if it does not support
  WM_DELETE_WINDOW.
- Titles were not drawn correctly when toggling decorations
  on if a window was closed when the associated frame was in
  undecorated state.
- Don't change active window visual indication when displaying
  a 'contextual menu'.
- Added 'goto_previous'.
- Windows with same name are numbered now
- Added pack_move
- Changed the order to which window in a frame to go when
  the current is destroyed
- Added "detach" function
- Added attach/detach to window menu
- Added WM_COLORMAP_WINDOWS support
2003-06-01 16:16:59 +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
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
jlam
565474eb82 Honor PKG_SYSCONFDIR and use the general INSTALL/DEINSTALL scripts. 2002-01-31 04:07:59 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
jlam
49c2603eaf USE_X11 --> x11.buildlink.mk. 2001-09-09 03:10:08 +00:00
abs
d67077fac2 Fix some test programs and avoid a double/ulong issue on sparc64 2001-08-21 08:17:39 +00:00
jlam
2883045988 Don't explicitly set CC=gcc and honor CFLAGS passed in from environment
during build.
2001-07-28 21:44:36 +00:00
abs
73515e965d Fix path to documentation in manpage 2001-07-11 07:58:48 +00:00
zuntum
e0ec2bde39 Set USE_BUILDLINK_ONLY 2001-06-30 10:34:13 +00:00
dmcmahill
bdd69413f2 add missing header (string.h) to keep alpha's happy. 2001-05-07 12:12:07 +00:00
agc
41e8e90119 Move to sha1 checksums where appropriate and possible.
Add distfile sizes where possible.
2001-04-17 16:03:42 +00:00
agc
bbc67fac91 + 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:53:33 +00:00
agc
c1cebc8660 Initial import of the pwm window manager into the packages collection.
This package was provided in PR 12524 by salvage@plethora.net (T.  M.
Pederson).

"PWM is a rather lightweight window manager.  It has the unique feature
that multiple client windows can be attached to the same frame.  This
feature helps keep windows, especially the numerous xterms, organized.

Being a lightweight window manager with emphasis on usability, PWM
does not have all the features that one might expect from a window
manager.  Those features are simply unnecessary.  PWM does not provide
pixmapped themes or other bloated eye candies but has a clean and
simple look inspired by BeOS and Motif.  There are no icons and frames
cannot be iconified, only "shaded".  Only one pointer focus mode is
supported:  sloppy.  PWM does not even have titlebar buttons and may
not be the easiest window manager to get into; most good things are
not.

PWM has workspaces, menus and Window Maker dockapp support.  It has
pretty good keyboard support and almost all of the functionality is
configurable."
2001-04-15 20:35:57 +00:00