summaryrefslogtreecommitdiff
path: root/misc/gelemental
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-11-06 20:16:16 +0000
committerdrochner <drochner@pkgsrc.org>2007-11-06 20:16:16 +0000
commite445add29162f692386072c3dedb6483beb974af (patch)
tree5e3502f0fa5c195a41d31f7b781b290b2bdb80d5 /misc/gelemental
parentef2bf2bf1dfaf2de93b01a67dbbf451a03dc2dee (diff)
downloadpkgsrc-e445add29162f692386072c3dedb6483beb974af.tar.gz
import gelemental-1.2.0, a periodic system viewer, obviously continuing
"gperiodic" with a more polished UI
Diffstat (limited to 'misc/gelemental')
-rw-r--r--misc/gelemental/DESCR2
-rw-r--r--misc/gelemental/Makefile25
-rw-r--r--misc/gelemental/PLIST46
-rw-r--r--misc/gelemental/distinfo6
-rw-r--r--misc/gelemental/patches/patch-aa13
5 files changed, 92 insertions, 0 deletions
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<const char *> (src.data ()),
+- src.size () * sizeof (wchar_t)), "UTF-8", "WCHAR_T");
++ src.size () * sizeof (wchar_t)), "UTF-8", "ucs-4");
+ }
+
+