summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2002-07-12 17:33:14 +0000
committerwiz <wiz>2002-07-12 17:33:14 +0000
commitdb0b0cd38a81ec524a38e561984c5b51fb138641 (patch)
treec5292c481266e912c7ce4f5f90d4208791416a5b /devel
parent683b3be900bfe881db74af03fba03e3d233ad1ca (diff)
downloadpkgsrc-db0b0cd38a81ec524a38e561984c5b51fb138641.tar.gz
Initial import of libglade2, supplied by Julio Merino in pkg/17462.
Libglade is a library that performs a similar job to the C source output routines in the GLADE user interface builder. Whereas GLADE's output routines create C code that can then be compiled, libglade builds the interface from an XML file (GLADE's save format) at runtime. This way you can change the look of a program without needing to recompile. Currently it supports all the widgets in current releases, together with support for keyboard accelerators and automatic signal connection.
Diffstat (limited to 'devel')
-rw-r--r--devel/libglade2/DESCR9
-rw-r--r--devel/libglade2/Makefile23
-rw-r--r--devel/libglade2/PLIST31
-rw-r--r--devel/libglade2/buildlink.mk40
-rw-r--r--devel/libglade2/distinfo5
-rw-r--r--devel/libglade2/patches/patch-aa13
6 files changed, 121 insertions, 0 deletions
diff --git a/devel/libglade2/DESCR b/devel/libglade2/DESCR
new file mode 100644
index 00000000000..8dd5155d5fd
--- /dev/null
+++ b/devel/libglade2/DESCR
@@ -0,0 +1,9 @@
+ Libglade is a library that performs a similar job to the C source
+output routines in the GLADE user interface builder. Whereas GLADE's
+output routines create C code that can then be compiled, libglade builds
+the interface from an XML file (GLADE's save format) at runtime. This
+way you can change the look of a program without needing to recompile.
+
+ Currently it supports all the widgets in current releases, together
+with support for keyboard accelerators and automatic signal
+connection.
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
new file mode 100644
index 00000000000..0ef29ee3f65
--- /dev/null
+++ b/devel/libglade2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
+#
+
+DISTNAME= libglade-2.0.0
+PKGNAME= libglade2-2.0.0
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=2.0.0/sources/libglade/}
+
+MAINTAINER= jmmv@hispabsd.org
+HOMEPAGE= http://www.daa.com.au/~james/gnome/
+COMMENT= Runtime interpreter for GLADE gui files (v2)
+
+BUILD_USES_MSGFMT= YES
+
+USE_BUILDLINK_ONLY= YES
+USE_X11BASE= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../textproc/libxml2/buildlink.mk"
+.include "../../x11/gtk2/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libglade2/PLIST b/devel/libglade2/PLIST
new file mode 100644
index 00000000000..581e0b144c3
--- /dev/null
+++ b/devel/libglade2/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
+include/libglade-2.0/glade/glade-build.h
+include/libglade-2.0/glade/glade-init.h
+include/libglade-2.0/glade/glade-parser.h
+include/libglade-2.0/glade/glade-xml.h
+include/libglade-2.0/glade/glade.h
+lib/libglade-2.0.a
+lib/libglade-2.0.la
+lib/libglade-2.0.so
+lib/libglade-2.0.so.0
+lib/libglade-2.0.so.0.0
+lib/pkgconfig/libglade-2.0.pc
+share/gtk-doc/html/libglade/gladexml.html
+share/gtk-doc/html/libglade/libglade-dtd-exceptions.html
+share/gtk-doc/html/libglade/libglade-dtd.html
+share/gtk-doc/html/libglade/libglade-embedding.html
+share/gtk-doc/html/libglade/libglade-extending.html
+share/gtk-doc/html/libglade/libglade-i18n.html
+share/gtk-doc/html/libglade/libglade-lib.html
+share/gtk-doc/html/libglade/libglade-libglade-build.html
+share/gtk-doc/html/libglade/libglade-libglade-initialisation.html
+share/gtk-doc/html/libglade/libglade-libglade-sax-parser.html
+share/gtk-doc/html/libglade/libglade-modules.html
+share/gtk-doc/html/libglade/libglade-notes.html
+share/gtk-doc/html/libglade/libglade.html
+share/xml/libglade/glade-2.0.dtd
+@dirrm share/xml/libglade
+@unexec ${RMDIR} %D/share/xml 2>/dev/null || true
+@dirrm share/gtk-doc/html/libglade
+@dirrm include/libglade-2.0/glade
+@dirrm include/libglade-2.0
diff --git a/devel/libglade2/buildlink.mk b/devel/libglade2/buildlink.mk
new file mode 100644
index 00000000000..12b8cc3528f
--- /dev/null
+++ b/devel/libglade2/buildlink.mk
@@ -0,0 +1,40 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
+#
+# This Makefile fragment is included by packages that use libglade2.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.libglade2 to the dependency pattern
+# for the version of libglade2 desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(LIBGLADE2_BUILDLINK_MK)
+LIBGLADE2_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.libglade2?= libglade2>=2.0.0
+DEPENDS+= ${BUILDLINK_DEPENDS.libglade2}:../../devel/libglade2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libglade2=libglade2
+BUILDLINK_PREFIX.libglade2_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libglade2= include/libglade-2.0/glade/*
+BUILDLINK_FILES.libglade2+= lib/libglade-2.0.*
+BUILDLINK_FILES.libglade2+= lib/pkgconfig/libglade-2.0.pc
+
+CPPFLAGS+= -I${BUILDLINK_DIR}/include/libglade-2.0
+
+.include "../../textproc/libxml2/buildlink.mk"
+.include "../../x11/gtk2/buildlink.mk"
+
+BUILDLINK_TARGETS.libglade2= libglade2-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libglade2}
+
+pre-configure: ${BUILDLINK_TARGETS.libglade2}
+libglade2-buildlink: _BUILDLINK_USE
+
+.endif # LIBGLADE2_BUILDLINK_MK
diff --git a/devel/libglade2/distinfo b/devel/libglade2/distinfo
new file mode 100644
index 00000000000..19466babfd1
--- /dev/null
+++ b/devel/libglade2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
+
+SHA1 (libglade-2.0.0.tar.gz) = 73aa032f89a012f0727ebe1379148a9c0a1c3d70
+Size (libglade-2.0.0.tar.gz) = 353683 bytes
+SHA1 (patch-aa) = daa85a2941cd4900139dda63f4e9b62aa3c2a7ed
diff --git a/devel/libglade2/patches/patch-aa b/devel/libglade2/patches/patch-aa
new file mode 100644
index 00000000000..96753826b78
--- /dev/null
+++ b/devel/libglade2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/12 17:33:14 wiz Exp $
+
+--- doc/Makefile.in.orig Tue Jul 2 19:06:37 2002
++++ doc/Makefile.in Tue Jul 2 19:06:41 2002
+@@ -341,8 +341,6 @@
+ echo '-- Installing '$$i ; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
+ done; \
+- echo '-- Installing $(srcdir)/html/index.sgml' ; \
+- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(TARGET_DIR); \
+ echo '-- Fixing Crossreferences' ; \
+ gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR) || true; \
+ fi)