1 |
commit: 1d74cf370dd7ee26b2c073cd1c36eb9c41bfc07e |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Mar 27 16:25:55 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 09:06:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d74cf37 |
7 |
|
8 |
x11-misc/dzen: drop 0.9.5-r1 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
x11-misc/dzen/Manifest | 1 - |
14 |
x11-misc/dzen/dzen-0.9.5-r1.ebuild | 77 ------------------ |
15 |
.../dzen/files/dzen-0.9.5-config-default.patch | 95 ---------------------- |
16 |
x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch | 11 --- |
17 |
4 files changed, 184 deletions(-) |
18 |
|
19 |
diff --git a/x11-misc/dzen/Manifest b/x11-misc/dzen/Manifest |
20 |
index a2c5084c6e3..40b595bf9e6 100644 |
21 |
--- a/x11-misc/dzen/Manifest |
22 |
+++ b/x11-misc/dzen/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST dzen-0.9.5.tar.gz 38167 BLAKE2B 92297cceca2215d812aa4536bd7421ab992a372667ca832de70a2bf43faea4b5e7beb147a454d7ced5be4e53085f4eaf15d752888ee019d799cd3bb8fcbdb6ba SHA512 ed4eb5d657d8f3822d8fbf224da5c2d415852c340959840051ec9cfc63f90361e09b9d36cb8221cf046ae66af02b9fab67f4f16c834c5895e801d452e4f8a916 |
25 |
DIST dzen-0.9.5_p2.tar.gz 38181 BLAKE2B 0e34228c3795864a1b6ac5a3ac9d0ab4a1b90e065a649caa34d704951007bb1239db920f7ed3e35303f614c6572b6232768d59302b23edab0c11793574fcde3d SHA512 e750ab9c62dad311bf478d79c15ffdc1ef108fe2c3ed5df82316d879aad000bee785d304048f5daae237468f6fe018f14fc05d0114d68d873f766dbf1dfebbc9 |
26 |
|
27 |
diff --git a/x11-misc/dzen/dzen-0.9.5-r1.ebuild b/x11-misc/dzen/dzen-0.9.5-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 9addccdf4bb..00000000000 |
30 |
--- a/x11-misc/dzen/dzen-0.9.5-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,77 +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 |
-inherit eutils toolchain-funcs vcs-snapshot |
38 |
- |
39 |
-COMMITID="f7907da3a42a6d59e27ede88f5f01e4e41c4c9e0" |
40 |
- |
41 |
-DESCRIPTION="a general purpose messaging, notification and menuing program for X11" |
42 |
-HOMEPAGE="https://github.com/robm/dzen" |
43 |
-SRC_URI="https://github.com/robm/${PN}/tarball/${COMMITID} -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-KEYWORDS="amd64 x86" |
47 |
-IUSE="minimal xft xinerama xpm" |
48 |
-SLOT="2" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- x11-libs/libX11 |
52 |
- xft? ( x11-libs/libXft ) |
53 |
- xinerama? ( x11-libs/libXinerama ) |
54 |
- xpm? ( x11-libs/libXpm ) |
55 |
-" |
56 |
-DEPEND=" |
57 |
- ${RDEPEND} |
58 |
- virtual/pkgconfig |
59 |
- x11-base/xorg-proto |
60 |
-" |
61 |
- |
62 |
-DOCS=( README ) |
63 |
- |
64 |
-src_prepare() { |
65 |
- epatch \ |
66 |
- "${FILESDIR}"/${P}-config-default.patch \ |
67 |
- "${FILESDIR}"/${P}-off-by-one.patch |
68 |
- |
69 |
- sed -i \ |
70 |
- -e '/strip/d' \ |
71 |
- -e 's:^ @: :g' \ |
72 |
- -e 's:{CC}:(CC):g' \ |
73 |
- Makefile gadgets/Makefile || die |
74 |
- |
75 |
- tc-export CC PKG_CONFIG |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- if use xinerama ; then |
80 |
- sed -e '/^LIBS/s|$| -lXinerama|' \ |
81 |
- -e '/^CFLAGS/s|$| -DDZEN_XINERAMA|' \ |
82 |
- -i config.mk || die |
83 |
- fi |
84 |
- if use xpm ; then |
85 |
- sed -e '/^LIBS/s|$| -lXpm|' \ |
86 |
- -e '/^CFLAGS/s|$| -DDZEN_XPM|' \ |
87 |
- -i config.mk || die |
88 |
- fi |
89 |
- if use xft ; then |
90 |
- sed -e '/^LIBS/s|$| $(shell ${PKG_CONFIG} --libs xft)|' \ |
91 |
- -e '/^CFLAGS/s|$| -DDZEN_XFT $(shell ${PKG_CONFIG} --cflags xft)|' \ |
92 |
- -i config.mk || die |
93 |
- fi |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- default |
98 |
- use minimal || emake -C gadgets |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- default |
103 |
- |
104 |
- if ! use minimal ; then |
105 |
- emake -C gadgets DESTDIR="${D}" install |
106 |
- dobin gadgets/*.sh |
107 |
- dodoc gadgets/README* |
108 |
- fi |
109 |
-} |
110 |
|
111 |
diff --git a/x11-misc/dzen/files/dzen-0.9.5-config-default.patch b/x11-misc/dzen/files/dzen-0.9.5-config-default.patch |
112 |
deleted file mode 100644 |
113 |
index 2fcdddbf6a6..00000000000 |
114 |
--- a/x11-misc/dzen/files/dzen-0.9.5-config-default.patch |
115 |
+++ /dev/null |
116 |
@@ -1,95 +0,0 @@ |
117 |
---- a/config.mk |
118 |
-+++ b/config.mk |
119 |
-@@ -4,7 +4,7 @@ |
120 |
- # Customize below to fit your system |
121 |
- |
122 |
- # paths |
123 |
--PREFIX = /usr/local |
124 |
-+PREFIX = /usr |
125 |
- MANPREFIX = ${PREFIX}/share/man |
126 |
- |
127 |
- X11INC = /usr/X11R6/include |
128 |
-@@ -19,55 +19,12 @@ |
129 |
- # Comment : Add # to the beginning of the respective lines |
130 |
- |
131 |
- ## Option 1: No Xinerama no XPM no XFT |
132 |
--#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 |
133 |
--#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" |
134 |
-- |
135 |
-- |
136 |
--## Option 2: No Xinerama with XPM |
137 |
--#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm |
138 |
--#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM |
139 |
-- |
140 |
-- |
141 |
--# Option 3: With Xinerama no XPM |
142 |
--#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama |
143 |
--#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA |
144 |
-- |
145 |
-- |
146 |
--## Option 4: With Xinerama and XPM |
147 |
--#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm |
148 |
--#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM |
149 |
-- |
150 |
-- |
151 |
--## Option 5: With XFT |
152 |
--LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft` |
153 |
--CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cflags xft` |
154 |
-- |
155 |
-- |
156 |
--## Option 6: With XPM and XFT |
157 |
--#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXpm `pkg-config --libs xft` |
158 |
--#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft` |
159 |
-- |
160 |
-- |
161 |
--## Option 7: With Xinerama and XPM and XFT |
162 |
--#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft` |
163 |
--#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft` |
164 |
-- |
165 |
-- |
166 |
-+LIBS = -lX11 |
167 |
-+CFLAGS += -Wall ${INCS} -DVERSION=\"${VERSION}\" |
168 |
- |
169 |
- # END of feature configuration |
170 |
- |
171 |
-- |
172 |
--LDFLAGS = ${LIBS} |
173 |
-- |
174 |
--# Solaris, uncomment for Solaris |
175 |
--#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" |
176 |
--#LDFLAGS = ${LIBS} |
177 |
--#CFLAGS += -xtarget=ultra |
178 |
-- |
179 |
--# Debugging |
180 |
--#CFLAGS = ${INCS} -DVERSION=\"${VERSION}\" -std=gnu89 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -O2 -pipe -DDZEN_XFT `pkg-config --cflags xft` |
181 |
--#LDFLAGS = ${LIBS} |
182 |
-+LDFLAGS += ${LIBS} |
183 |
- |
184 |
- # compiler and linker |
185 |
--CC = gcc |
186 |
--LD = ${CC} |
187 |
-+LD = $(CC) |
188 |
---- a/gadgets/config.mk |
189 |
-+++ b/gadgets/config.mk |
190 |
-@@ -1,7 +1,7 @@ |
191 |
- # Customize below to fit your system |
192 |
- |
193 |
- # paths |
194 |
--PREFIX = /usr/local |
195 |
-+PREFIX = /usr |
196 |
- MANPREFIX = ${PREFIX}/share/man |
197 |
- |
198 |
- X11INC = /usr/X11R6/include |
199 |
-@@ -10,9 +10,8 @@ |
200 |
- X11LIB = /usr/X11R6/lib |
201 |
- LIBS = -L/usr/lib |
202 |
- |
203 |
--CFLAGS = -Os ${INCS} |
204 |
--LDFLAGS = ${LIBS} |
205 |
-+CFLAGS += ${INCS} |
206 |
-+LDFLAGS += ${LIBS} |
207 |
- |
208 |
- # compiler and linker |
209 |
--CC = gcc |
210 |
--LD = ${CC} |
211 |
-+LD = $(CC) |
212 |
|
213 |
diff --git a/x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch b/x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch |
214 |
deleted file mode 100644 |
215 |
index 008fd645501..00000000000 |
216 |
--- a/x11-misc/dzen/files/dzen-0.9.5-off-by-one.patch |
217 |
+++ /dev/null |
218 |
@@ -1,11 +0,0 @@ |
219 |
---- a/main.c |
220 |
-+++ b/main.c |
221 |
-@@ -109,7 +109,7 @@ |
222 |
- rem = NULL; |
223 |
- } |
224 |
- while(off < len) { |
225 |
-- if(i > MAX_LINE_LEN) { |
226 |
-+ if(i == MAX_LINE_LEN - 1) { |
227 |
- outbuf[i] = '\0'; |
228 |
- return ++off; |
229 |
- } |