1 |
commit: c532a8aa1e5c3ad81f30ba190227c290348de228 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 7 09:47:42 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 7 09:48:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c532a8aa |
7 |
|
8 |
x11-misc/fbpanel: Fix image permissions |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
|
12 |
Fixes: https://bugs.gentoo.org/677390 |
13 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
14 |
|
15 |
x11-misc/fbpanel/fbpanel-7.0-r1.ebuild | 58 +++++++++++++++++++++++++ |
16 |
x11-misc/fbpanel/files/fbpanel-7.0-images.patch | 10 +++++ |
17 |
2 files changed, 68 insertions(+) |
18 |
|
19 |
diff --git a/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild b/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..4fa27690725 |
22 |
--- /dev/null |
23 |
+++ b/x11-misc/fbpanel/fbpanel-7.0-r1.ebuild |
24 |
@@ -0,0 +1,58 @@ |
25 |
+# Copyright 1999-2019 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+PYTHON_COMPAT=( python2_7 ) |
30 |
+ |
31 |
+inherit python-any-r1 toolchain-funcs |
32 |
+ |
33 |
+DESCRIPTION="light-weight X11 desktop panel" |
34 |
+HOMEPAGE="https://aanatoly.github.io/fbpanel/" |
35 |
+SRC_URI="${HOMEPAGE}archive/${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
40 |
+IUSE="alsa" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ dev-libs/glib:2 |
44 |
+ alsa? ( media-libs/alsa-lib ) |
45 |
+ x11-libs/gdk-pixbuf:2[X] |
46 |
+ x11-libs/gtk+:2 |
47 |
+ x11-libs/libX11 |
48 |
+" |
49 |
+DEPEND=" |
50 |
+ ${RDEPEND} |
51 |
+ ${PYTHON_DEPS} |
52 |
+ virtual/pkgconfig |
53 |
+ x11-base/xorg-proto |
54 |
+" |
55 |
+ |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}"/${PN}-6.1-underlinking.patch |
58 |
+ "${FILESDIR}"/${PN}-7.0-clang.patch |
59 |
+ "${FILESDIR}"/${PN}-7.0-images.patch |
60 |
+ "${FILESDIR}"/${PN}-7.0-shebangs.patch |
61 |
+) |
62 |
+ |
63 |
+src_configure() { |
64 |
+ tc-export CC |
65 |
+ # not autotools based |
66 |
+ local myconfigure=( |
67 |
+ ./configure V=1 |
68 |
+ --mandir="${EPREFIX}"/usr/share/man/man1 |
69 |
+ --datadir="${EPREFIX}"/usr/share/${PN} |
70 |
+ --prefix="${EPREFIX}"/usr |
71 |
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} |
72 |
+ $(usex alsa --sound --no-sound) |
73 |
+ ) |
74 |
+ echo ${myconfigure[@]} || die |
75 |
+ ${myconfigure[@]} || die |
76 |
+} |
77 |
+ |
78 |
+pkg_postinst() { |
79 |
+ elog "For the volume plugin to work, you need to configure your kernel" |
80 |
+ elog "with CONFIG_SND_MIXER_OSS or CONFIG_SOUND_PRIME or some other means" |
81 |
+ elog "that provide the /dev/mixer device node." |
82 |
+} |
83 |
|
84 |
diff --git a/x11-misc/fbpanel/files/fbpanel-7.0-images.patch b/x11-misc/fbpanel/files/fbpanel-7.0-images.patch |
85 |
new file mode 100644 |
86 |
index 00000000000..c1b9faf6304 |
87 |
--- /dev/null |
88 |
+++ b/x11-misc/fbpanel/files/fbpanel-7.0-images.patch |
89 |
@@ -0,0 +1,10 @@ |
90 |
+--- a/data/images/Makefile |
91 |
++++ b/data/images/Makefile |
92 |
+@@ -31,6 +31,6 @@ |
93 |
+ |
94 |
+ install : |
95 |
+ $Qinstall -d $(DESTDIR)$(DATADIR)/images |
96 |
+- $Qinstall $(IMAGES) $(DESTDIR)$(DATADIR)/images |
97 |
++ $Qinstall -m 0644 $(IMAGES) $(DESTDIR)$(DATADIR)/images |
98 |
+ |
99 |
+ include $(TOPDIR)/.config/rules.mk |