Commit graph

40 commits

Author SHA1 Message Date
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +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
cube
fa9a462303 Don't use + in variable names. It's asking for troubles. 2009-03-19 16:20:52 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
joerg
c84e5b58b3 Don't use malloc.h. 2007-08-01 21:24:57 +00:00
jlam
7af716330d Drop support for LTCONFIG_OVERRIDE. For quite a long time, pkgsrc
had actually been ignoring LTCONFIG_OVERRIDE anyway and just using
the default LIBTOOL_OVERRIDE to replace libtool scripts in packages.
This just formalizes the fact that LTCONFIG_OVERRIDE is not used
meaningfully by pkgsrc.
2006-07-19 19:14: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
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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
tv
c436a5e199 Remove invalid use of getdomainname(3) to determine "local host name".
(That's a NIS domain name, not a hostname.)
2005-03-10 14:17:15 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +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
010675143c No longer used. 2004-05-09 20:19:59 +00:00
snj
124c082233 Convert to buildlink3. 2004-04-25 06:58:43 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
grant
9b4feec99c replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:30:32 +00:00
martti
cd2f7f1959 COMMENT should start with a capital letter. 2003-07-21 17:38:24 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +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
wiz
f266045cfd Unused. 2002-10-08 19:31:05 +00:00
jlam
0a3179b9aa buildlink1 -> buildlink2 2002-09-22 10:30:00 +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
wiz
5f864f3336 Fix a typo.
XXX: doesn't support USE_CONFIG_WRAPPER yet
2002-01-09 15:14:12 +00:00
drochner
07d68f1cec -update to 0.99.17, changes:
-additions:
  -GtkPlot: display grids on top/below data
            New function gtk_plot_set_pc
            New signal "tick_label" to retrieve axes tick labels
            New functions to handle axes labels
  -GtkPlotDT: delaunay triangulization algorithm
  -GtkSheet: New function gtk_sheet_get_entry_widget
             Background colors and grid handling
  -GtkPlotPC: New function gtk_plot_pc_set_viewport
  -GtkPlotData: New alternative to retrieve data points trough a callback
                 function
                Scale points size
                New functions to autoscale gradient according to field
                gtk_plot_data_get_point() to retrieve values
                Data markers
  -GtkPlotSurface: Use new Delaunay triangulization algorithm
                   New functions to colour the surface using a gradient
                    proportional to the height field
  -GtkPlotCSurface: Gradient with sublevels
  -GtkPlotCanvas: New child: CANVAS_MARKERS
                  New selection stretegy
                  New function gtk_plot_set_pc
                  gtk_plot_canvas_freeze/thaw methods
 -fixes:
  -build system
  -memory leaks
  -etc
-add a buildlink.mk
2002-01-09 14:46:50 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
drochner
6356a93c8d update to 0.99.15
Changes:
New widgets: gtkcharselection and gtkplotpixmap.
Background images in gtkplot, and pixmaps in gtkplotcanvas. Much faster
 gtkiconfilesel, with gtkdirtree optional. Enhancements in WYSIWYG and
 postscript output, which can export images.
BugFixes.
2001-07-11 10:35:56 +00:00
wiz
d3c112794d Add size. 2001-05-21 21:45:45 +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
wulf
30351e19ff Updated gtk+extra to 0.99.14: Bugfix update 2001-04-13 16:13:35 +00:00
drochner
89c65a5d3e update to 0.99.13. Changes:
Bugfixes and new method for custom labels in GtkPlot.
Backwards compatibility is broken, you'll have to recompile your programs.
2001-03-10 12:32:00 +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
drochner
2ad7e77fe3 update to 0.99.12
Changelog:
 - New plot subclasses for 3D and polar plots: GtkPlot3d and GtkPlotPolar.

   GtkPlot3D has its own API, but GtkPlotPolar can be casted as a GtkPlot
 considering the equivalence x->r, y->angle.

 - GtkPlotData is a widget. The API is almost the same. You may have to
 cast the widget using data = GTK_PLOT_DATA(gtk_plot_data_new());

 - The other Data subclasses are Bar, Box, Flux, Surface and
 CSurface.

 - I added new arguments to the datasets (z, dz, a, da): z is obviously for
 3d plots. However, it is used in GtkPlotBox to specify the size of the boxes.
 "a" is used to determine the size of the symbols, and "da", the color.

 - The color of the symbols, when "da" is specified, is detemined using the
 gradient. the gradient has (min, max) values, and corresponding colors. The
 symbol's color is interpolated between these values using hue/saturation/value
 depending on the gradient_mask.

 - GtkOrientation was replaced with GtkPlotOrientation
 (GTK_PLOT_AXIS_X/Y/Z)

 - the fields xticks and yticks were removed from gtkplot.

 - GtkPlotSymbol has a new field GtkPlotLine border and you set/get the
 attributes with gtk_plot_data_set/get_symbol

 - I removed the symbol type: GTK_PLOT_SYMBOL_BAR, because this is a new
 data subclass. I added TRIANGLE_LEFT/RIGHT and DOT.

 - After gtk_plot_canvas_paint, you have to use gtk_plot_canvas_refresh to
 refresh the pixmap in the window. This is because paint can be
 used to print or save plots in other formats, depending on the GtkPlotPC
 you are using (see below).
 - The drawing engine, called GtkPlotPC has been rewritten. Now
 it's a GtkObject, and you can derive subclasses as GtkPlotGdk and
 GtkPlotPS in our case (You can define your own if you want to use a
 different library to draw your plots!).

 How does it work:
 1) Instead of creating a GdkGC, you create either a GtkPlotGdk or
 GtkPlotPS.
 2) you do the following replacements:

 gdk_gc_set_foreground -> gtk_plot_pc_set_color
 gdk_gc_set_dash -> gtk_plot_pc_set_dash
 gdk_gc_set_line_attributes -> gtk_plot_pc_set_lineattr
 gdk_gc_draw_... -> gtk_plot_pc_draw_...

 The output will be either on a drawable or a file according to the
 GtkPlotPC you chose.

 All the redundant code for the PS output in gtkplotprint was eliminated!
 Elegant, isn't it?

 - I also added a new widget: gtktogglecombo, a gtkcombobox subclass (See it
 in action in testgtksheet)

 - New demos are included.
2001-01-15 12:46:01 +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
94b5174a17 Initial import of gtk+extra-0.99.11, a set of useful gtk+ widgets for
creating GUIs.
2000-10-15 12:25:51 +00:00