Browse Source

media-gfx/viewnior: Replaced own patch with upstream fix

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
tastytea 3 weeks ago
parent
commit
46dcd3cce3
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07

+ 6
- 6
media-gfx/viewnior/Manifest View File

@@ -1,14 +1,14 @@
1 1
 -----BEGIN PGP SIGNED MESSAGE-----
2 2
 Hash: SHA256
3 3
 
4
-AUX fix-implicit-declaration.patch 221 BLAKE2B 0b594dd4a812fa8f2d57b85a26840d39f4f7fa91dfffcf4d62f92240239f6a18a1be84c31fd69a91684b80b93c5464abf6c161414542ebdfbf068d410b99d102 SHA512 16203f3b6f310cb0e914b35ed162f8d931b4a172c371cb84934cbd0c0a83b58da6b4808eb10d51a77c5cedb45866a566254f09fe8affe57a49f3d03605d0b38c
4
+AUX 0.17-Replace-calls-to-getenv-with-g_getenv.patch 1486 BLAKE2B bee8ee6a3b3cbfaa24620ac772dc7755e54de5e6697c8d706c0b218449c9e36cb426e92e3ba7db59b9990ba2673b8b08e5a30102e5baa542badee0dc2c7aa7e7 SHA512 963b6ce3a46e8c453d220392087be0b0d3e56a0707128bfc3610d61b65269db165f27c8cf69023724c37bbfc2a0b18517a28c6bb3ee4c699be7f0044f6639522
5 5
 DIST viewnior-1.7.tar.gz 165719 BLAKE2B 906ab0b632fcc102ac62dd77d6742c2121c46cd92adc0dfe9ba772bf697eff356519dbb6219016a6470903c855aa4c9081f0d61ca1607d8d1b6d8e03236a19bc SHA512 5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5
6
-EBUILD viewnior-1.7.ebuild 1141 BLAKE2B ef335bad6bb0b1a28f96677084d399ae19052dfb4de35877d6eb79c0be62a021f6240c2452ede8c33b06db1a385ac01d2f61cac6763fdad28b5fdede0e3eeb0c SHA512 88d7aa9a55f1b65f3c35e332b704f516f5d160ecaab7a6b6d288ff23ab8c2f523a8f5728a87c97d921082e433a63dc968583bf283348d3ef6e0f35d79b76034e
6
+EBUILD viewnior-1.7.ebuild 1159 BLAKE2B 561aefeba9305111c1d3e8ebd8243b55f82b8daf627c3f317963c5d1da86777b57e319445698ad2fd6131b472515023f6b2b5ab87fa41e3f39691e787bc7dd8c SHA512 5b277270b7c8828a88a565abab0c951167a6facd2f481128c25e0f26902103d7bfe79dc1fd9665ce3d1a111633fe359aa559c5dd88f4a203710bfb167e40857b
7 7
 MISC metadata.xml 484 BLAKE2B 454eb553fd9d16d073addfbade6168724e810a80e7076c7ca09bdd1c8faa0373af849c5888305c024d1195c77c7e1439b0f00fdd3356e51150a6ff85a51c08a5 SHA512 bd881514455153909cbf3bef207d325d619ee916b70fd6b2d0632972f00c9056e2f260407d033530945b73bf77989468616e20ae3db480671ecc619ef10f7b5d
8 8
 -----BEGIN PGP SIGNATURE-----
9 9
 
10
-iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW/Ku8QAKCRDPw5SX8bJu
11
-B2CmAP9JpNu72W1e4SuRqkmRaL9LQs99ZK1h3OpcFxlHiq4NPQD/SR/Fepko9Ssx
12
-WtIlZf7fMQZlploprgJePj418ytS2/4=
13
-=1yjS
10
+iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCW/K1sQAKCRDPw5SX8bJu
11
+B43aAPoC8UJ27GC6BB+NNBWKWsDp1+FTRffbxXuxgLE9Op70kAD+IpKZFeQnCVux
12
+D0k5hJci/r+lf0XAwbp+gHOeq/9/K4A=
13
+=L4/l
14 14
 -----END PGP SIGNATURE-----

