diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/gelemental |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/gelemental')
7 files changed, 188 insertions, 0 deletions
diff --git a/sci-chemistry/gelemental/Manifest b/sci-chemistry/gelemental/Manifest new file mode 100644 index 000000000000..ddd27fc6e636 --- /dev/null +++ b/sci-chemistry/gelemental/Manifest @@ -0,0 +1,10 @@ +AUX gelemental-1.2.0-doxygen.patch 1281 SHA256 687fa06347030ba1f2f6acb211664c4e945ab67e6d85cac6dc19064169173b6a SHA512 f5d7c49ef6a0a7d8570dcb20d9651af31eb07fbf8f75685c83c8d5e9f44cc07ea0945af6d04cf45694aeb9a2471382c348532717700059dbdd562d1838b4f52f WHIRLPOOL d08cf1c33f4d894af15ddc31d8d0546636273a238ea2ea190c3067d2d0472bf2af7cb9c3a1dba21ee2fe56a7fbb8df6d5d85889b49d3e117c28a2ca048fb4ca3 +AUX gelemental-1.2.0-fix-c++14.patch 399 SHA256 57b8bf85586c9e1f20e99deea4294ad6aa5d1431e2b2cc360ae069f2fdcee4e9 SHA512 9d134a3fe3dfb5a0238cc2f88803eb449cc596b5e4cd7c565c63dcc6cc11f7ed9ea605a075d75585d205fd4b502301dce9ed91725d81dffaca5cdbec95ce9d0c WHIRLPOOL a84cf8db49e21cb6211686210eec91ea4fc9b48e9c0ad6fac790bf0a5a6dc0db6c1738cd044347bda061ba7c0da11de8c1cb85248ba13e58597bde82b22a473f +AUX gelemental-1.2.0-gcc4.3.patch 387 SHA256 0747ec32d6ee9f6ff75bbf2271f24018b547b6d71b98660d16fac450519c5918 SHA512 d7b103a533dd3edda30d349b0205b241cd5e23c97a562912cc28bd7fb210c3e6f5c33ce2a3321817fe3748812f655b1295d23058aefd35ae2b2746bee99c35e3 WHIRLPOOL 9bf3603af284d8a27d19e4aee212234ce115e1ddf2b24234233040bf8e37192fb784915dd598c007140b670a389f84d829d64a2fd7ac19af1c65b546c55db66b +AUX gelemental-1.2.0-glib-2.32.patch 1235 SHA256 630d4fcbdc6ccd3313c43324052bfd42a575cccf5e61a39c513369e003326c34 SHA512 2e414b8d4f57a6edcdb4322b0bf39b6d89c7be0c67086f2bd2d468aaff36f9f98339f14cb2fe11444113b5395b8b4742ea82461df84094c8c1e4ca7f21ebb1c9 WHIRLPOOL a9ca2c49a365aaa7fbbba59c4481b134d996a489249ab52a323b97ab5d3480bdea41273d091d0ecca7b4943331e9e2d1bfff09e313111fb3e590d1a81faf0855 +DIST gelemental-1.2.0.tar.bz2 460757 SHA256 4f2797200af98d74c71db0065506f99a97820392f39f67cf3ef42de6dca3859b SHA512 2e6ef2c22b389cff69728b01e1eb397578974362356f5132098f29a9e01a64be228a24686738bd84ea575cee5aef068d9ab3d6c20233f995ccc5f1a1cb5d5673 WHIRLPOOL 6814ce64ad66a872073af31460e9938f2ac385500af9a94a60d3ce28c85bad467ef09ce9a2596e0b3e508121959b662e77cba685a6d3359a5d840a9af9fa34bb +DIST gelemental_1.2.0-8.debian.tar.gz 29877 SHA256 b03ddad5587fdfb279d570388105ea5fb3b16eebbb2626f1f293ff283456869e SHA512 83c236e3b91af304c96f28c0f12577821ee2f47c9e01fb1f3664228afb002dc19b1a71e6dcd6040d09ea991d131b147ea5b36283d8ead290d50014c15e69878c WHIRLPOOL 16bc07c03b88e7a0c161677302d2a9d2cdb74aa6baf702b0d6d2c2a6f2ec8fe21d626cc58ecb34850da8369bccb36b889f5391c013e0861c338bd68c1f38e3ca +EBUILD gelemental-1.2.0-r1.ebuild 1842 SHA256 249818a53f999c99dedd0778b3d3f622d323e7a5ef459741fe9a9b4aa5c21569 SHA512 e34da62f56231fcf5c93040397c2af02b689ee630afbdf658e3bcdcddca3822b216c669b7a247714504dcc925572f60054c2684fca5bc299a4a76c8c87895dde WHIRLPOOL 9948b24e97be7dbcdb9ce0ea7fb236412efb15bd7846ec9bd2da5c5e644389bbefa9e78b111fb72f58afc4a2ddd892428f7c5b500d16d8704532654be5817eae +MISC ChangeLog 3833 SHA256 438d17223bc8f357c930b6ec1c3f192b8c2c38b67923b51211ced83523fc7cff SHA512 6d84f9e273b0e0710fa643d4dce0a5af32555178882b56a2fd26d1cddcc230d638b1d8c3c11eba925de2f00ac0f97e50c19ea2f138e59db14ee024513f4e5489 WHIRLPOOL dc6fb75b689029c170abe4318ee61dde122601a27d81c3f9c9cfe6e352746a83f5f052366cff2dabe6279beb047a619ba28d8483fc8679d86c5dd983eb975b36 +MISC ChangeLog-2015 1775 SHA256 4fc11b57e1703162c90267ebd0c346a3e8270f9e2d3e1324ac73f42aea8342e0 SHA512 4257dbeb65053037529524c8175a596eda433fc6fcbf8ffada651594eade5c03e1c6b2a7597fd1c5d0d8359b4e7ba5ba882c043474826a6f5c23502b31cdc6c9 WHIRLPOOL 924b91493e4ac7206bb3e26a132df21793de0b3d5f50ba1c6f45ae7c159dd3d27e077ad401afd8f6bdf402b9bbe26c8eb170169727d3eebd3a2ac9aec0f18f11 +MISC metadata.xml 342 SHA256 63ec4810674345dd1e70a4516cbce043bbea134e70bf2289bd1fd2fc03e08981 SHA512 bb9f0244e85513e0c85bcd55d4f9466ae8a9ab09bebac17713b192ee1b346a31c476bc67e54cdb650a234e696f0783dc493e54df63de379f3fecac00e2ecbc3b WHIRLPOOL 92387e60dc7b0a0efcf196b4f93c075c9baa0ba2abfca6c1da61eff9fb45950c6c5b7633cdaa1a228f4a39078edb06feea3fbc068933b8818e85251c611a1a35 diff --git a/sci-chemistry/gelemental/files/gelemental-1.2.0-doxygen.patch b/sci-chemistry/gelemental/files/gelemental-1.2.0-doxygen.patch new file mode 100644 index 000000000000..8c904e844586 --- /dev/null +++ b/sci-chemistry/gelemental/files/gelemental-1.2.0-doxygen.patch @@ -0,0 +1,30 @@ +Author: Joachim Reichel <reichel@debian.org> +Description: Skip installing (no longer generated) .dot and .gif files +Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590382#15 +Bug-Debian: http://bugs.debian.org/590382 +Reviewed-By: Michael Banck <mbanck@debian.org> +Forwarded: no +Last-Update: 2010-09-22 + +--- a/docs/api/Makefile.am ++++ b/docs/api/Makefile.am +@@ -12,7 +12,7 @@ + install-api: $(srcdir)/html/index.html + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)/$(apidir) +- @dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot ; do \ ++ @dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png ; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(apidir)/$$f"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(apidir)/$$f; \ +--- a/docs/api/Makefile.in ++++ b/docs/api/Makefile.in +@@ -393,7 +393,7 @@ + install-api: $(srcdir)/html/index.html + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)/$(apidir) +- @dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png $$dir/*.gif $$dir/*.dot ; do \ ++ @dir='$(<D)'; for p in $$dir/*.html $$dir/*.css $$dir/*.png ; do \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(apidir)/$$f"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(apidir)/$$f; \ diff --git a/sci-chemistry/gelemental/files/gelemental-1.2.0-fix-c++14.patch b/sci-chemistry/gelemental/files/gelemental-1.2.0-fix-c++14.patch new file mode 100644 index 000000000000..0965fe15b43e --- /dev/null +++ b/sci-chemistry/gelemental/files/gelemental-1.2.0-fix-c++14.patch @@ -0,0 +1,14 @@ +Fix building with C++14, which errors out due to bool -> T* conversions +See also: https://bugs.gentoo.org/show_bug.cgi?id=593994 + +--- a/src/dialogs.cc ++++ b/src/dialogs.cc +@@ -255,7 +255,7 @@ + const Gtk::TreePath& tpath, bool) + { + Gtk::TreeIter iter = store->get_iter (tpath); +- return iter ? iter->get_value (cols.property) : false; ++ return iter ? iter->get_value (cols.property) : NULL; + } + + diff --git a/sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch b/sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch new file mode 100644 index 000000000000..8e69e98a5437 --- /dev/null +++ b/sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch @@ -0,0 +1,12 @@ +diff -Naru gelemental-1.2.0/libelemental/value.tcc gelemental-1.2.0.new/libelemental/value.tcc +--- gelemental-1.2.0/libelemental/value.tcc 2007-09-25 01:10:16.000000000 -0400 ++++ gelemental-1.2.0.new/libelemental/value.tcc 2008-10-19 10:08:35.000000000 -0400 +@@ -26,6 +26,8 @@ + #error "value.tcc must be included from value.hh." + #endif + ++#include <limits> ++ + namespace Elemental { + + diff --git a/sci-chemistry/gelemental/files/gelemental-1.2.0-glib-2.32.patch b/sci-chemistry/gelemental/files/gelemental-1.2.0-glib-2.32.patch new file mode 100644 index 000000000000..eab2ad1f194e --- /dev/null +++ b/sci-chemistry/gelemental/files/gelemental-1.2.0-glib-2.32.patch @@ -0,0 +1,46 @@ + libelemental/misc/extras.cc | 2 +- + libelemental/misc/widgets.cc | 2 +- + src/main.cc | 4 ++-- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/libelemental/misc/extras.cc b/libelemental/misc/extras.cc +index a8e5720..c042604 100644 +--- a/libelemental/misc/extras.cc ++++ b/libelemental/misc/extras.cc +@@ -21,7 +21,7 @@ + + #include <algorithm> + #include <stdexcept> +-#include <glib/gmem.h> ++#include <glib.h> + #include <glibmm/utility.h> + + namespace misc { +diff --git a/libelemental/misc/widgets.cc b/libelemental/misc/widgets.cc +index 002310c..941d881 100644 +--- a/libelemental/misc/widgets.cc ++++ b/libelemental/misc/widgets.cc +@@ -20,7 +20,7 @@ + #include "macros.hh" + #include "widgets.hh" + +-#include <glib/gmessages.h> ++#include <glib.h> + #include <gtkmm/alignment.h> + #include <gtkmm/image.h> + #include <gtkmm/label.h> +diff --git a/src/main.cc b/src/main.cc +index 41cfe03..68bbb4c 100644 +--- a/src/main.cc ++++ b/src/main.cc +@@ -26,8 +26,8 @@ + #include <clocale> + #include <iostream> + #include <locale> +-#include <glib/goption.h> +-#include <glib/gutils.h> ++#include <glib.h> ++#include <glib.h> + #include <glibmm/optionentry.h> + #include <gtk/gtkaboutdialog.h> + #include <gtk/gtkversion.h> diff --git a/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild b/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild new file mode 100644 index 000000000000..3aa417510233 --- /dev/null +++ b/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils fdo-mime flag-o-matic gnome2-utils eutils + +DESCRIPTION="Periodic table viewer with detailed information on the chemical elements" +HOMEPAGE="http://freecode.com/projects/gelemental/" +SRC_URI=" + http://www.kdau.com/files/${P}.tar.bz2 + mirror://debian/pool/main/g/${PN}/${PN}_${PV}-8.debian.tar.gz" + +LICENSE="GPL-3 MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc static-libs" + +RDEPEND=" + dev-cpp/gtkmm:2.4 + dev-cpp/glibmm:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext + dev-util/intltool + doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/${P}-gcc4.3.patch + "${FILESDIR}"/${P}-glib-2.32.patch + "${FILESDIR}"/${P}-doxygen.patch + "${WORKDIR}"/debian/patches/579183_adjust_size_middle_button.patch + "${WORKDIR}"/debian/patches/604612_fix_menu_category.patch + "${WORKDIR}"/debian/patches/604618_scrollable_properties_dialog.patch + "${WORKDIR}"/debian/patches/656372_element_renames.patch + "${WORKDIR}"/debian/patches/add_new_wave_theme.patch + "${WORKDIR}"/debian/patches/czech_translation_559028.patch + "${WORKDIR}"/debian/patches/fix_gtkmm_2.18.patch + "${WORKDIR}"/debian/patches/fix_zinc_german_translation.patch + "${WORKDIR}"/debian/patches/ftbfs_missing_limits.patch + "${WORKDIR}"/debian/patches/lp673285_link_in_about.patch + "${FILESDIR}"/${PN}-1.2.0-fix-c++14.patch + ) + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_configure() { + append-cxxflags -std=c++11 #566450 + local myeconfargs=( $(use_enable doc api-docs) ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install apidir="/usr/share/doc/${PF}/html" +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} diff --git a/sci-chemistry/gelemental/metadata.xml b/sci-chemistry/gelemental/metadata.xml new file mode 100644 index 000000000000..eb677830c9f8 --- /dev/null +++ b/sci-chemistry/gelemental/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-chemistry@gentoo.org</email> + <name>Gentoo Chemistry Project</name> + </maintainer> + <upstream> + <remote-id type="freecode">gelemental</remote-id> + </upstream> +</pkgmetadata> |