Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -ru splashutils-1.5.4.4.orig/src/Makefile.am splashutils-1.5.4.4/src/Makefile.am
- --- splashutils-1.5.4.4.orig/src/Makefile.am 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/src/Makefile.am 2011-07-31 21:07:23.000000000 -0500
- @@ -189,7 +189,7 @@
- fbsplashctl_SOURCES = $(fbsplashd_SOURCES) $(splash_util_SOURCES) fbsplashctl.c
- 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_LDFLAGS = $(AM_LDFLAGS)
- fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS)
- if CONFIG_FBCON_DECOR
- diff -ru splashutils-1.5.4.4.orig/src/Makefile.in splashutils-1.5.4.4/src/Makefile.in
- --- splashutils-1.5.4.4.orig/src/Makefile.in 2011-06-12 16:45:11.000000000 -0500
- +++ splashutils-1.5.4.4/src/Makefile.in 2011-07-31 21:08:07.000000000 -0500
- @@ -540,7 +540,7 @@
- @CONFIG_STATIC_BINARIES_TRUE@ $(fbsplashd_CPPFLAGS) \
- @CONFIG_STATIC_BINARIES_TRUE@ $(splash_util_CPPFLAGS) \
- @CONFIG_STATIC_BINARIES_TRUE@ $(am__append_12)
- -@CONFIG_STATIC_BINARIES_TRUE@fbsplashctl_LDFLAGS = $(AM_LDFLAGS) -all-static
- +@CONFIG_STATIC_BINARIES_TRUE@fbsplashctl_LDFLAGS = $(AM_LDFLAGS)
- @CONFIG_STATIC_BINARIES_TRUE@fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS)
- @CONFIG_KLIBC_FALSE@fbcondecor_helper_SOURCES = kernel.c libfbsplash.c \
- @CONFIG_KLIBC_FALSE@ libfbsplashrender.c fbcon_decor.c common.c \
- diff -ru splashutils-1.5.4.4.orig/scripts/splash_manager.in splashutils-1.5.4.4/scripts/splash_manager.in
- --- splashutils-1.5.4.4.orig/scripts/splash_manager.in 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/scripts/splash_manager.in 2011-08-09 23:44:32.000000000 -0500
- @@ -197,7 +197,7 @@
- local cres=$2
- local action=$3
- - if [ -z $(cat "${themedir}/${ctheme}/${cres}.cfg" 2>/dev/null | egrep "^silent(pic|jpeg)=") ]; then
- + if [ -z "$(cat "${themedir}/${ctheme}/${cres}.cfg" 2>/dev/null | egrep "^silent(pic|jpeg)=")" ]; then
- [ "${action}" == "test" ] && return 1
- err "Theme '${ctheme}' doesn't support the silent splash mode."
- exit 1
- diff -ru splashutils-1.5.4.4.orig/scripts/Makefile.am splashutils-1.5.4.4/scripts/Makefile.am
- --- splashutils-1.5.4.4.orig/scripts/Makefile.am 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/scripts/Makefile.am 2011-08-01 23:21:33.000000000 -0500
- @@ -16,6 +16,8 @@
- -e 's|@bindir[@]|$(eexecbindir)|g' \
- -e 's|@sbindir[@]|$(eexecsbindir)|g' \
- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
- + -e 's|@localstatedir[@]|$(localstatedir)|g' \
- + -e 's|@prefix[@]|$(prefix)|g' \
- -e 's|@themedir[@]|$(themedir)|g' \
- -e 's|@libdir[@]|$(eexeclibdir)|g' \
- > $@
- diff -ru splashutils-1.5.4.4.orig/scripts/Makefile.in splashutils-1.5.4.4/scripts/Makefile.in
- --- splashutils-1.5.4.4.orig/scripts/Makefile.in 2011-06-12 16:45:10.000000000 -0500
- +++ splashutils-1.5.4.4/scripts/Makefile.in 2011-08-01 23:21:33.000000000 -0500
- @@ -532,6 +532,8 @@
- -e 's|@bindir[@]|$(eexecbindir)|g' \
- -e 's|@sbindir[@]|$(eexecsbindir)|g' \
- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
- + -e 's|@localstatedir[@]|$(localstatedir)|g' \
- + -e 's|@prefix[@]|$(prefix)|g' \
- -e 's|@themedir[@]|$(themedir)|g' \
- -e 's|@libdir[@]|$(eexeclibdir)|g' \
- > $@
- diff -ru splashutils-1.5.4.4.orig/scripts/splash-functions.sh.in splashutils-1.5.4.4/scripts/splash-functions.sh.in
- --- splashutils-1.5.4.4.orig/scripts/splash-functions.sh.in 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/scripts/splash-functions.sh.in 2011-08-01 23:21:33.000000000 -0500
- @@ -22,14 +22,14 @@
- # default value.
- export spl_cachesize="4096"
- export spl_cachetype="tmpfs"
- -export spl_cachedir="@libdir@/splash/cache"
- -export spl_tmpdir="@libdir@/splash/tmp"
- +export spl_cachedir="@localstatedir@/run/splash/cache"
- +export spl_tmpdir="@localstatedir@/run/splash/tmp"
- export spl_fifo="${spl_cachedir}/.splash"
- export spl_pidfile="${spl_cachedir}/daemon.pid"
- export spl_util="@sbindir@/splash_util.static"
- export spl_daemon="@sbindir@/fbsplashd.static"
- export spl_decor="@sbindir@/fbcondecor_ctl.static"
- -export spl_bindir="@libdir@/splash/bin"
- +export spl_bindir="@localstatedir@/run/splash/bin"
- # This is the main function which handles all events.
- # Accepted parameters:
- diff -ru splashutils-1.5.4.4.orig/scripts/splash_geninitramfs.in splashutils-1.5.4.4/scripts/splash_geninitramfs.in
- --- splashutils-1.5.4.4.orig/scripts/splash_geninitramfs.in 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/scripts/splash_geninitramfs.in 2011-08-01 23:21:33.000000000 -0500
- @@ -149,7 +149,7 @@
- fi
- printv "o Creating directory structure.."
- -mkdir -p ${imgdir}/{dev,dev/fb,dev/misc,dev/vc,$themedir,@libdir@/splash/proc,root,sbin,@libdir@/splash/sys}
- +mkdir -p ${imgdir}/{dev,dev/fb,dev/misc,dev/vc,$themedir,@localstatedir@/run/splash/proc,root,sbin,@localstatedir@/run/splash/sys}
- if [ $EUID == 0 ]; then
- [[ ! -e "${imgdir}/dev/null" ]] && mknod "${imgdir}/dev/null" c 1 3
- diff -ru splashutils-1.5.4.4.orig/scripts/splash_manager.in splashutils-1.5.4.4/scripts/splash_manager.in
- --- splashutils-1.5.4.4.orig/scripts/splash_manager.in 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/scripts/splash_manager.in 2011-08-01 23:22:22.000000000 -0500
- @@ -25,7 +25,7 @@
- spl_util=splash_util.static
- spl_daemon=fbsplashd.static
- spl_decor=fbcondecor_ctl
- -spl_dir="@libdir@/splash"
- +spl_dir="@localstatedir@/run/splash"
- spl_fifo=${spl_dir}/cache/.splash
- spl_pidfile=${spl_dir}/cache/daemon.pid
- themedir="@themedir@"
- @@ -897,7 +897,7 @@
- }
- # Set some useful variables that we'll be using in various places
- -ctty=$(${spl_dir}/bin/fgconsole)
- +ctty=$(@prefix@@bindir@/fgconsole)
- # Default settings
- steps=100
- @@ -941,7 +941,7 @@
- exit 0
- fi
- -rres=$(${spl_dir}/bin/fbres)
- +rres=$(@prefix@@bindir@/fbres)
- res=$(${spl_util} -c getres -t ${theme})
- yres=${res#*x}
- xres=${res%x*}
- diff -ru splashutils-1.5.4.4.orig/src/Makefile.am splashutils-1.5.4.4/src/Makefile.am
- --- splashutils-1.5.4.4.orig/src/Makefile.am 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/src/Makefile.am 2011-08-01 23:21:33.000000000 -0500
- @@ -83,6 +83,7 @@
- -e 's|@bindir[@]|$(eexecbindir)|g' \
- -e 's|@sbindir[@]|$(eexecsbindir)|g' \
- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
- + -e 's|@localstatedir[@]|$(localstatedir)|g' \
- -e 's|@themedir[@]|$(themedir)|g' \
- -e 's|@libdir[@]|$(eexeclibdir)|g' \
- > $@
- diff -ru splashutils-1.5.4.4.orig/src/Makefile.in splashutils-1.5.4.4/src/Makefile.in
- --- splashutils-1.5.4.4.orig/src/Makefile.in 2011-06-12 16:45:11.000000000 -0500
- +++ splashutils-1.5.4.4/src/Makefile.in 2011-08-01 23:21:33.000000000 -0500
- @@ -1691,6 +1691,7 @@
- -e 's|@bindir[@]|$(eexecbindir)|g' \
- -e 's|@sbindir[@]|$(eexecsbindir)|g' \
- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \
- + -e 's|@localstatedir[@]|$(localstatedir)|g' \
- -e 's|@themedir[@]|$(themedir)|g' \
- -e 's|@libdir[@]|$(eexeclibdir)|g' \
- > $@
- diff -ru splashutils-1.5.4.4.orig/src/daemon_cmd.c splashutils-1.5.4.4/src/daemon_cmd.c
- --- splashutils-1.5.4.4.orig/src/daemon_cmd.c 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/src/daemon_cmd.c 2011-08-01 23:21:33.000000000 -0500
- @@ -486,7 +486,7 @@
- {
- svc_state *ss;
- item *i;
- - FILE *fp = fopen("/lib/splash/cache/svc_timings", "w");
- + FILE *fp = fopen(FBSPLASH_CACHEDIR"/svc_timings", "w");
- if (!fp)
- return -1;
- diff -ru splashutils-1.5.4.4.orig/src/fbsplash.h.in splashutils-1.5.4.4/src/fbsplash.h.in
- --- splashutils-1.5.4.4.orig/src/fbsplash.h.in 2011-06-12 16:43:39.000000000 -0500
- +++ splashutils-1.5.4.4/src/fbsplash.h.in 2011-08-01 23:21:33.000000000 -0500
- @@ -6,7 +6,7 @@
- #include <linux/kd.h>
- #include <linux/input.h>
- -#define FBSPLASH_DIR "@libdir@/splash"
- +#define FBSPLASH_DIR "@localstatedir@/run/splash"
- #define FBSPLASH_CACHEDIR FBSPLASH_DIR"/cache"
- #define FBSPLASH_PIDFILE FBSPLASH_CACHEDIR"/daemon.pid"
- #define FBSPLASH_PROFILE FBSPLASH_CACHEDIR"/profile"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement