summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2005-09-08 10:21:20 +0000
committerbouyer <bouyer@pkgsrc.org>2005-09-08 10:21:20 +0000
commitc01adfba1e5caeec5f23cdfd252c297b16e8c5a2 (patch)
treee88528e1aba200c32770df00725845da36132c81
parent80924498d95c0532e10c4b83830e01b81323cea4 (diff)
downloadpkgsrc-c01adfba1e5caeec5f23cdfd252c297b16e8c5a2.tar.gz
Initial import of gtk2+extra-2.1.1, a useful set of GTK+ widgets for creating
GUIs.
-rw-r--r--x11/gtk2+extra/DESCR21
-rw-r--r--x11/gtk2+extra/Makefile21
-rw-r--r--x11/gtk2+extra/PLIST51
-rw-r--r--x11/gtk2+extra/buildlink3.mk20
-rw-r--r--x11/gtk2+extra/distinfo6
-rw-r--r--x11/gtk2+extra/patches/patch-ad14
6 files changed, 133 insertions, 0 deletions
diff --git a/x11/gtk2+extra/DESCR b/x11/gtk2+extra/DESCR
new file mode 100644
index 00000000000..c80c42176be
--- /dev/null
+++ b/x11/gtk2+extra/DESCR
@@ -0,0 +1,21 @@
+GtkExtra is a useful set of widgets for creating GUI's for the Xwindows system
+using GTK+. You can use it complementary to GTK+ and it is written in C. It
+is also Free Software and released under the LGPL license.
+
+ The library includes the following widgets:
+
+ * GtkSheet, a matrix widget
+ * GtkPlot, a widget for drawing high quality scientific plots in
+ two dimensions
+ * GtkIconList, a GtkFixed subclass that allows you to display a
+ table of xpm icons with editable labels
+ * GtkDirTree, a GtkCTree subclass for navigating the file-system
+ * GtkFileList, a GtkIconList subclass that displays the contents
+ of a given directory using fancy icons for different types of files
+ * GtkIconFileSelection, a nice looking file selection dialog
+ * GtkItemEntryGtkItemEntry, a GtkEntry subclass
+ * GtkFontCombo, a GtkToolBar subclass for selecting fonts
+ * GtkComboBox, a composite widget with two buttons
+ * GtkColorCombo, a GtkComboBox subclass for selecting colours
+ * GtkBorderCombo, a GtkComboBox subclass for selecting border styles
+ * GtkCheckItem, a check button with the look and feel of Redmond95
diff --git a/x11/gtk2+extra/Makefile b/x11/gtk2+extra/Makefile
new file mode 100644
index 00000000000..8d4d0be6010
--- /dev/null
+++ b/x11/gtk2+extra/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/09/08 10:21:20 bouyer Exp $
+#
+
+DISTNAME= gtk+extra-2.1.1
+PKGNAME= ${DISTNAME:S/gtk/gtk2/}
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scigraphica/}
+
+MAINTAINER= bouyer@NetBSD.org
+HOMEPAGE= http://gtkextra.sourceforge.net/
+COMMENT= Useful set of GTK+ widgets for creating GUIs
+
+USE_X11BASE= YES
+USE_TOOLS+= gmake pkg-config
+GNU_CONFIGURE= YES
+
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gtk2+extra/PLIST b/x11/gtk2+extra/PLIST
new file mode 100644
index 00000000000..98216c8b4f6
--- /dev/null
+++ b/x11/gtk2+extra/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/08 10:21:20 bouyer Exp $
+include/gtkextra-2.0/gtkextra/gtkbordercombo.h
+include/gtkextra-2.0/gtkextra/gtkcharsel.h
+include/gtkextra-2.0/gtkextra/gtkcheckitem.h
+include/gtkextra-2.0/gtkextra/gtkcolorcombo.h
+include/gtkextra-2.0/gtkextra/gtkcombobutton.h
+include/gtkextra-2.0/gtkextra/gtkdirtree.h
+include/gtkextra-2.0/gtkextra/gtkextra-marshal.h
+include/gtkextra-2.0/gtkextra/gtkextra.h
+include/gtkextra-2.0/gtkextra/gtkextrafeatures.h
+include/gtkextra-2.0/gtkextra/gtkextraicons.h
+include/gtkextra-2.0/gtkextra/gtkextratypebuiltins.h
+include/gtkextra-2.0/gtkextra/gtkfileicons.h
+include/gtkextra-2.0/gtkextra/gtkfilelist.h
+include/gtkextra-2.0/gtkextra/gtkfontcombo.h
+include/gtkextra-2.0/gtkextra/gtkiconfilesel.h
+include/gtkextra-2.0/gtkextra/gtkiconlist.h
+include/gtkextra-2.0/gtkextra/gtkitementry.h
+include/gtkextra-2.0/gtkextra/gtkplot.h
+include/gtkextra-2.0/gtkextra/gtkplot3d.h
+include/gtkextra-2.0/gtkextra/gtkplotarray.h
+include/gtkextra-2.0/gtkextra/gtkplotbar.h
+include/gtkextra-2.0/gtkextra/gtkplotbox.h
+include/gtkextra-2.0/gtkextra/gtkplotbubble.h
+include/gtkextra-2.0/gtkextra/gtkplotcandle.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvas.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvasellipse.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvasline.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvaspixmap.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvasplot.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvasrectangle.h
+include/gtkextra-2.0/gtkextra/gtkplotcanvastext.h
+include/gtkextra-2.0/gtkextra/gtkplotcsurface.h
+include/gtkextra-2.0/gtkextra/gtkplotdata.h
+include/gtkextra-2.0/gtkextra/gtkplotdt.h
+include/gtkextra-2.0/gtkextra/gtkplotflux.h
+include/gtkextra-2.0/gtkextra/gtkplotgdk.h
+include/gtkextra-2.0/gtkextra/gtkplotpc.h
+include/gtkextra-2.0/gtkextra/gtkplotpixmap.h
+include/gtkextra-2.0/gtkextra/gtkplotpolar.h
+include/gtkextra-2.0/gtkextra/gtkplotprint.h
+include/gtkextra-2.0/gtkextra/gtkplotps.h
+include/gtkextra-2.0/gtkextra/gtkplotsegment.h
+include/gtkextra-2.0/gtkextra/gtkplotsurface.h
+include/gtkextra-2.0/gtkextra/gtkpsfont.h
+include/gtkextra-2.0/gtkextra/gtksheet.h
+include/gtkextra-2.0/gtkextra/gtktogglecombo.h
+lib/libgtkextra-x11-2.0.la
+lib/pkgconfig/gtkextra-2.0.pc
+@dirrm include/gtkextra-2.0/gtkextra
+@dirrm include/gtkextra-2.0
diff --git a/x11/gtk2+extra/buildlink3.mk b/x11/gtk2+extra/buildlink3.mk
new file mode 100644
index 00000000000..46497cf5da2
--- /dev/null
+++ b/x11/gtk2+extra/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/09/08 10:21:20 bouyer Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GTK2+EXTRA_BUILDLINK3_MK:= ${GTK2+EXTRA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gtk2+extra
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk2+extra}
+BUILDLINK_PACKAGES+= gtk2+extra
+
+.if !empty(GTK2+EXTRA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gtk2+extra+= gtk2+extra>=2.1.1
+BUILDLINK_PKGSRCDIR.gtk2+extra?= ../../x11/gtk2+extra
+.endif # GTK2+EXTRA_BUILDLINK3_MK
+
+.include "../../x11/gtk2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/x11/gtk2+extra/distinfo b/x11/gtk2+extra/distinfo
new file mode 100644
index 00000000000..c1377c51916
--- /dev/null
+++ b/x11/gtk2+extra/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/09/08 10:21:20 bouyer Exp $
+
+SHA1 (gtk+extra-2.1.1.tar.gz) = 94d7ae9cb3aef05159cfff148265fc9ce0973980
+RMD160 (gtk+extra-2.1.1.tar.gz) = 7134fe4c5aaaa45ee3a7e651f3c477ba7c477214
+Size (gtk+extra-2.1.1.tar.gz) = 893481 bytes
+SHA1 (patch-ad) = e2c45a044ef08c4e01df8f24ef174dc7d62a95f6
diff --git a/x11/gtk2+extra/patches/patch-ad b/x11/gtk2+extra/patches/patch-ad
new file mode 100644
index 00000000000..3b4432d90d6
--- /dev/null
+++ b/x11/gtk2+extra/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/09/08 10:21:20 bouyer Exp $
+
+--- gtkextra/gtkdirtree.c.orig Fri Nov 30 10:12:16 2001
++++ gtkextra/gtkdirtree.c
+@@ -259,8 +259,7 @@ gtk_dir_tree_init (GtkDirTree *dir_tree)
+
+ /* Get the local hostname. */
+ #ifndef G_OS_WIN32
+- if ((gethostname (localhost, MAXHOSTNAMELEN) != 0) &&
+- (getdomainname (localhost, MAXHOSTNAMELEN) != 0))
++ if (gethostname (localhost, MAXHOSTNAMELEN) != 0)
+ strcpy (localhost, "LocalHost");
+ #else
+ strcpy (localhost, "My PC");