+ 36
- 0
media-gfx/viewnior/files/0.17-Replace-calls-to-getenv-with-g_getenv.patch View File

@@ -0,0 +1,36 @@
1
+From aac0a0c4ad232723e8aecbab4dff99691b90a08e Mon Sep 17 00:00:00 2001
2
+From: Siyan Panayotov <siyan@hellosiyan.com>
3
+Date: Mon, 28 May 2018 21:22:04 +0200
4
+Subject: [PATCH] Replace calls to getenv() with g_getenv()
5
+MIME-Version: 1.0
6
+Content-Type: text/plain; charset=UTF-8
7
+Content-Transfer-Encoding: 8bit
8
+
9
+Using getenv() triggers compile errors in Open Build Service.
10
+Thanks to Axel Köllhofer for the patch.
11
+---
12
+ src/uni-utils.c | 8 ++++----
13
+ 1 file changed, 4 insertions(+), 4 deletions(-)
14
+
15
+diff --git a/src/uni-utils.c b/src/uni-utils.c
16
+index 8152848..1b4992a 100755
17
+--- a/src/uni-utils.c
18
++++ b/src/uni-utils.c
19
+@@ -106,10 +106,10 @@ uni_detect_desktop_environment ()
20
+ {
21
+     VnrPrefsDesktop environment = VNR_PREFS_DESKTOP_GNOME3;
22
+ 
23
+-    gchar *xdg_current_desktop = g_ascii_strup(getenv("XDG_CURRENT_DESKTOP"), -1);
24
+-    gchar *xdg_session_desktop = g_ascii_strup(getenv("XDG_SESSION_DESKTOP"), -1);
25
+-    gchar *desktop_session = g_ascii_strdown(getenv("DESKTOP_SESSION"), -1);
26
+-    gchar *gdmsession = g_ascii_strdown(getenv("GDMSESSION"), -1);
27
++    gchar *xdg_current_desktop = g_ascii_strup(g_getenv("XDG_CURRENT_DESKTOP"), -1);
28
++    gchar *xdg_session_desktop = g_ascii_strup(g_getenv("XDG_SESSION_DESKTOP"), -1);
29
++    gchar *desktop_session = g_ascii_strdown(g_getenv("DESKTOP_SESSION"), -1);
30
++    gchar *gdmsession = g_ascii_strdown(g_getenv("GDMSESSION"), -1);
31
+ 
32
+     if (!g_strcmp0(xdg_current_desktop, "GNOME") || !g_strcmp0(xdg_session_desktop, "GNOME"))
33
+     {
34
+-- 
35
+2.18.1
36
+

+ 0
- 10
media-gfx/viewnior/files/fix-implicit-declaration.patch View File

@@ -1,10 +0,0 @@
1
---- a/src/uni-utils.c	2018-11-19 13:22:27.611236686 +0100
2
-+++ b/src/uni-utils.c	2018-11-19 13:29:36.577474931 +0100
3
-@@ -21,6 +21,7 @@
4
-  */
5
- 
6
- #include "uni-utils.h"
7
-+#include <stdlib.h>
8
- 
9
- /**
10
-  * uni_pixbuf_scale_blend:

+ 1
- 1
media-gfx/viewnior/viewnior-1.7.ebuild View File

@@ -24,7 +24,7 @@ RDEPEND="${DEPEND}
24 24
 "
25 25
 
26 26
 PATCHES=(
27
-	"${FILESDIR}/fix-implicit-declaration.patch"
27
+	"${FILESDIR}/0.17-Replace-calls-to-getenv-with-g_getenv.patch"
28 28
 )
29 29
 
30 30
 src_prepare() {

Loading…
Cancel
Save