Commit graph

72 commits

Author SHA1 Message Date
wiz
1bef93aac6 Home page disappeared, comment it out. 2005-10-12 12:40:58 +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
f26e5cd9ac The right way to add flags to the xmkmf command line to via XMKMF_FLAGS. 2005-05-16 18:45:29 +00:00
dmcmahill
d793fca5f9 One more try at getting this right on solaris. The last patches fixed
things when X is openwin but broke the pkg for XFree86 and probably Xorg.
So conditionalize things on X being openwin for SunArchitecture.
2005-04-14 01:41:27 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dmcmahill
97bef8397a fix installation directory to not have .../X11/X11/Xaw3d but .../X11/Xaw3d on solaris 2005-03-01 22:55:26 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
minskim
8c1170628f Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 04:09:50 +00:00
wiz
bdb4da483a Update to 1.5E:
New in 1.5A:

The SimpleMenu widget now supports scrolling through entries too
numerous to fit on the screen, with a new resource supporting a
scroll jump value. The record variable is simple_menu.jump_val,
resourced as XtNjumpScroll, and classed as XtCJumpScroll. Adapted
from an early neXtaw toolkit.

Added 3D support to the SimpleMenu, Text, and Viewport widgets.

Four minor changes in ThreeD.c and SmeThreeD.c to have the widgets
use the app's colormap, rather than the screen's default, for those
apps that create their own.

Added the deletion of laygram.h to the Imakefile.

Created Xaw3dP.c, for functions shared by other modules that have
no other appropriate home.

A new directory containing sample resource files for a few apps.
See the README.AD file in that directory.

New in 1.5B:

Made Imakefile a bit more friendly to build options. Makefile now
defines the build options in Xaw3dP.h during the build.

Added to the key translation tables in Panner.c and TextTr.c, and
some rules to Imakefile, to make this distribution X11R5 compliant.
Tested on exactly one X11R5 system; your mileage may vary.

Made internationalization support conditional, for systems lacking
or broken. Tested on exactly two systems, one with and one without;
your mileage may vary.

New in 1.5C:

Enabled multi-plane pixmap support with a new Xt resource type
converter. The "Xaw3d build options" section has more information.

Added private Pixmap resources to the Label and SmeBSB widgets for
stippled copies of the public Pixmap resources (record variables
label.stippled, label.right_stippled, sme_bsb.left_stippled, and
sme_bsb.right_stippled, respectively). Insensitive pixmaps are now
rendered properly.

New in 1.5D:

Added two resources to the SimpleMenu widget for setting margins.
The SmeBSB widgets have a tighter relationship with their parent
and siblings; menus and their entries now respond properly to
changes in themselves or their parent. See the section "The SimpleMenu
widget and margins" below for a detailed explanation.

New in 1.5E:

Enabled a new resource in the ThreeD widget to specify one of five
shadow types. The record variable is threeD.relief (the record part
is transparent), resourced as XtNRelief and classed as XtCRelief.
It accepts as values XtReliefNone, XtReliefRaised, XtReliefSunken,
XtReliefRidge, and XtReliefGroove. Note that the Text, SimpleMenu,
Scrollbar, and Viewport widgets ignore this resource, and display
only raised or sunken shadows. Built on the unfinished work of an
early neXtaw toolkit.

Added support for sub-menus in the SimpleMenu widget. Inspired by
the xfig application, adapted from XFree86's X11R6.6 "Xaw7" toolkit,
and made better than both. See the section "The SimpleMenu widget
and sub-menus" below for usage.

Added a resource to the SmeBSB widget to specify an underlined
character in the label. The record variable is sme_bsb.underline,
resourced as XtNunderline, and classed as XtCUnderline.  It accepts
an integer as an index to the character; a value less than zero or
greater than or equal to the label length inhibits underlining.
Adapted from a recent distribution of the xfig application.

Made the SmeThreeD widget sensitive to the GRAY_BLKWHT_STIPPLES
build option (see the "Xaw3d build options" section for what this
is and does).

Added support for "tooltips". Inspired by the xfig application and
adapted from XFree86's X11R6.6 "Xaw7" toolkit. See the section "The
Tip widget" below for usage.

Fixed some geometry and positioning bugs in the Label widget. It's
internalHeight and internalWidth resources are now used to enforce
a minimum size when it's resize resource is True. The Label (and
superclasses of) widget now resizes properly to changes in label
parts and internal margins (subject to any constraints placed on
the widgets, of course).

