summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-10 17:39:12 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-10 17:39:12 +0100
commit0020758a799677be922f25ddd05a8034f21400c7 (patch)
treebb35a39b25fe32b32ed3602e0026703db39c5f14 /media-gfx
parenta86864872e56fb96708e2052407715dcf92d47a4 (diff)
with this commit, kogaion overlay is finally clean of unused and deprecated ebuilds
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/CodeAnalyst/CodeAnalyst-3.4.18_pre0418.ebuild37
-rw-r--r--media-gfx/CodeAnalyst/Manifest2
-rw-r--r--media-gfx/splashutils/Manifest7
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-daemon-exit-signal.patch110
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-fix_rc_var.patch55
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-libjpeg.patch36
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-makefile.patch27
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-nondefault-runlevel.patch24
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-effects.patch55
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-umount-fix.patch29
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.3-splash_geninitramfs.patch13
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2-2.patch43
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2.patch15
-rw-r--r--media-gfx/splashutils/files/splashutils-1.5.4.4-gentoo-typo-fix.patch19
-rw-r--r--media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch74
-rw-r--r--media-gfx/splashutils/files/splashutils-openrc-0.4.3-runlevel-fix.patch99
-rw-r--r--media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild245
-rw-r--r--media-gfx/xsane-gimp/Manifest3
-rw-r--r--media-gfx/xsane-gimp/xsane-gimp-0.998-r1.ebuild63
-rw-r--r--media-gfx/xsane-gimp/xsane-gimp-0.999.ebuild65
20 files changed, 0 insertions, 1021 deletions
diff --git a/media-gfx/CodeAnalyst/CodeAnalyst-3.4.18_pre0418.ebuild b/media-gfx/CodeAnalyst/CodeAnalyst-3.4.18_pre0418.ebuild
deleted file mode 100644
index d03a5330..00000000
--- a/media-gfx/CodeAnalyst/CodeAnalyst-3.4.18_pre0418.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header:$
-
-EAPI="5"
-inherit eutils autotools
-
-DESCRIPTION="AMD Code Analyst"
-HOMEPAGE="http://developer.amd.com/"
-SRC_URI="http://developer.amd.com/wordpress/media/files/${PN}-3_4_18_0413-Public.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="X debug optimization"
-
-RDEPEND=""
-DEPEND="${DEPEND}"
-
-S="${WORKDIR}"/CodeAnalyst-3_4_18_0413-Public
-
-
-src_configure() {
- insinto "${S}"
- ./autogen.sh || die "autogen failed"
- econf \
- $(use_enable debug) \
- $(use_enable optimization) \
- $(use_with X)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc NEWS README AUTHORS
- find "${D}" -name '*.la' -delete
-}
-
diff --git a/media-gfx/CodeAnalyst/Manifest b/media-gfx/CodeAnalyst/Manifest
deleted file mode 100644
index d216e80d..00000000
--- a/media-gfx/CodeAnalyst/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST CodeAnalyst-3_4_18_0413-Public.tar.gz 12346064 SHA256 81158c09cb24a5ddc5c8c6619380ea5ed24a2a02ad00cc02df2a2bf78ac14ca9 SHA512 83e21bee5370fe70e87c814a4c972a4bf893cd0246587d49d905cf59f2edcc3561147789d4a0ba42fa47bb3489d5d8b422c308041f8911292dc9eb44843cb7cb WHIRLPOOL 68661faa773896548e431b3c12104f1672912e474a9f26a470833dfb1b160b9bd2d8679b7edc0de03102e672c4d4bcda4bde56b925fc53789e88eb8dc97e7485
-EBUILD CodeAnalyst-3.4.18_pre0418.ebuild 768 SHA256 aedeedfc185f72769da369416d5c8f4766b9ec6d1bddd4332c9e9b7843252454 SHA512 50a4b7ef072ce4b016a1d8507342374d1f10860303b14266efe64c9fdde0c4eead1eabbac4f6ea3a6fbb898c780e3eb18433ceeb366aa4810068bd658d65f994 WHIRLPOOL 975eca90d87f86de64cb7e3580dd64bb27e17cc705d873371fb78ad05919902e3e4c2b00f9e1c0fd155847edbc2e88bc66dd1ceb19d1ab44352da009704c9a1c
diff --git a/media-gfx/splashutils/Manifest b/media-gfx/splashutils/Manifest
deleted file mode 100644
index 37eb5f51..00000000
--- a/media-gfx/splashutils/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST freetype-2.3.12.tar.bz2 1453034 SHA256 3b96438f016a62b676c1d2089c00ca777f710d19f6aefa66ccf068d360db3e92
-DIST jpegsrc.v8a.tar.gz 962018 SHA256 bf86a5eaafa79b5d60feb27bee08df2db4c9ca2fb40d453e7a2080f7663a713b
-DIST libpng-1.4.3.tar.bz2 658335 SHA256 2b022f39f4788505ad62a4b1f4a33286228d544719680da40f3626393ecde4a2
-DIST miscsplashutils-0.1.8.tar.bz2 91997 SHA256 38e8434c7266126477237c4d9e6cbeca152089ab33c14a7761089b7970f8d336
-DIST splashutils-gentoo-1.0.17.tar.bz2 15814 SHA256 6877263d0b6f5a3532db0d6a531cd4d41fbc6c45a16c5d10050e9048ecc1af81
-DIST splashutils-lite-1.5.4.4.tar.bz2 441340 SHA256 bc0e22293d4550281d2289672da3acb42594c18a75b9d00ba75526e05162ec6b
-DIST zlib-1.2.3.tar.bz2 425209 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-daemon-exit-signal.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-daemon-exit-signal.patch
deleted file mode 100644
index 82284f1d..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-daemon-exit-signal.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-diff --git a/core/src/daemon.c b/core/src/daemon.c
-index e3463fc..eae23ec 100644
---- a/core/src/daemon.c
-+++ b/core/src/daemon.c
-@@ -306,6 +306,35 @@ void handler_alarm(int unused)
- return;
- }
-
-+int process_switch_sig(int sig)
-+{
-+ /* Switch from silent to verbose. */
-+ if (sig == SIGUSR1) {
-+ pthread_mutex_lock(&mtx_paint);
-+ pthread_mutex_lock(&mtx_tty);
-+ ioctl(fd_tty[config.tty_s], VT_RELDISP, 1);
-+ pthread_mutex_unlock(&mtx_tty);
-+
-+ ctty = CTTY_VERBOSE;
-+ pthread_mutex_unlock(&mtx_paint);
-+ return 1;
-+ /* Switch back to silent. */
-+ } else if (sig == SIGUSR2) {
-+ pthread_mutex_lock(&mtx_paint);
-+ pthread_mutex_lock(&mtx_tty);
-+ ioctl(fd_tty[config.tty_s], VT_RELDISP, 2);
-+ pthread_mutex_unlock(&mtx_tty);
-+
-+ ctty = CTTY_SILENT;
-+ pthread_mutex_unlock(&mtx_paint);
-+
-+ switch_silent();
-+ return 2;
-+ }
-+
-+ return 0;
-+}
-+
- /*
- * Signal handler.
- *
-@@ -315,7 +344,7 @@ void handler_alarm(int unused)
- */
- void* thf_sighandler(void *unusued)
- {
-- sigset_t sigset;
-+ sigset_t sigset, sigset_switch;
- int sig;
-
- /* We don't handle SIGALRM. */
-@@ -329,31 +358,39 @@ void* thf_sighandler(void *unusued)
- sigaddset(&sigset, SIGTERM);
- sigaddset(&sigset, SIGINT);
-
-+ sigemptyset(&sigset_switch);
-+ sigaddset(&sigset_switch, SIGUSR1);
-+ sigaddset(&sigset_switch, SIGUSR2);
-+
- while (1) {
- sigwait(&sigset, &sig);
-
-- /* Switch from silent to verbose. */
-- if (sig == SIGUSR1) {
-- pthread_mutex_lock(&mtx_paint);
-- pthread_mutex_lock(&mtx_tty);
-- ioctl(fd_tty[config.tty_s], VT_RELDISP, 1);
-- pthread_mutex_unlock(&mtx_tty);
--
-- ctty = CTTY_VERBOSE;
-- pthread_mutex_unlock(&mtx_paint);
-- /* Switch back to silent. */
-- } else if (sig == SIGUSR2) {
-- pthread_mutex_lock(&mtx_paint);
-- pthread_mutex_lock(&mtx_tty);
-- ioctl(fd_tty[config.tty_s], VT_RELDISP, 2);
-- pthread_mutex_unlock(&mtx_tty);
--
-- ctty = CTTY_SILENT;
-- pthread_mutex_unlock(&mtx_paint);
-+ process_switch_sig(sig);
-+
-+ /* Internally generated terminate signal */
-+ if (sig == SIGINT) {
-+ struct timespec timeout;
-+ timeout.tv_sec = 0;
-+ timeout.tv_nsec = 0;
-+ bool pending = true;
-+
-+ /*
-+ * Process any remaining signals. There are no guarantees as to the
-+ * order in which the signals are delivered, so we have to make sure
-+ * all pending signals are processed before exiting.
-+ */
-+ while (pending) {
-+ sig = sigtimedwait(&sigset_switch, NULL, &timeout);
-+
-+ if (sig == -1) {
-+ /* No more pending signals. */
-+ if (errno == EAGAIN)
-+ pending = false;
-+ } else {
-+ process_switch_sig(sig);
-+ }
-+ }
-
-- switch_silent();
-- } else if (sig == SIGINT) {
-- /* internally generated terminate signal */
- do_cleanup();
- pthread_exit(NULL);
- } else if (sig == SIGTERM) {
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-fix_rc_var.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-fix_rc_var.patch
deleted file mode 100644
index 3b9e06b4..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-fix_rc_var.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index b6fa774..726315f 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -134,6 +134,19 @@ static void get_list(RC_STRINGLIST *list, const char *file)
- }
- }
-
-+static void fix_rc_variable(char *s)
-+{
-+ do {
-+ char *t = strstr(s, "\\$");
-+
-+ if (t) {
-+ memmove(t, t+1, strlen(t));
-+ } else {
-+ break;
-+ }
-+ } while(1);
-+}
-+
- /*
- * Get splash settings from /etc/conf.d/splash
- */
-@@ -189,21 +202,27 @@ static int splash_config_gentoo(fbspl_cfg_t *cfg, fbspl_type_t type)
- switch(type) {
- case fbspl_reboot:
- t = rc_config_value(confd, "SPLASH_REBOOT_MESSAGE");
-- if (t)
-+ if (t) {
-+ fix_rc_variable(t);
- fbsplash_acc_message_set(t);
-+ }
- break;
-
- case fbspl_shutdown:
- t = rc_config_value(confd, "SPLASH_SHUTDOWN_MESSAGE");
-- if (t)
-+ if (t) {
-+ fix_rc_variable(t);
- fbsplash_acc_message_set(t);
-+ }
- break;
-
- case fbspl_bootup:
- default:
- t = rc_config_value(confd, "SPLASH_BOOT_MESSAGE");
-- if (t)
-+ if (t) {
-+ fix_rc_variable(t);
- fbsplash_acc_message_set(t);
-+ }
- break;
- }
-
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-libjpeg.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-libjpeg.patch
deleted file mode 100644
index 16d7ac20..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-libjpeg.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/core/libs/Makefile.am b/core/libs/Makefile.am
-index d070b29..c0a9258 100644
---- a/core/libs/Makefile.am
-+++ b/core/libs/Makefile.am
-@@ -53,7 +53,7 @@ libfreetype.a: klibc_compat.h
- if ! $(MAKE) --question $(AM_MAKEFLAGS) CFLAGS="$(K_CFLAGS)" library ; then \
- $(call infmsg,MAKE,libfreetype.a) ; \
- fi ; \
-- $(MAKE) $(AM_MAKEFLAGS) CFLAGS="-c $(K_CFLAGS)" CCexe="$(BUILD_CC)" library $(OUTPUT)
-+ $(MAKE) $(AM_MAKEFLAGS) CFLAGS="-c $(K_CFLAGS)" CCexe="$(BUILD_CC)" ANSIFLAGS="" library $(OUTPUT)
- $(Q)$(MKDIR_P) $(@D)
- $(Q)cp -f libfreetype/.libs/libfreetype.a $@
-
-@@ -62,18 +62,18 @@ libjpeg.a:
- $(Q)cd libjpeg ; \
- if test ! -e ./Makefile ; then \
- $(call infmsg,CONF,libjpeg.a) ; \
-- CC=$(KLCC) CFLAGS="$(K_CFLAGS) -I$(abs_top_builddir)/libs/libjpeg" $(LIBJPEG_SOURCE)/configure \
-+ CC=$(KLCC) CFLAGS="$(K_CFLAGS) -I$(abs_top_builddir)/libs/libjpeg -include $(abs_top_srcdir)/libs/klibc_compat.h" $(LIBJPEG_SOURCE)/configure \
- --host=$(host) --build=$(build_triplet) $(OUTPUT) ; \
- echo "#define NO_GETENV 1" >> jconfig.h ; \
- $(SED) -i "s#CFLAGS=.*#CFLAGS=$(K_CFLAGS) -I$(abs_top_builddir)/libs/libjpeg#" Makefile ; \
- $(SED) -i "s:#define JMESSAGE.*::" $(LIBJPEG_SOURCE)/jerror.c ; \
- fi ; \
-- if ! $(MAKE) --question $(AM_MAKEFLAGS) CC="$(KLCC)" libjpeg.a ; then \
-+ if ! $(MAKE) --question $(AM_MAKEFLAGS) CC="$(KLCC)" libjpeg.la ; then \
- $(call infmsg,MAKE,libjpeg.a) ; \
- fi ; \
-- $(MAKE) $(AM_MAKEFLAGS) CC="$(KLCC)" libjpeg.a $(OUTPUT)
-+ $(MAKE) $(AM_MAKEFLAGS) CC="$(KLCC)" libjpeg.la $(OUTPUT)
- $(Q)$(MKDIR_P) $(@D)
-- $(Q)cp -f libjpeg/libjpeg.a $@
-+ $(Q)cp -f libjpeg/.libs/libjpeg.a $@
-
- libpng.a: libz.a
- $(Q)cd $(LIBPNG_SOURCE) ; \
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-makefile.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-makefile.patch
deleted file mode 100644
index 060cc9d2..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-makefile.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/core/src/Makefile.am b/core/src/Makefile.am
-index 20cb03e..fa6919d 100644
---- a/core/src/Makefile.am
-+++ b/core/src/Makefile.am
-@@ -119,7 +119,7 @@ libfbsplashrender_la_SOURCES = \
- fbsplash.h
- libfbsplashrender_la_CFLAGS = $(AM_CFLAGS)
- libfbsplashrender_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(libfbsplashrender_version)
--libfbsplashrender_la_LIBADD = -lfbsplash
-+libfbsplashrender_la_LIBADD = libfbsplash.la
-
- libfbsplashrender_la_CFLAGS += $(JPEG_CFLAGS)
- libfbsplashrender_la_LIBADD += $(JPEG_LIBS)
-@@ -258,10 +258,10 @@ fbcondecor_helper_LDFLAGS += -static
- endif
-
- # Override automake's generation of target rules for building fbcondecor_helper.
--fbcondecor_helper: $(fbcondecor_helper_LDADD) $(fbcondecor_helper_OBJECTS)
-+fbcondecor_helper: $(fbcondecor_helper_LDADD) $(fbcondecor_helper_OBJECTS) $(lib_LTLIBRARIES)
- @$(call infmsg,LD,$@)
- $(Q)$(MKDIR_P) $(@D)
-- $(Q)$(KLCC) $(fbcondecor_helper_CFLAGS) $(fbcondecor_helper_LDFLAGS) $+ $(fbcondecor_helper_LDADD) -o $@
-+ $(Q)$(KLCC) $(fbcondecor_helper_CFLAGS) $(fbcondecor_helper_LDFLAGS) $(fbcondecor_helper_OBJECTS) $(fbcondecor_helper_LDADD) -o $@
- $(Q)$(STRIP) $@
-
- # Override automake's generation of target rules for building fbcondecor_helper object files.
-
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-nondefault-runlevel.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-nondefault-runlevel.patch
deleted file mode 100644
index f395eca3..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-nondefault-runlevel.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-commit 6f9aa3a3bc11e539613facf3caba5dcdb43c0117
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Sun Nov 22 20:56:47 2009 +0100
-
- gentoo: make sure the splash daemon works when boot goes through a named runlevel other than default
-
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index d831d0c..4b9a5b9 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -777,10 +777,12 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- hook != RC_HOOK_RUNLEVEL_START_OUT)
- goto exit;
- } else {
-+ int pid;
-+
- /* We're starting/stopping a runlevel. Check whether we're
- * actually booting/rebooting. */
- if (rc_runlevel_starting() && strcmp(runlev, bootlevel) &&
-- strcmp(runlev, defaultlevel) && strcmp(runlev, RC_LEVEL_SYSINIT))
-+ strcmp(runlev, RC_LEVEL_SYSINIT) && fbsplash_check_daemon(&pid))
- goto exit;
-
- if (rc_runlevel_stopping() && strcmp(runlev, bootlevel) &&
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-effects.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-effects.patch
deleted file mode 100644
index ede28b05..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-effects.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-commit 7cf5fd02bbc6422ddbc9af7185cc47657148deb0
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Sun Apr 4 16:19:40 2010 +0200
-
- gentoo: only enable the effects that are actually selected.
-
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index 4b9a5b9..5220571 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -660,7 +660,7 @@ static int splash_start(const char *runlevel)
- (config->type == fbspl_reboot) ? "reboot" : ((config->type == fbspl_shutdown) ? "shutdown" : "bootup"),
- (config->kdmode == KD_GRAPHICS) ? "--kdgraphics" : "",
- (config->textbox_visible) ? "--textbox" : "",
-- (config->effects & (FBSPL_EFF_FADEOUT | FBSPL_EFF_FADEIN)) ? "--effects=fadeout,fadein" :
-+ ((config->effects & (FBSPL_EFF_FADEOUT | FBSPL_EFF_FADEIN)) == (FBSPL_EFF_FADEOUT | FBSPL_EFF_FADEIN)) ? "--effects=fadeout,fadein" :
- ((config->effects & FBSPL_EFF_FADEOUT) ? "--effects=fadeout" :
- ((config->effects & FBSPL_EFF_FADEIN) ? "--effects=fadein" : "")));
-
-@@ -716,11 +716,7 @@ static int splash_stop(const char *runlevel)
-
- /* 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 fbsplash_cache_cleanup(NULL);
-- } else {
-- return fbsplash_cache_cleanup(save);
-- }
-+ return fbsplash_cache_cleanup(save);
- }
-
- int rc_plugin_hook(RC_HOOK hook, const char *name)
-
-commit d711147fc835cf408a9a4e7432fc565a6b952183
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Sun Apr 4 16:57:23 2010 +0200
-
- gentoo: add some comments in splash.conf
-
-diff --git a/gentoo/splash.conf b/gentoo/splash.conf
-index 4cf0a32..f056382 100644
---- a/gentoo/splash.conf
-+++ b/gentoo/splash.conf
-@@ -21,7 +21,10 @@ SPLASH_TEXTBOX="no"
- SPLASH_AUTOVERBOSE="0"
-
- # Name of the boot service starting X. Useful in cases when X is started
--# by a custom initscript, other than the usual 'xdm'.
-+# by a custom initscript, other than the usual 'xdm'. If you are using a
-+# custom X initscript and do not set this variable correctly, do not be
-+# surprised if you end up at tty1 at the end of the boot process (instead of
-+# in an X session).
- # SPLASH_XSERVICE="xdm"
-
- #########################################################################
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-umount-fix.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-umount-fix.patch
deleted file mode 100644
index dcb1ef99..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-openrc-umount-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-commit ae4b5cc9c2d904e18db51876d9bd292504714600
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Mon Apr 6 20:59:48 2009 +0200
-
- Prevent umounting of theme directories.
-
- Some themes dynamically modify themselves during boot. In order to be
- able to do that, they mount a tmpfs in their main directory. Prevent
- openrc from umounting this directory when rebooting.
-
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index 048e0ec..d831d0c 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -968,10 +968,10 @@ do_start:
- if (name && !strcmp(name, "localmount")) {
- char *umounts = getenv("RC_NO_UMOUNTS");
-
-- if (umounts)
-- fprintf(rc_environ_fd, "RC_NO_UMOUNTS=%s:%s", umounts, FBSPLASH_CACHEDIR);
-- else
-- fprintf(rc_environ_fd, "RC_NO_UMOUNTS=%s", FBSPLASH_CACHEDIR);
-+ if (umounts)
-+ fprintf(rc_environ_fd, "RC_NO_UMOUNTS=%s:" FBSPLASH_CACHEDIR ":/etc/splash/%s", umounts, config->theme);
-+ else
-+ fprintf(rc_environ_fd, "RC_NO_UMOUNTS=" FBSPLASH_CACHEDIR ":/etc/splash/%s", config->theme);
- }
- i = splash_svc_handle(name, "svc_stop", false);
- break;
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.3-splash_geninitramfs.patch b/media-gfx/splashutils/files/splashutils-1.5.4.3-splash_geninitramfs.patch
deleted file mode 100644
index c7e0cd26..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.3-splash_geninitramfs.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/core/scripts/splash_geninitramfs.in b/core/scripts/splash_geninitramfs.in
-index 9d75d21..ff9b75b 100644
---- a/core/scripts/splash_geninitramfs.in
-+++ b/core/scripts/splash_geninitramfs.in
-@@ -149,7 +149,7 @@ if [ "$mode" == "a" ]; then
- fi
-
- printv "o Creating directory structure.."
--mkdir -p ${imgdir}/{dev,dev/fb,dev/misc,dev/vc,$themedir,lib/splash/proc,root,sbin,lib/splash/sys}
-+mkdir -p ${imgdir}/{dev,dev/fb,dev/misc,dev/vc,$themedir,@libdir@/splash/proc,root,sbin,@libdir@/splash/sys}
-
- if [ $EUID == 0 ]; then
- [[ ! -e "${imgdir}/dev/null" ]] && mknod "${imgdir}/dev/null" c 1 3
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2-2.patch b/media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2-2.patch
deleted file mode 100644
index e821c16e..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2-2.patch
+++ /dev/null
@@ -1,43 +0,0 @@
- core/configure.ac | 6 ++++++
- core/src/Makefile.am | 2 +-
- 2 files changed, 7 insertions(+), 1 deletions(-)
-
-diff --git a/core/configure.ac b/core/configure.ac
-index c5fbb84..ae9e235 100644
---- a/core/configure.ac
-+++ b/core/configure.ac
-@@ -616,6 +616,7 @@ AS_IF(
- AC_SUBST([PNG_CFLAGS])
- AC_SUBST([PNG_LIBS])
-
-+BZ2_LIBS=
- AS_IF(
- [test "x${config_ttf}" = "xyes"],
- [
-@@ -625,8 +626,13 @@ AS_IF(
- ,
- [AC_MSG_ERROR([freetype was not found.])]
- )
-+ AC_CHECK_LIB([bz2], [BZ2_bzDecompress],
-+ [BZ2_LIBS="${BZ2_LIBS} -lbz2"],
-+ [AC_MSG_ERROR(['libbz2' library was not found.])]
-+ )
- ]
- )
-+AC_SUBST([BZ2_LIBS])
-
- AH_TOP([#ifndef __SPLASH_CONFIG_H
- #define __SPLASH_CONFIG_H])
-diff --git a/core/src/Makefile.am b/core/src/Makefile.am
-index d6ce315..349b5e7 100644
---- a/core/src/Makefile.am
-+++ b/core/src/Makefile.am
-@@ -190,7 +190,7 @@ fbsplashctl_SOURCES = $(fbsplashd_SOURCES) $(splash_util_SOURCES) fbspla
- fbsplashctl_CFLAGS = $(AM_CFLAGS) $(PTHREAD_STATIC_CFLAGS) $(RT_CFLAGS) $(libfbsplashrender_la_CFLAGS) -DUNIFIED_BUILD
- fbsplashctl_CPPFLAGS = $(fbsplashd_CPPFLAGS) $(splash_util_CPPFLAGS)
- fbsplashctl_LDFLAGS = $(AM_LDFLAGS) -all-static
--fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS)
-+fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS) $(BZ2_LIBS)
-
- if CONFIG_FBCON_DECOR
- fbsplashctl_SOURCES += $(fbcondecor_ctl_SOURCES)
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2.patch b/media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2.patch
deleted file mode 100644
index 3438fd52..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.4-freetype-bz2.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-=== modified file 'fbtruetype/Makefile'
---- fbtruetype/Makefile 2011-10-01 14:10:17 +0000
-+++ fbtruetype/Makefile 2011-10-01 14:15:02 +0000
-@@ -23,8 +23,8 @@
- OBJECTS = fbtruetype.o messages.o console.o ttf.o luxisri.o
-
- LDFLAGS += -L$(LIBDIR)
--LIBSS = $(LIBDIR)/libfreetype.a $(LIBDIR)/libz.a -lm
--LIBSD = -lfreetype -lm
-+LIBSS = $(shell pkg-config freetype2 --libs --static) -lm
-+LIBSD = $(shell pkg-config freetype2 --libs) -lm
-
- CFLAGS += -I/usr/include/freetype2
- COMPILE = $(CC) $(CFLAGS)
-
diff --git a/media-gfx/splashutils/files/splashutils-1.5.4.4-gentoo-typo-fix.patch b/media-gfx/splashutils/files/splashutils-1.5.4.4-gentoo-typo-fix.patch
deleted file mode 100644
index 4b8d5137..00000000
--- a/media-gfx/splashutils/files/splashutils-1.5.4.4-gentoo-typo-fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit 74dda8291efae78f00bb781148c8fd4fccaeb764
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Tue Jun 14 23:23:33 2011 +0200
-
- Fix typo in the Gentoo initscript.
-
-diff --git a/gentoo/init-fbcondecor b/gentoo/init-fbcondecor
-index b66f40a..ce921b6 100755
---- a/gentoo/init-fbcondecor
-+++ b/gentoo/init-fbcondecor
-@@ -12,7 +12,7 @@ start() {
- splash_setup
-
- if [ -z "${FBCONDECOR_TTYS}" ]; then
-- FBCONDECOR_TTYS=$(seq 1 "${rc_tty_number:-${RC_TTY_NUMBER}:-12}")
-+ FBCONDECOR_TTYS=$(seq 1 "${rc_tty_number:-${RC_TTY_NUMBER:-12}}")
- fi
-
- local err=0
diff --git a/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch b/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch
deleted file mode 100644
index bc7b6ee0..00000000
--- a/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-commit a58099249acdce1fbdab19f5dfea0704c4c545f2
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Sun Dec 28 13:32:16 2008 +0100
-
- gentoo: make the splash plugin work with OpenRC 0.4.*
-
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index 26d0fa4..b6fa774 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -593,7 +593,7 @@ static int splash_start(const char *runlevel)
-
- /* Get a list of services that we'll have to handle. */
- /* We're rebooting/shutting down. */
-- if (!strcmp(runlevel, RC_LEVEL_SHUTDOWN) || !strcmp(runlevel, RC_LEVEL_REBOOT)) {
-+ if (!strcmp(runlevel, RC_LEVEL_SHUTDOWN)) {
- if ((err = fbsplash_cache_prep()))
- return err;
- splash_svcs_stop(runlevel);
-@@ -690,10 +690,14 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- int retval = 0;
-
- runlev = rc_runlevel_get();
-- if (!strcmp(runlev, RC_LEVEL_REBOOT))
-- type = fbspl_reboot;
-- else if (!strcmp(runlev, RC_LEVEL_SHUTDOWN))
-- type = fbspl_shutdown;
-+ if (!strcmp(runlev, RC_LEVEL_SHUTDOWN)) {
-+ char *t = getenv("RUNLEVEL");
-+ if (t && !strcmp(t, "6")) {
-+ type = fbspl_reboot;
-+ } else {
-+ type = fbspl_shutdown;
-+ }
-+ }
-
- /* Get boot and default levels from env variables exported by RC.
- * If unavailable, use the default ones. */
-@@ -716,7 +720,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- list = rc_stringlist_new();
- get_list_fp(list, fp);
- TAILQ_FOREACH(s, list, entries)
-- rc_service_mark(s->value, RC_SERVICE_COLDPLUGGED);
-+ rc_service_mark(s->value, RC_SERVICE_HOTPLUGGED);
- pclose(fp);
- rc_stringlist_free(list);
- }
-@@ -739,7 +743,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- goto exit;
-
- if (rc_runlevel_stopping() && strcmp(runlev, bootlevel) &&
-- strcmp(runlev, RC_LEVEL_REBOOT) && strcmp(runlev, RC_LEVEL_SHUTDOWN))
-+ strcmp(runlev, RC_LEVEL_SHUTDOWN))
- goto exit;
- }
-
-@@ -763,7 +767,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- case RC_HOOK_RUNLEVEL_STOP_IN:
- /* Start the splash daemon on reboot. The theme hook is called
- * from splash_start(). */
-- if (strcmp(name, RC_LEVEL_REBOOT) == 0 || strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
-+ if (strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
- if ((i = splash_start(name))) {
- fbsplash_set_verbose(0);
- retval= i;
-@@ -788,7 +792,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- case RC_HOOK_RUNLEVEL_STOP_OUT:
- /* Make sure the progress indicator reaches 100%, even if
- * something went wrong along the way. */
-- if (strcmp(name, RC_LEVEL_REBOOT) == 0 || strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
-+ if (strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
- config->verbosity = FBSPL_VERB_QUIET;
- i = fbsplash_check_daemon(&pid_daemon);
- config->verbosity = FBSPL_VERB_NORMAL;
diff --git a/media-gfx/splashutils/files/splashutils-openrc-0.4.3-runlevel-fix.patch b/media-gfx/splashutils/files/splashutils-openrc-0.4.3-runlevel-fix.patch
deleted file mode 100644
index 36d4ef02..00000000
--- a/media-gfx/splashutils/files/splashutils-openrc-0.4.3-runlevel-fix.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-commit 4bb63f7fb23b11591e2984ce87d4f36d80e29d65
-Author: Michał Januszewski <spock@gentoo.org>
-Date: Wed Mar 25 22:26:04 2009 +0100
-
- gentoo: export the sysvinit RUNLEVEL variable for compatibility reasons
-
- OpenRC 0.4.3+ no longer exports some sysvinit variables, including
- RUNLEVEL. In order to avoid breaking themes and scripts which still
- rely on this variable being present, we compute a suitable RUNLEVEL
- value using the data available in OpenRC and then export it in
- splash_call().
-
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index 726315f..048e0ec 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -41,7 +41,7 @@
- #define SPLASH_CMD "export SPLASH_XRES='%d'; export SPLASH_YRES='%d';" \
- "export SOFTLEVEL='%s'; export BOOTLEVEL='%s';" \
- "export DEFAULTLEVEL='%s'; export svcdir=${RC_SVCDIR};" \
-- ". /sbin/splash-functions.sh; %s %s %s"
-+ "export RUNLEVEL='%s'; . /sbin/splash-functions.sh; %s %s %s"
-
- static char *bootlevel = NULL;
- static char *defaultlevel = NULL;
-@@ -260,11 +260,32 @@ static int splash_config_gentoo(fbspl_cfg_t *cfg, fbspl_type_t type)
- return 0;
- }
-
-+static const char *splash_sysvinit_runlevel(const char *runlevel)
-+{
-+ const char *runlev = runlevel ? runlevel : rc_runlevel_get();
-+
-+ if (!strcmp(runlev, RC_LEVEL_SHUTDOWN)) {
-+ char *t = getenv("RC_REBOOT");
-+ if (t && !strcmp(t, "YES")) {
-+ return "6";
-+ } else {
-+ return "0";
-+ }
-+ } else if (!strcmp(runlev, RC_LEVEL_SYSINIT)) {
-+ return "S";
-+ } else if (!strcmp(runlev, RC_LEVEL_SINGLE)) {
-+ return "1";
-+ } else {
-+ return "3";
-+ }
-+}
-+
-+
- /*
- * Call a function from /sbin/splash-functions.sh.
- * This is rather slow, so use it only when really necessary.
- */
--static int splash_call(const char *cmd, const char *arg1, const char *arg2)
-+static int splash_call(const char *cmd, const char *arg1, const char *arg2, const char *runlevel)
- {
- char *c;
- int l;
-@@ -285,7 +306,8 @@ static int splash_call(const char *cmd, const char *arg1, const char *arg2)
-
- snprintf(c, l, SPLASH_CMD, xres, yres,
- arg1 ? (strcmp(arg1, RC_LEVEL_SYSINIT) == 0 ? bootlevel : soft) : soft,
-- bootlevel, defaultlevel, cmd, arg1 ? arg1 : "", arg2 ? arg2 : "");
-+ bootlevel, defaultlevel, runlevel,
-+ cmd, arg1 ? arg1 : "", arg2 ? arg2 : "");
- l = system(c);
- free(c);
- return l;
-@@ -316,15 +338,16 @@ static int splash_theme_hook(const char *name, const char *type, const char *arg
- }
-
- if (!strcmp(name, "rc_init") || !strcmp(name, "rc_exit")) {
-- l = splash_call(buf, arg1, getenv("RUNLEVEL"));
-+ const char *t = splash_sysvinit_runlevel(arg1);
-+ l = splash_call(buf, arg1, t, t);
- } else if (!strcmp(name, "svc_started") || !strcmp(name, "svc_stopped")) {
- /*
- * Set the 2nd parameter to 0 so that we don't break themes using the
- * legacy interface in which these events contained an error code.
- */
-- l = splash_call(buf, arg1, "0");
-+ l = splash_call(buf, arg1, "0", splash_sysvinit_runlevel(NULL));
- } else {
-- l = splash_call(buf, arg1, NULL);
-+ l = splash_call(buf, arg1, NULL, splash_sysvinit_runlevel(NULL));
- }
- free(buf);
- return l;
-@@ -710,8 +733,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
-
- runlev = rc_runlevel_get();
- if (!strcmp(runlev, RC_LEVEL_SHUTDOWN)) {
-- char *t = getenv("RUNLEVEL");
-- if (t && !strcmp(t, "6")) {
-+ if (!strcmp(splash_sysvinit_runlevel(NULL), "6")) {
- type = fbspl_reboot;
- } else {
- type = fbspl_shutdown;
diff --git a/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild b/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild
deleted file mode 100644
index 7cd8f846..00000000
--- a/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild
+++ /dev/null
@@ -1,245 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.4.4.ebuild,v 1.7 2011/11/13 14:53:58 maekke Exp $
-
-EAPI="2"
-
-inherit autotools eutils multilib toolchain-funcs
-
-MISCSPLASH="miscsplashutils-0.1.8"
-GENTOOSPLASH="splashutils-gentoo-1.0.17"
-V_JPEG="8a"
-V_PNG="1.4.3"
-V_ZLIB="1.2.3"
-V_FT="2.3.12"
-
-ZLIBSRC="libs/zlib-${V_ZLIB}"
-LPNGSRC="libs/libpng-${V_PNG}"
-JPEGSRC="libs/jpeg-${V_JPEG}"
-FT2SRC="libs/freetype-${V_FT}"
-
-RESTRICT="test"
-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="gpm? ( sys-libs/gpm )
- truetype? ( >=media-libs/freetype-2[static-libs]
- || ( <app-arch/bzip2-1.0.6-r3 app-arch/bzip2[static-libs] )
- || ( <sys-libs/zlib-1.2.5.1-r2 sys-libs/zlib[static-libs] ) )
- png? ( >=media-libs/libpng-1.4.3[static-libs] )
- mng? (
- media-libs/lcms:0[static-libs]
- || ( media-libs/libmng[static-libs] <media-libs/libmng-1.0.10-r1 )
- )
- virtual/jpeg[static-libs]
- >=sys-apps/baselayout-1.9.4-r5
- app-arch/cpio
- media-gfx/fbgrab
- !sys-apps/lcdsplash"
-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_prepare() {
- 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 "${SG}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-gentoo-typo-fix.patch"
-
- if use truetype ; then
- cd "${SM}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-freetype-bz2.patch"
- cd "${S}"
- epatch "${FILESDIR}/splashutils-1.5.4.4-freetype-bz2-2.patch"
- fi
-
- cd "${S}"
- ln -sf "${S}/src" "${WORKDIR}/core"
-
- if ! tc-is-cross-compiler && \
- has_version "sys-devel/gcc:$(gcc-version)[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
-
- # Latest version of klibc defined its own version of ferror, so there is
- # not need for the hack in klibc_compat.h
- if has_version ">=dev-libs/klibc-1.5.20"; then
- echo > "libs/klibc_compat.h"
- fi
-
- rm -f m4/*
- eautoreconf
-}
-
-src_configure() {
- tc-export CC
- cd "${SM}"
- emake CC="${CC}" 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) \
- --docdir=/usr/share/doc/${PF} \
- --with-freetype2-src=${FT2SRC} \
- --with-jpeg-src=${JPEGSRC} \
- --with-lpng-src=${LPNGSRC} \
- --with-zlib-src=${ZLIBSRC} \
- --with-essential-libdir=/$(get_libdir) || die "failed to configure splashutils"
-}
-
-src_compile() {
- emake CC="${CC}" STRIP="true" || 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)
-
- # Sabayon: tweak /etc/conf.d/splash settings
- sed -i 's/SPLASH_VERBOSE_ON_ERRORS="yes"/SPLASH_VERBOSE_ON_ERRORS="no"/g' "${SG}"/splash.conf || \
- die "cannot tweak SPLASH_VERBOSE_ON_ERRORS"
- sed -i 's/SPLASH_AUTOVERBOSE=".*"/SPLASH_AUTOVERBOSE="20"/g' "${SG}"/splash.conf || \
- die "cannot tweak SPLASH_AUTOVERBOSE"
-
- cd "${SM}"
- make DESTDIR="${D}" LIB=${LIB} install || die
-
- cd "${S}"
- make DESTDIR="${D}" STRIP="true" 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,sys}
- dosym /${LIB}/splash/bin/fbres /sbin/fbres
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-1.0"
- previous_less_than_1_0=$?
-
- has_version "<${CATEGORY}/${PN}-1.5.3"
- previous_less_than_1_5_3=$?
-}
-
-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 [[ $previous_less_than_1_0 = 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 [[ $previous_less_than_1_5_3 = 0 ]] && ! 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=tty1|CONSOLE=/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/xsane-gimp/Manifest b/media-gfx/xsane-gimp/Manifest
deleted file mode 100644
index 761b25d6..00000000
--- a/media-gfx/xsane-gimp/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST xsane-0.998-patches-2.tar.xz 54804 SHA256 84af533cba6309cf44892da8952b6203daa4dcfaf64e2efd1dddc5144e4cab4c SHA512 973ccac2fe3b6089049c1c5ba3e4cb0db29fdc79de372f8a7b461ee108e5bfc3f4a84997552fc3d3b651bbe9f98d247a5974d90e8949089b2ea52118eab6ad1f WHIRLPOOL 2294601aa696c442e8d2b5173b8ee04d158439e0ae02dd22c7d5c8f9fce98c8238a42e0867a5e511d206dd4030f7a15df2a98676471abe1e91870883662add56
-DIST xsane-0.998.tar.gz 2950560 SHA256 a32e2f8057782a29619f082dcf6b5f944bf12abe3d4121c516f7c9589064c26e SHA512 8cf6f01e706175cb4df88effe13c0547624bd62b08f485118279a9bcde77b9a555f3148b24f3d6348157868f50bfa450f413a20a514b4f0218579b75f642fc04 WHIRLPOOL 424c2050b2abf0d647adef7a0d22ee3c19d57ebc21d888d97667f82243c2ef10b5d99fef15a15da6f900f25f1aae3914824c87e71141a75a3dd6b1b44a0b0e4c
-DIST xsane-0.999.tar.gz 2950621 SHA256 5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b SHA512 73ec961fce1a86b5d6f5bac0995d222785eb4b077dc8e72492b092d2bf4500455426e80e4d27233721cd38ec84f77fb9f92190a6afe45bdaf7ffd1ee50b431ed WHIRLPOOL 7d50f6ecd8ad671d36a6b92eb365a6361da8d90bfea3136cf7add0890313294903f8cbc75684cbc24e42a028f83922a0308783fb20d89b0d6b14b1f949283ad5
diff --git a/media-gfx/xsane-gimp/xsane-gimp-0.998-r1.ebuild b/media-gfx/xsane-gimp/xsane-gimp-0.998-r1.ebuild
deleted file mode 100644
index ad80c7dd..00000000
--- a/media-gfx/xsane-gimp/xsane-gimp-0.998-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-inherit eutils
-
-DESCRIPTION="XSane plugin for GIMP"
-HOMEPAGE="http://www.xsane.org/"
-MY_P="${P/-gimp}"
-SRC_URI="http://www.xsane.org/download/${MY_P}.tar.gz
- http://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-2.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls"
-
-RDEPEND="media-gfx/sane-backends
- ~media-gfx/xsane-${PV}[-gimp]
- media-gfx/gimp"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Apply multiple fixes from different distributions
- epatch "${WORKDIR}/${MY_P}-patches-2"/*.patch
-}
-
-src_configure() {
- econf --enable-gtk2 \
- $(use_enable nls) \
- --disable-jpeg \
- --disable-png \
- --disable-tiff \
- --disable-lcms \
- --disable-sanetest
-}
-
-src_install() {
- # link xsane so it is seen as a plugin in gimp
- local plugindir
- if [ -x /usr/bin/gimptool ]; then
- plugindir="$(gimptool --gimpplugindir)/plug-ins"
- elif [ -x /usr/bin/gimptool-2.0 ]; then
- plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins"
- else
- die "Can't find GIMP plugin directory."
- fi
- newbin src/xsane xsane-gimp
- dodir "${plugindir}"
- dosym /usr/bin/xsane-gimp "${plugindir}"/xsane
-}
-
-pkg_postinst() {
- elog "If a new scanner is added or the device of the the scanner has"
- elog "changed, it is recommended to rebuild the cache:"
- elog "issue \"touch /usr/bin/xsane-gimp\" or delete the plugin cache"
- elog "(~/.gimp*/pluginrc)."
-}
diff --git a/media-gfx/xsane-gimp/xsane-gimp-0.999.ebuild b/media-gfx/xsane-gimp/xsane-gimp-0.999.ebuild
deleted file mode 100644
index 0297f7ee..00000000
--- a/media-gfx/xsane-gimp/xsane-gimp-0.999.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="XSane plugin for GIMP"
-HOMEPAGE="http://www.xsane.org/"
-MY_P="${P/-gimp}"
-SRC_URI="http://www.xsane.org/download/${MY_P}.tar.gz
- http://dev.gentoo.org/~dilfridge/distfiles/xsane-0.998-patches-2.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls"
-
-RDEPEND="media-gfx/sane-backends
- ~media-gfx/xsane-${PV}[-gimp]
- media-gfx/gimp"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Apply multiple fixes from different distributions
- # Drop included patch and reuse patchset from prior version
- rm "${WORKDIR}/xsane-0.998-patches-2"/005-update-param-crash.patch || die
- epatch "${WORKDIR}/xsane-0.998-patches-2"/*.patch
-
- # Fix compability with libpng15 wrt #377363
- sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c || die
-
- # Fix AR calling directly (bug #442606)
- sed -i -e 's:ar r:$(AR) r:' lib/Makefile.in || die
- tc-export AR
-}
-
-src_configure() {
- econf --enable-gtk2 \
- $(use_enable nls) \
- --disable-jpeg \
- --disable-png \
- --disable-tiff \
- --enable-gimp \
- --disable-lcms
-}
-
-src_install() {
- # link xsane so it is seen as a plugin in gimp
- local plugindir
- if [ -x "${EPREFIX}"/usr/bin/gimptool ]; then
- plugindir="$(gimptool --gimpplugindir)/plug-ins"
- elif [ -x "${EPREFIX}"/usr/bin/gimptool-2.0 ]; then
- plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins"
- else
- die "Can't find GIMP plugin directory."
- fi
- dodir "${plugindir#${EPREFIX}}"
- newbin src/xsane xsane-gimp
- dosym /usr/bin/xsane-gimp "${plugindir#${EPREFIX}}"/xsane
-}