diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-02-25 23:16:01 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-02-25 23:16:01 +0000 |
commit | 5b5ccc003d5d0832d8451f3c77126adfbaee4c18 (patch) | |
tree | ea7dc9a2169eee0d7e9e783f8d4f51d70cd24652 /media-gfx | |
parent | Fix FLAC playback after security fix. (diff) | |
download | historical-5b5ccc003d5d0832d8451f3c77126adfbaee4c18.tar.gz historical-5b5ccc003d5d0832d8451f3c77126adfbaee4c18.tar.bz2 historical-5b5ccc003d5d0832d8451f3c77126adfbaee4c18.zip |
Remove old ebuilds.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/greycstoration/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/splashutils/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/splashutils/Manifest | 26 | ||||
-rw-r--r-- | media-gfx/splashutils/files/splashutils-1.4.2-getcfg.patch | 13 | ||||
-rw-r--r-- | media-gfx/splashutils/files/splashutils-1.4.2-misc-strip.patch | 25 | ||||
-rw-r--r-- | media-gfx/splashutils/files/splashutils-1.4.2-rcabort.patch | 41 | ||||
-rw-r--r-- | media-gfx/splashutils/splashutils-1.4.2.1.ebuild | 205 | ||||
-rw-r--r-- | media-gfx/splashutils/splashutils-1.4.2.ebuild | 213 | ||||
-rw-r--r-- | media-gfx/splashutils/splashutils-1.5.3.2.ebuild | 199 | ||||
-rw-r--r-- | media-gfx/splashutils/splashutils-1.5.3.3.ebuild | 198 |
10 files changed, 17 insertions, 917 deletions
diff --git a/media-gfx/greycstoration/Manifest b/media-gfx/greycstoration/Manifest new file mode 100644 index 000000000000..af98ca490bb2 --- /dev/null +++ b/media-gfx/greycstoration/Manifest @@ -0,0 +1,4 @@ +DIST CImg-1.2.7.tar.gz 5945505 RMD160 6f6cb6c05d126c5408807c8eac5b620dea010cee SHA1 40efd983a7d95cc5dc9b08a04620211f08f29a28 SHA256 ae562feae3b6d900cc959c3bc6742485828ca6f55321e8e94a8df7be041b18f3 +EBUILD greycstoration-1.2.7.ebuild 1533 RMD160 6220e18d99d19d57f5ee4a2cc5d47773d75f6830 SHA1 439843fc599751dfae788fe91f1d146e320b01a5 SHA256 1db6572303bdb43e148b499526f718b6b5e765f8f668e3aa425a5839a19a105c +MISC ChangeLog 393 RMD160 2f2e3c7409b050d40b3b929c5897280552f4d511 SHA1 edffc6e9cc090ebadbb1a6dfd889b9f0196cdd81 SHA256 65d27d613db2f988914581a986296841b68f7fb37927af9451e79cda193248b7 +MISC metadata.xml 232 RMD160 4c7ab29da7172e74adfd87ebb5eb6fb5475a82be SHA1 7b98547e067cdaccb43f37be116d5b15befef8e9 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog index c7e3efc4719b..de2961117464 100644 --- a/media-gfx/splashutils/ChangeLog +++ b/media-gfx/splashutils/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-gfx/splashutils # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.130 2008/02/25 23:03:56 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.131 2008/02/25 23:16:00 spock Exp $ + + 25 Feb 2008; Michał Januszewski <spock@gentoo.org> + -files/splashutils-1.4.2-getcfg.patch, + -files/splashutils-1.4.2-misc-strip.patch, + -files/splashutils-1.4.2-rcabort.patch, -splashutils-1.4.2.ebuild, + -splashutils-1.4.2.1.ebuild, -splashutils-1.5.3.2.ebuild, + -splashutils-1.5.3.3.ebuild: + Remove old ebuilds. *splashutils-1.5.4 (25 Feb 2008) diff --git a/media-gfx/splashutils/Manifest b/media-gfx/splashutils/Manifest index 1a2dfbe7efa7..cd29fd81852a 100644 --- a/media-gfx/splashutils/Manifest +++ b/media-gfx/splashutils/Manifest @@ -1,45 +1,27 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX splashutils-1.4.2-getcfg.patch 336 RMD160 73f1c0e85ea4cac92fa323447742fc08db0bb8bd SHA1 5330ed4437334cb479dfd9edfb78075f3fc2e349 SHA256 9073cd34faba8b41a66b9bad28cfadb71cb216c3288c20d852eb2aea3d035d70 -AUX splashutils-1.4.2-misc-strip.patch 419 RMD160 c95789d5725b54799ca28518a5df942ea28a76e7 SHA1 815d90caa7958bfb1d5ddb2bee6caf067ea84b17 SHA256 3c8568055088c610f55d9d03960a06bd3635f3b7da9bce78f05df0e82f92b84a -AUX splashutils-1.4.2-rcabort.patch 1214 RMD160 d09a6cf2d329558d889370501a3ab512e45ea8fe SHA1 d2306bde95cc8beb84dd204e3cbb8fc6234a73be SHA256 61935fe7f392b6e80df958c789fa840a11ced7f51d662afd77a76ef4e490c8b3 AUX splashutils-1.5.2.1-baselayout-rc5.patch 15339 RMD160 1f2b75a749ec41477d5e79a1599142140e33ae9e SHA1 05cc546e907c45f31690229516a10ac33919ecc5 SHA256 8365daf464a979e44a619c9f96aeb85af5bbc2c416a1d15be032f99261175f78 -DIST freetype-2.1.9.tar.bz2 992394 RMD160 1dd8fb6fda8b159ef0d2ebedeca99a67ed65dc72 SHA1 a3c3a0c0d5f8f6e62c774e24817748a941016990 SHA256 4dabc3b38405f5c5f03b8f14d8902a9d506713182baf2baec9dea509515d4b6f DIST freetype-2.3.5.tar.bz2 1279861 RMD160 2a97cb1c3d93572c094d5d2890d12445ef2786d4 SHA1 45695d44c74be31944d807526a7e69a818e4afd2 SHA256 1b357a3a1106c78c80dfd25e3854c3faa9a3dfc7063a4a1e5404e70c241d677e DIST jpegsrc.v6b.tar.gz 613261 RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 SHA1 7079f0d6c42fad0cfba382cf6ad322add1ace8f9 SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d DIST libpng-1.2.18.tar.bz2 623690 RMD160 ea81056a896eb038fa5d7fde2b7fa626c1a2e31e SHA1 42156e45fa999b242dc63c261e9253ce0dd810ab SHA256 6fce62f9e67e951c38672bf520c062a2be742e893d240d150748a00c32f20c62 -DIST libpng-1.2.8.tar.bz2 384970 RMD160 7de7456faaa4e4361b6b7ed74c87f0702f9cc88c SHA1 b6d73493eea4095166118b298efecb54a8e3d2f5 SHA256 9bec729a1e77d8bbc5800b14aa81f09290aa18daa40f344103f2c0d1d681531b -DIST miscsplashutils-0.1.6.tar.bz2 91945 RMD160 4d415db9cf1dd90bf4ceaae930033cf65e93b908 SHA1 dd7a1766be0b604b35ffadd0a9f7d9cd18b68632 SHA256 fd08a56ba801fb6e55e90558f66cb839ac10a361a2a7ae2ab711d8a77f124332 -DIST miscsplashutils-0.1.7.tar.bz2 91994 RMD160 c3443b677e56f22e5f405f830dedd5591e0e666b SHA1 b3cb80585f068a8e4028967137074353361376de SHA256 0f0828878a3a284591e6a2ca3a6e07c233ab14c268b36efcb6ac0fa8390fc61f DIST miscsplashutils-0.1.8.tar.bz2 91997 RMD160 5efe2bfb8ae409d3e59e82b473454d94e44149ab SHA1 d3d0df74b4f613e505d662134a7af5c0cc488108 SHA256 38e8434c7266126477237c4d9e6cbeca152089ab33c14a7761089b7970f8d336 -DIST splashutils-gentoo-1.0.10.tar.bz2 17195 RMD160 5471fb283c0c5848776e7c270bbac34001801196 SHA1 6dcdf4d2a196f04339f3c1b5b279652233f092f4 SHA256 079143358383c2e6ecf8c47eb03ffc4d65630d90e58eb1a17877707146a33056 DIST splashutils-gentoo-1.0.11.tar.bz2 14879 RMD160 3a067329a72e334c68913906b720e80022b025ea SHA1 5c747a35abd2bc59f274501cce797a6e8793ecb5 SHA256 f2f6a82d34f5438a0bcbf2d79181c15c92ab2ed12881d88db6b271067b616613 DIST splashutils-gentoo-1.0.12.tar.bz2 15110 RMD160 425a85a12db7d94b43f44f0d3ce94eebb82b09ee SHA1 1a3e251e2a3e4dce9ab99f96adb98fb77a3dcf75 SHA256 eeabfce50ace797b124565eccf721ecff4abf04ed1a249364a9a8806be7b4348 -DIST splashutils-gentoo-1.0.2.tar.bz2 14703 RMD160 697e3b3970bf3f38f346e781fc23ad21735219dd SHA1 fda89cc3e27c1d4c348581a596d055f0d7206e5c SHA256 6705146d56a9fc9206bbf6da7d69aaefcdaed29c0771feed495a07534a4cbd00 -DIST splashutils-gentoo-1.0.3.tar.bz2 14962 RMD160 b08698b26b4f4edef2a46d2763e9d1a5df6c44b0 SHA1 3860cfe8a2fadef34e5f79a20829098ad76da23c SHA256 ff65cda5ca4df747efe9724cfab3dd8425ed471e43d7e4f4e01ad66ab666c33f DIST splashutils-gentoo-1.0.8.tar.bz2 16001 RMD160 2a0b057f894c72892ed11f1d3fd1273f04f766fc SHA1 903508a7b135c0ea942e08227cfa8c69dc12d338 SHA256 2b9a5f393a83190ad59e26f511ae4215b55870d06bb1eb1a0091eb5cbf2dfd2b -DIST splashutils-lite-1.4.2.1.tar.bz2 67312 RMD160 a1c97cf1e5739f798ba49d978dcb583ca8229fdf SHA1 24ee316a6f1ab76e6c12280335e8cbabf0d9815c SHA256 6469049067a292f5bd5293b41227b1ca16803ec988d01704d9445a3abd4dbaa6 -DIST splashutils-lite-1.4.2.tar.bz2 67282 RMD160 fcd3f2abe265fc2036de07418b5b8e2b3355e8b1 SHA1 630b378c6a84995ea40b6beb50b6926e6d3252cb SHA256 0468617b3264baca4a78466c9fa080a8688c705d3f8104246c8e8f006139023c DIST splashutils-lite-1.5.2.1.tar.bz2 89714 RMD160 acf3605dfe28fafcd3139f82d4fa00b0d1049998 SHA1 34e8c87267b418c7cf1fb3a3a5642965a7a547ed SHA256 f5b718d52ecd0d5338eb66fa02aa11a32ba1e052c3ba8d00c3776b8d1d2f6430 -DIST splashutils-lite-1.5.3.2.tar.bz2 337849 RMD160 d81143d7103df91b363f6f38c368914b1e331577 SHA1 016b647a2c4ec06de6ac3aa534d31572aa209d83 SHA256 e48d8b2d578ee2aeeeb16172ce711f3ba282b7e2a1974bdcca5ecbb0fb03f36a -DIST splashutils-lite-1.5.3.3.tar.bz2 413745 RMD160 a5bcaf0e08b88b408c32a6f2a872039b1fe10b8e SHA1 433ada58550485b7d8dd134d30462e0ba52bfa5e SHA256 007ee847f5096a625de37b0d2256f6c899602241560b0b86abab53944365ed80 DIST splashutils-lite-1.5.3.4.tar.bz2 414744 RMD160 a1d655786caa6a7bea84d5a17ea0a8c4bb3aae03 SHA1 c908216dd9549d276c561bb77109332c2c61f213 SHA256 4b2a14ed48cc7e18cbc94570f07e05c80f1eca2319ecaaae04f221463de70d97 DIST splashutils-lite-1.5.4.tar.bz2 420243 RMD160 b0b62fb780a5645717a40547c98f5c42b7df9015 SHA1 a6162bc76d32f90558340598d7f6ade4c3ee00ed SHA256 f4473aff8e6efb1008fc4471da968cb7d707cd6badabe03422d95c631305bba3 DIST zlib-1.2.3.tar.bz2 425209 RMD160 cfba9984b354dcc38da49331457e6bfc861c6f51 SHA1 967e280f284d02284b0cd8872a8e2e04bfdc7283 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca -EBUILD splashutils-1.4.2.1.ebuild 6678 RMD160 c2e879a65da76f4f6f6a987c5fc6ecba7ecacde4 SHA1 408918c1352c4a0e921f08ebd539efeca17c737f SHA256 34ed66a3f60c205333aeffb7b59b1fe61cd11d5a1c4b3e10f99ef39ab88d9eb1 -EBUILD splashutils-1.4.2.ebuild 6837 RMD160 fc93b9b3d2f3584cf1e98aee5b4f679a160a0922 SHA1 3d906405d4688d86571faf70fd46c07957f41014 SHA256 dc886049220bcd31d8005cff90436e95577b9c86d7b4aa58acb7ccf6b3b6bbc8 EBUILD splashutils-1.5.2.1.ebuild 7420 RMD160 aa0ced0d43d564d522dadf55a823c9bffcfb80b5 SHA1 1eddc1f44ed7b9384d8860cf84fe08c595a08095 SHA256 15c9cc4266f4ccb6beca3f105bf72fb8bb49b4f4ba9220aadd14fecaf7c99c1e -EBUILD splashutils-1.5.3.2.ebuild 6581 RMD160 6fa6c4a00b79ff55f13e13ec6121e14cfa231249 SHA1 91df7d3f62af00ce1d8bca7c5e3a5daf3ea0b243 SHA256 ba092f168f1dc4c12d712dfd4562203316e7f42bef87a2bce5925fdfc4ebd9c9 -EBUILD splashutils-1.5.3.3.ebuild 6523 RMD160 ddaf5a8e08e0cf4e7608e574abe08856800824e9 SHA1 d1151952bdec4aea315ff92898a2a2373d1ec84c SHA256 831dc9720bd7377010c0d789d3963608f7c0bfe5b0f85461de81e249c8a11243 EBUILD splashutils-1.5.3.4.ebuild 6557 RMD160 46e38e6c0da2b89fb583ae22a1d87e2910a5434e SHA1 8b56dff02823f3d4c81300cac53a1c9ef4fcde4b SHA256 e0ba7278545dec84045b4b7e2c8fa1f15b6f251ba6536a491e75b22370171666 EBUILD splashutils-1.5.4.ebuild 6557 RMD160 28d6c778553f0d3d6908707e8b5f1a3eb48391a3 SHA1 24df3a832244e5f83624752a81b9ae930cc8fcda SHA256 2baf5c45e31c72cd77936decba70d46c15ef35aaa793cbf45ab30f1196563a96 -MISC ChangeLog 24575 RMD160 6dce42c54b2eafd1e506d3f91981c86233f36fec SHA1 89fc068ecf868b7888b7777517902bc0b787f5c5 SHA256 a463757b706490247e49ce0a3a8697cc144472982c8632a86e1125ecc754d46d +MISC ChangeLog 24898 RMD160 e8f656db9d876d9f5c1b397bc1172b45dae7b2cb SHA1 bb7a2dd56fe11f49f2f0a6a5480662a5e1b6157f SHA256 96e12f2fa71dfb9454e34242c2eac71e80408e7490991d55e2615201a9533a82 MISC metadata.xml 220 RMD160 6bb03cb6947aadf2672a58c61c1fb7aa405eaf86 SHA1 7810907f03c5a3ee23eeaa4b42699ce17bc5c3a7 SHA256 969b4125e7620e2fe0d616cb3cabbe52bd79e6c4bdd725ce807d5f4c7c1ad75d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHw0lnchej4aZK9/cRAl4aAJsE7CezadNfvWhsj20WOCPebgf+mwCggTp9 -Nr5hvSuNQKad2J+YOjCR5Zw= -=eI1T +iD8DBQFHw0w6chej4aZK9/cRArbrAJ0ZJsDYcRZvS+amgXxfy1lrKnVyYwCaAt9+ +/wm5lh5oT3PgzB7SQ2WsekQ= +=kCx1 -----END PGP SIGNATURE----- diff --git a/media-gfx/splashutils/files/splashutils-1.4.2-getcfg.patch b/media-gfx/splashutils/files/splashutils-1.4.2-getcfg.patch deleted file mode 100644 index b4b43b85a6d8..000000000000 --- a/media-gfx/splashutils/files/splashutils-1.4.2-getcfg.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/core/kernel.c b/core/kernel.c -index d6d96cd..c9a39fe 100644 ---- a/core/kernel.c -+++ b/core/kernel.c -@@ -254,6 +254,8 @@ int main(int argc, char **argv) - if (parse_cfg(config_file)) - goto out; - -+ fd_splash = open_fbsplash(false); -+ - if (!strcmp(argv[2],"getpic")) { - err = cfg_check_sanity('v'); - if (!err) { diff --git a/media-gfx/splashutils/files/splashutils-1.4.2-misc-strip.patch b/media-gfx/splashutils/files/splashutils-1.4.2-misc-strip.patch deleted file mode 100644 index 8cdb0bd403bb..000000000000 --- a/media-gfx/splashutils/files/splashutils-1.4.2-misc-strip.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/misc/Makefile b/misc/Makefile -index 7749b4a..bcb6ee7 100644 ---- a/misc/Makefile -+++ b/misc/Makefile -@@ -1,15 +1,16 @@ - SUBDIRS = fbtruetype kbd - LIB ?= lib -+STRIP = strip - - all: fbres usleep - --fbres: -+fbres: - $(CC) $(CFLAGS) $@.c -o $@ -- strip $@ -+ $(STRIP) $@ - --usleep: -+usleep: - $(CC) $(CFLAGS) $@.c -o $@ -- strip $@ -+ $(STRIP) $@ - - %: - @set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done diff --git a/media-gfx/splashutils/files/splashutils-1.4.2-rcabort.patch b/media-gfx/splashutils/files/splashutils-1.4.2-rcabort.patch deleted file mode 100644 index 419737d7ed26..000000000000 --- a/media-gfx/splashutils/files/splashutils-1.4.2-rcabort.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff --git a/gentoo/splash.c b/gentoo/splash.c -index f4e2221..945f3aa 100644 ---- a/gentoo/splash.c -+++ b/gentoo/splash.c -@@ -561,7 +561,13 @@ static int splash_stop(const char *runlevel) - if (splash_is_silent()) - splash_set_verbose(); - -- return splash_cache_cleanup(save); -+ /* If we don't get a runlevel argument, then we're being executed -+ * because of a rc-abort event and we don't save any data. */ -+ if (runlevel == NULL) { -+ return splash_cache_cleanup(NULL); -+ } else { -+ return splash_cache_cleanup(save); -+ } - } - - int _splash_hook (rc_hook_t hook, const char *name) -@@ -579,7 +585,7 @@ int _splash_hook (rc_hook_t hook, const char *name) - /* We generally do nothing if we're in sysinit. Except if the - * autoconfig service is present, when we get a list of services - * that will be started by it and mark them as coldplugged. */ -- if (!strcmp(name, RC_LEVEL_SYSINIT)) { -+ if (name && !strcmp(name, RC_LEVEL_SYSINIT)) { - if (hook == rc_hook_runlevel_start_out) { - FILE *fp; - char **list = NULL; -@@ -793,6 +799,12 @@ do_start: - config = NULL; - break; - -+ case rc_hook_abort: -+ i = splash_stop(name); -+ splash_lib_cleanup(); -+ config = NULL; -+ break; -+ - default: - break; - } diff --git a/media-gfx/splashutils/splashutils-1.4.2.1.ebuild b/media-gfx/splashutils/splashutils-1.4.2.1.ebuild deleted file mode 100644 index d3dfd00c083c..000000000000 --- a/media-gfx/splashutils/splashutils-1.4.2.1.ebuild +++ /dev/null @@ -1,205 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.4.2.1.ebuild,v 1.3 2007/08/06 11:13:14 spock Exp $ - -inherit eutils multilib toolchain-funcs - -MISCSPLASH="miscsplashutils-0.1.7" -GENTOOSPLASH="splashutils-gentoo-1.0.3" -V_JPEG="6b" -V_PNG="1.2.8" -V_ZLIB="1.2.3" -V_FT="2.1.9" - -ZLIBSRC="libs/zlib-${V_ZLIB}" -LPNGSRC="libs/libpng-${V_PNG}" -JPEGSRC="libs/jpeg-${V_JPEG}" -FT2SRC="libs/freetype-${V_FT}" - -IUSE="hardened png truetype mng gpm" - -DESCRIPTION="Framebuffer splash utilities." -HOMEPAGE="http://dev.gentoo.org/~spock/projects/gensplash/" -SRC_URI="mirror://gentoo/${PN}-lite-${PV}.tar.bz2 - mirror://gentoo/${GENTOOSPLASH}.tar.bz2 - mirror://gentoo/${MISCSPLASH}.tar.bz2 - mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2 - ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz - mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2 - http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -RDEPEND="truetype? ( >=media-libs/freetype-2 ) - png? ( >=media-libs/libpng-1.2.7 ) - mng? ( media-libs/lcms media-libs/libmng ) - >=media-libs/jpeg-6b - >=sys-apps/baselayout-1.9.4-r5 - app-arch/cpio - media-gfx/fbgrab" -DEPEND="${RDEPEND} - >=dev-libs/klibc-1.4.13" - -S="${WORKDIR}/${P/_/-}" -SG="${WORKDIR}/${GENTOOSPLASH}" -SM="${WORKDIR}/${MISCSPLASH}" - -pkg_setup() { - if use hardened; then - ewarn "Due to problems with klibc, it is currently impossible to compile splashutils" - ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with" - ewarn "-fno-stack-protector. Hardened GCC features will not be used while building" - ewarn "the splash kernel helper." - fi -} - -src_unpack() { - unpack ${A} - - mv ${WORKDIR}/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} ${S}/libs - # We need to delete the Makefile and let it be rebuilt when splashutils - # is being configured. Either that, or we end up with a segfaulting kernel - # helper. - rm ${S}/libs/zlib-${V_ZLIB}/Makefile - - cd ${S} - ln -sf ${S} ${WORKDIR}/core - - # Check whether the kernel tree has been patched with fbsplash. - if [[ ! -e /usr/$(get_libdir)/klibc/include/linux/console_splash.h ]]; then - ewarn "The kernel tree against which dev-libs/klibc was built was not patched" - ewarn "with a compatible version of fbsplash. Splashutils will be compiled" - ewarn "without fbsplash support (ie. verbose mode will not work)." - fi - - if has_version sys-libs/glibc && ! built_with_use --missing true sys-libs/glibc nptl ; then - eerror "Your sys-libs/glibc has been built with support for linuxthreads only." - eerror "This package requires nptl to work correctly. Please recompile glibc" - eerror "with the 'nptl' USE flag enabled." - die "nptl not available" - fi - - if built_with_use sys-devel/gcc vanilla ; then - ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile" - ewarn "splashutils, you're on your own, as this configuration is not supported." - else - # This should make splashutils compile on systems with hardened GCC. - sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i ${S}/Makefile - fi - - # Use tty16 as the default silent tty. - sed -i -e 's/#define TTY_SILENT.*/#define TTY_SILENT 16/' ${S}/splash.h - - if ! use truetype ; then - sed -i -e 's/fbtruetype kbd/kbd/' ${SM}/Makefile - fi - - sed -i -e "s#/lib/splash#/$(get_libdir)/splash#" ${S}/scripts/{splash_manager,splash_geninitramfs} -} - -src_compile() { - local myconf="" - if [[ ! -e /usr/$(get_libdir)/klibc/include/linux/console_splash.h ]]; then - myconf="--without-fbsplash" - else - myconf="--with-fbsplash" - fi - - if has_version ">=sys-apps/baselayout-1.13.99"; then - myconf="${myconf} --with-gentoo" - fi - - cd ${SM} - emake LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils" - - cd ${S} - ./configure \ - --with-fifo="/$(get_libdir)/splash/cache/.splash" \ - $(use_with png) \ - $(use_with mng) \ - $(use_with gpm) \ - $(use_with truetype ttf) \ - $(use_with truetype ttfkern) \ - ${myconf} || die "failed to configure splashutils" - - export ZLIBSRC LPNGSRC JPEGSRC FT2SRC - emake -j1 LIB=$(get_libdir) || die "failed to build splashutils" - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd ${SG} - emake LIB=$(get_libdir) || die "failed to build the splash plugin" - fi -} - -src_install() { - local LIB=$(get_libdir) - - cd ${SM} - make DESTDIR=${D} LIB=${LIB} install || die - - export ZLIBSRC LPNGSRC JPEGSRC FT2SRC - cd ${S} - make DESTDIR=${D} LIB=${LIB} install || die - - echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash - doenvd 99splash - - newinitd ${SG}/init-splash splash - newconfd ${SG}/splash.conf splash - - insinto /usr/share/${PN} - doins ${SG}/initrd.splash - - insinto /etc/splash - doins ${SM}/fbtruetype/luxisri.ttf - - dodoc docs/* README AUTHORS - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd ${SG} - make DESTDIR=${D} LIB=${LIB} install || die "failed to install the splash plugin" - else - cp ${SG}/splash-functions-bl1.sh ${D}/sbin/splash-functions.sh - fi - - sed -i -e "s#/lib/splash#/${LIB}/splash#" ${D}/sbin/splash-functions.sh - keepdir /${LIB}/splash/{tmp,cache,bin} - dosym /${LIB}/splash/bin/fbres /sbin/fbres -} - -pkg_postinst() { - if has_version sys-fs/devfsd || ! has_version sys-fs/udev ; then - ewarn "This package has been designed with udev in mind. Other solutions, such as" - ewarn "devfs or a static /dev tree might work, but are generally discouraged and" - ewarn "not supported. If you decide to switch to udev, you might want to have a" - ewarn "look at 'The Gentoo udev Guide', which can be found at" - ewarn " http://www.gentoo.org/doc/en/udev-guide.xml" - ewarn "" - fi - - if has_version '<media-gfx/splashutils-1.0' ; then - ewarn "Since you are upgrading from a pre-1.0 version, please make sure that you" - ewarn "rebuild your initrds. You can use the splash_geninitramfs script to do that." - ewarn "" - fi - - if ! test -f /proc/cmdline || - ! egrep -q '(console|CONSOLE)=(tty1|/dev/tty1)' /proc/cmdline ; then - ewarn "It is required that you add 'console=tty1' to your kernel" - ewarn "command line parameters." - ewarn "" - elog "After these modifications, the relevant part of the kernel command" - elog "line might look like:" - elog " splash=silent,fadein,theme:emergence console=tty1" - elog "" - fi - - if ! has_version 'media-gfx/splash-themes-livecd' && - ! has_version 'media-gfx/splash-themes-gentoo'; then - elog "The sample Gentoo themes (emergence, gentoo) have been removed from the" - elog "core splashutils package. To get some themes you might want to emerge:" - elog " media-gfx/splash-themes-livecd" - elog " media-gfx/splash-themes-gentoo" - fi -} diff --git a/media-gfx/splashutils/splashutils-1.4.2.ebuild b/media-gfx/splashutils/splashutils-1.4.2.ebuild deleted file mode 100644 index 480bd6aea97a..000000000000 --- a/media-gfx/splashutils/splashutils-1.4.2.ebuild +++ /dev/null @@ -1,213 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.4.2.ebuild,v 1.9 2007/08/06 11:13:14 spock Exp $ - -inherit eutils multilib toolchain-funcs - -MISCSPLASH="miscsplashutils-0.1.6" -GENTOOSPLASH="splashutils-gentoo-1.0.2" -V_JPEG="6b" -V_PNG="1.2.8" -V_ZLIB="1.2.3" -V_FT="2.1.9" - -ZLIBSRC="libs/zlib-${V_ZLIB}" -LPNGSRC="libs/libpng-${V_PNG}" -JPEGSRC="libs/jpeg-${V_JPEG}" -FT2SRC="libs/freetype-${V_FT}" - -IUSE="hardened png truetype mng gpm" - -DESCRIPTION="Framebuffer splash utilities." -HOMEPAGE="http://dev.gentoo.org/~spock/projects/gensplash/" -SRC_URI="mirror://gentoo/${PN}-lite-${PV}.tar.bz2 - mirror://gentoo/${GENTOOSPLASH}.tar.bz2 - mirror://gentoo/${MISCSPLASH}.tar.bz2 - mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2 - ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz - mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2 - http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -RDEPEND="truetype? ( >=media-libs/freetype-2 ) - png? ( >=media-libs/libpng-1.2.7 ) - mng? ( media-libs/lcms media-libs/libmng ) - >=media-libs/jpeg-6b - >=sys-apps/baselayout-1.9.4-r5 - app-arch/cpio - media-gfx/fbgrab" -DEPEND="${RDEPEND} - >=dev-libs/klibc-1.4.13" - -S="${WORKDIR}/${P/_/-}" -SG="${WORKDIR}/${GENTOOSPLASH}" -SM="${WORKDIR}/${MISCSPLASH}" - -pkg_setup() { - if use hardened; then - ewarn "Due to problems with klibc, it is currently impossible to compile splashutils" - ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with" - ewarn "-fno-stack-protector. Hardened GCC features will not be used while building" - ewarn "the splash kernel helper." - fi -} - -src_unpack() { - unpack ${A} - - mv ${WORKDIR}/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} ${S}/libs - # We need to delete the Makefile and let it be rebuilt when splashutils - # is being configured. Either that, or we end up with a segfaulting kernel - # helper. - rm ${S}/libs/zlib-${V_ZLIB}/Makefile - - cd ${SM} - epatch ${FILESDIR}/${P}-misc-strip.patch - - cd ${SG} - epatch ${FILESDIR}/${P}-rcabort.patch - - cd ${S} - ln -sf ${S} ${WORKDIR}/core - epatch ${FILESDIR}/${P}-getcfg.patch - - # Check whether the kernel tree has been patched with fbsplash. - if [[ ! -e /usr/$(get_libdir)/klibc/include/linux/console_splash.h ]]; then - ewarn "The kernel tree against which dev-libs/klibc was built was not patched" - ewarn "with a compatible version of fbsplash. Splashutils will be compiled" - ewarn "without fbsplash support (ie. verbose mode will not work)." - fi - - if has_version sys-libs/glibc && ! built_with_use --missing true sys-libs/glibc nptl ; then - eerror "Your sys-libs/glibc has been built with support for linuxthreads only." - eerror "This package requires nptl to work correctly. Please recompile glibc" - eerror "with the 'nptl' USE flag enabled." - die "nptl not available" - fi - - if built_with_use sys-devel/gcc vanilla ; then - ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile" - ewarn "splashutils, you're on your own, as this configuration is not supported." - else - # This should make splashutils compile on systems with hardened GCC. - sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i ${S}/Makefile - fi - - # Use tty16 as the default silent tty. - sed -i -e 's/#define TTY_SILENT.*/#define TTY_SILENT 16/' ${S}/splash.h - - if ! use truetype ; then - sed -i -e 's/fbtruetype kbd/kbd/' ${SM}/Makefile - fi - - sed -i -e "s#/lib/splash#/$(get_libdir)/splash#" ${S}/scripts/{splash_manager,splash_geninitramfs} -} - -src_compile() { - local myconf="" - if [[ ! -e /usr/$(get_libdir)/klibc/include/linux/console_splash.h ]]; then - myconf="--without-fbsplash" - else - myconf="--with-fbsplash" - fi - - if has_version ">=sys-apps/baselayout-1.13.99"; then - myconf="${myconf} --with-gentoo" - fi - - cd ${SM} - emake LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils" - - cd ${S} - ./configure \ - --with-fifo="/$(get_libdir)/splash/cache/.splash" \ - $(use_with png) \ - $(use_with mng) \ - $(use_with gpm) \ - $(use_with truetype ttf) \ - $(use_with truetype ttfkern) \ - ${myconf} || die "failed to configure splashutils" - - export ZLIBSRC LPNGSRC JPEGSRC FT2SRC - emake -j1 LIB=$(get_libdir) CFLAGS="${CFLAGS}" \ - || die "failed to build splashutils" - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd ${SG} - emake LIB=$(get_libdir) || die "failed to build the splash plugin" - fi -} - -src_install() { - local LIB=$(get_libdir) - - cd ${SM} - make DESTDIR=${D} LIB=${LIB} install || die - - export ZLIBSRC LPNGSRC JPEGSRC FT2SRC - cd ${S} - make DESTDIR=${D} LIB=${LIB} install || die - - echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash - doenvd 99splash - - newinitd ${SG}/init-splash splash - newconfd ${SG}/splash.conf splash - - insinto /usr/share/${PN} - doins ${SG}/initrd.splash - - insinto /etc/splash - doins ${SM}/fbtruetype/luxisri.ttf - - dodoc docs/* README AUTHORS - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd ${SG} - make DESTDIR=${D} LIB=${LIB} install || die "failed to install the splash plugin" - else - cp ${SG}/splash-functions-bl1.sh ${D}/sbin/splash-functions.sh - fi - - sed -i -e "s#/lib/splash#/${LIB}/splash#" ${D}/sbin/splash-functions.sh - keepdir /${LIB}/splash/{tmp,cache,bin} - dosym /${LIB}/splash/bin/fbres /sbin/fbres -} - -pkg_postinst() { - if has_version sys-fs/devfsd || ! has_version sys-fs/udev ; then - ewarn "This package has been designed with udev in mind. Other solutions, such as" - ewarn "devfs or a static /dev tree might work, but are generally discouraged and" - ewarn "not supported. If you decide to switch to udev, you might want to have a" - ewarn "look at 'The Gentoo udev Guide', which can be found at" - ewarn " http://www.gentoo.org/doc/en/udev-guide.xml" - ewarn "" - fi - - if has_version '<media-gfx/splashutils-1.0' ; then - ewarn "Since you are upgrading from a pre-1.0 version, please make sure that you" - ewarn "rebuild your initrds. You can use the splash_geninitramfs script to do that." - ewarn "" - fi - - if ! test -f /proc/cmdline || - ! egrep -q '(console|CONSOLE)=(tty1|/dev/tty1)' /proc/cmdline ; then - ewarn "It is required that you add 'console=tty1' to your kernel" - ewarn "command line parameters." - ewarn "" - elog "After these modifications, the relevant part of the kernel command" - elog "line might look like:" - elog " splash=silent,fadein,theme:emergence console=tty1" - elog "" - fi - - if ! has_version 'media-gfx/splash-themes-livecd' && - ! has_version 'media-gfx/splash-themes-gentoo'; then - elog "The sample Gentoo themes (emergence, gentoo) have been removed from the" - elog "core splashutils package. To get some themes you might want to emerge:" - elog " media-gfx/splash-themes-livecd" - elog " media-gfx/splash-themes-gentoo" - fi -} diff --git a/media-gfx/splashutils/splashutils-1.5.3.2.ebuild b/media-gfx/splashutils/splashutils-1.5.3.2.ebuild deleted file mode 100644 index 1ab68798be4f..000000000000 --- a/media-gfx/splashutils/splashutils-1.5.3.2.ebuild +++ /dev/null @@ -1,199 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.3.2.ebuild,v 1.2 2007/12/23 12:22:05 spock Exp $ - -inherit eutils multilib toolchain-funcs - -MISCSPLASH="miscsplashutils-0.1.8" -GENTOOSPLASH="splashutils-gentoo-1.0.10" -V_JPEG="6b" -V_PNG="1.2.18" -V_ZLIB="1.2.3" -V_FT="2.3.5" - -ZLIBSRC="libs/zlib-${V_ZLIB}" -LPNGSRC="libs/libpng-${V_PNG}" -JPEGSRC="libs/jpeg-${V_JPEG}" -FT2SRC="libs/freetype-${V_FT}" - -IUSE="hardened png truetype mng gpm fbcondecor" - -DESCRIPTION="Framebuffer splash utilities." -HOMEPAGE="http://fbsplash.berlios.de" -SRC_URI="mirror://berlios/fbsplash/${PN}-lite-${PV}.tar.bz2 - mirror://berlios/fbsplash/${GENTOOSPLASH}.tar.bz2 - mirror://gentoo/${MISCSPLASH}.tar.bz2 - mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2 - ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz - mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2 - http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -RDEPEND="truetype? ( >=media-libs/freetype-2 ) - png? ( >=media-libs/libpng-1.2.7 ) - mng? ( media-libs/lcms media-libs/libmng ) - >=media-libs/jpeg-6b - >=sys-apps/baselayout-1.9.4-r5 - app-arch/cpio - media-gfx/fbgrab" -DEPEND="${RDEPEND} - >=dev-libs/klibc-1.5 - dev-util/pkgconfig" - -S="${WORKDIR}/${P/_/-}" -SG="${WORKDIR}/${GENTOOSPLASH}" -SM="${WORKDIR}/${MISCSPLASH}" - -pkg_setup() { - if use hardened; then - ewarn "Due to problems with klibc, it is currently impossible to compile splashutils" - ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with" - ewarn "-fno-stack-protector. Hardened GCC features will not be used while building" - ewarn "the splash kernel helper." - fi -} - -src_unpack() { - unpack ${A} - - [ ! -d "${S}/libs" ] && mkdir "${S}/libs" - mv "${WORKDIR}"/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} "${S}/libs" - # We need to delete the Makefile and let it be rebuilt when splashutils - # is being configured. Either that, or we end up with a segfaulting kernel - # helper. - rm "${S}/libs/zlib-${V_ZLIB}/Makefile" - - cd "${S}" - ln -sf "${S}" "${WORKDIR}/core" - - if built_with_use sys-devel/gcc vanilla ; then - ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile" - ewarn "splashutils, you're on your own, as this configuration is not supported." - else - # This should make splashutils compile on systems with hardened GCC. - sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i "${S}/Makefile.in" - fi - - if ! use truetype ; then - sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile" - fi -} - -src_compile() { - cd "${SM}" - emake LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils" - - cd "${S}" - econf \ - $(use_with png) \ - $(use_with mng) \ - $(use_with gpm) \ - $(use_with truetype ttf) \ - $(use_with truetype ttf-kernel) \ - $(use_enable fbcondecor) \ - --with-freetype2-src=${FT2SRC} \ - --with-jpeg-src=${JPEGSRC} \ - --with-lpng-src=${LPNGSRC} \ - --with-zlib-src=${ZLIBSRC} || die "failed to configure splashutils" - - emake -j1 || die "failed to build splashutils" - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd "${SG}" - emake LIB=$(get_libdir) || die "failed to build the splash plugin" - fi -} - -src_install() { - local LIB=$(get_libdir) - - cd "${SM}" - make DESTDIR="${D}" LIB=${LIB} install || die - - cd "${S}" - make DESTDIR="${D}" install || die - - mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/ - gen_usr_ldscript libfbsplash.so - - echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash - doenvd 99splash - - if use fbcondecor ; then - newinitd "${SG}"/init-fbcondecor fbcondecor - newconfd "${SG}"/fbcondecor.conf fbcondecor - fi - newconfd "${SG}"/splash.conf splash - - insinto /usr/share/${PN} - doins "${SG}"/initrd.splash - - insinto /etc/splash - doins "${SM}"/fbtruetype/luxisri.ttf - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd "${SG}" - make DESTDIR="${D}" LIB=${LIB} install || die "failed to install the splash plugin" - else - cp "${SG}"/splash-functions-bl1.sh "${D}"/sbin/splash-functions.sh - fi - - sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh - keepdir /${LIB}/splash/{tmp,cache,bin} - dosym /${LIB}/splash/bin/fbres /sbin/fbres -} - -pkg_postinst() { - if has_version sys-fs/devfsd || ! has_version sys-fs/udev ; then - elog "This package has been designed with udev in mind. Other solutions, such as" - elog "devfs or a static /dev tree might work, but are generally discouraged and" - elog "not supported. If you decide to switch to udev, you might want to have a" - elog "look at 'The Gentoo udev Guide', which can be found at" - elog " http://www.gentoo.org/doc/en/udev-guide.xml" - elog "" - fi - - if has_version '<media-gfx/splashutils-1.0' ; then - elog "Since you are upgrading from a pre-1.0 version, please make sure that you" - elog "rebuild your initrds. You can use the splash_geninitramfs script to do that." - elog "" - fi - - if has_version '<media-gfx/splashutils-1.5.3' && ! use fbcondecor ; then - elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch" - elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish" - elog "to use fbcondecor, run:" - elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use" - elog "and re-emerge splashutils." - fi - - if ! test -f /proc/cmdline || - ! egrep -q '(console|CONSOLE)=(tty1|/dev/tty1)' /proc/cmdline ; then - elog "It is required that you add 'console=tty1' to your kernel" - elog "command line parameters." - elog "" - elog "After these modifications, the relevant part of the kernel command" - elog "line might look like:" - elog " splash=silent,fadein,theme:emergence console=tty1" - elog "" - fi - - if ! has_version 'media-gfx/splash-themes-livecd' && - ! has_version 'media-gfx/splash-themes-gentoo'; then - elog "The sample Gentoo themes (emergence, gentoo) have been removed from the" - elog "core splashutils package. To get some themes you might want to emerge:" - elog " media-gfx/splash-themes-livecd" - elog " media-gfx/splash-themes-gentoo" - fi - - elog "Please note that the 'fbsplash' kernel patch has now been renamed to" - elog "'fbcondecor'. Accordingly, the old 'splash' initscript is now called" - elog "'fbcondecor'. Make sure you update your system. See:" - elog " http://dev.gentoo.org/~spock/projects/fbcondecor/#history" - elog "for further info about the name changes." - elog "" - elog "Also note that splash_util has now been split into splash_util, fbsplashd" - elog "and fbcondecor_ctl." -} diff --git a/media-gfx/splashutils/splashutils-1.5.3.3.ebuild b/media-gfx/splashutils/splashutils-1.5.3.3.ebuild deleted file mode 100644 index 49dca5c9588a..000000000000 --- a/media-gfx/splashutils/splashutils-1.5.3.3.ebuild +++ /dev/null @@ -1,198 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.3.3.ebuild,v 1.2 2008/01/15 15:50:00 spock Exp $ - -inherit eutils multilib toolchain-funcs - -MISCSPLASH="miscsplashutils-0.1.8" -GENTOOSPLASH="splashutils-gentoo-1.0.11" -V_JPEG="6b" -V_PNG="1.2.18" -V_ZLIB="1.2.3" -V_FT="2.3.5" - -ZLIBSRC="libs/zlib-${V_ZLIB}" -LPNGSRC="libs/libpng-${V_PNG}" -JPEGSRC="libs/jpeg-${V_JPEG}" -FT2SRC="libs/freetype-${V_FT}" - -IUSE="hardened png truetype mng gpm fbcondecor" - -DESCRIPTION="Framebuffer splash utilities." -HOMEPAGE="http://fbsplash.berlios.de" -SRC_URI="mirror://berlios/fbsplash/${PN}-lite-${PV}.tar.bz2 - mirror://berlios/fbsplash/${GENTOOSPLASH}.tar.bz2 - mirror://gentoo/${MISCSPLASH}.tar.bz2 - mirror://sourceforge/libpng/libpng-${V_PNG}.tar.bz2 - ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v${V_JPEG}.tar.gz - mirror://sourceforge/freetype/freetype-${V_FT}.tar.bz2 - http://www.gzip.org/zlib/zlib-${V_ZLIB}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -RDEPEND="truetype? ( >=media-libs/freetype-2 ) - png? ( >=media-libs/libpng-1.2.7 ) - mng? ( media-libs/lcms media-libs/libmng ) - >=media-libs/jpeg-6b - >=sys-apps/baselayout-1.9.4-r5 - app-arch/cpio - media-gfx/fbgrab" -DEPEND="${RDEPEND} - >=dev-libs/klibc-1.5 - dev-util/pkgconfig" - -S="${WORKDIR}/${P/_/-}" -SG="${WORKDIR}/${GENTOOSPLASH}" -SM="${WORKDIR}/${MISCSPLASH}" - -pkg_setup() { - if use hardened; then - ewarn "Due to problems with klibc, it is currently impossible to compile splashutils" - ewarn "with 'hardened' GCC flags. As a workaround, the package will be compiled with" - ewarn "-fno-stack-protector. Hardened GCC features will not be used while building" - ewarn "the splash kernel helper." - fi -} - -src_unpack() { - unpack ${A} - - mv "${WORKDIR}"/{libpng-${V_PNG},jpeg-${V_JPEG},zlib-${V_ZLIB},freetype-${V_FT}} "${S}/libs" - # We need to delete the Makefile and let it be rebuilt when splashutils - # is being configured. Either that, or we end up with a segfaulting kernel - # helper. - rm "${S}/libs/zlib-${V_ZLIB}/Makefile" - - cd "${S}" - ln -sf "${S}/src" "${WORKDIR}/core" - - if built_with_use sys-devel/gcc vanilla ; then - ewarn "Your GCC was built with the 'vanilla' flag set. If you can't compile" - ewarn "splashutils, you're on your own, as this configuration is not supported." - else - # This should make splashutils compile on systems with hardened GCC. - sed -e 's@K_CFLAGS =@K_CFLAGS = -fno-stack-protector@' -i "${S}/Makefile.in" - fi - - if ! use truetype ; then - sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile" - fi -} - -src_compile() { - cd "${SM}" - emake LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils" - - cd "${S}" - econf \ - $(use_with png) \ - $(use_with mng) \ - $(use_with gpm) \ - $(use_with truetype ttf) \ - $(use_with truetype ttf-kernel) \ - $(use_enable fbcondecor) \ - --with-freetype2-src=${FT2SRC} \ - --with-jpeg-src=${JPEGSRC} \ - --with-lpng-src=${LPNGSRC} \ - --with-zlib-src=${ZLIBSRC} || die "failed to configure splashutils" - - emake -j1 || die "failed to build splashutils" - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd "${SG}" - emake LIB=$(get_libdir) || die "failed to build the splash plugin" - fi -} - -src_install() { - local LIB=$(get_libdir) - - cd "${SM}" - make DESTDIR="${D}" LIB=${LIB} install || die - - cd "${S}" - make DESTDIR="${D}" install || die - - mv "${D}"/usr/${LIB}/libfbsplash.so* "${D}"/${LIB}/ - gen_usr_ldscript libfbsplash.so - - echo 'CONFIG_PROTECT_MASK="/etc/splash"' > 99splash - doenvd 99splash - - if use fbcondecor ; then - newinitd "${SG}"/init-fbcondecor fbcondecor - newconfd "${SG}"/fbcondecor.conf fbcondecor - fi - newconfd "${SG}"/splash.conf splash - - insinto /usr/share/${PN} - doins "${SG}"/initrd.splash - - insinto /etc/splash - doins "${SM}"/fbtruetype/luxisri.ttf - - if has_version ">=sys-apps/baselayout-1.13.99"; then - cd "${SG}" - make DESTDIR="${D}" LIB=${LIB} install || die "failed to install the splash plugin" - else - cp "${SG}"/splash-functions-bl1.sh "${D}"/sbin/ - fi - - sed -i -e "s#/lib/splash#/${LIB}/splash#" "${D}"/sbin/splash-functions.sh - keepdir /${LIB}/splash/{tmp,cache,bin} - dosym /${LIB}/splash/bin/fbres /sbin/fbres -} - -pkg_postinst() { - if has_version sys-fs/devfsd || ! has_version sys-fs/udev ; then - elog "This package has been designed with udev in mind. Other solutions, such as" - elog "devfs or a static /dev tree might work, but are generally discouraged and" - elog "not supported. If you decide to switch to udev, you might want to have a" - elog "look at 'The Gentoo udev Guide', which can be found at" - elog " http://www.gentoo.org/doc/en/udev-guide.xml" - elog "" - fi - - if has_version '<media-gfx/splashutils-1.0' ; then - elog "Since you are upgrading from a pre-1.0 version, please make sure that you" - elog "rebuild your initrds. You can use the splash_geninitramfs script to do that." - elog "" - fi - - if has_version '<media-gfx/splashutils-1.5.3' && ! use fbcondecor ; then - elog "Starting with splashutils-1.5.3, support for the fbcondecor kernel patch" - elog "is optional and dependent on the the 'fbcondecor' USE flag. If you wish" - elog "to use fbcondecor, run:" - elog " echo \"media-gfx/splashutils fbcondecor\" >> /etc/portage/package.use" - elog "and re-emerge splashutils." - fi - - if ! test -f /proc/cmdline || - ! egrep -q '(console|CONSOLE)=(tty1|/dev/tty1)' /proc/cmdline ; then - elog "It is required that you add 'console=tty1' to your kernel" - elog "command line parameters." - elog "" - elog "After these modifications, the relevant part of the kernel command" - elog "line might look like:" - elog " splash=silent,fadein,theme:emergence console=tty1" - elog "" - fi - - if ! has_version 'media-gfx/splash-themes-livecd' && - ! has_version 'media-gfx/splash-themes-gentoo'; then - elog "The sample Gentoo themes (emergence, gentoo) have been removed from the" - elog "core splashutils package. To get some themes you might want to emerge:" - elog " media-gfx/splash-themes-livecd" - elog " media-gfx/splash-themes-gentoo" - fi - - elog "Please note that the 'fbsplash' kernel patch has now been renamed to" - elog "'fbcondecor'. Accordingly, the old 'splash' initscript is now called" - elog "'fbcondecor'. Make sure you update your system. See:" - elog " http://dev.gentoo.org/~spock/projects/fbcondecor/#history" - elog "for further info about the name changes." - elog "" - elog "Also note that splash_util has now been split into splash_util, fbsplashd" - elog "and fbcondecor_ctl." -} |