Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnofract4d/, media-gfx/gnofract4d/files/
Date: Tue, 03 Jan 2017 23:14:23
Message-Id: 1483485243.adfd844f2d2d1c507c47332dd72de1c344c705b5.monsieurp@gentoo
1 commit: adfd844f2d2d1c507c47332dd72de1c344c705b5
2 Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
3 AuthorDate: Thu Dec 29 20:16:54 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 23:14:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfd844f
7
8 media-gfx/gnofract4d: version bump to 3.14.1.
9
10 - Update to EAPI 6
11 - Moved from SourceForge to GitHub
12 - Remove gconf dependency fixing:
13 Gentoo-Bug: https://bugs.gentoo.org/384205
14 - Add slot operators for libpng and jpeg
15 - Fix desktop file validation problems
16 - Make manual readable by yelp
17
18 Package-Manager: portage-2.3.3
19 Closes: https://github.com/gentoo/gentoo/pull/3206
20
21 media-gfx/gnofract4d/Manifest | 1 +
22 .../gnofract4d/files/gnofract4d-3.14-desktop.patch | 19 ++++++++
23 .../gnofract4d/files/gnofract4d-3.14-manual.patch | 25 ++++++++++
24 media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild | 54 ++++++++++++++++++++++
25 4 files changed, 99 insertions(+)
26
27 diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest
28 index 79cb2b8..1174205 100644
29 --- a/media-gfx/gnofract4d/Manifest
30 +++ b/media-gfx/gnofract4d/Manifest
31 @@ -1,2 +1,3 @@
32 DIST gnofract4d-3.13.tar.gz 859872 SHA256 99f6334ab19696505f0becbbe002c112db9c3188515a30961b3031e9f31154e8 SHA512 866c01be0ca04603d3ea9632d6172893a6b4d843b8720955f1ba1bf843e8034278dc9c4f00ef9bde9c9ae611a5815aafa6c999c84252b9c7b6afa9c4ff17940b WHIRLPOOL 39d94ff714a2e82395193923c00bc1e8c605b7fafb1e9afd82a29c68adf5bfd932cf83c42a2d06b46ab964a4512e0256c8a9bdfb491f3f3e829c90665ccdf27a
33 +DIST gnofract4d-3.14.1.tar.gz 4660808 SHA256 29f05d9b07f7b53bf250b0f81f74b76dbd68efc5d6ba71f4d55ef332f6b6f83d SHA512 bcec1d12c589cdee2f0da5555a075db511debd21d4536db66793f6a28be35656258daffd8cbaaff4b5af041b18ca77c94d910ec4d0c7e14960412c580fd56725 WHIRLPOOL f15d40a8572cefd32592af2ce35a3627325c2e486eaf44740ff3ce78e9fdc1a215b657c12e4f4a7931b9cde10428597886f55892a1e7b417451df6be5e9f92c3
34 DIST gnofract4d-3.14.tar.gz 862499 SHA256 bdd8e950a98221054d52883d5303a435cbaa3d5d4239c36aff91598a6433d20a SHA512 cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5 WHIRLPOOL a4dd1f239ef0d9396288b335cd67c8d3ce0c858a18c0840ed3d07ac3fc4ba24d940f697f30b414fec82dc85843842c1173188077e2eb1b2b157997731f9733e8
35
36 diff --git a/media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch b/media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch
37 new file mode 100644
38 index 00000000..ca52196
39 --- /dev/null
40 +++ b/media-gfx/gnofract4d/files/gnofract4d-3.14-desktop.patch
41 @@ -0,0 +1,19 @@
42 +diff --git a/gnofract4d.desktop b/gnofract4d.desktop
43 +index 4bf055f..b8dfc47 100644
44 +--- a/gnofract4d.desktop
45 ++++ b/gnofract4d.desktop
46 +@@ -1,13 +1,10 @@
47 + [Desktop Entry]
48 + Version=1.0
49 +-Encoding=UTF-8
50 + Name=Gnofract 4D Fractal Generator
51 + Comment=Generate fractal images such as the Mandelbrot set
52 + Exec=gnofract4d %F
53 +-Icon=gnofract4d-logo.png
54 ++Icon=gnofract4d-logo
55 + Terminal=false
56 + Type=Application
57 + Categories=GNOME;Graphics;Math;
58 + MimeType=text/x-gnofract4d-fractal-parameters
59 +-
60 +-
61
62 diff --git a/media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch b/media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch
63 new file mode 100644
64 index 00000000..ce1918b
65 --- /dev/null
66 +++ b/media-gfx/gnofract4d/files/gnofract4d-3.14-manual.patch
67 @@ -0,0 +1,25 @@
68 +diff --git a/doc/gnofract4d-manual/C/gnofract4d-manual.xml b/doc/gnofract4d-manual/C/gnofract4d-manual.xml
69 +index 3cea223..0ce6e17 100644
70 +--- a/doc/gnofract4d-manual/C/gnofract4d-manual.xml
71 ++++ b/doc/gnofract4d-manual/C/gnofract4d-manual.xml
72 +@@ -2,7 +2,6 @@
73 + <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
74 +
75 + <!ENTITY stdlib SYSTEM "stdlib.xml">
76 +-<!ENTITY commands SYSTEM "commands.xml">
77 + <!ENTITY tutorial001 SYSTEM "tutorial001.xml">
78 + <!ENTITY tutorial002 SYSTEM "tutorial002.xml">
79 + <!ENTITY tutorial003 SYSTEM "tutorial003.xml">
80 +@@ -625,12 +624,6 @@ see weird effects unless you disable periodicity checking.
81 + </sect2>
82 + </sect1>
83 +
84 +-<sect1 id="cmdref">
85 +-<title>Command Reference</title>
86 +-<!-- pull in auto-generated list of keyboard and mouse commands -->
87 +-&commands;
88 +-</sect1>
89 +-
90 + <sect1 id="maths">
91 + <title> About the maths</title>
92 +
93
94 diff --git a/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild
95 new file mode 100644
96 index 00000000..6164a76
97 --- /dev/null
98 +++ b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild
99 @@ -0,0 +1,54 @@
100 +# Copyright 1999-2016 Gentoo Foundation
101 +# Distributed under the terms of the GNU General Public License v2
102 +# $Id$
103 +
104 +EAPI=6
105 +
106 +PYTHON_COMPAT=( python2_7 )
107 +DISTUTILS_SINGLE_IMPL=1
108 +MY_PV=V_${PV//./_}
109 +
110 +inherit distutils-r1 fdo-mime
111 +
112 +DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
113 +HOMEPAGE="http://edyoung.github.io/gnofract4d/"
114 +SRC_URI="https://github.com/edyoung/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
115 +
116 +LICENSE="BSD"
117 +SLOT="0"
118 +KEYWORDS="~amd64 ~x86"
119 +IUSE=""
120 +
121 +RDEPEND="x11-libs/gtk+:2
122 + media-libs/libpng:0=
123 + virtual/jpeg:0
124 + >=dev-python/pygtk-2[${PYTHON_USEDEP}]"
125 +DEPEND="${RDEPEND}
126 + virtual/pkgconfig"
127 +
128 +PATCHES=(
129 + "${FILESDIR}"/gnofract4d-3.14-desktop.patch
130 + "${FILESDIR}"/gnofract4d-3.14-manual.patch
131 +)
132 +
133 +S="${WORKDIR}"/${PN}-${MY_PV}
134 +
135 +python_compile_all() {
136 + # Needs fixing to be able to generate commands.xml
137 + "${EPYTHON}" createdocs.py || die
138 +}
139 +
140 +python_install_all() {
141 + distutils-r1_python_install_all
142 + rm -rf "${ED%/}"/usr/share/doc/${PN} || die
143 +}
144 +
145 +pkg_postinst() {
146 + fdo-mime_desktop_database_update
147 + fdo-mime_mime_database_update
148 +}
149 +
150 +pkg_postrm() {
151 + fdo-mime_desktop_database_update
152 + fdo-mime_mime_database_update
153 +}