1 |
commit: 00fa036630471d90c408c8875efa3f19519b6694 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 1 13:00:28 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 1 13:00:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00fa0366 |
7 |
|
8 |
x11-wm/fluxbox: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
x11-wm/fluxbox/fluxbox-1.3.7-r3.ebuild | 114 --------------------------------- |
14 |
1 file changed, 114 deletions(-) |
15 |
|
16 |
diff --git a/x11-wm/fluxbox/fluxbox-1.3.7-r3.ebuild b/x11-wm/fluxbox/fluxbox-1.3.7-r3.ebuild |
17 |
deleted file mode 100644 |
18 |
index 165e79552f9..00000000000 |
19 |
--- a/x11-wm/fluxbox/fluxbox-1.3.7-r3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,114 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
-inherit eutils flag-o-matic toolchain-funcs prefix xdg |
27 |
- |
28 |
-IUSE="nls xinerama bidi +truetype +imlib +slit +systray +toolbar vim-syntax" |
29 |
- |
30 |
-REQUIRED_USE="systray? ( toolbar )" |
31 |
- |
32 |
-DESCRIPTION="X11 window manager featuring tabs and an iconbar" |
33 |
- |
34 |
-SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.xz" |
35 |
-HOMEPAGE="http://www.fluxbox.org" |
36 |
-SLOT="0" |
37 |
-LICENSE="MIT" |
38 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- !!<=x11-misc/fbdesk-1.2.1 |
42 |
- !!<=x11-misc/fluxconf-0.9.9 |
43 |
- !!<x11-themes/fluxbox-styles-fluxmod-20040809-r1 |
44 |
- bidi? ( >=dev-libs/fribidi-0.19.2 ) |
45 |
- imlib? ( >=media-libs/imlib2-1.2.0[X] ) |
46 |
- truetype? ( media-libs/freetype ) |
47 |
- vim-syntax? ( app-vim/fluxbox-syntax ) |
48 |
- x11-libs/libXext |
49 |
- x11-libs/libXft |
50 |
- x11-libs/libXpm |
51 |
- x11-libs/libXrandr |
52 |
- x11-libs/libXrender |
53 |
- xinerama? ( x11-libs/libXinerama ) |
54 |
- || ( x11-misc/gxmessage x11-apps/xmessage ) |
55 |
-" |
56 |
-DEPEND=" |
57 |
- ${RDEPEND} |
58 |
- bidi? ( virtual/pkgconfig ) |
59 |
- nls? ( sys-devel/gettext ) |
60 |
- x11-base/xorg-proto |
61 |
-" |
62 |
- |
63 |
-src_prepare() { |
64 |
- # We need to be able to include directories rather than just plain |
65 |
- # files in menu [include] items. This patch will allow us to do clever |
66 |
- # things with style ebuilds. |
67 |
- epatch "${FILESDIR}"/gentoo_style_location-1.1.x.patch |
68 |
- |
69 |
- eprefixify util/fluxbox-generate_menu.in |
70 |
- |
71 |
- epatch "${FILESDIR}"/osx-has-otool.patch |
72 |
- |
73 |
- # Fix bug #551522; 1.3.8 will render this obsolete |
74 |
- epatch "${FILESDIR}"/fix-hidden-toolbar.patch |
75 |
- |
76 |
- # Add in the Gentoo -r number to fluxbox -version output. |
77 |
- if [[ "${PR}" == "r0" ]] ; then |
78 |
- suffix="gentoo" |
79 |
- else |
80 |
- suffix="gentoo-${PR}" |
81 |
- fi |
82 |
- sed -i \ |
83 |
- -e "s~\(__fluxbox_version .@VERSION@\)~\1-${suffix}~" \ |
84 |
- version.h.in || die "version sed failed" |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- use bidi && append-cppflags "$($(tc-getPKG_CONFIG) --cflags fribidi)" |
89 |
- |
90 |
- econf $(use_enable bidi fribidi ) \ |
91 |
- $(use_enable imlib imlib2) \ |
92 |
- $(use_enable nls) \ |
93 |
- $(use_enable slit ) \ |
94 |
- $(use_enable systray ) \ |
95 |
- $(use_enable toolbar ) \ |
96 |
- $(use_enable truetype xft) \ |
97 |
- $(use_enable xinerama) \ |
98 |
- --sysconfdir="${EPREFIX}"/etc/X11/${PN} \ |
99 |
- --with-style="${EPREFIX}"/usr/share/fluxbox/styles/Emerge |
100 |
-} |
101 |
- |
102 |
-src_compile() { |
103 |
- default |
104 |
- |
105 |
- ebegin "Creating a menu file (may take a while)" |
106 |
- mkdir -p "${T}/home/.fluxbox" || die "mkdir home failed" |
107 |
- # Call fluxbox-generate_menu through bash since it lacks +x |
108 |
- # chmod 744 may be an equal fix |
109 |
- MENUFILENAME="${S}/data/menu" MENUTITLE="Fluxbox ${PV}" \ |
110 |
- CHECKINIT="no. go away." HOME="${T}/home" \ |
111 |
- bash "${S}/util/fluxbox-generate_menu" -is -ds \ |
112 |
- || die "menu generation failed" |
113 |
- eend $? |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- emake DESTDIR="${D}" STRIP="" install |
118 |
- dodoc README* AUTHORS TODO* ChangeLog NEWS |
119 |
- |
120 |
- # Install the generated menu |
121 |
- insinto /usr/share/fluxbox |
122 |
- doins data/menu |
123 |
- |
124 |
- insinto /usr/share/xsessions |
125 |
- doins "${FILESDIR}"/${PN}.desktop |
126 |
- |
127 |
- exeinto /etc/X11/Sessions |
128 |
- newexe "${FILESDIR}"/${PN}.xsession fluxbox |
129 |
- |
130 |
- # Styles menu framework |
131 |
- insinto /usr/share/fluxbox/menu.d/styles |
132 |
- doins "${FILESDIR}"/styles-menu-fluxbox |
133 |
- doins "${FILESDIR}"/styles-menu-commonbox |
134 |
- doins "${FILESDIR}"/styles-menu-user |
135 |
-} |