1 |
commit: f3dba64964d615e182a594b8f9f7eaebbddc99ad |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 3 10:43:08 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 3 10:44:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3dba649 |
7 |
|
8 |
Revert "x11-misc/rss-glx: Do not install static libraries" |
9 |
|
10 |
With --disable-static, matrixview surprisingly fails: |
11 |
libGL error: No matching fbConfigs or visuals found |
12 |
libGL error: failed to load driver: swrast |
13 |
X Error of failed request: BadValue (integer parameter out of range for |
14 |
operation) |
15 |
Major opcode of failed request: 150 (GLX) |
16 |
Minor opcode of failed request: 3 (X_GLXCreateContext) |
17 |
Value in failed request: 0x0 |
18 |
Serial number of failed request: 114 |
19 |
Current serial number in output stream: 115 |
20 |
|
21 |
This reverts commit 57ba9eb2ff8dbe8fddf90cb326a84f38826d189c. |
22 |
|
23 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
24 |
|
25 |
x11-misc/rss-glx/rss-glx-0.9.1-r2.ebuild | 129 ------------------------------- |
26 |
1 file changed, 129 deletions(-) |
27 |
|
28 |
diff --git a/x11-misc/rss-glx/rss-glx-0.9.1-r2.ebuild b/x11-misc/rss-glx/rss-glx-0.9.1-r2.ebuild |
29 |
deleted file mode 100644 |
30 |
index dfa7eb7baa0..00000000000 |
31 |
--- a/x11-misc/rss-glx/rss-glx-0.9.1-r2.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,129 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
-inherit autotools multilib |
39 |
- |
40 |
-MY_P=${PN}_${PV} |
41 |
- |
42 |
-DESCRIPTION="Really Slick OpenGL Screensavers for XScreenSaver" |
43 |
-HOMEPAGE="http://rss-glx.sourceforge.net" |
44 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
45 |
- |
46 |
-LICENSE="GPL-2" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
49 |
-IUSE="+bzip2 openal quesoglc" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- x11-libs/libX11 |
53 |
- x11-libs/libXext |
54 |
- >=media-libs/glew-1.5.1:= |
55 |
- media-libs/mesa |
56 |
- >=media-gfx/imagemagick-6.4:= |
57 |
- >=x11-misc/xscreensaver-5.08-r2 |
58 |
- bzip2? ( app-arch/bzip2 ) |
59 |
- openal? ( >=media-libs/freealut-1.1.0-r1 ) |
60 |
- quesoglc? ( media-libs/quesoglc ) |
61 |
-" |
62 |
-DEPEND=" |
63 |
- ${RDEPEND} |
64 |
- x11-base/xorg-proto |
65 |
- virtual/pkgconfig |
66 |
- sys-apps/sed |
67 |
-" |
68 |
-PATCHES=( |
69 |
- "${FILESDIR}"/${P}-quesoglc.patch |
70 |
- "${FILESDIR}"/${P}-asneeded.patch |
71 |
- "${FILESDIR}"/${P}-imagemagick-7.patch |
72 |
-) |
73 |
-DOCS="ChangeLog README*" |
74 |
-S=${WORKDIR}/${MY_P} |
75 |
- |
76 |
-src_prepare() { |
77 |
- default |
78 |
- |
79 |
- sed -i \ |
80 |
- -e '/CFLAGS=/s:-O2:${CFLAGS}:' \ |
81 |
- -e '/CXXFLAGS=/s:-O2:${CXXFLAGS}:' \ |
82 |
- -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ |
83 |
- configure.in || die |
84 |
- |
85 |
- eautoreconf |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- econf \ |
90 |
- $(use_enable bzip2) \ |
91 |
- $(use_enable openal sound) \ |
92 |
- $(use_with quesoglc) \ |
93 |
- --bindir=/usr/$(get_libdir)/misc/xscreensaver \ |
94 |
- --disable-dependency-tracking \ |
95 |
- --disable-static \ |
96 |
- --enable-shared \ |
97 |
- --with-configdir=/usr/share/xscreensaver/config |
98 |
-} |
99 |
- |
100 |
-pkg_postinst() { |
101 |
- local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver" |
102 |
- |
103 |
- if [ -f ${xssconf} ]; then |
104 |
- sed -e '/*programs:/a\ |
105 |
- GL: \"Cyclone\" cyclone --root \\n\\\ |
106 |
- GL: \"Euphoria\" euphoria --root \\n\\\ |
107 |
- GL: \"Fieldlines\" fieldlines --root \\n\\\ |
108 |
- GL: \"Flocks\" flocks --root \\n\\\ |
109 |
- GL: \"Flux\" flux --root \\n\\\ |
110 |
- GL: \"Helios\" helios --root \\n\\\ |
111 |
- GL: \"Hyperspace\" hyperspace --root \\n\\\ |
112 |
- GL: \"Lattice\" lattice --root \\n\\\ |
113 |
- GL: \"Plasma\" plasma --root \\n\\\ |
114 |
- GL: \"Pixelcity\" pixelcity --root \\n\\\ |
115 |
- GL: \"Skyrocket\" skyrocket --root \\n\\\ |
116 |
- GL: \"Solarwinds\" solarwinds --root \\n\\\ |
117 |
- GL: \"Colorfire\" colorfire --root \\n\\\ |
118 |
- GL: \"Hufos Smoke\" hufo_smoke --root \\n\\\ |
119 |
- GL: \"Hufos Tunnel\" hufo_tunnel --root \\n\\\ |
120 |
- GL: \"Sundancer2\" sundancer2 --root \\n\\\ |
121 |
- GL: \"BioF\" biof --root \\n\\\ |
122 |
- GL: \"BusySpheres\" busyspheres --root \\n\\\ |
123 |
- GL: \"SpirographX\" spirographx --root \\n\\\ |
124 |
- GL: \"MatrixView\" matrixview --root \\n\\\ |
125 |
- GL: \"Lorenz\" lorenz --root \\n\\\ |
126 |
- GL: \"Drempels\" drempels --root \\n\\\ |
127 |
- GL: \"Feedback\" feedback --root \\n\\' \ |
128 |
- -i ${xssconf} || die |
129 |
- fi |
130 |
-} |
131 |
- |
132 |
-pkg_postrm() { |
133 |
- local xssconf="${ROOT}usr/share/X11/app-defaults/XScreenSaver" |
134 |
- |
135 |
- if [ -f ${xssconf} ]; then |
136 |
- sed \ |
137 |
- -e '/\"Cyclone\" cyclone/d' \ |
138 |
- -e '/\"Euphoria\" euphoria/d' \ |
139 |
- -e '/\"Fieldlines\" fieldlines/d' \ |
140 |
- -e '/\"Flocks\" flocks/d' \ |
141 |
- -e '/\"Flux\" flux/d' \ |
142 |
- -e '/\"Helios\" helios/d' \ |
143 |
- -e '/\"Hyperspace\" hyperspace/d' \ |
144 |
- -e '/\"Lattice\" lattice/d' \ |
145 |
- -e '/\"Plasma\" plasma/d' \ |
146 |
- -e '/\"Pixelcity\" pixelcity/d' \ |
147 |
- -e '/\"Skyrocket\" skyrocket/d' \ |
148 |
- -e '/\"Solarwinds\" solarwinds/d' \ |
149 |
- -e '/\"Colorfire\" colorfire/d' \ |
150 |
- -e '/\"Hufos Smoke\" hufo_smoke/d' \ |
151 |
- -e '/\"Hufos Tunnel\" hufo_tunnel/d' \ |
152 |
- -e '/\"Sundancer2\" sundancer2/d' \ |
153 |
- -e '/\"BioF\" biof/d' \ |
154 |
- -e '/\"BusySpheres\" busyspheres/d' \ |
155 |
- -e '/\"SpirographX\" spirographx/d' \ |
156 |
- -e '/\"MatrixView\" matrixview/d' \ |
157 |
- -e '/\"Lorenz\" lorenz/d' \ |
158 |
- -e '/\"Drempels\" drempels/d' \ |
159 |
- -e '/\"Feedback\" feedback/d' \ |
160 |
- -i ${xssconf} || die |
161 |
- fi |
162 |
-} |