Commit graph

106 commits

Author SHA1 Message Date
jlam
644733df76 Wow, this has been broken for the longest time. We get rid of the trailing
slash to .../gtk-1.2/ since it's usually not there and we won't match it.
This error was detected only because gconf-config has .../gtk-1.2 at the
very end of it's output.  Anywhere in the middle, and it would have been
fine.
2002-04-10 22:46:53 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +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
0ff2b22b74 Add file locations for glib/gtk-1.2.8 to the buildlink.mk files. Should
fix pkg/13409.
2001-07-13 05:42:04 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cf6936eb4f Make REPLACE_BUILDLINK_SED and BUILDLINK_CONFIG_WRAPPER_SED be opposites.
Also move these settings ahead of inclusion of other buildlink.mk files.
2001-07-02 05:11:37 +00:00
jlam
7189cec308 Move inclusion of bsd.buildlink.mk to start of file and rename
BUILDLINK_CONFIG_WRAPPER_SED.gtk to BUILDLINK_CONFIG_WRAPPER_SED.
2001-07-01 22:57:58 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
so remove it from package Makefiles.  Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
2001-06-29 04:54:49 +00:00
jlam
6659ff481f Use BUILDLINK_CONFIG_WRAPPER_SED.gtk to replace:
${X11PREFIX}/include/gtk-1.2 -> ${BUILDLINK_DIR}/include/gtk-1.2

for some buildlink protection for gtk packages installed in ${X11BASE}.
Only helps with the include files, though, not the libraries.
2001-06-28 22:39:01 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +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
0dac04bee5 Make sure that installed files announce the correct version number for
the installed package.  We patch the version info in the configure scripts
to deal with shared library versioning, but we don't want those version
numbers to leak into installed files.  Fixes 2nd part of pkg/12146 by
Dan Winship <danw@ximian.com>.
2001-06-19 06:52:10 +00:00
jlam
ad98a7645b Mark these packages as USE_BUILDLINK_ONLY. 2001-06-18 21:32:23 +00:00
jlam
8f39419491 Regularize fixes to config scripts to use the same code. 2001-06-18 20:49:00 +00:00
jlam
0f5b5101f4 Convrt to use buildlink.mk. 2001-06-16 19:50:57 +00:00
jlam
8fea51aacb Add buildlink.mk files for use by other packages. 2001-06-16 19:23:17 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
jlam
d75cbbb9fd Change build dependency from perl-5.* to perl>=${PERL5_REQD}. Also change
dependency from libperl-5.* to libperl>=${PERL5_REQD}.
2001-04-30 04:16:08 +00:00
rh
2d8061708c No need to be overly restrictive in DEPENDS. A requirement of glib>=1.2.8
instead of 1.2.10 seems to be sufficient.  Pointed out in private mail by
Hubert Feyrer.
2001-04-29 05:13:57 +00:00
tron
2cbd51587a Remove unreliable mirror on "infosoc.uni-koeln.de" and add GNOME mirror
sites which gives us a German mirror site again.
2001-04-27 11:46:34 +00:00
rh
63530dbbd8 Update gtk+ to 1.2.10. Overview of Changes in GTK+ 1.2.10:
* Fix focus drawing with no window manager
* Fix cut-and-paste with no current event
* Fix compilation using --with-xinput=gxi
* Fix problem with cut-and-paste and KOI8-R
* Fix rare problem with enter events and menus
* Fix problem with --with-native-locale and GNU libc-2.1
* Further fixes for using fonts, not fontsets, with non iso-8859-1.
* Fix problem with dropping onto internal children, such as CList buttons
* Translation updates

  This package also fixes a bug of gtk+-1.2.10 that messes up
focus-follows-pointer with embedded windows (which affects, for example,
the control center and various bonobo components in GNOME).  Thanks go to
Dan Winship <danw@ximian.com>, who provided this patch in private mail.
2001-04-26 17:42:54 +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
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
tron
200c8b8995 Remove obsolete patch file. 2001-03-10 23:43:18 +00:00
drochner
38bf4fa8c5 update to 1.2.9.
Overview of Changes in GTK+ 1.2.9:

* Move include files into a gtk-1-2/ subdir to support parallel
  installation with GTK+-2.0. If you are installing from source
  on top of a previous version, you should to remove $(includedir)/gdk/
  and $(includedir)/gtk/ manually before installing the new version.
* Improved submenu navigation.
* Other small useability improvements for menus, scrollbars, etc.
* Patch enabling themes with better appearance by making some
  geometry parameters settable.
* Changes so that using fonts (as well as fontsets) for
  non-iso-8859-1 locales will work.
* New --with-native-locale configure option for faster string
  handling on systems with non-broken locale support.
* Refuse to initialize GTK+ when setuid (http://www.gtk.org/setuid.html)
* Change to make GdkRGB use less SHM segments.
* Addition of .pc files
* Many bug fixes
2001-03-10 10:50:37 +00:00
tron
181bf45d62 Do not hardcode locale directory to "share/locale", use "${PKGLOCALEDIR}"
instead.
2001-02-26 21:42:57 +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
hubertf
2212731f7f pull in gettext (msgfmt), so the .po files get built 2000-11-24 05:16:29 +00:00
jdolecek
43aba27401 use USE_LIBINTL instead of explicit dependance on gettext pkg - the package
seem to work ok with gettext/libintl which is in -current tree
2000-11-14 22:43:34 +00:00
jlam
60d8d28f10 Update build dependency on perl to build in correct directory if perl
interpreter is not found.
2000-09-05 09:33:15 +00:00
jlam
bb3a955498 Use PERL5 variable for location of perl5 binary. 2000-08-28 09:14:50 +00:00
jlam
d0d079e75e The gettext package gained a shared library. For all packages which
link against libintl.so, update the dependency on gettext to >=0.10.35nb1.
2000-07-31 04:14:04 +00:00
wiz
709b1b2ad8 Replace USE_PKGLIBTOOL by USE_LIBTOOL. 2000-06-05 01:12:37 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
rh
653c91e861 Update gtk+ to 1.2.8. Overview of changes:
* GNU Make 3.79 bug workaround
 * FAQ and tutorial updates and improvements
 * Miscellaneous bug fixes: CList, Calendar, rc-files, FontSelection
2000-05-26 05:38:19 +00:00
danw
82d9c1f174 Remove patches to deal with two bugs involving configure's handling of
INSTALL which have both been worked around in bsd.pkg.mk now.
2000-05-02 18:48:35 +00:00
tron
4ae7ab0a33 Activate support for alternate input devices as suggested by
Lennart Augustsson in PR pkg/9688.
2000-03-28 18:38:41 +00:00
tron
f91cf763c2 Update "gtk+" package to version 1.2.7. This version fixes numerous bugs
discovered in version 1.2.6 and includes two new translations.
2000-03-12 22:30:05 +00:00
wiz
5dff913c5a silence pkglint 2000-02-05 15:47:23 +00:00
hubertf
3bbeeaa440 be consistent on which version to wildcard 2000-01-10 19:11:07 +00:00