summaryrefslogtreecommitdiff
path: root/media-gfx/gnofract4d
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gnofract4d
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r--media-gfx/gnofract4d/Manifest9
-rw-r--r--media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch19
-rw-r--r--media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch25
-rw-r--r--media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild40
-rw-r--r--media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild53
-rw-r--r--media-gfx/gnofract4d/metadata.xml12
6 files changed, 158 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest
new file mode 100644
index 000000000000..edd7ce09b3b4
--- /dev/null
+++ b/media-gfx/gnofract4d/Manifest
@@ -0,0 +1,9 @@
+AUX gnofract4d-3.14-desktop.patch 479 SHA256 8ee61082543f05fbcb64ce35f7a258b8a94a30584fe7193f4a23f6a90c4a5eef SHA512 1b90e6ce53e3b346af48a680d2486a5b69de49f2059f6a02c0f6d722a52ca70165e2935818ca57d58d149625528b923a897c85a34381595b9aae94f0476f90b5 WHIRLPOOL e2f7e592e91af81f13c36b45b4901cdbd9e805e64bd3f045ea0aa60efb007cbfa90e7575ec40ceb59aa34f731a56671ae6fbf3e8ce799f75aa0d972d639ef085
+AUX gnofract4d-3.14-manual.patch 914 SHA256 e6c9868a5eb18ba86aecfca1eaea02f70193b33149c4da7aff956bcee3f1a7dc SHA512 591858a7ba5e28e24cb170b5a6d24b98fd060ca79257542f9b3bcbe26d476ae2331ffa991c5d1726d352223198077e61339277b05e65ef0975944694f74a46ce WHIRLPOOL 28471ea4418ffe9a11ee1b93171d21c483442b02a42953b4b91a16ab08480979c3f61bc1048e484abec4e85852f2a8553d1a2c6af9face01776007730e637b53
+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
+EBUILD gnofract4d-3.14-r1.ebuild 849 SHA256 232bd2d49124544f61d71907199ff3812b59fecc891f3dcc41ef0062cebaa6d5 SHA512 4c69a967bd46a44a4cf31a1d695d676afcdb0ff3307bb4ac308d86ee34a578f38575e27b40d047c4e0e85127f508e7df0116efb10b363457f856693627bc1294 WHIRLPOOL 63423cd00d3ddb106e4db1f5a2f087f86ff302044409d33fe3b51ec8f505328049feb9e3fa88c524bcd69b4b3cc434d4188fce16f299afc8c1103ffb276fdb91
+EBUILD gnofract4d-3.14.1.ebuild 1158 SHA256 c34712e1d567c4dad60f7024bada3f070118207f5b6bd21ab5124ec206917775 SHA512 b03716b6988ca4f8cfe056892cec3916a2ba39038cffe8fa4779a3e14362939eda79f87ae0e6a5c716df2c5a20a52b2359b893b1d2e09301e289b4715b57e554 WHIRLPOOL 41f90ad5ede6a898f49e240548e0e292cdb6d020c23d3a429409f2d5286ade249070a8ce738986438854f870ca3b407c62e2f6b7bdbdfac5d1a7b1cacfd8ec2e
+MISC ChangeLog 2594 SHA256 e02ebcc4f60820272a19644f6b528d928bdc396ea2b6e0b11d6930660f59c058 SHA512 2f9679602346b4f343c4dabcdbb63fd0f0aa9fb1c9e059daac6acc2e97a21160c4bf40b776b504bd884771f1e2b76193fcc1240d40927424eeab3543e0b15261 WHIRLPOOL db6c4c1538bfe9110405fac607dd4e5767f8a084d982705a12049622daf1bc436c5867244b8aad7260819bdb98850a824f7831b52faee02b70bc0c97eb2d1bf8
+MISC ChangeLog-2015 2512 SHA256 45711024d374793ad8ed5a993f32efeb5d833d43772c04933a89f2384fd25565 SHA512 6908d7b5cb3d78eb3356e003f6a81a3e9d5c1ece0db236c69638d176f3aab8b5558051982007676ea5bf9992d965ffc0de75dccdf766c5ed518cc10bd88e2478 WHIRLPOOL dd0698171ccc5c0a32574534c893222de13318903ab7d12c485372f04c7bb2c7f6011ccd89f0c5c533274ba11e9cf06310acb63025541aae4c815b065e9bb5d0
+MISC metadata.xml 397 SHA256 1f12efffae5d8e85213ddeb4a5697ebe9353825d27104a9fb73adb6460785e3b SHA512 9f2efdbbb8eefe3d2d7b42287f233db308e24b9ef825522e650b98857de963171870460a1a5c8ad2e9f65272db6bd176a552587e38d877fcad2afd6be2b0e6e6 WHIRLPOOL d95114a82f309e1789d335086b8426d0417f3b5e36cae8ec2e84c00413f85113df72e2bbb857994137477f1ede7fce8acc8e1aee49c1e5acc6b309b0e1174696
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-r1.ebuild b/media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild
new file mode 100644
index 000000000000..c6931c84c568
--- /dev/null
+++ b/media-gfx/gnofract4d/gnofract4d-3.14-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 fdo-mime
+
+DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
+HOMEPAGE="http://gnofract4d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libpng-1.4
+ virtual/jpeg
+ >=dev-python/pygtk-2[${PYTHON_USEDEP}]
+ >=gnome-base/gconf-2[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ distutils-r1_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
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..437acd4d8528
--- /dev/null
+++ b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/media-gfx/gnofract4d/metadata.xml b/media-gfx/gnofract4d/metadata.xml
new file mode 100644
index 000000000000..fb2b6be847f0
--- /dev/null
+++ b/media-gfx/gnofract4d/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gnofract4d</remote-id>
+ <remote-id type="github">edyoung/gnofract4d</remote-id>
+ </upstream>
+</pkgmetadata>