From e871364245fb8b8a356aa17006b2ed9fd3361853 Mon Sep 17 00:00:00 2001 From: drochner Date: Tue, 6 Nov 2007 20:16:16 +0000 Subject: import gelemental-1.2.0, a periodic system viewer, obviously continuing "gperiodic" with a more polished UI --- misc/gelemental/DESCR | 2 ++ misc/gelemental/Makefile | 25 ++++++++++++++++++++++ misc/gelemental/PLIST | 46 ++++++++++++++++++++++++++++++++++++++++ misc/gelemental/distinfo | 6 ++++++ misc/gelemental/patches/patch-aa | 13 ++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 misc/gelemental/DESCR create mode 100644 misc/gelemental/Makefile create mode 100644 misc/gelemental/PLIST create mode 100644 misc/gelemental/distinfo create mode 100644 misc/gelemental/patches/patch-aa diff --git a/misc/gelemental/DESCR b/misc/gelemental/DESCR new file mode 100644 index 00000000000..f5cef3ea116 --- /dev/null +++ b/misc/gelemental/DESCR @@ -0,0 +1,2 @@ +gElemental is a GTK+ periodic table viewer with detailed information on +elements. diff --git a/misc/gelemental/Makefile b/misc/gelemental/Makefile new file mode 100644 index 00000000000..05317df6732 --- /dev/null +++ b/misc/gelemental/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/11/06 20:16:16 drochner Exp $ +# + +DISTNAME= gelemental-1.2.0 +CATEGORIES= misc +MASTER_SITES= http://www.kdau.com/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.kdau.com/projects/gelemental/ +COMMENT= Periodic table viewer + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config intltool gmake +USE_LANGUAGES= c++ +USE_DIRS+= xdg-1.1 + +PKGCONFIG_OVERRIDE+= data/libelemental.pc.in + +.include "../../devel/glibmm/buildlink3.mk" +.include "../../devel/pango/buildlink3.mk" +.include "../../x11/gtkmm/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/gelemental/PLIST b/misc/gelemental/PLIST new file mode 100644 index 00000000000..da25724207a --- /dev/null +++ b/misc/gelemental/PLIST @@ -0,0 +1,46 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/06 20:16:16 drochner Exp $ +bin/gelemental +include/libelemental/element.hh +include/libelemental/element.tcc +include/libelemental/misc/extras.hh +include/libelemental/misc/ucompose.hh +include/libelemental/misc/ucompose.tcc +include/libelemental/properties.hh +include/libelemental/table.hh +include/libelemental/value-types.hh +include/libelemental/value.hh +include/libelemental/value.tcc +lib/libelemental.la +lib/pkgconfig/libelemental.pc +man/man1/gelemental.1 +share/applications/gelemental.desktop +share/icons/hicolor/16x16/apps/gelemental.png +share/icons/hicolor/22x22/apps/gelemental.png +share/icons/hicolor/24x24/apps/gelemental.png +share/icons/hicolor/32x32/apps/gelemental.png +share/icons/hicolor/48x48/apps/gelemental.png +share/icons/hicolor/scalable/apps/gelemental.svg +share/locale/da/LC_MESSAGES/gelemental.mo +share/locale/de/LC_MESSAGES/gelemental.mo +share/locale/en_CA/LC_MESSAGES/gelemental.mo +share/locale/en_GB/LC_MESSAGES/gelemental.mo +share/locale/en_US/LC_MESSAGES/gelemental.mo +share/locale/es/LC_MESSAGES/gelemental.mo +share/locale/fr/LC_MESSAGES/gelemental.mo +share/locale/it/LC_MESSAGES/gelemental.mo +share/locale/nl/LC_MESSAGES/gelemental.mo +share/locale/pl/LC_MESSAGES/gelemental.mo +share/locale/pt/LC_MESSAGES/gelemental.mo +share/locale/ru/LC_MESSAGES/gelemental.mo +share/locale/sv/LC_MESSAGES/gelemental.mo +share/locale/tr/LC_MESSAGES/gelemental.mo +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/scalable/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/48x48/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/32x32/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/24x24/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/22x22/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/16x16/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor +@comment in xdg-dirs: @dirrm share/applications +@dirrm include/libelemental/misc +@dirrm include/libelemental diff --git a/misc/gelemental/distinfo b/misc/gelemental/distinfo new file mode 100644 index 00000000000..ea0d10d2ca4 --- /dev/null +++ b/misc/gelemental/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/11/06 20:16:16 drochner Exp $ + +SHA1 (gelemental-1.2.0.tar.bz2) = 5640c8912de555eddf72924c866831249d0fdd28 +RMD160 (gelemental-1.2.0.tar.bz2) = a54b29e853d4861f4fd5adb947816cb0f736d2bc +Size (gelemental-1.2.0.tar.bz2) = 460757 bytes +SHA1 (patch-aa) = bef3bc522e630b5f5674b75bb9713a844e38b66f diff --git a/misc/gelemental/patches/patch-aa b/misc/gelemental/patches/patch-aa new file mode 100644 index 00000000000..3fae4bc0bc0 --- /dev/null +++ b/misc/gelemental/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/11/06 20:16:16 drochner Exp $ + +--- libelemental/misc/ucompose.cc.orig 2007-10-01 18:33:04.000000000 +0200 ++++ libelemental/misc/ucompose.cc +@@ -144,7 +144,7 @@ ustring + UComposition::do_stringify (const std::wstring& src) + { + return Glib::convert (string (reinterpret_cast (src.data ()), +- src.size () * sizeof (wchar_t)), "UTF-8", "WCHAR_T"); ++ src.size () * sizeof (wchar_t)), "UTF-8", "ucs-4"); + } + + -- cgit v1.2.3