diff options
author | wiz <wiz@pkgsrc.org> | 2010-04-30 10:17:46 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-04-30 10:17:46 +0000 |
commit | 3337e54618e1f551567f9657bcaf8b793cc384a7 (patch) | |
tree | 5776176a4143669f7cd6e91d0ff463b8d3ce156f /x11 | |
parent | 949e793f379ab20361fea87f42d996219b559fd5 (diff) | |
download | pkgsrc-3337e54618e1f551567f9657bcaf8b793cc384a7.tar.gz |
Initial import of gtkmm-utils-0.4.1:
Utility functions, classes and widgets written on top of gtkmm and
glibmm.
- logging framework
- option parsing, date and string utilities
- tile widgets
- dialog helpers
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtkmm-utils/DESCR | 7 | ||||
-rw-r--r-- | x11/gtkmm-utils/Makefile | 29 | ||||
-rw-r--r-- | x11/gtkmm-utils/PLIST | 21 | ||||
-rw-r--r-- | x11/gtkmm-utils/buildlink3.mk | 17 | ||||
-rw-r--r-- | x11/gtkmm-utils/distinfo | 8 | ||||
-rw-r--r-- | x11/gtkmm-utils/patches/patch-aa | 13 | ||||
-rw-r--r-- | x11/gtkmm-utils/patches/patch-ab | 15 | ||||
-rw-r--r-- | x11/gtkmm-utils/patches/patch-ac | 15 |
8 files changed, 125 insertions, 0 deletions
diff --git a/x11/gtkmm-utils/DESCR b/x11/gtkmm-utils/DESCR new file mode 100644 index 00000000000..38ec8be5725 --- /dev/null +++ b/x11/gtkmm-utils/DESCR @@ -0,0 +1,7 @@ +Utility functions, classes and widgets written on top of gtkmm and +glibmm. + + - logging framework + - option parsing, date and string utilities + - tile widgets + - dialog helpers diff --git a/x11/gtkmm-utils/Makefile b/x11/gtkmm-utils/Makefile new file mode 100644 index 00000000000..1658b92eaa6 --- /dev/null +++ b/x11/gtkmm-utils/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ +# + +DISTNAME= gtkmm-utils-0.4.1 +CATEGORIES= x11 +MASTER_SITES= http://gtkmm-utils.googlecode.com/files/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://code.google.com/p/gtkmm-utils/ +COMMENT= C++ utility and widget library based on glibmm and gtkmm + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c++ + +PKGCONFIG_OVERRIDE+= glibmm-utils/glibmm-utils.pc.in +PKGCONFIG_OVERRIDE+= gtkmm-utils/gtkmm-utils.pc.in + +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.8.5 +.include "../../devel/glib2/buildlink3.mk" +BUILDLINK_API_DEPENDS.glibmm+= glibmm>=2.12.0 +.include "../../devel/glibmm/buildlink3.mk" +.include "../../devel/libsigc++/buildlink3.mk" +BUILDLINK_API_DEPENDS.gtkmm+= gtkmm>=2.10.0 +.include "../../x11/gtkmm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/gtkmm-utils/PLIST b/x11/gtkmm-utils/PLIST new file mode 100644 index 00000000000..45f540e5f7e --- /dev/null +++ b/x11/gtkmm-utils/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ +include/glibmm-utils-1.0/glibmm-utils/date.h +include/glibmm-utils-1.0/glibmm-utils/exception.h +include/glibmm-utils-1.0/glibmm-utils/glibmm-utils.h +include/glibmm-utils-1.0/glibmm-utils/initializer.h +include/glibmm-utils-1.0/glibmm-utils/log-stream-utils.h +include/glibmm-utils-1.0/glibmm-utils/log-stream.h +include/glibmm-utils-1.0/glibmm-utils/option-utils.h +include/glibmm-utils-1.0/glibmm-utils/scope-logger.h +include/glibmm-utils-1.0/glibmm-utils/ustring.h +include/gtkmm-utils-1.0/gtkmm-utils/dialog.h +include/gtkmm-utils-1.0/gtkmm-utils/entry-multi-completion.h +include/gtkmm-utils-1.0/gtkmm-utils/gtkmm-utils.h +include/gtkmm-utils-1.0/gtkmm-utils/page-navigator.h +include/gtkmm-utils-1.0/gtkmm-utils/tile-view.h +include/gtkmm-utils-1.0/gtkmm-utils/tile.h +include/gtkmm-utils-1.0/gtkmm-utils/white-box.h +lib/libglibmm-utils.la +lib/libgtkmm-utils.la +lib/pkgconfig/glibmm-utils.pc +lib/pkgconfig/gtkmm-utils.pc diff --git a/x11/gtkmm-utils/buildlink3.mk b/x11/gtkmm-utils/buildlink3.mk new file mode 100644 index 00000000000..f7349b0cc46 --- /dev/null +++ b/x11/gtkmm-utils/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +BUILDLINK_TREE+= gtkmm-utils + +.if !defined(GTKMM_UTILS_BUILDLINK3_MK) +GTKMM_UTILS_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gtkmm-utils+= gtkmm-utils>=0.4.1 +BUILDLINK_PKGSRCDIR.gtkmm-utils?= ../../nih/gtkmm-utils + +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/glibmm/buildlink3.mk" +.include "../../devel/libsigc++/buildlink3.mk" +.include "../../x11/gtkmm/buildlink3.mk" +.endif # GTKMM_UTILS_BUILDLINK3_MK + +BUILDLINK_TREE+= -gtkmm-utils diff --git a/x11/gtkmm-utils/distinfo b/x11/gtkmm-utils/distinfo new file mode 100644 index 00000000000..9ea30f2b67d --- /dev/null +++ b/x11/gtkmm-utils/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +SHA1 (gtkmm-utils-0.4.1.tar.gz) = dbf1af7f0ee27c380786651591ef83549ce97ca0 +RMD160 (gtkmm-utils-0.4.1.tar.gz) = 1db5390fc26f0f55fa19511e63b9d4ea6edb7250 +Size (gtkmm-utils-0.4.1.tar.gz) = 388799 bytes +SHA1 (patch-aa) = cd31f835896047fa8cf964759b0dfa249b89ea40 +SHA1 (patch-ab) = 1ac7b0b9cf87176264d12711b7e57f26fff30adf +SHA1 (patch-ac) = 81d58f752d8cc0383b9c3d532360e2cc7426ea01 diff --git a/x11/gtkmm-utils/patches/patch-aa b/x11/gtkmm-utils/patches/patch-aa new file mode 100644 index 00000000000..75e825daeab --- /dev/null +++ b/x11/gtkmm-utils/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +--- glibmm-utils/date.cc.orig 2008-01-16 18:22:26.000000000 +0100 ++++ glibmm-utils/date.cc +@@ -50,7 +50,7 @@ get_current_daytime_generic(Glib::ustrin + + // Obtain the time of day, and convert it to a tm struct. + gettimeofday(&tv, NULL); +- ptm = localtime(&tv.tv_sec); ++ ptm = localtime((time_t *)&tv.tv_sec); + + strftime(time_string, sizeof (time_string), format, ptm); + diff --git a/x11/gtkmm-utils/patches/patch-ab b/x11/gtkmm-utils/patches/patch-ab new file mode 100644 index 00000000000..77d9f6b912e --- /dev/null +++ b/x11/gtkmm-utils/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +--- examples/logging.cc.orig 2008-01-16 18:22:26.000000000 +0100 ++++ examples/logging.cc +@@ -34,6 +34,10 @@ + #include "glibmm-utils/glibmm-utils.h" + #include "logging.h" + ++#ifndef __ASSERT_FUNCTION ++#define __ASSERT_FUNCTION __func__ ++#endif ++ + enum Operation + { + OPERATION_ADDITION, diff --git a/x11/gtkmm-utils/patches/patch-ac b/x11/gtkmm-utils/patches/patch-ac new file mode 100644 index 00000000000..d49d55bce59 --- /dev/null +++ b/x11/gtkmm-utils/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2010/04/30 10:17:46 wiz Exp $ + +--- glibmm-utils/log-stream.cc.orig 2008-10-14 14:11:14.000000000 +0200 ++++ glibmm-utils/log-stream.cc +@@ -36,6 +36,10 @@ + #include "date.h" + #include "ustring.h" + ++#ifndef __ASSERT_FUNCTION ++#define __ASSERT_FUNCTION __func__ ++#endif ++ + namespace Glib { + namespace Util { + |