diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-23 04:54:32 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-23 04:54:32 +0800 |
commit | 2cef85b8a4175353cf0e92ead2291edc98583934 (patch) | |
tree | 01fbf22ab4ae98e8d55734facc946dc89bb0166b /x11 | |
parent | f84654999f48beb629dac8f7ae0564a30bf200b3 (diff) | |
download | marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.tar marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.tar.gz marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.tar.bz2 marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.tar.lz marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.tar.xz marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.tar.zst marcuscom-ports-2cef85b8a4175353cf0e92ead2291edc98583934.zip |
Add libpanelappletmm, C++ wrappers around the libpanelapplet library from
gnomepanel.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1518 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libpanelappletmm/Makefile | 38 | ||||
-rw-r--r-- | x11/libpanelappletmm/distinfo | 1 | ||||
-rw-r--r-- | x11/libpanelappletmm/files/extra-patch-old_gcc_bugs | 28 | ||||
-rw-r--r-- | x11/libpanelappletmm/pkg-descr | 3 | ||||
-rw-r--r-- | x11/libpanelappletmm/pkg-plist | 26 |
5 files changed, 96 insertions, 0 deletions
diff --git a/x11/libpanelappletmm/Makefile b/x11/libpanelappletmm/Makefile new file mode 100644 index 000000000..3206d7f3a --- /dev/null +++ b/x11/libpanelappletmm/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: libpanelappletmm +# Date created: 22 December 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libpanelappletmm +PORTVERSION= 2.5.0 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5 +DIST_SUBDIR= gnome2 + +MAINTAINER= bland@FreeBSD.org +COMMENT= C++ wrapper for libpanelapplet library + +LIB_DEPENDS= gtkmm-2.3.2:${PORTSDIR}/x11-toolkits/gtk--2 +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomehack lthack gnomepanel +GNOME_DESKTOP_VERSION=2 +USE_LIBTOOL= yes +INSTALLS_SHLIB= yes +CONFIGURE_ARGS= --enable-static + +PLIST_SUB= VERSION="2.5" API_VERSION="2.6" + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-old_gcc_bugs +.endif + +.include <bsd.port.post.mk> diff --git a/x11/libpanelappletmm/distinfo b/x11/libpanelappletmm/distinfo new file mode 100644 index 000000000..3f3d18b28 --- /dev/null +++ b/x11/libpanelappletmm/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/libpanelappletmm-2.5.0.tar.bz2) = 04d859f1fa1b55fc17709c2c46d53d3d diff --git a/x11/libpanelappletmm/files/extra-patch-old_gcc_bugs b/x11/libpanelappletmm/files/extra-patch-old_gcc_bugs new file mode 100644 index 000000000..5f1e21414 --- /dev/null +++ b/x11/libpanelappletmm/files/extra-patch-old_gcc_bugs @@ -0,0 +1,28 @@ +--- examples/simple/main.cc.orig Mon Dec 22 15:42:58 2003 ++++ examples/simple/main.cc Mon Dec 22 15:46:19 2003 +@@ -90,7 +90,6 @@ + MyApplet *myapplet = static_cast<MyApplet*>(applet); + std::ostringstream output; + +- output.imbue(std::locale("")); + output << "Applet size: " << myapplet->get_size(); + + Gtk::MessageDialog dialog(Glib::locale_to_utf8(output.str())); +@@ -102,7 +101,6 @@ + MyApplet* myapplet = static_cast<MyApplet*>(applet); + + std::ostringstream output; +- output.imbue(std::locale("")); + + Gdk::Color back_color; + Glib::RefPtr<Gdk::Pixmap> back_pixmap; +--- examples/gconf/main.cc.orig Mon Dec 22 15:48:35 2003 ++++ examples/gconf/main.cc Mon Dec 22 15:48:42 2003 +@@ -65,7 +65,6 @@ + MyApplet *myapplet = static_cast<MyApplet*>(applet); + std::ostringstream output; + +- output.imbue(std::locale("")); + output << "Applet gconf key: " << myapplet->gconf_get_full_key(""); + + Gtk::MessageDialog dialog(Glib::locale_to_utf8(output.str())); diff --git a/x11/libpanelappletmm/pkg-descr b/x11/libpanelappletmm/pkg-descr new file mode 100644 index 000000000..c16d7bcda --- /dev/null +++ b/x11/libpanelappletmm/pkg-descr @@ -0,0 +1,3 @@ +This is a set of thin C++ wrappers for libpanelapplet (part of gnomepanel). + +WWW: http://gtkmm.sourceforge.net/ diff --git a/x11/libpanelappletmm/pkg-plist b/x11/libpanelappletmm/pkg-plist new file mode 100644 index 000000000..91c28a4f1 --- /dev/null +++ b/x11/libpanelappletmm/pkg-plist @@ -0,0 +1,26 @@ +include/libpanelappletmm-2.0/libpanelappletmm/private/applet_p.h +include/libpanelappletmm-2.0/libpanelappletmm/private/enums_p.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/applet.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/enums.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/factory.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/init.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/private.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/wrap_init.h +lib/libpanelappletmm-2.0/proc/m4/convert.m4 +lib/libpanelappletmm-2.0/proc/m4/convert_libpanelappletmm.m4 +lib/libpanelappletmm-%%VERSION%%.a +lib/libpanelappletmm-%%VERSION%%.so +lib/libpanelappletmm-%%VERSION%%.so.1 +lib/libpanelappletmm-%%API_VERSION%%/include/libpanelappletmmconfig.h +libdata/pkgconfig/libpanelappletmm-%%API_VERSION%%.pc +@dirrm lib/libpanelappletmm-%%API_VERSION%%/include +@dirrm lib/libpanelappletmm-%%API_VERSION%% +@dirrm lib/libpanelappletmm-2.0/proc/m4 +@dirrm lib/libpanelappletmm-2.0/proc +@dirrm lib/libpanelappletmm-2.0 +@dirrm include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm +@dirrm include/libpanelappletmm-%%API_VERSION%% +@dirrm include/libpanelappletmm-2.0/libpanelappletmm/private +@dirrm include/libpanelappletmm-2.0/libpanelappletmm +@dirrm include/libpanelappletmm-2.0 |