[Midnightbsd-cvs] mports: mports/devel: add libglademm, another C++ wrapper

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Mar 28 01:04:06 EDT 2008


Log Message:
-----------
add libglademm, another C++ wrapper

Modified Files:
--------------
    mports/devel:
        Makefile (r1.203 -> r1.204)

Added Files:
-----------
    mports/devel/libglademm:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/devel/libglademm/files:
        patch-libglade__libglademm__xml.h (r1.1)
        patch-tools__extra_defs_gen__Makefile.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.203
retrieving revision 1.204
diff -L devel/Makefile -L devel/Makefile -u -r1.203 -r1.204
--- devel/Makefile
+++ devel/Makefile
@@ -87,6 +87,7 @@
     SUBDIR += libexecinfo
     SUBDIR += libgii
     SUBDIR += libglade2
+    SUBDIR += libglademm
     SUBDIR += libgsf
     SUBDIR += libgsf-gnome
     SUBDIR += libgtop
--- /dev/null
+++ devel/libglademm/pkg-descr
@@ -0,0 +1,3 @@
+This is a set of thin C++ wrappers for libglade v2 library.
+
+WWW: http://gtkmm.sourceforge.net/
--- /dev/null
+++ devel/libglademm/pkg-plist
@@ -0,0 +1,21 @@
+include/libglademm-2.0/libglademm.h
+include/libglademm-2.0/libglademm/init.h
+include/libglademm-2.0/libglademm/private/xml_p.h
+include/libglademm-2.0/libglademm/variablesmap.h
+include/libglademm-2.0/libglademm/wrap_init.h
+include/libglademm-2.0/libglademm/xml.h
+lib/libglademm-2.0.a
+lib/libglademm-2.0.la
+lib/libglademm-2.0.so
+lib/libglademm-2.0.so.1
+lib/libglademm-2.0/include/libglademmconfig.h
+lib/libglademm-2.0/proc/m4/convert.m4
+lib/libglademm-2.0/proc/m4/convert_libglademm.m4
+libdata/pkgconfig/libglademm-2.0.pc
+ at dirrm lib/libglademm-2.0/include
+ at dirrm lib/libglademm-2.0/proc/m4
+ at dirrm lib/libglademm-2.0/proc
+ at dirrm lib/libglademm-2.0
+ at dirrm include/libglademm-2.0/libglademm/private
+ at dirrm include/libglademm-2.0/libglademm
+ at dirrm include/libglademm-2.0
--- /dev/null
+++ devel/libglademm/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for:    libglademm
+# Date created:         22 May 2003
+# Whom:                 Alexander Nedotsukov <bland at mail.ru>
+#
+# $MidnightBSD: mports/devel/libglademm/Makefile,v 1.1 2008/03/28 05:04:04 laffer1 Exp $
+# $FreeBSD: ports/devel/libglademm/Makefile,v 1.19 2007/05/19 20:03:07 flz Exp $
+#
+
+PORTNAME=	libglademm
+PORTVERSION=	2.1.3
+CATEGORIES=	devel gnome
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	gtkmm
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	C++ wrapper for libglade2 library
+LICENSE=	lgpl
+
+LIB_DEPENDS=	gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtkmm20
+BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
+
+USE_XLIB=	yes
+USE_GMAKE=	yes
+USE_GNOME=	gnomehack libglade2
+USE_AUTOTOOLS=	libtool:15
+USE_LDCONFIG=	yes
+CONFIGURE_ARGS=	--enable-static
+
+post-patch:
+	@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
+		${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/libglademm/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/libglademm-2.1.3.tar.gz) = 9f950bb0cdd410cb36d1d0c3e23eca6a
+SHA256 (gnome2/libglademm-2.1.3.tar.gz) = 2f8feb8c01e747a11568ff7485463e69f691069898377d4cc2536b012c5b9f6a
+SIZE (gnome2/libglademm-2.1.3.tar.gz) = 340596
--- /dev/null
+++ devel/libglademm/files/patch-libglade__libglademm__xml.h
@@ -0,0 +1,11 @@
+--- libglade/libglademm/xml.h.orig	Tue Oct 11 11:18:23 2005
++++ libglade/libglademm/xml.h	Tue Oct 11 11:18:51 2005
+@@ -240,7 +240,7 @@
+      //If there is already a C++ instance, then return it again:
+      if(pObjectBase)
+      {
+-       widget = dynamic_cast<T_Widget*>( Glib::wrap(pCWidget) );
++       widget = dynamic_cast<T_Widget*>( Glib::wrap((GtkWidget*)pCWidget) );
+ 
+        //The dynamic cast checks that it is of the correct type.
+        //Somebody might be trying to call get_widget_derived() after already calling get_widget(),
--- /dev/null
+++ devel/libglademm/files/patch-tools__extra_defs_gen__Makefile.in
@@ -0,0 +1,11 @@
+--- tools/extra_defs_gen/Makefile.in.orig	Tue Sep 30 02:13:30 2003
++++ tools/extra_defs_gen/Makefile.in	Fri Apr 22 11:59:21 2005
+@@ -87,7 +87,7 @@
+ LIBGLADEMM_VERSION = @LIBGLADEMM_VERSION@
+ LIBGLADE_VERSION_NEEDED = @LIBGLADE_VERSION_NEEDED@
+ LIBOBJS = @LIBOBJS@
+-LIBS = $(LIBGLADEMM_LIBS) -lgtkmm_generate_extra_defs-2.0
++LIBS = $(LIBGLADEMM_LIBS) -L$(GTKMM_PROCDIR)/../.. -lgtkmm_generate_extra_defs-2.0
+ LIBTOOL = @LIBTOOL@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@


More information about the Midnightbsd-cvs mailing list