Swapped the top and bottom colors in the stippled pixmap shadows.

Fixed a shadow drawing bug in the Command widget, when the shape
is changed.

Fixed the shadow state bug in the SmeBSB widget.

Dropped support for Linux shared a.out libraries.
2005-02-18 15:54:48 +00:00
reed
b59d6329d4 This uses libXpm so include buildlink for it.
And bump PKGREVISION just in case the builtin.mk mechanism
makes it depend on graphics/xpm package.

(No maintainer for this Xaw3d package.)
2005-02-11 21:59:18 +00:00
jlam
73baef726e Convert to use {COMPILER,LINKER}_RPATH_FLAG. 2004-08-27 18:52:00 +00:00
wiz
6afb688fec Unused. 2004-05-03 16:10:07 +00:00
xtraeme
715854fa00 bl3ify 2004-04-11 23:29:49 +00:00
xtraeme
f5e1830986 bl3ify 2004-03-11 16:19:03 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
salo
c1b72b269d Trivially USE_BUILDLINK2 to pick the right compiler.
Fixes build (at least) with gcc-3.x from pkgsrc.
2003-08-15 22:25:30 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
9d90ae57f6 make this work on IRIX 2003-06-12 15:46:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
seb
00e799491c Use ${_OPSYS_RPATH_NAME} instead of bare `-R' 2003-03-03 14:22:41 +00:00
jlam
84962fe776 Remove need for "HAVE_OPENWINDOWS" by just testing whether X11BASE is
*/openwin.
2002-11-14 10:04:46 +00:00
jlam
267d5b11dd Unused. 2002-10-08 13:46:08 +00:00
jlam
04cb5535df Add the -Wl,-R flags to find the widget library. The ld wrapper script
understands "-Wl,-R" to be just "-R", so it will work fine.
2002-09-23 08:29:56 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
79fe9eff8c Create buildlink.mk files for the various Xaw libraries. Instead of
USE_XAW, a package Makefile may just include mk/xaw.buildlink.mk, which
pulls in the correct buildlink.mk file depending on the value of XAW_TYPE.
A package Makefile may also rely on LIBXAW being set to the correct
libraries.
2001-08-23 04:24:21 +00:00
jlam
a78f38bf52 Don't like libXaw3d to libXaw in ${BUILDLINK_DIR}/lib as linking won't
resolve to the correct library on a.out platforms.
2001-08-09 20:08:49 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
dd30dabc8c Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:51 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
a4d2df0fc5 Add buildlink.mk file for use by other package Makefiles. 2001-06-20 19:57:40 +00:00
tron
cc49f7b2ff - Simplify code to handle detection of what library files (shared, static,
shared library revisions, etc.) were installed.
- Get includes into a sub directorty with OpenWindows.
- Fix package list for OpenWindows systems.
2001-06-13 15:47:28 +00:00
tron
e149c04afd Remove "post-configure" target for Solaris which is not necessary with
revision 1.750 of "mk/bsd.pkg.mk".
2001-06-07 16:23:10 +00:00
skrll
7c75053771 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:07:33 +00:00
agc
8f972b049a + 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 12:12:16 +00:00
tron
f7f0d1344b Fix link failures if wide character support is enabled. 2001-03-11 14:11:45 +00:00
tron
74d6fa6179 Make this package build under NetBSD-current with wide character support
enabled.
2001-03-11 10:47:28 +00:00
tron
c114b07330 Patch "Makefile" only if we are using OpenWindows under Solaris. 2001-03-11 10:06:54 +00:00
tron
cf74f995fa Calculate major number of "Xaw3d" shared library from "${XAWREV}" and
create a missing symbolic link under Solaris.
2001-03-11 10:01:39 +00:00
tron
5f48fd7061 Make this package build with OpenWindows under Solaris. Fixes PR pkg/11640
by Hauke Fath.
2001-03-11 09:45:40 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +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
abs
07591dac1f Dip into ${X11BASE}/lib/X11/config/X11.tmpl to determine the version number of
the Xaw library. Fixes PR/10619 - compilgin on XFree86 4.0
2000-12-14 18:21:28 +00:00
tron
8d7d754dfa Remove me as maintainer of those packages. 1999-10-07 17:41:46 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00