[gentoo-commits] repo/gentoo:master commit in: media-sound/playerctl/files/, media-sound/playerctl/

2019-06-13 Thread Göktürk Yüksek
commit: bbc798614e8a28b8fef2d494292b899604beff14
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Thu Jun 13 23:16:09 2019 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Thu Jun 13 23:16:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc79861

media-sound/playerctl: prune old <2.0.0

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek  gentoo.org>

 media-sound/playerctl/Manifest |  3 --
 .../playerctl-0.6.1-doc-typesfile-path-fix.patch   | 28 
 .../files/playerctl-gdbus-codegen-fix.patch| 15 --
 media-sound/playerctl/playerctl-0.5.0.ebuild   | 53 --
 media-sound/playerctl/playerctl-0.6.0.ebuild   | 53 --
 media-sound/playerctl/playerctl-0.6.1.ebuild   | 41 -
 6 files changed, 193 deletions(-)

diff --git a/media-sound/playerctl/Manifest b/media-sound/playerctl/Manifest
index 2a8eacbf771..ba75dcebacb 100644
--- a/media-sound/playerctl/Manifest
+++ b/media-sound/playerctl/Manifest
@@ -1,5 +1,2 @@
-DIST playerctl-0.5.0.tar.gz 17015 BLAKE2B 
5da1d0fd4e442ac5f124bd693ae14222624c5239c9fad72e57d43977467339522344bc8d8c37b0f2bfda51c61861dc33d7e35e4a730ce59a87b691b5657ec729
 SHA512 
307cad5eeea7efa0c97c885660f49468f442fe907ef2495b56ac512e0551c7248750897b6d00934cbfcfcb35f486a101a238b276ef71d2ef866132ca3cc0932c
-DIST playerctl-0.6.0.tar.gz 22124 BLAKE2B 
6bb90586c56e21a00b5e6e1769248b9782a8211b01dacf590857fe4fe199d6d3fa7aa46a36cba9a8e198a1aad0bf17973fc15140db11c484edfb0275971d3d08
 SHA512 
8023b5704ca2a428510df6228850b616061289764cc3c4190c0c46f79d6a20e499495f2d773bd821357653ba63bca40eac70f7cc3a11251da3c6a4f7781db739
-DIST playerctl-0.6.1.tar.gz 22921 BLAKE2B 
d2f5874280e1a99b318bc83c40a38ee31d9c68426cb63e1e16e8ded26bac1a894d78a929f46d45d631af70e37476a4151c520eb69c94e80026689a12c682f0ad
 SHA512 
07c302eb06a96bf3b8aa180e68e85ef6f9fdb5933b80fbce8ee5f9a36c1d961eaf5638e319ff0b26475984acc57a447a4aa8e705667f77e4bd393364cdbfb284
 DIST playerctl-2.0.1.tar.gz 43700 BLAKE2B 
9df01bdb5f71a589a40462ed807b0f150d8c90921d1e0ef96bf99f20d9e58345307af35b39cc95e8ab37fcf9e5686935d856e050b61210188008b65281e63557
 SHA512 
6a5807abc79358bab0ad30a11897a8109121d5eb7d9e17d2c695221ef83942c3c7235fc738ab27c9dd2d3364c04737355e9c88ec5d49f999565565fb4494f720
 DIST playerctl-2.0.2.tar.gz 44241 BLAKE2B 
3a1d5f59fdb0067f1147f4ef95990ae0755a372469c0f03491b4f3aec8d0cf754bb4d3057063211ee810532967ace0d35fa6a7f3f8cee8d7a5c09031cb5b11c9
 SHA512 
ad588f81d42c8000ccd2d2dedacfcd82887a958189b354ad6285545f7ed59e885febe0c3f9e3da915ae0fd0af4bfb4cefda54f17f0560fc4c00b1be6e92f3ac0

diff --git 
a/media-sound/playerctl/files/playerctl-0.6.1-doc-typesfile-path-fix.patch 
b/media-sound/playerctl/files/playerctl-0.6.1-doc-typesfile-path-fix.patch
deleted file mode 100644
index 75ba5b61f9f..000
--- a/media-sound/playerctl/files/playerctl-0.6.1-doc-typesfile-path-fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f5fefa32f1ac59d2a9c00221281fe3541845d6d2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= 
-Date: Mon, 16 Jul 2018 18:21:21 -0400
-Subject: [PATCH] doc: look for gobject_typesfile in build dir
-
-Looking for playerctl.types file in the source directory is a mistake
-because it's generated during build and placed in build dir. Look for
-the types file in build dir instead.

- doc/reference/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/doc/reference/meson.build b/doc/reference/meson.build
-index 100d561..b5a16a7 100644
 a/doc/reference/meson.build
