1 |
commit: d50394f9a5aa47c6f56040935441338213b53200 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 30 19:52:39 2018 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 30 21:13:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50394f9 |
7 |
|
8 |
x11-wm/openbox: Remove 3.6 |
9 |
|
10 |
Uses deprecated EAPI 5 and overshadowed by 3.6.1. |
11 |
|
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
x11-wm/openbox/Manifest | 1 - |
15 |
x11-wm/openbox/openbox-3.6.ebuild | 102 -------------------------------------- |
16 |
2 files changed, 103 deletions(-) |
17 |
|
18 |
diff --git a/x11-wm/openbox/Manifest b/x11-wm/openbox/Manifest |
19 |
index 06f4bd24df5..7777fc3ee96 100644 |
20 |
--- a/x11-wm/openbox/Manifest |
21 |
+++ b/x11-wm/openbox/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST openbox-3.6.1.tar.gz 962665 BLAKE2B 1c0288137d7b02d443c384f970cd9a3f4d5d5585989917ac6ae8cf492e045dc086650c245907e168bc7b6d0ce701339854a5d94ad510823141cc78e28c1e13c5 SHA512 5e6f4a214005bea8b26bc8959fe5bb67356a387ddd317e014f43cb5b5bf263ec617a5973e2982eb76a08dc7d3ca5ec9e72e64c9b5efd751001a8999b420b1ad0 |
24 |
-DIST openbox-3.6.tar.gz 963207 BLAKE2B cbc29011fea9157af62c87a68e1cf4c31b474a5520c995bca360f2db83fe0957716bbf5af916bf7d5d0f677192d07d4cb07ad35f7b79ede548342f2805add533 SHA512 7f158a5236dcba5ec3c0e4fb5d1a5cabbd956d4125f19dfdb0594f5ded52545078d85ab645589ec3400a5306f63b43db5ee1ae26e3683141ee47f1b406d9788b |
25 |
DIST surreal-gentoo.tar.gz 13410 BLAKE2B e7d902278004785c68a2e5aa02aa326cee1ef04fe964fce283afde00cb668b06d5d8461207ef9571aa402b960ec16bdff6bf11cf38ca9a76335ced173592ffce SHA512 dd43cb78e5e33345767edad22d0470765ac9eeae02bbad0acd8098bc096c15a166bf651493d12a5953bc043c9be92e9b160607eafb4723a6bcfc5d1d6fae235e |
26 |
|
27 |
diff --git a/x11-wm/openbox/openbox-3.6.ebuild b/x11-wm/openbox/openbox-3.6.ebuild |
28 |
deleted file mode 100644 |
29 |
index 8412487ff4f..00000000000 |
30 |
--- a/x11-wm/openbox/openbox-3.6.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,102 +0,0 @@ |
33 |
-# Copyright 1999-2018 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="5" |
37 |
- |
38 |
-PYTHON_COMPAT=( python2_7 ) |
39 |
-inherit multilib autotools python-r1 eutils |
40 |
- |
41 |
-DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager" |
42 |
-HOMEPAGE="http://openbox.org/" |
43 |
-if [[ ${PV} == *9999* ]]; then |
44 |
- inherit git-2 |
45 |
- EGIT_REPO_URI="git://git.openbox.org/dana/openbox" |
46 |
- SRC_URI="branding? ( |
47 |
- https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" |
48 |
- KEYWORDS="" |
49 |
- |
50 |
-else |
51 |
- SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz |
52 |
- branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" |
53 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux" |
54 |
-fi |
55 |
- |
56 |
-LICENSE="GPL-2" |
57 |
-SLOT="3" |
58 |
-IUSE="branding debug imlib nls session startup-notification static-libs svg xdg" |
59 |
-REQUIRED_USE="xdg? ( ${PYTHON_REQUIRED_USE} )" |
60 |
- |
61 |
-RDEPEND="dev-libs/glib:2 |
62 |
- >=dev-libs/libxml2-2.0 |
63 |
- >=media-libs/fontconfig-2 |
64 |
- x11-libs/libXft |
65 |
- x11-libs/libXinerama |
66 |
- x11-libs/libXrandr |
67 |
- x11-libs/libXt |
68 |
- >=x11-libs/pango-1.8[X] |
69 |
- imlib? ( media-libs/imlib2 ) |
70 |
- startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
71 |
- svg? ( gnome-base/librsvg:2 ) |
72 |
- xdg? ( |
73 |
- ${PYTHON_DEPS} |
74 |
- dev-python/pyxdg[${PYTHON_USEDEP}] |
75 |
- ) |
76 |
- " |
77 |
-DEPEND="${RDEPEND} |
78 |
- sys-devel/gettext |
79 |
- virtual/pkgconfig |
80 |
- x11-base/xorg-proto" |
81 |
- |
82 |
-src_unpack() { |
83 |
- if [[ ${PV} == *9999* ]]; then |
84 |
- git-2_src_unpack |
85 |
- else |
86 |
- unpack ${A} |
87 |
- fi |
88 |
-} |
89 |
- |
90 |
-src_prepare() { |
91 |
- use xdg && python_export_best |
92 |
- epatch "${FILESDIR}"/${PN}-3.5.2-gnome-session.patch |
93 |
- sed -i \ |
94 |
- -e "s:-O0 -ggdb ::" \ |
95 |
- -e 's/-fno-strict-aliasing//' \ |
96 |
- "${S}"/m4/openbox.m4 || die |
97 |
- epatch_user |
98 |
- eautoreconf |
99 |
-} |
100 |
- |
101 |
-src_configure() { |
102 |
- econf \ |
103 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
104 |
- $(use_enable debug) \ |
105 |
- $(use_enable static-libs static) \ |
106 |
- $(use_enable nls) \ |
107 |
- $(use_enable imlib imlib2) \ |
108 |
- $(use_enable svg librsvg) \ |
109 |
- $(use_enable startup-notification) \ |
110 |
- $(use_enable session session-management) \ |
111 |
- --with-x |
112 |
-} |
113 |
- |
114 |
-src_install() { |
115 |
- dodir /etc/X11/Sessions |
116 |
- echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}" |
117 |
- fperms a+x /etc/X11/Sessions/${PN} |
118 |
- emake DESTDIR="${D}" install |
119 |
- if use branding; then |
120 |
- insinto /usr/share/themes |
121 |
- doins -r "${WORKDIR}"/Surreal_Gentoo |
122 |
- # make it the default theme |
123 |
- sed -i \ |
124 |
- -e "/<theme>/{n; s@<name>.*</name>@<name>Surreal_Gentoo</name>@}" \ |
125 |
- "${D}"/etc/xdg/openbox/rc.xml \ |
126 |
- || die "failed to set Surreal Gentoo as the default theme" |
127 |
- fi |
128 |
- use static-libs || prune_libtool_files --all |
129 |
- if use xdg ; then |
130 |
- python_replicate_script "${ED}"/usr/libexec/openbox-xdg-autostart |
131 |
- else |
132 |
- rm "${ED}"/usr/libexec/openbox-xdg-autostart || die |
133 |
- fi |
134 |
-} |