diff options
-rw-r--r-- | media-gfx/gnofract4d/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch | 19 | ||||
-rw-r--r-- | media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch | 25 | ||||
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild | 54 |
4 files changed, 99 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index 79cb2b8234c7..1174205abf64 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1,2 +1,3 @@ DIST gnofract4d-3.13.tar.gz 859872 SHA256 99f6334ab19696505f0becbbe002c112db9c3188515a30961b3031e9f31154e8 SHA512 866c01be0ca04603d3ea9632d6172893a6b4d843b8720955f1ba1bf843e8034278dc9c4f00ef9bde9c9ae611a5815aafa6c999c84252b9c7b6afa9c4ff17940b WHIRLPOOL 39d94ff714a2e82395193923c00bc1e8c605b7fafb1e9afd82a29c68adf5bfd932cf83c42a2d06b46ab964a4512e0256c8a9bdfb491f3f3e829c90665ccdf27a +DIST gnofract4d-3.14.1.tar.gz 4660808 SHA256 29f05d9b07f7b53bf250b0f81f74b76dbd68efc5d6ba71f4d55ef332f6b6f83d SHA512 bcec1d12c589cdee2f0da5555a075db511debd21d4536db66793f6a28be35656258daffd8cbaaff4b5af041b18ca77c94d910ec4d0c7e14960412c580fd56725 WHIRLPOOL f15d40a8572cefd32592af2ce35a3627325c2e486eaf44740ff3ce78e9fdc1a215b657c12e4f4a7931b9cde10428597886f55892a1e7b417451df6be5e9f92c3 DIST gnofract4d-3.14.tar.gz 862499 SHA256 bdd8e950a98221054d52883d5303a435cbaa3d5d4239c36aff91598a6433d20a SHA512 cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5 WHIRLPOOL a4dd1f239ef0d9396288b335cd67c8d3ce0c858a18c0840ed3d07ac3fc4ba24d940f697f30b414fec82dc85843842c1173188077e2eb1b2b157997731f9733e8 diff --git a/media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch b/media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch new file mode 100644 index 000000000000..ca521962460f --- /dev/null +++ b/media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch @@ -0,0 +1,19 @@ +diff --git a/gnofract4d.desktop b/gnofract4d.desktop +index 4bf055f..b8dfc47 100644 +--- a/gnofract4d.desktop ++++ b/gnofract4d.desktop +@@ -1,13 +1,10 @@ + [Desktop Entry] + Version=1.0 +-Encoding=UTF-8 + Name=Gnofract 4D Fractal Generator + Comment=Generate fractal images such as the Mandelbrot set + Exec=gnofract4d %F +-Icon=gnofract4d-logo.png ++Icon=gnofract4d-logo + Terminal=false + Type=Application + Categories=GNOME;Graphics;Math; + MimeType=text/x-gnofract4d-fractal-parameters +- +- diff --git a/media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch b/media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch new file mode 100644 index 000000000000..ce1918b33286 --- /dev/null +++ b/media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch @@ -0,0 +1,25 @@ +diff --git a/doc/gnofract4d-manual/C/gnofract4d-manual.xml b/doc/gnofract4d-manual/C/gnofract4d-manual.xml +index 3cea223..0ce6e17 100644 +--- a/doc/gnofract4d-manual/C/gnofract4d-manual.xml ++++ b/doc/gnofract4d-manual/C/gnofract4d-manual.xml +@@ -2,7 +2,6 @@ + <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ + + <!ENTITY stdlib SYSTEM "stdlib.xml"> +-<!ENTITY commands SYSTEM "commands.xml"> + <!ENTITY tutorial001 SYSTEM "tutorial001.xml"> + <!ENTITY tutorial002 SYSTEM "tutorial002.xml"> + <!ENTITY tutorial003 SYSTEM "tutorial003.xml"> +@@ -625,12 +624,6 @@ see weird effects unless you disable periodicity checking. + </sect2> + </sect1> + +-<sect1 id="cmdref"> +-<title>Command Reference</title> +-<!-- pull in auto-generated list of keyboard and mouse commands --> +-&commands; +-</sect1> +- + <sect1 id="maths"> + <title> About the maths</title> + diff --git a/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild new file mode 100644 index 000000000000..6164a7696c14 --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=1 +MY_PV=V_${PV//./_} + +inherit distutils-r1 fdo-mime + +DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" +HOMEPAGE="http://edyoung.github.io/gnofract4d/" +SRC_URI="https://github.com/edyoung/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + media-libs/libpng:0= + virtual/jpeg:0 + >=dev-python/pygtk-2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/gnofract4d-3.14-desktop.patch + "${FILESDIR}"/gnofract4d-3.14-manual.patch +) + +S="${WORKDIR}"/${PN}-${MY_PV} + +python_compile_all() { + # Needs fixing to be able to generate commands.xml + "${EPYTHON}" createdocs.py || die +} + +python_install_all() { + distutils-r1_python_install_all + rm -rf "${ED%/}"/usr/share/doc/${PN} || die +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} |