-+++ b/doc/reference/meson.build
-@@ -19,7 +19,7 @@ gnome.gtkdoc(
- '--name-space=meson.project_name()',
-   ],
-   scan_args: '--deprecated-guards="PLAYERCTL_DISABLE_DEPRECATED"',
--  gobject_typesfile: meson.project_name() + '.types',
-+  gobject_typesfile: join_paths(meson.current_build_dir(), 
meson.project_name() + '.types'),
-   fixxref_args: [
- '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
- '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
--- 
-2.17.0
-

diff --git a/media-sound/playerctl/files/playerctl-gdbus-codegen-fix.patch 
b/media-sound/playerctl/files/playerctl-gdbus-codegen-fix.patch
deleted file mode 100644
index 06c073aa276..000
--- a/media-sound/playerctl/files/playerctl-gdbus-codegen-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -21,10 +21,11 @@
- PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.38])
- PKG_CHECK_MODULES([GIO], [gio-unix-2.0])
- 
--AC_PATH_PROG([GDBUS_CODEGEN], [`$PKG_CONFIG --variable=gdbus_codegen 
gio-2.0`])
-+GDBUS_CODEGEN=`$PKG_CONFIG --variable=gdbus_codegen gio-2.0`
- if test -z "$GDBUS_CODEGEN"; then
- AC_MSG_ERROR([*** gdbus-codegen is required to build playerctl])
- fi
-+AC_SUBST(GDBUS_CODEGEN)
- 
- # Checks for typedefs, structures, and compiler characteristics
- AC_PROG_CC_STDC

diff --git 

[gentoo-commits] repo/gentoo:master commit in: media-sound/playerctl/files/, media-sound/playerctl/

2019-04-08 Thread Göktürk Yüksek
commit: 988c0ffb4c868eb82efc0a37169b96c3548dbd5e
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Tue Apr  9 02:08:11 2019 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Tue Apr  9 02:08:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988c0ffb

media-sound/playerctl: fix gdbus-codegen handling in configure.ac

In configure.ac, the **absolute** path of gdbus-codegen (as obtained
by pkg-config) is passed to AC_PATH_PROG. The macro then appends this
path to the directories in PATH and tests if the result is
executable. This internally results in checking for
'/usr/bin/usr/bin/gdbus-codegen'. The macro is redundant because the
value returned by pkg-config is sufficient.

Closes: https://bugs.gentoo.org/682788
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek  gentoo.org>

 .../playerctl/files/playerctl-gdbus-codegen-fix.patch | 15 +++
 media-sound/playerctl/playerctl-0.5.0.ebuild  |  4 +++-
 media-sound/playerctl/playerctl-0.6.0.ebuild  |  4 +++-
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/media-sound/playerctl/files/playerctl-gdbus-codegen-fix.patch 
b/media-sound/playerctl/files/playerctl-gdbus-codegen-fix.patch
new file mode 100644
index 000..06c073aa276
--- /dev/null
+++ b/media-sound/playerctl/files/playerctl-gdbus-codegen-fix.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac
 b/configure.ac
+@@ -21,10 +21,11 @@
+ PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.38])
+ PKG_CHECK_MODULES([GIO], [gio-unix-2.0])
+ 
+-AC_PATH_PROG([GDBUS_CODEGEN], [`$PKG_CONFIG --variable=gdbus_codegen 
gio-2.0`])
++GDBUS_CODEGEN=`$PKG_CONFIG --variable=gdbus_codegen gio-2.0`
+ if test -z "$GDBUS_CODEGEN"; then
+ AC_MSG_ERROR([*** gdbus-codegen is required to build playerctl])
+ fi
++AC_SUBST(GDBUS_CODEGEN)
+ 
+ # Checks for typedefs, structures, and compiler characteristics
+ AC_PROG_CC_STDC

diff --git a/media-sound/playerctl/playerctl-0.5.0.ebuild 
b/media-sound/playerctl/playerctl-0.5.0.ebuild
index a06816f38bd..0a05e650f20 100644
--- a/media-sound/playerctl/playerctl-0.5.0.ebuild
+++ b/media-sound/playerctl/playerctl-0.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,8 @@ src_prepare() {
echo 'EXTRA_DIST = ' > gtk-doc.make || die
fi
 
+   eapply "${FILESDIR}"/"${PN}"-gdbus-codegen-fix.patch
+
default
eautoreconf
 }

diff --git a/media-sound/playerctl/playerctl-0.6.0.ebuild 
b/media-sound/playerctl/playerctl-0.6.0.ebuild
index 8741ea6e29e..4effb5f74a6 100644
--- a/media-sound/playerctl/playerctl-0.6.0.ebuild
+++ b/media-sound/playerctl/playerctl-0.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,8 @@ src_prepare() {
echo 'EXTRA_DIST = ' > gtk-doc.make || die
fi
 
+   eapply "${FILESDIR}"/"${PN}"-gdbus-codegen-fix.patch
+
default
eautoreconf
 }