Commit graph

39 commits

Author SHA1 Message Date
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
gdt
3b77e49f9d Change my email address to @NetBSD.org. 2005-08-10 19:01:23 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
be9ba77985 Update to 0.40.91 snapshot, by Greg Troxel via pkgsrc-wip.
NEWS since guile-gtk-1.2-0.31

* Guile-gtk-1.2 is now part of the GNU Project.

* Drag'n'Drop support - see examples/test-dnd.scm

* GdkPixbuf bindings. Formerly these bindings were part of
  guile-gnome, unfortunately they were far from compelete,
  moreover they were not working at all. Now there are full
  GdkPixbuf bindings in the (gtk-1.2 gdk-pixbuf) module.

* LibGlade bindings (formerly part of gnome-guile). Imported from
  gnome-guile, completed and improved. Now it is possible to
  autoconnect scheme functions and build a guile-gtk (glade)
  application in three commands - see examples/test-glade.scm and the
  little bit longer examples/run-glade.scm.

  You can find libGlade bindings in the (gtk-1.2 glade) module.

* GtkGLArea bindings (formerly part of guileGL). Imported from
  guileGL, completed and improved.

  (gtk-1.2 gdk-gl) module provides bindings for Gdk part of GtkGLArea
  library (GdkGLContext, GdkGLPixmap etc), (gtk-1.2 gtk-gl-area) has
  bindings for GtkGLArea functions.

* configure script has options --with-gdk-pixbuf, --with-glade and
  --with-gtkgl. Just in case you would like to turn off these new
  nifty features.

* build-guile-gtk-1.2 supports functions with arbitrary number of
  required arguments.

* GtkPixmap bindings closely reflects C API, helper function
  gtk-pixmap-new-from-file implements old behaviour.
  GtkPixmap bindings are complete.

* Lots of additional bindings, especially for Gdk.

NEWS in guile-gtk-1.2-0.31

* Bug fixes.

NEWS in guile-gtk-1.2-0.30

* Support for Gnome and Gtk+-2.0 has been removed.

  The modules have been renamed from (gtk ...) to (gtk-1.2 ...).  They
  are still available under their old names, but the new ones are
  preferred.

  Likewise, build-guile-gtk has been renamed to build-guile-gtk-1.2,
  with the old name still available but deprecated.

  Building new programs with "build-guile-gtk main" is no longer
  supported; only shared libraries are.  Consequently, the guile-gtk
  program is no longer provided.

NEWS in 0.20

* New `cname' option for field specifiers.  You can now specify what
  name to use on the C side for field accessors.  For example, to
  access the allocation.x subfield of a GtkWidget structure, you can use

    (fields
      (int allocation-x (cname allocation.x)))

  The value of the option can be either a symbol or a string.

* New cstring type added to deal with const char *str declarations.

* Guile-gtk will now start the usual `top-repl' of Guile.  The
  processing of Gtk events will happen in a separate handler thread.
  When your Guile doesn't support threading, you get the old event
  driven repl.

* `gdk-event-button-state' and `gdk-event-key-state' have been
  replaced by `gdk-event-state'.  The new function will return a
  GtkModifierType which is a list of symbol such as

    (shift-mask control-mask)

* Automatic *.h->*defs translator

* Threads support

* Experimental GTK+ 2.0 support

* RPM spec file corrected

* Lots of additions and corrections to the *.defs files

* Various bug fixes
2004-12-03 15:28:33 +00:00
jlam
5e5ac5cef9 USE_BUILDLINK3 is a yes/no variable. 2004-11-13 21:28:27 +00:00
tv
dc99bb80f2 Update linkage to libltdl (via guile{,14}), which is now its own package.
Unfortunately, guile{,14}/buildlink3.mk directly includes it, and I don't
know which dependencies actually need libltdl, so it was a recursive bump.
Hopefully this recursive inclusion can be ripped out of
guile{,14}/buildlink3.mk at some point and bubble down to dependencies that
actually use libltdl, avoiding this headache in the future....
2004-10-15 14:50:05 +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
snj
b253bd6794 Convert to buildlink3. 2004-05-03 20:49:33 +00:00
wiz
f66acac209 Convert to buildlink3. 2004-05-03 15:58:55 +00:00
snj
fe7343a5d6 s/accesible/accessible/ 2004-02-21 06:51:42 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
uebayasi
8997a30889 Bump revisions following the guile14's threaded fix. 2003-06-05 05:01:54 +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
dmcmahill
9e81ba8560 on alpha, compile gdk-glue.c without optimization to work around a
compiler bug.
2003-02-05 21:35:06 +00:00
jlam
c68c826cb5 Bump the dependency to the latest version (0.19nb1). This isn't strictly
necessary, but only one other package, gwave, uses guile-gtk and it's
currently broken with respect to building, and we need the latest guile-gtk
at build-time to fix gwave's build, so I'm bumping the dependency for the
sake of convenience.
2003-01-25 12:40:23 +00:00
jlam
9da8eccefa Make sure that the correct guile program (guile14) is being invoked, and
install the data files under the guile14 hierarchy.  Bump PKGREVISION of
devel/guile-gtk to 1.
2003-01-25 12:34:41 +00:00
jlam
0770db0d9c Add a buildlink2.mk file for use by other package Makefiles. 2003-01-25 12:06:27 +00:00
uebayasi
a102473294 Buildlinkify. 2003-01-07 11:42:31 +00:00
uebayasi
917d29d213 Rename older (<1.6) Guile as guile14.
Packages using Guile now all depend on guile14.  These packages are
expected to be made depend on newer Guile (1.6.x) when updated in the
future.
2003-01-07 03:56:17 +00:00
jschauma
9380343eb5 guile-snarf wants the infile before the CFLAGS et al. patch Makefile.in
accordingly.  Should address the problem seen in Hubert's latest bulk-build.
2002-12-13 15:17:44 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + 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 10:57:56 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +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
wiz
2c0dbdc92f fix typos 2000-08-10 23:09:18 +00:00
jlam
c584e8755b Remove from "gnome" category. 2000-08-05 19:15:30 +00:00
jlam
dab62890d3 Update guile-gtk to 0.19. Also change the dependency from gnome-core to gtk+,
since that's all we really need.  Changes from version 0.17:

* Guile-gtk now supports new guile 1.4
* Guile-gtk now calls gtk_set_locale during initialization.
* Support for type conversions with composites due to libltdl support from
  libguile.
* Lots of improvements with the build-guile-gtk script.
* Functions for getting the Gtk+ and guile-gtk version.
* Lots of additions and corrections to the *.defs files.
* The usual, uncountable number of minor and major bug fixes.
2000-08-05 19:04:44 +00:00
jlam
bd746d8a93 Update guile dependency to >= 1.3.2. 2000-07-15 02:49:52 +00:00
jlam
99a2cd4c36 USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-21 01:02:10 +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
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
rh
e9ec62d4e0 Fix function prototype that differs with our current version of gdk and
make this compile again.  Thanks to Hubert and his scripts for discovering
this.
2000-04-12 06:58:09 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
rh
cb8719d0cd Initial import of guile-gtk-0.17, a GTK+ interface for guile programs. 1999-12-20 11:58:45 +00:00