Gentoo Archives: gentoo-commits

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