Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/valentina/files/, media-gfx/valentina/
Date: Tue, 24 Oct 2017 08:31:12
Message-Id: 1508833858.1a5a24193e56f815fa1929f904fcd787c7eb7636.fordfrog@gentoo
1 commit: 1a5a24193e56f815fa1929f904fcd787c7eb7636
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 24 08:30:35 2017 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 24 08:30:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5a2419
7
8 media-gfx/valentina: fixed homepage, sources and issues with version 0.5.0
9
10 Package-Manager: Portage-2.3.12, Repoman-2.3.3
11
12 media-gfx/valentina/Manifest | 4 +-
13 .../files/0.5.0-disable-tests-compilation.patch | 35 --------------
14 .../files/0.5.0-fix-insecure-runpaths.patch | 56 ----------------------
15 media-gfx/valentina/files/0.5.0-locales.patch | 48 -------------------
16 ...a-0.5.0-r1.ebuild => valentina-0.5.0-r2.ebuild} | 17 +++----
17 media-gfx/valentina/valentina-9999.ebuild | 10 ++--
18 6 files changed, 17 insertions(+), 153 deletions(-)
19
20 diff --git a/media-gfx/valentina/Manifest b/media-gfx/valentina/Manifest
21 index 8d506f0de2a..370ab1039f0 100644
22 --- a/media-gfx/valentina/Manifest
23 +++ b/media-gfx/valentina/Manifest
24 @@ -1 +1,3 @@
25 -DIST valentina-0.5.0.zip 21431337 SHA256 7d80d7cf49250cc48f7ae791e1ee3a8de2216f818fe100b883302099d984de05 SHA512 e04615fe0d79e8d0adebaea1808ee123d979babcd9f9320e897921aeda811ece37aff20575fb4bc033f21a91b498f409dbf1a4b8999e8b3c841c2f842ce41263 WHIRLPOOL 59714a19dee39cadc86f5542e52b4424fd7724bbbf5c9e3f6f33ebc48c313bc2b7c5f3f11f82b660f9a2619d05e76bc91f65201c95ae1473efaa540e132020d9
26 +DIST valentina-0.5.0.zip 37175844 SHA256 f750027814e765b169c41934927f205350525b947f50559fd9bfcba016e095cb SHA512 3e69f965de1f8179850a8c6a5a0d3b5e87384158191b9c4a3647a5421d1efe567e98298bd8f47a8288eac358520469ae7979a4a61df64ccfbeb1a36fb231efcf WHIRLPOOL 271b471f25a59f356cca5b2c00e1a200e504c5184d2001e93c954ce0c921a56585811029e79e424f91c8550d44ea498d501f0f05c8aff62981cfc8be339ae673
27 +DIST valentina-4798.patch 25302 SHA256 3ff7b9555933fb361aad3b96b8486b2d5e4988fb0ee34f3fc98609d0673e3baf SHA512 c3adbd2caa4cfb73960de850b29bee881fc408c9e4032e1fa2f29ba80b91abaa194738ff1cfb607657343990a166ad310387a66ceca546ffae0543d774bc53b4 WHIRLPOOL 245496681adb86b6662b29426bfac11d7db6e9d7b2ab48e89d6508c5211fdc520bac450d1af051c066e00e914608fdc412cbae38dc0230dfc0090c0af6c4f979
28 +DIST valentina-4802.patch 6733 SHA256 abee2e871f9f741cdf26ac151dca24a0cfc9d3f22bbe2abfdb88ad7c42768c96 SHA512 5628599c1dd208ba9ea8ea5e518bf6aed5ef11aa750670335478e5af49d6e9f235901c79d6483b1897f8288259fd06b463462eddcd062c4920ff251430998ff4 WHIRLPOOL bb4f89a44eb5204192b680ba29226d04439b2326b37992e7a8623e713a94f20ec3043f31a059037f90a24feb2d283773f21c06f1777e4f61bf5f7a8d5f7d54af
29
30 diff --git a/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch b/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch
31 deleted file mode 100644
32 index a819a02a336..00000000000
33 --- a/media-gfx/valentina/files/0.5.0-disable-tests-compilation.patch
34 +++ /dev/null
35 @@ -1,35 +0,0 @@
36 -# HG changeset patch
37 -# User Roman Telezhynskyi <kroluku@×××××.com>
38 -# Date 1455906661 -7200
39 -# Branch develop
40 -# Node ID 8edb1b0f161a5f472a0e6a8a8b5b8a1ae7cf33c5
41 -# Parent 42a73e7a17757ce9d12e16f616a41f52efdf4b91
42 -CONFIG key to disable building tests.
43 -
44 -diff --git a/src/src.pro b/src/src.pro
45 ---- a/src/src.pro
46 -+++ b/src/src.pro
47 -@@ -1,8 +1,17 @@
48 - TEMPLATE = subdirs
49 --SUBDIRS = \
50 -- libs \
51 -- app \
52 -- test
53 -
54 --app.depends = libs
55 --test.depends = libs
56 -+noTests{ # For enable run qmake with CONFIG+=noTests
57 -+ SUBDIRS = \
58 -+ libs \
59 -+ app
60 -+
61 -+} else {
62 -+ SUBDIRS = \
63 -+ libs \
64 -+ app \
65 -+ test
66 -+
67 -+ test.depends = libs
68 -+}
69 -+
70 -+app.depends = libs
71
72 diff --git a/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch b/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch
73 deleted file mode 100644
74 index a98a069dfb5..00000000000
75 --- a/media-gfx/valentina/files/0.5.0-fix-insecure-runpaths.patch
76 +++ /dev/null
77 @@ -1,56 +0,0 @@
78 -# HG changeset patch
79 -# User Roman Telezhynskyi <kroluku@×××××.com>
80 -# Date 1455895311 -7200
81 -# Branch develop
82 -# Node ID ebb8c53b8fdc09d2542ec6b8a63585be63c02725
83 -# Parent a29fbab1f3ac59fda0e81bf1e99d153b5f47bd7c
84 -CONFIG key to disable setting custom rpath option.
85 -
86 -diff --git a/src/app/tape/tape.pro b/src/app/tape/tape.pro
87 ---- a/src/app/tape/tape.pro
88 -+++ b/src/app/tape/tape.pro
89 -@@ -348,10 +348,16 @@
90 - # Path to recource file.
91 - win32:RC_FILE = share/resources/tape.rc
92 -
93 --unix:!macx{
94 -- # suppress the default RPATH
95 -- QMAKE_LFLAGS_RPATH =
96 -- QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}"
97 -+noRunPath{ # For enable run qmake with CONFIG+=noRunPath
98 -+ # do nothing
99 -+} else {
100 -+ unix:!macx{
101 -+ # suppress the default RPATH
102 -+ # helps to run the program without Qt Creator
103 -+ # see problem with path to libqmuparser and libpropertybrowser
104 -+ QMAKE_LFLAGS_RPATH =
105 -+ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}"
106 -+ }
107 - }
108 -
109 - # When the GNU linker sees a library, it discards all symbols that it doesn't need.
110 -diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro
111 ---- a/src/app/valentina/valentina.pro
112 -+++ b/src/app/valentina/valentina.pro
113 -@@ -476,10 +476,16 @@
114 - copyToDestdir($$pdftops_path, $$shell_path($${OUT_PWD}/$$DESTDIR))
115 - }
116 -
117 --unix:!macx{
118 -- # suppress the default RPATH
119 -- QMAKE_LFLAGS_RPATH =
120 -- QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}"
121 -+noRunPath{ # For enable run qmake with CONFIG+=noRunPath
122 -+ # do nothing
123 -+} else {
124 -+ unix:!macx{
125 -+ # suppress the default RPATH
126 -+ # helps to run the program without Qt Creator
127 -+ # see problem with path to libqmuparser and libpropertybrowser
128 -+ QMAKE_LFLAGS_RPATH =
129 -+ QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\' -Wl,-rpath,$${OUT_PWD}/../../libs/qmuparser/$${DESTDIR} -Wl,-rpath,$${OUT_PWD}/../../libs/vpropertyexplorer/$${DESTDIR}"
130 -+ }
131 - }
132 -
133 - # When the GNU linker sees a library, it discards all symbols that it doesn't need.
134
135 diff --git a/media-gfx/valentina/files/0.5.0-locales.patch b/media-gfx/valentina/files/0.5.0-locales.patch
136 deleted file mode 100644
137 index a9084627df5..00000000000
138 --- a/media-gfx/valentina/files/0.5.0-locales.patch
139 +++ /dev/null
140 @@ -1,48 +0,0 @@
141 -diff --git a/src/app/translations.pri b/src/app/translations.pri
142 -index b2dd2c4..87c55f7 100755
143 ---- a/src/app/translations.pri
144 -+++ b/src/app/translations.pri
145 -@@ -9,22 +9,27 @@ PMSYSTEMS += \
146 - p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 \
147 - p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 p47 p48 p49 p50 p51 p52 p53 p54 p998
148 -
149 --LANGUAGES += \
150 -- ru_RU \
151 -- uk_UA \
152 -- de_DE \
153 -- cs_CZ \
154 -- he_IL \
155 -- fr_FR \
156 -- it_IT \
157 -- nl_NL \
158 -- id_ID \
159 -- es_ES \
160 -- fi_FI \
161 -- en_US \
162 -- en_CA \
163 -- en_IN \
164 -- ro_RO
165 -+isEmpty(LOCALES){
166 -+ LANGUAGES += \
167 -+ ru_RU \
168 -+ uk_UA \
169 -+ de_DE \
170 -+ cs_CZ \
171 -+ he_IL \
172 -+ fr_FR \
173 -+ it_IT \
174 -+ nl_NL \
175 -+ id_ID \
176 -+ es_ES \
177 -+ fi_FI \
178 -+ en_US \
179 -+ en_CA \
180 -+ en_IN \
181 -+ ro_RO \
182 -+ zh_CN
183 -+ } else {
184 -+ LANGUAGES = $${LOCALES}
185 -+ }
186 -
187 - for(lang, LANGUAGES) {
188 - INSTALL_TRANSLATIONS += $${TRANSLATIONS_PATH}/valentina_$${lang}.qm
189
190 diff --git a/media-gfx/valentina/valentina-0.5.0-r1.ebuild b/media-gfx/valentina/valentina-0.5.0-r2.ebuild
191 similarity index 70%
192 rename from media-gfx/valentina/valentina-0.5.0-r1.ebuild
193 rename to media-gfx/valentina/valentina-0.5.0-r2.ebuild
194 index 96dceba5eb9..3ba76fa3cd6 100644
195 --- a/media-gfx/valentina/valentina-0.5.0-r1.ebuild
196 +++ b/media-gfx/valentina/valentina-0.5.0-r2.ebuild
197 @@ -3,11 +3,13 @@
198
199 EAPI=6
200
201 -inherit epatch qmake-utils gnome2-utils xdg-utils
202 +inherit qmake-utils gnome2-utils xdg-utils epatch
203
204 DESCRIPTION="Cloth patternmaking software"
205 -HOMEPAGE="https://valentina-project.org/"
206 -SRC_URI="https://github.com/valentina-project/vpo2/archive/v${PV}.zip -> ${P}.zip"
207 +HOMEPAGE="https://valentinaproject.bitbucket.io/"
208 +SRC_URI="https://bitbucket.org/dismine/${PN}/get/v${PV}.zip -> ${P}.zip
209 + https://bitbucket.org/dismine/${PN}/commits/d78ca13c4891ccf3542b0704a7d66af0f9b02938/raw -> valentina-4798.patch
210 + https://bitbucket.org/dismine/${PN}/commits/98e869c4146204ef31822087fa826cfa1cd7e0f4/raw -> valentina-4802.patch"
211
212 LICENSE="GPL-3"
213 SLOT="0"
214 @@ -35,12 +37,11 @@ RDEPEND="${CDEPEND}"
215 DEPEND="${CDEPEND}
216 app-arch/unzip"
217
218 -S=${WORKDIR}/dismine-${PN}-44d43351cb59
219 +S=${WORKDIR}/dismine-${PN}-31c95eadca8b
220
221 src_prepare() {
222 - epatch "${FILESDIR}/${PV}-locales.patch" \
223 - "${FILESDIR}/${PV}-fix-insecure-runpaths.patch" \
224 - "${FILESDIR}/${PV}-disable-tests-compilation.patch"
225 + epatch "${DISTDIR}/${PN}-4798.patch" \
226 + "${DISTDIR}/${PN}-4802.patch"
227
228 default
229 }
230 @@ -60,7 +61,7 @@ src_configure() {
231 src_install() {
232 emake install INSTALL_ROOT="${D}"
233
234 - dodoc AUTHORS.txt ChangeLog.txt README.md
235 + dodoc AUTHORS.txt ChangeLog.txt README.txt
236
237 doman dist/debian/${PN}.1
238 doman dist/debian/tape.1
239
240 diff --git a/media-gfx/valentina/valentina-9999.ebuild b/media-gfx/valentina/valentina-9999.ebuild
241 index 66229d43a07..3c119be7617 100644
242 --- a/media-gfx/valentina/valentina-9999.ebuild
243 +++ b/media-gfx/valentina/valentina-9999.ebuild
244 @@ -3,12 +3,12 @@
245
246 EAPI=6
247
248 -inherit git-r3 qmake-utils gnome2-utils xdg-utils
249 +inherit mercurial qmake-utils gnome2-utils xdg-utils
250
251 DESCRIPTION="Cloth patternmaking software"
252 -HOMEPAGE="https://valentina-project.org/"
253 -EGIT_REPO_URI="https://github.com/valentina-project/vpo2.git"
254 -EGIT_BRANCH="develop"
255 +HOMEPAGE="https://valentinaproject.bitbucket.io/"
256 +EHG_REPO_URI="https://bitbucket.org/dismine/valentina"
257 +EHG_REVISION="develop"
258
259 LICENSE="GPL-3"
260 SLOT="0"
261 @@ -50,7 +50,7 @@ src_configure() {
262 src_install() {
263 emake install INSTALL_ROOT="${D}"
264
265 - dodoc AUTHORS.txt ChangeLog.txt README.md
266 + dodoc AUTHORS.txt ChangeLog.txt README.txt
267
268 doman dist/debian/${PN}.1
269 doman dist/debian/tape.1