1 |
commit: 87701882b43c2c6d9487f98a4d440f949085a087 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 1 21:20:05 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 1 21:25:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87701882 |
7 |
|
8 |
x11-misc/habak: treeclean |
9 |
|
10 |
Closes: https://bugs.gentoo.org/464364 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 5 - |
14 |
x11-misc/habak/Manifest | 1 - |
15 |
x11-misc/habak/files/README.en | 165 ---------------------- |
16 |
x11-misc/habak/files/habak-0.2.5-fno-common.patch | 33 ----- |
17 |
x11-misc/habak/files/habak-0.2.5-gentoo.patch | 30 ---- |
18 |
x11-misc/habak/habak-0.2.5-r3.ebuild | 38 ----- |
19 |
x11-misc/habak/metadata.xml | 8 -- |
20 |
7 files changed, 280 deletions(-) |
21 |
|
22 |
diff --git a/profiles/package.mask b/profiles/package.mask |
23 |
index e73d8d0d876c..0133bd6ea3c0 100644 |
24 |
--- a/profiles/package.mask |
25 |
+++ b/profiles/package.mask |
26 |
@@ -395,11 +395,6 @@ x11-plugins/purple-facebook |
27 |
# Removal on 2022-02-01. Bug #828875. |
28 |
x11-misc/3ddesktop |
29 |
|
30 |
-# Jonas Stein <jstein@g.o> (2021-12-20) |
31 |
-# Package is broken and obsolete. |
32 |
-# Removal on 2022-02-01. Bug #464364. |
33 |
-x11-misc/habak |
34 |
- |
35 |
# Mart Raudsepp <leio@g.o> (2021-12-18) |
36 |
# GNOME 42 mask |
37 |
>=gui-libs/libhandy-1.5.0 |
38 |
|
39 |
diff --git a/x11-misc/habak/Manifest b/x11-misc/habak/Manifest |
40 |
deleted file mode 100644 |
41 |
index ce4b06b92680..000000000000 |
42 |
--- a/x11-misc/habak/Manifest |
43 |
+++ /dev/null |
44 |
@@ -1 +0,0 @@ |
45 |
-DIST habak-0.2.5-sourceforge.tar.gz 28747 BLAKE2B 60c6f60e0a16dca2091f41c9e4f419e5fb4be88a3ce44de98d91740f94e468fb7bd64bbf0b399b64035c21547b50fccf2e40954e0ff59ab1f1c0ce8dc6e56670 SHA512 4b1ff1484c65f74441b297e558360a8f2ea8f12ac63c4b74f846e41328dd84a1d619bde55e81224c3bd527897625e17bc07a6bb0d4cc3bd0eec6f4e787201277 |
46 |
|
47 |
diff --git a/x11-misc/habak/files/README.en b/x11-misc/habak/files/README.en |
48 |
deleted file mode 100644 |
49 |
index 0bdbc259119f..000000000000 |
50 |
--- a/x11-misc/habak/files/README.en |
51 |
+++ /dev/null |
52 |
@@ -1,165 +0,0 @@ |
53 |
-Habak - "Ha" Background |
54 |
-========= |
55 |
- |
56 |
-Compilation: |
57 |
- We need a compiler, X server and Imlib2. Just run make, that's all. |
58 |
- |
59 |
-Installation: |
60 |
- Well, place a ready binary where you want. |
61 |
- |
62 |
-A short review: |
63 |
- |
64 |
- |
65 |
-Habak is using layers. The lowest layer is just a black screen. |
66 |
-On this you can place other objects, called habaks. There are |
67 |
-three kinds of habaks: graphic files (images), fonts and "internal objects" |
68 |
-(internals). Wallaper is created by putting on a black screen |
69 |
-one or more habaks. An order of habaks in command line is an order |
70 |
-of putting them on desktop, so the last habak will be drawed above |
71 |
-previous habaks. |
72 |
- |
73 |
-Kinds of habaks: |
74 |
- |
75 |
- |
76 |
-Files (images) are included by -i option, ie: |
77 |
- |
78 |
-./habak -i ~/graphics/wallpaper.jpg |
79 |
- |
80 |
-will include to desktop wallpaper.jpg file. If you typed after -i not a file, |
81 |
-but a directory, habak would create a list of files contained within, randomly |
82 |
-select any one of them, and then try to load it. In other words, |
83 |
-if you have a lot of pictures in ~/gfx/nice_wallpapers/ then habak |
84 |
-can choose random image. You only need to run './habak -i ~/gfx/nice_wallpapers/' |
85 |
- |
86 |
-Aside from files, you can use fonts (TrueType). Option -f will be useful in this |
87 |
-case. By means of -f option you have to point a file with TrueType font, ie. |
88 |
- |
89 |
-./habak -f ~/.fonts/nice_font.ttf |
90 |
- |
91 |
-You can set a size of font, by typing it following slash after font name, ie |
92 |
-'./habak -f ~/.fonts/nice_font.ttf/50' |
93 |
- |
94 |
-Third (and last) type of habaks are internal habaks. You can enable them |
95 |
-by the -I option. They are not adopting any external data, but |
96 |
-themself generate some patterns. At this moment only two patterns |
97 |
-are available, "int" and "INT", which do an interlacing. For example: |
98 |
- |
99 |
-./habak -I int |
100 |
- |
101 |
-Internal habak "int" do an interlacing, by turning out even lines |
102 |
-of image. Very nice effect, especially if wallpaper is gaudy. |
103 |
-"INT" habak works identical as "int", but turns out odd lines |
104 |
-(by putting together "int" and "INT" you can turn out all lines of screen). |
105 |
- |
106 |
-By default lines aren't turned out in fact, but darked (in my opinion |
107 |
-it generates a better effect), but you can control it by |
108 |
--c color modifier (i will tell about it later). |
109 |
- |
110 |
- |
111 |
-USAGE PHILOSOPHY |
112 |
-You can (and you should to) put habaks together, ie. |
113 |
- |
114 |
-./habak -i ~/gfx/cool.jpg -I int -i ~/gfx/small_logo.png -f ~/.fonts/deltafont.ttf -f ~/.fonts/deltafont.ttf/10 |
115 |
- |
116 |
-that syntax means, that habak will firstly draw coll.jpg file, |
117 |
-then put on internal habak "interlace", and then will draw small_logo.png |
118 |
-image, then deltafont.ttf font, and eventually one more time deltafont.ttf |
119 |
-file, but this time with size of 10 pixels. Simple. |
120 |
- |
121 |
-MODIFIERS |
122 |
-Obviously, alone habaks wouldn't be so elastic, so there are available a lot |
123 |
-of modifiers that affect on them look. Some modifiers are even |
124 |
-necessary. Modifiers are options, that are given following |
125 |
-a definition of any habak - they affect only just followed habak. |
126 |
- |
127 |
-Modifier -C |
128 |
--C is a centering modifier. Habak that is followed by this modifier will be |
129 |
-centered on the screen. |
130 |
- |
131 |
-Modifier -S |
132 |
--S is a scaling modifier. Habak treated by this modifier will be scaled |
133 |
-to fill whole screen (but with proportions saved). Using it have a sense |
134 |
-only for file habaks (images). |
135 |
- |
136 |
-Modifier -p |
137 |
--p is a position modifier. It precisely determines position of habak |
138 |
-on desktop. This modifier requires also additional parameter, in the |
139 |
-form of 'x,y', ie. |
140 |
- |
141 |
-./habak -i ~/gfx/meggy.jpg -p 10,50 |
142 |
- |
143 |
-will render meggy.jpg file with upper-left corner in point 10,50 on desktop. |
144 |
-Coortinates can be negative, so position will be calculated from the |
145 |
-opposite side of screen, ie. |
146 |
- |
147 |
-./habak -i ~/gfx/meggy.jpg -p -10,50 |
148 |
- |
149 |
-will calculate "the beggining" position of habak to a ten pixels from |
150 |
-right and 50 pixels from upper side of screen. To place habak for example |
151 |
-in upper-right corner, you should use '-p -0,0' |
152 |
- |
153 |
-Modifier -c |
154 |
--c is a color modifier. Some habaks supports choosing a color |
155 |
-(at this time only font habaks and internal habaks). -C option |
156 |
-require parameter, that describe color in form of R,G,B,A, ie. |
157 |
- |
158 |
-./habak -I int -c 50,60,70,190 |
159 |
- |
160 |
-means using "int" habak with color: |
161 |
-- red component set to 50 |
162 |
-- green component set to 60 |
163 |
-- blue component set to 70 |
164 |
-- alpha channel set to 190 |
165 |
- |
166 |
-All numbers accepts numbers from 0 (minimal saturation) to 255 |
167 |
-(maximal saturation). |
168 |
- |
169 |
-For example '-c 0,0,0,255' means black, fully not transparent color, |
170 |
-'-c 255,255,255,0' means white, fully transparent color (so just |
171 |
-not visible), and '-c 200,0,0,128' is a strong red and transparent |
172 |
-in 50% color. |
173 |
- |
174 |
-Modifier -t |
175 |
-This modifier is a text modifier, works only with font habak. |
176 |
-As parameter accepts only one line of text, that is rendered |
177 |
-by the font habak. Any text is accepted, you can write kernel |
178 |
-version, date, your name, name of favourite distribution or |
179 |
-image of cat that have a lie-in on your printer. Select something, |
180 |
-i like a date, text will be nicely antialiased, if you want to use |
181 |
-not ASCII characters, you have to use utf-8 encoding. |
182 |
- |
183 |
-For example. |
184 |
- |
185 |
-./habak -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-0 -c 240,240,240,200 |
186 |
- |
187 |
-will render on a black screen for example text "User gregory on day |
188 |
-2003-12-21", using deltafont.ttf font in size of 15 pixels. Text |
189 |
-will be placed in lower-left corner of screen, gray color and will |
190 |
-be transparent a little. |
191 |
- |
192 |
-Obviously it is a so simple example, you can complicate it: |
193 |
- |
194 |
-./habak -i /usr/local/share/backgrounds/lens -C -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-0 -c 240,240,240,200 |
195 |
- |
196 |
-Now on the background firstly will be placed centered image |
197 |
-from /usr/local/share/backgrounds/lens directory, and that |
198 |
-text will be rendered on it. You can complicate it yet: |
199 |
- |
200 |
-./habak -i /usr/local/share/backgrounds/lens -C -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 5,-0 -c 240,240,240,100 -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-5 -c 240,240,240,255 |
201 |
- |
202 |
-This situation is simpilar, but i complicated text a little - |
203 |
-i generats *two* font habaks with the same content, but |
204 |
-one of it is displacemented a little, and have smaller |
205 |
-transparency. It gives so nice effect of shadow under text. By |
206 |
-putting together *several* such shadows differenced in size of font |
207 |
-and intensivity of transparency you can achieve fantastic effects. |
208 |
- |
209 |
-Finally, fire up: |
210 |
- |
211 |
-./habak -i /usr/local/share/backgrounds/lens -C -I int -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 5,-0 -c 240,240,240,100 -f ~/.fonts/deltafont.ttf/15 -t "User $USER on day `date +%Y-%m-%d`" -p 0,-5 -c 240,240,240,255 |
212 |
- |
213 |
-Here i added an internal habak "interlace", between picture |
214 |
-from /usr/local/share/backgrounds/lens and font habaks, so |
215 |
-image is faced by small grid of interlacing, but text is not |
216 |
-(because it is placed above interlacing). |
217 |
- |
218 |
|
219 |
diff --git a/x11-misc/habak/files/habak-0.2.5-fno-common.patch b/x11-misc/habak/files/habak-0.2.5-fno-common.patch |
220 |
deleted file mode 100644 |
221 |
index 0fad5f4df563..000000000000 |
222 |
--- a/x11-misc/habak/files/habak-0.2.5-fno-common.patch |
223 |
+++ /dev/null |
224 |
@@ -1,33 +0,0 @@ |
225 |
---- a/src/random.c |
226 |
-+++ b/src/random.c |
227 |
-@@ -8,12 +8,15 @@ |
228 |
- #include <regex.h> |
229 |
- |
230 |
- #include <errno.h> |
231 |
-+ |
232 |
-+#include "i.h" |
233 |
-+ |
234 |
- extern int errno; |
235 |
- int syserr; |
236 |
- |
237 |
- #define ALLOC_STEP 1000 |
238 |
- regex_t regexp; |
239 |
--int size_files=0, used_files=0, i=0; |
240 |
-+int size_files=0, used_files=0; |
241 |
- char **files, *wyjscie; |
242 |
- regmatch_t matchpos; |
243 |
- |
244 |
---- a/src/habak.c |
245 |
-+++ b/src/habak.c |
246 |
-@@ -14,6 +14,7 @@ |
247 |
- #include <Imlib2.h> |
248 |
- #include "types.h" |
249 |
- #include "proto.h" |
250 |
-+#include "i.h" |
251 |
- |
252 |
- habak_l *current_list_item=NULL, *first_list_item=NULL; |
253 |
- habak_t *current_habak; |
254 |
---- /dev/null |
255 |
-+++ b/src/i.h |
256 |
-@@ -0,0 +1 @@ |
257 |
-+extern int i; |
258 |
|
259 |
diff --git a/x11-misc/habak/files/habak-0.2.5-gentoo.patch b/x11-misc/habak/files/habak-0.2.5-gentoo.patch |
260 |
deleted file mode 100644 |
261 |
index 2dd77451f8ad..000000000000 |
262 |
--- a/x11-misc/habak/files/habak-0.2.5-gentoo.patch |
263 |
+++ /dev/null |
264 |
@@ -1,30 +0,0 @@ |
265 |
---- a/src/Makefile |
266 |
---- b/src/Makefile |
267 |
-@@ -2,22 +2,22 @@ |
268 |
- #LDFLAGS = -L/usr/X11R6/lib -lImlib2 -lm -g -ggdb |
269 |
- |
270 |
- CFLAGS += -I/usr/X11R6/include -Wall |
271 |
--LDFLAGS += -L/usr/X11R6/lib -lImlib2 -lm |
272 |
-+LIBS = -lm $(shell $(PKG_CONFIG) --libs imlib2 x11) |
273 |
- |
274 |
- all: habak |
275 |
- ln -f habak ../habak |
276 |
- |
277 |
- habak: xcore.o random.o habak.o |
278 |
-- gcc $(LDFLAGS) -o habak xcore.o random.o habak.o |
279 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o habak xcore.o random.o habak.o $(LIBS) |
280 |
- |
281 |
- habak.o: habak.c types.h defaults.h proto.h |
282 |
-- gcc $(CFLAGS) -c habak.c -o habak.o |
283 |
-+ $(CC) $(CFLAGS) -c habak.c -o habak.o |
284 |
- |
285 |
- random.o: random.c proto.h |
286 |
-- gcc $(CFLAGS) -c random.c -o random.o |
287 |
-+ $(CC) $(CFLAGS) -c random.c -o random.o |
288 |
- |
289 |
- xcore.o: xcore.c |
290 |
-- gcc $(CFLAGS) -c xcore.c -o xcore.o |
291 |
-+ $(CC) $(CFLAGS) -c xcore.c -o xcore.o |
292 |
- |
293 |
- clean: |
294 |
- rm habak *.o |
295 |
|
296 |
diff --git a/x11-misc/habak/habak-0.2.5-r3.ebuild b/x11-misc/habak/habak-0.2.5-r3.ebuild |
297 |
deleted file mode 100644 |
298 |
index 4f033af7e179..000000000000 |
299 |
--- a/x11-misc/habak/habak-0.2.5-r3.ebuild |
300 |
+++ /dev/null |
301 |
@@ -1,38 +0,0 @@ |
302 |
-# Copyright 1999-2021 Gentoo Authors |
303 |
-# Distributed under the terms of the GNU General Public License v2 |
304 |
- |
305 |
-EAPI=7 |
306 |
-inherit toolchain-funcs |
307 |
- |
308 |
-DESCRIPTION="A simple but powerful tool to set desktop wallpaper" |
309 |
-HOMEPAGE="https://sourceforge.net/projects/fvwm-crystal/" |
310 |
-SRC_URI="https://sourceforge.net/projects/fvwm-crystal/files/${PN}/${PV}/${P}.tar.gz/download -> ${P}-sourceforge.tar.gz" |
311 |
- |
312 |
-LICENSE="GPL-2" |
313 |
-SLOT="0" |
314 |
-KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" |
315 |
- |
316 |
-RDEPEND=" |
317 |
- media-libs/imlib2[X] |
318 |
- x11-libs/libX11 |
319 |
-" |
320 |
-DEPEND=" |
321 |
- ${RDEPEND} |
322 |
- virtual/pkgconfig |
323 |
- x11-base/xorg-proto |
324 |
-" |
325 |
-DOCS=( ChangeLog README TODO "${FILESDIR}"/README.en ) |
326 |
-PATCHES=( |
327 |
- "${FILESDIR}"/${P}-fno-common.patch |
328 |
- "${FILESDIR}"/${P}-gentoo.patch |
329 |
-) |
330 |
- |
331 |
-src_compile() { |
332 |
- tc-export CC PKG_CONFIG |
333 |
- emake -C src ${PN} |
334 |
-} |
335 |
- |
336 |
-src_install() { |
337 |
- dobin src/${PN} |
338 |
- einstalldocs |
339 |
-} |
340 |
|
341 |
diff --git a/x11-misc/habak/metadata.xml b/x11-misc/habak/metadata.xml |
342 |
deleted file mode 100644 |
343 |
index 3ab9b4a739d3..000000000000 |
344 |
--- a/x11-misc/habak/metadata.xml |
345 |
+++ /dev/null |
346 |
@@ -1,8 +0,0 @@ |
347 |
-<?xml version="1.0" encoding="UTF-8"?> |
348 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
349 |
-<pkgmetadata> |
350 |
-<maintainer type="project"> |
351 |
- <email>desktop-misc@g.o</email> |
352 |
- <name>Gentoo Desktop Miscellaneous Project</name> |
353 |
-</maintainer> |
354 |
-</pkgmetadata> |