summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-chemistry/gelemental
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-chemistry/gelemental')
-rw-r--r--sci-chemistry/gelemental/Manifest2
-rw-r--r--sci-chemistry/gelemental/files/gelemental-1.2.0-doxygen.patch30
-rw-r--r--sci-chemistry/gelemental/files/gelemental-1.2.0-gcc4.3.patch12
-rw-r--r--sci-chemistry/gelemental/files/gelemental-1.2.0-glib-2.32.patch46
-rw-r--r--sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild64
-rw-r--r--sci-chemistry/gelemental/gelemental-1.2.0.ebuild51
-rw-r--r--sci-chemistry/gelemental/metadata.xml8
7 files changed, 213 insertions, 0 deletions
diff --git a/sci-chemistry/gelemental/Manifest b/sci-chemistry/gelemental/Manifest
new file mode 100644
index 000000000000..6369272c939d
--- /dev/null
+++ b/sci-chemistry/gelemental/Manifest
@@ -0,0 +1,2 @@
+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
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-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..78bfcff23630
--- /dev/null
+++ b/sci-chemistry/gelemental/gelemental-1.2.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools-utils fdo-mime gnome2-utils eutils
+
+DESCRIPTION="Periodic table viewer that provides 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
+ )
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_configure() {
+ 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/gelemental-1.2.0.ebuild b/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
new file mode 100644
index 000000000000..fe562c2ce32b
--- /dev/null
+++ b/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools-utils fdo-mime gnome2-utils eutils
+
+DESCRIPTION="Periodic table viewer that provides detailed information on the chemical elements"
+HOMEPAGE="http://freecode.com/projects/gelemental/"
+SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"
+
+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 )
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_configure() {
+ 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..d63987f1d9ef
--- /dev/null
+++ b/sci-chemistry/gelemental/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+ <upstream>
+ <remote-id type="freecode">gelemental</remote-id>
+ </upstream>
+</pkgmetadata>