aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2016-09-04 14:34:46 +0200
committerAstroFloyd <AstroFloyd@gmail.com>2016-09-04 14:34:46 +0200
commit6dec06c8349a60d582444f80cdc45440eaaa2d55 (patch)
tree6e88d7e849fbcac02d0c5419b7a3d77dfa408a6a
parent"Save" media-video/xanim by adding it to my repo (diff)
downloadAstroFloyd-6dec06c8349a60d582444f80cdc45440eaaa2d55.zip
AstroFloyd-6dec06c8349a60d582444f80cdc45440eaaa2d55.tar.gz
AstroFloyd-6dec06c8349a60d582444f80cdc45440eaaa2d55.tar.bz2
x11-libs/gtk-fortran: revision bump to v3.9999-r2
Package-Manager: portage-2.2.28
-rw-r--r--x11-libs/gtk-fortran/Manifest8
-rw-r--r--x11-libs/gtk-fortran/files/Doxyfile_man.patch16
-rw-r--r--x11-libs/gtk-fortran/gtk-fortran-2.9999-r1.ebuild4
-rw-r--r--x11-libs/gtk-fortran/gtk-fortran-3.9999-r1.ebuild4
-rw-r--r--x11-libs/gtk-fortran/gtk-fortran-3.9999-r2.ebuild73
-rw-r--r--x11-libs/gtk-fortran/metadata.xml1
6 files changed, 98 insertions, 8 deletions
diff --git a/x11-libs/gtk-fortran/Manifest b/x11-libs/gtk-fortran/Manifest
index 8d69693..0ea5830 100644
--- a/x11-libs/gtk-fortran/Manifest
+++ b/x11-libs/gtk-fortran/Manifest
@@ -1,5 +1,7 @@
AUX Doxyfile.patch 933 SHA256 e863ec53fe5c137968f002e41982b428cfe0baff91130c3f262753ad2f535b99 SHA512 9371637fb9ac0836c95251e6cb303556a8dfdc1ff900a7b5a8e8ee7fbfe75bc137fe95c3b001979ff9895d9048e62a15dd747acc3517ebd1e1c80e9b1df76dab WHIRLPOOL a1a134050318dfdf75510e7adbc8049630b9e6cf2e2f730554b279137720da4fe5eff74b8f65fe1dba08cd2cc57e236897073b6870198c4e6fce437c59e0b229
-EBUILD gtk-fortran-2.9999-r1.ebuild 2256 SHA256 168ab3be331717b5ba1645be42661224f2ad3284d3185b245eda8adf53fdc1b2 SHA512 c193789f178330273903fc456abdd285a31d8a89208499de5fe8f9e3a1b7ef6b2ba7c3e092334d9b504fbd163da1632e007989609edb84c8a5e481876ec0b526 WHIRLPOOL 255d300f880696cddd5f06b26d232630d9a4df4eb69332569343531ae8cece862f3688a43d19282f60176f43a094e79061e84db1941dafc7af6d1340d729a899
-EBUILD gtk-fortran-3.9999-r1.ebuild 2389 SHA256 555240567cf868cceaa78ad293cb7a6be478c31c0e58b74479ed91202343aa4e SHA512 5c64e6c55e860ca7b35f13441c3215166d24d995a139d97be357950c0324ae2b98dbc5108fd64886ad4c18444a0a745ec14ecd548cb39f9e413648eeb597fad3 WHIRLPOOL 7625545aa5d1e1371ab6cb7f3df67de4f88d8aadffc4bc1d5fc7aa9b810b1c731f2b708d2ad6a190d0b83a76b0874fda426d68d53931b65960643e5ef8569121
+AUX Doxyfile_man.patch 501 SHA256 dd83e34cff8a0b9d70bd5769943c79f357353cb57021d327acf6d1d8717c0b5d SHA512 b8a6b6af899aeed50bf8c178bfb6fcf20c881fade23e2bdcd3106235ad4e9eec1bbc6162a5b156c812a1c6652eb69e2011e01d612dc36f21c69dd456518db1dd WHIRLPOOL 700f87c8bff4d57744eb47ab9da99f7535b9f53515d7c358545ca8ad9cb0e9189f4e44f72069c8dfcbeab2e82a5e1c46ae42996c6c544e8b54b82c72e66dddda
+EBUILD gtk-fortran-2.9999-r1.ebuild 2250 SHA256 38df90dd5134aa3df6e5cb9cab40c94e76c6ad0eff393ab5c12755db1c7099ad SHA512 fadcef766c9d87b1801b13d63e2825503b89658d072b9cb57da220bf38c537dd600234d7adbdff043421b4780aeca2576e1b4057fe3f3cc3049b0b247ffe5074 WHIRLPOOL 17a2eae64f843c434e74b9d5eed499c5e00db41254a50d86bec6b46a8d77f6e59ffb58ff79c1a781203b3b012ad59891c7fb4c39fb399c682552f5875ade1f37
+EBUILD gtk-fortran-3.9999-r1.ebuild 2383 SHA256 a8089572d7fcfcb516149a4bbbfb31fb93ff0189f26eb71a8f67f1603547cc14 SHA512 af1e9c617ccb27fd987615a3ae322a022aa2c9f4fd85f3ea731b620f5d4614f90041d246a308c2a82423a92abbcd2df0e27f6ccff2348e773094020209a535e8 WHIRLPOOL c12fa2bd4df03d201708c34df0277bbbd69bd4a6b366dd4b45a415c43a38453b66b599f1ea87c97066990bada4897dacce2a1951b235ee04c3e6369be4f36350
+EBUILD gtk-fortran-3.9999-r2.ebuild 2696 SHA256 6d93bfe9c67fdaf12629aae9eb5326bf9e9c62ffd17a327fc6e478601ea12867 SHA512 7c9599bd998821bc12adb4c2a36e22afbaa19769955d9cd3018ccc1fe77bf8cddc41d3caab1697432e86267b703075445efd8d234b823f74a47fef6820bb5bce WHIRLPOOL a85dff2cea6535b7d4f43cf83b0d8cb981d8b5af5fa4ad869d4216929116cd7e1d688b61164f6c8beaedb3057c27d03d7124f95f3cf556a607e0855f304dd73d
MISC ChangeLog 889 SHA256 06ce138dcd08642b920767bdffa86321b312b3fe54df3c5d6a127163919cbd2c SHA512 a7105757fc8aa5bc818f3d018431b6a236489169b758b4fb119a70e87ca4ffb8ba3a436a78e6d24cc165efc43a15a54e396199e60da59b88195d0b533601c4e2 WHIRLPOOL c1b16076990314f3984478e0a14d96458475fcad45d79bffbd04045a4da3f39bf8815d35b178e4d60a10880ce677bccb5ac4a9831893b0e134d9e10497965c20
-MISC metadata.xml 373 SHA256 98506cb594b20d1110923136a74915a2d902a0aca773e3d402890e327dd88a3e SHA512 555e2557bb12668a8b86837b27b64c8eade75ff9152c84823e9c322471cb1e098d8417e759fcfaa999b87b0a8154e5faf38311e1298f3e9f4d83367b38e8a506 WHIRLPOOL 73470ae2bb10184a036387d526121459d3d2f2474ff02483d1ffa56de411060bd48d18d2cc5a8e0cbdf39e782b7a769875b0d8cb07899baebdbe9b95d846a915
+MISC metadata.xml 354 SHA256 631275f0c9ea1b9518c3074d9879e87c087e984759a8dddb7e3e29cf5106074d SHA512 5b389472203e3ef49dadefa2ea437b274000fee087b76b66206b343cc309f6b9888bea7f31ca88f65a887202952a9b8f13f5f1cd2e1519443993610e6f326e8b WHIRLPOOL 9db588f52615998c3942c139965a3709f65ebe6aff05f5983be108823de63f0938c555288fb0c280d40a73e540a44a3955bfe6135ef64f75f157c7563803fde9
diff --git a/x11-libs/gtk-fortran/files/Doxyfile_man.patch b/x11-libs/gtk-fortran/files/Doxyfile_man.patch
new file mode 100644
index 0000000..c669298
--- /dev/null
+++ b/x11-libs/gtk-fortran/files/Doxyfile_man.patch
@@ -0,0 +1,16 @@
+--- Doxyfile.orig 2016-09-04 12:30:35.164129869 +0200
++++ Doxyfile 2016-09-04 12:49:17.172848817 +0200
+@@ -229,10 +229,10 @@
+ RTF_HYPERLINKS = NO
+ RTF_STYLESHEET_FILE =
+ RTF_EXTENSIONS_FILE =
+-GENERATE_MAN = NO
++GENERATE_MAN = YES
+ MAN_OUTPUT = man
+-MAN_EXTENSION = .3
+-MAN_LINKS = NO
++MAN_EXTENSION = .3f
++MAN_LINKS = YES
+ GENERATE_XML = NO
+ XML_OUTPUT = xml
+ XML_SCHEMA =
diff --git a/x11-libs/gtk-fortran/gtk-fortran-2.9999-r1.ebuild b/x11-libs/gtk-fortran/gtk-fortran-2.9999-r1.ebuild
index 8544c40..1b84ec2 100644
--- a/x11-libs/gtk-fortran/gtk-fortran-2.9999-r1.ebuild
+++ b/x11-libs/gtk-fortran/gtk-fortran-2.9999-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
EAPI=5
diff --git a/x11-libs/gtk-fortran/gtk-fortran-3.9999-r1.ebuild b/x11-libs/gtk-fortran/gtk-fortran-3.9999-r1.ebuild
index 8205c8a..1bf7aa8 100644
--- a/x11-libs/gtk-fortran/gtk-fortran-3.9999-r1.ebuild
+++ b/x11-libs/gtk-fortran/gtk-fortran-3.9999-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
EAPI=5
diff --git a/x11-libs/gtk-fortran/gtk-fortran-3.9999-r2.ebuild b/x11-libs/gtk-fortran/gtk-fortran-3.9999-r2.ebuild
new file mode 100644
index 0000000..e8bc1e7
--- /dev/null
+++ b/x11-libs/gtk-fortran/gtk-fortran-3.9999-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils cmake-utils fortran-2 git-2
+
+DESCRIPTION="Cross-platform Fortran binding to create GUIs for Fortran programs using GTK+"
+HOMEPAGE="https://github.com/jerryd/gtk-fortran/wiki"
+
+LICENSE="GPL-3"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+
+EGIT_REPO_URI="https://github.com/jerryd/gtk-fortran.git"
+EGIT_BRANCH="gtk3"
+
+IUSE="doc plplot static"
+DEPEND="doc? ( app-doc/doxygen )
+ plplot? ( sci-libs/plplot )
+ x11-libs/gtk+:3 x11-libs/cairo x11-libs/gdk-pixbuf"
+RDEPEND="plplot? ( sci-libs/plplot )
+ x11-libs/gtk+:3 x11-libs/cairo x11-libs/gdk-pixbuf"
+
+src_prepare() {
+ epatch "${FILESDIR}"/Doxyfile.patch # Quiet, no graphs
+ epatch "${FILESDIR}"/Doxyfile_man.patch # Add manpages
+}
+
+# Cannot do a parallel build. make install will build 'all' in parallel, which fails.
+# Hence, do two partial parallel builds here, for the core stuff.
+# You could do a serial 'make all' to build the rest (examples, testers, etc.).
+src_compile() {
+ cd "${CMAKE_BUILD_DIR}"
+ emake VERBOSE=1 gtk-fortran_shared || die "Building shared library failed" # Cannot be built at the same time as the static library/gtkf-sketcher
+ emake VERBOSE=1 gtk-fortran_static || die "Building static library failed" # The static library is built when gtkf-sketcher is built, so do this explicitly for clarity
+ emake VERBOSE=1 gtkf-sketcher usemodules manpage pkgconfig || die
+ use plplot && $(emake VERBOSE=1 plplot_extra_module || die "Creating plplot_extra_module failed")
+ use doc && $(emake VERBOSE=1 doc || die "Generating documentation failed") # Doxygen documentation: ~135Mb!
+ #emake -j1 VERBOSE=1 all || die
+}
+
+# 'make install' will 'make all' in parallel, which fails, so do this by hand:
+src_install() {
+ cd "${CMAKE_BUILD_DIR}"
+ dolib src/libgtk-3-fortran.so.0.1 src/libgtk-3-fortran.so
+ use static && dolib src/libgtk-3-fortran.a # The static library is always built, we just don't install it unless desired...
+
+ dobin src/gtk-3-fortran-modscan sketcher/gtkf-sketcher
+
+ insinto usr/include/gtk-3-fortran/
+ doins src/*.mod
+ use plplot && doins plplot/plplot_extra.mod
+
+ insinto usr/share/gtk-fortran/
+ doins src/gtk-3-fortran-index.csv src/gtk-3-enumerators.lis
+
+ dodoc "${S}"/README "${S}"/README-high-level
+
+ insinto usr/lib/pkgconfig/
+ doins src/gtk-3-fortran.pc
+
+ doman src/gtk-3-fortran-modscan.1
+
+ if use doc; then
+ dohtml -r html/*
+
+ rm -f man/man3f/height.3f man/man3f/name.3f man/man3f/p1.3f man/man3f/p2.3f # These exist in other packages
+ insinto usr/share/man/man3f/
+ doins man/man3f/* # Copying these ~16k files alone takes ~8min on my system, hence no doman here!
+ fi
+}
diff --git a/x11-libs/gtk-fortran/metadata.xml b/x11-libs/gtk-fortran/metadata.xml
index 3a58c29..5c134cd 100644
--- a/x11-libs/gtk-fortran/metadata.xml
+++ b/x11-libs/gtk-fortran/metadata.xml
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
<maintainer>
<email>AstroFloyd@gmail.com</email>
<name>AstroFloyd</name>