diff options
Diffstat (limited to 'devel/libglade')
-rw-r--r-- | devel/libglade/DESCR | 9 | ||||
-rw-r--r-- | devel/libglade/Makefile | 38 | ||||
-rw-r--r-- | devel/libglade/PLIST | 36 | ||||
-rw-r--r-- | devel/libglade/buildlink3.mk | 27 | ||||
-rw-r--r-- | devel/libglade/distinfo | 6 | ||||
-rw-r--r-- | devel/libglade/patches/patch-aa | 21 |
6 files changed, 137 insertions, 0 deletions
diff --git a/devel/libglade/DESCR b/devel/libglade/DESCR new file mode 100644 index 00000000000..99a77f0895d --- /dev/null +++ b/devel/libglade/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/libglade/Makefile b/devel/libglade/Makefile new file mode 100644 index 00000000000..00d7fad21de --- /dev/null +++ b/devel/libglade/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.64 2007/09/21 12:58:54 wiz Exp $ +# + +DISTNAME= libglade-2.6.2 +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libglade/2.6/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= drochner@NetBSD.org +HOMEPAGE= http://www.jamesh.id.au/software/libglade/ +COMMENT= Runtime interpreter for GLADE GUI files + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= gmake msgfmt pkg-config +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +PKGCONFIG_OVERRIDE= libglade-2.0.pc.in + +CONFLICTS+= libglade-[0-9]* + +CONFIGURE_ARGS+= --without-xml-catalog + +XML_ENTRIES= system http://glade.gnome.org/glade-2.0.dtd \ + ${PREFIX}/share/xml/libglade/glade-2.0.dtd + +BUILDLINK_API_DEPENDS.atk+= atk>=1.9.0 +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0 +BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.6.0 + +OWN_DIRS+= lib/libglade/2.0 + +.include "../../devel/atk/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/xmlcatmgr/catalogs.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libglade/PLIST b/devel/libglade/PLIST new file mode 100644 index 00000000000..1f6b8133d39 --- /dev/null +++ b/devel/libglade/PLIST @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.4 2007/09/21 12:58:55 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.la +lib/pkgconfig/libglade-2.0.pc +share/gtk-doc/html/libglade/GladeXML.html +share/gtk-doc/html/libglade/home.png +share/gtk-doc/html/libglade/index.html +share/gtk-doc/html/libglade/index.sgml +share/gtk-doc/html/libglade/left.png +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-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-modules.html +share/gtk-doc/html/libglade/libglade-notes.html +share/gtk-doc/html/libglade/libglade.devhelp +share/gtk-doc/html/libglade/libglade.devhelp2 +share/gtk-doc/html/libglade/right.png +share/gtk-doc/html/libglade/style.css +share/gtk-doc/html/libglade/up.png +@comment in xmlcatmgr: share/xml/catalog +share/xml/libglade/glade-2.0.dtd +@dirrm share/xml/libglade +@comment in xmlcatmgr: @dirrm share/xml +@dirrm share/gtk-doc/html/libglade +@dirrm include/libglade-2.0/glade +@dirrm include/libglade-2.0 diff --git a/devel/libglade/buildlink3.mk b/devel/libglade/buildlink3.mk new file mode 100644 index 00000000000..ca1fac122a9 --- /dev/null +++ b/devel/libglade/buildlink3.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink3.mk,v 1.13 2007/09/21 12:58:55 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBGLADE_BUILDLINK3_MK:= ${LIBGLADE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libglade +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibglade} +BUILDLINK_PACKAGES+= libglade +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libglade + +.if !empty(LIBGLADE_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.libglade+= libglade>=2.3.6 +BUILDLINK_ABI_DEPENDS.libglade+= libglade>=2.5.1nb4 +BUILDLINK_PKGSRCDIR.libglade?= ../../devel/libglade + +PRINT_PLIST_AWK+= /^@dirrm lib\/libglade$$/ { next; } +PRINT_PLIST_AWK+= /^@dirrm lib\/libglade\/2.0$$/ \ + { print "@comment in libglade: " $$0; next; } +.endif # LIBGLADE_BUILDLINK3_MK + +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/libglade/distinfo b/devel/libglade/distinfo new file mode 100644 index 00000000000..8b8421a01a2 --- /dev/null +++ b/devel/libglade/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.10 2007/09/21 12:58:55 wiz Exp $ + +SHA1 (libglade-2.6.2.tar.bz2) = 99ffcf33bcd0fdd67191c99b117a0cefc26b84bc +RMD160 (libglade-2.6.2.tar.bz2) = d6b25114cdbcc5c74412186a9a5a2cc9a140c4e7 +Size (libglade-2.6.2.tar.bz2) = 351755 bytes +SHA1 (patch-aa) = 7f03c8ae0f604e0abe04b705901f60221c75d6b2 diff --git a/devel/libglade/patches/patch-aa b/devel/libglade/patches/patch-aa new file mode 100644 index 00000000000..9a5f9e60583 --- /dev/null +++ b/devel/libglade/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.8 2007/09/21 12:58:55 wiz Exp $ + +--- configure.orig 2007-07-31 00:27:42.000000000 +0200 ++++ configure +@@ -12290,6 +12290,7 @@ echo "${ECHO_T}$LINGUAS" >&6; } + + + ++if false; then + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.0" >&5 +@@ -12493,6 +12494,8 @@ echo "${ECHO_T}no" >&6; } + have_python=false + fi + fi ++fi ++have_python=false + if $have_python; then + HAVE_PYTHON_TRUE= + HAVE_PYTHON_FALSE='#' |