Mailinglist Archive: opensuse-commit (1059 mails)

< Previous Next >
commit splashy
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 18 Jan 2008 00:58:37 +0100
  • Message-id: <20080117235838.1E29C678335@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package splashy
checked in at Fri Jan 18 00:58:37 CET 2008.

--------
--- splashy/splashy.changes 2007-10-17 14:37:59.000000000 +0200
+++ /mounts/work_src_done/STABLE/splashy/splashy.changes 2008-01-15
19:21:49.000000000 +0100
@@ -1,0 +2,37 @@
+Tue Jan 15 15:23:05 CET 2008 - hmacht@xxxxxxx
+
+- update to 0.3.8:
+ - remove splashy-static.patch
+ - add patch splashy-0.3.8-glib.patch
+ - Changes between 0.3.7 and 0.3.8
+ * Bug fixes:
+ - Changes between 0.3.6 and 0.3.7
+ * all static build dropped in favor of shared libraries. If your
+ distribution does not support initramfs shared binaries, or you are
+ using Splashy from a thin-client server, you will need to re-enable
+ static on your own. Please refer to configure.ac and src/Makefile.am
+ * scrolls text during boot (splashy_update "scroll text to display")
+ * splashy_update commands print_scroll is now just scroll. Same for
+ its alias "TEXT_SCROLL->SCROLL)
+ * splashy_update command clrprint is now just "clear"
+ * adds verbose text when pressing F2 (again). This time is done using
+ LSB scripts not reading the console files (/dev/vcs*)
+ * LSB script writes splashy PID to /var/run/sendsigs.omit which is
+ used by /etc/init.d/sendsigs to killall5 all processes at
+ shutdown/reboot. This tells the system to ignore killing splashy during
+ shutdown/reboot.
+ * adds international support. Translators needed!
+ http://splashy.alioth.debian.org/i18n/
+ * uses the real size of the screen and not that reported by the
+ surface (Thanks to DeX77 from #frugalware for helping to get this
+ fixed)
+ - Changes between 0.3.5 and 0.3.6
+ * Documentation updates
+ * Support for OpenSuSE/Fedora and other RPM-based systems
+ * Splashy now works with Directfb 1.x
+ * Splashy runs from initramfs under Init again (Thanks to RPath Linux
+ and Directfb Dev Team) (upstart works just like before)
+ * Themes are now in /usr/share/splashy/themes and a symlink from
+ /etc/splashy/themes points to that location (See README for more)
+
+-------------------------------------------------------------------

Old:
----
splashy_0.3.5.tar.bz2
splashy-static.patch

New:
----
splashy-0.3.8-fix-compiler-warnings.patch
splashy-0.3.8-glib.patch
splashy-0.3.8.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ splashy.spec ++++++
--- /var/tmp/diff_new_pack.J27426/_old 2008-01-18 00:56:05.000000000 +0100
+++ /var/tmp/diff_new_pack.J27426/_new 2008-01-18 00:56:05.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package splashy (Version 0.3.5)
+# spec file for package splashy (Version 0.3.8)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,20 +11,21 @@

Name: splashy
Summary: A complete user-space boot splash system
-Version: 0.3.5
-Release: 5
+Version: 0.3.8
+Release: 1
License: GPL v2 or later
Group: System/Boot
Url: http://splashy.alioth.debian.org/wiki/doku.php
PreReq: mkinitrd
-Source: %{name}_%{version}.tar.bz2
+Source: %{name}-%{version}.tar.bz2
Source1: setup-splashy.sh
Source2: pm-utils-splashy.sh
Source3: themes.tar.bz2
# Werror breaks build when used with fortify (we could also empty the
_fortify_cflags macro)
#Patch0: splashy.diff
-Patch0: splashy-static.patch
-Patch1: splashy-default-theme.patch
+Patch0: splashy-default-theme.patch
+Patch1: splashy-0.3.8-fix-compiler-warnings.patch
+Patch2: splashy-0.3.8-glib.patch
BuildRequires: DirectFB-devel file-devel
BuildRequires: glib2-devel
BuildRequires: ImageMagick-devel
@@ -40,7 +41,7 @@
it�s installed like a normal package. Make your boot process eye-candy
with Splashy!

-Some of Splashy�s most noticable features include:
+Some of Splashy�s most noticeable features include:

* Require zero kernel patches/full functionality in user-space

@@ -147,6 +148,7 @@
%setup -q
%patch0
%patch1
+%patch2
find . -type f | xargs perl -pi -e "s|/usr/lib/|%{_libdir}/|g"
find . -type f | xargs perl -pi -e "s|/lib/|/%{_lib}/|g"
# build gets confused on x86_64 because of this .la file
@@ -154,7 +156,7 @@

%build
NOCONFIGURE=1 ./autogen.sh
-%configure --prefix=/ --disable-static
+%configure --prefix=/ --disable-static CFLAGS="$RPM_OPT_FLAGS"
make

%install
@@ -171,9 +173,11 @@
rm -f .%{_sysconfdir}/init.d/splashy
mkdir -p $RPM_BUILD_ROOT/lib/mkinitrd/scripts
cp %{SOURCE1} $RPM_BUILD_ROOT/lib/mkinitrd/scripts
-tar xvf %{SOURCE3} -C $RPM_BUILD_ROOT/etc/splashy/
+tar xvf %{SOURCE3} -C $RPM_BUILD_ROOT/usr/share/splashy/
#mkdir -p $RPM_BUILD_ROOT/usr/lib/pm-utils/sleep.d/
#cp %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/pm-utils/sleep.d/99splashy
+# remove translations for now TODO: #%find_lang %name
+rm %{buildroot}/%{_datadir}/locale/*/LC_MESSAGES/splashy.mo

%clean
rm -rf %{buildroot}
@@ -192,17 +196,18 @@
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/*
%dir %{_sysconfdir}/splashy
%config(noreplace) %{_sysconfdir}/splashy/config.xml
-%dir %_sysconfdir/splashy/themes
-%config(noreplace) %{_sysconfdir}/splashy/themes/openSUSE
-%_sbindir/*
+%{_sbindir}/*
+%{_mandir}/man1/*
+%{_mandir}/man5/*
+/lib/mkinitrd/scripts/setup-splashy.sh
%dir %{_datadir}/splashy
-%{_datadir}/splashy/*
-%{_mandir}/man?/*
%{_libdir}/lib%{name}*.so.*
-/lib/mkinitrd/scripts/setup-splashy.sh
-#%dir /usr/lib/pm-utils
-#%dir /usr/lib/pm-utils/sleep.d
-#/usr/lib/pm-utils/sleep.d/99splashy
+%{_datadir}/splashy/schemas
+%dir %{_datadir}/splashy/themes
+%{_datadir}/splashy/themes/default
+%{_datadir}/splashy/themes/openSUSE
+# this is a symbolic link to /usr/share/splashy/themes
+%{_sysconfdir}/splashy/themes

%files -n splashy-devel
%defattr(-,root,root)
@@ -211,58 +216,91 @@

%files -n splashy-themes
%defattr(-,root,root)
-%dir %_sysconfdir/splashy/themes/default
-%config(noreplace) %{_sysconfdir}/splashy/themes/default
-%config(noreplace) %{_sysconfdir}/splashy/themes/fingerprint
-%config(noreplace) %{_sysconfdir}/splashy/themes/mepis_baghira
-%config(noreplace) %{_sysconfdir}/splashy/themes/aqua
+/usr/share/splashy/themes/fingerprint
+/usr/share/splashy/themes/mepis_baghira
+/usr/share/splashy/themes/aqua
+
%changelog
-* Wed Oct 17 2007 - hmacht@xxxxxxx
+* Tue Jan 15 2008 hmacht@xxxxxxx
+- update to 0.3.8:
+ - remove splashy-static.patch
+ - add patch splashy-0.3.8-glib.patch
+ - Changes between 0.3.7 and 0.3.8
+ * Bug fixes:
+ - Changes between 0.3.6 and 0.3.7
+ * all static build dropped in favor of shared libraries. If your
+ distribution does not support initramfs shared binaries, or you are
+ using Splashy from a thin-client server, you will need to re-enable
+ static on your own. Please refer to configure.ac and src/Makefile.am
+ * scrolls text during boot (splashy_update "scroll text to display")
+ * splashy_update commands print_scroll is now just scroll. Same for
+ its alias "TEXT_SCROLL->SCROLL)
+ * splashy_update command clrprint is now just "clear"
+ * adds verbose text when pressing F2 (again). This time is done using
+ LSB scripts not reading the console files (/dev/vcs*)
+ * LSB script writes splashy PID to /var/run/sendsigs.omit which is
+ used by /etc/init.d/sendsigs to killall5 all processes at
+ shutdown/reboot. This tells the system to ignore killing splashy during
+ shutdown/reboot.
+ * adds international support. Translators needed!
+ http://splashy.alioth.debian.org/i18n/
+ * uses the real size of the screen and not that reported by the
+ surface (Thanks to DeX77 from #frugalware for helping to get this
+ fixed)
+ - Changes between 0.3.5 and 0.3.6
+ * Documentation updates
+ * Support for OpenSuSE/Fedora and other RPM-based systems
+ * Splashy now works with Directfb 1.x
+ * Splashy runs from initramfs under Init again (Thanks to RPath Linux
+ and Directfb Dev Team) (upstart works just like before)
+ * Themes are now in /usr/share/splashy/themes and a symlink from
+ /etc/splashy/themes points to that location (See README for more)
+* Wed Oct 17 2007 hmacht@xxxxxxx
- use giant if-clause to never ever return from a mkinitrd script
which would result in the initrd build process to fail
(according to novell bug 331785, comment 8)
-* Thu Oct 11 2007 - hmacht@xxxxxxx
+* Thu Oct 11 2007 hmacht@xxxxxxx
Update to upstream 0.3.5:
- Make init scripts consistent. STEPS_DIR can be defined in
/etc/default/splashy
- bugfixes
- documentation updates
-* Tue Sep 11 2007 - seife@xxxxxxx
+* Tue Sep 11 2007 seife@xxxxxxx
- fix wrong path in the theme check
- do not exit in mkinitrd script since this script is sourced
-* Mon Sep 10 2007 - seife@xxxxxxx
+* Mon Sep 10 2007 seife@xxxxxxx
- never abort mkinitrd because of potential splashy errors
-* Sun Sep 09 2007 - seife@xxxxxxx
+* Sun Sep 09 2007 seife@xxxxxxx
- fix setup-splashy.sh error if the configured theme is not there
-* Wed Sep 05 2007 - hmacht@xxxxxxx
+* Wed Sep 05 2007 hmacht@xxxxxxx
- add splashy-themes package, only openSUSE theme remains in the
original package
- add themes Fingerprint, Mepis Bahira, Aqua and default splashy
theme to splashy-themes package
-* Mon Sep 03 2007 - seife@xxxxxxx
+* Mon Sep 03 2007 seife@xxxxxxx
- do not put /etc/suspend.conf into the initrd
-* Fri Aug 31 2007 - seife@xxxxxxx
+* Fri Aug 31 2007 seife@xxxxxxx
- fix setup-splashy.sh in case the user changed his config.xml
-* Mon Aug 27 2007 - hmacht@xxxxxxx
+* Mon Aug 27 2007 hmacht@xxxxxxx
- setup-splashy.sh script did not copy dynamic libraries to initrd
if static ones were not present in installed system
- add openSUSE theme by Jakub Steiner and use as default
-* Mon Aug 20 2007 - hmacht@xxxxxxx
+* Mon Aug 20 2007 hmacht@xxxxxxx
- do not install 99splashy pm-utils hook to create the screenshot
before suspending. There are complications with the timeframe
and with the desktop screensaver kicking in
-* Mon Aug 06 2007 - hmacht@xxxxxxx
+* Mon Aug 06 2007 hmacht@xxxxxxx
- call /sbin/mkinitrd_setup in %%postun to remove links
(novell bug 297219)
- exit gracefully if convert is not installed
-* Fri Aug 03 2007 - hmacht@xxxxxxx
+* Fri Aug 03 2007 hmacht@xxxxxxx
- pm-utils-splashy.sh: Don't create screenshot if splash is
disabled
-* Wed Jul 25 2007 - hmacht@xxxxxxx
+* Wed Jul 25 2007 hmacht@xxxxxxx
- add hook for pm-utils to create a screenshot of the desktop to
show as suspend image
- add mkinitrd script to integrate splashy into the initrd
- splashy-default-theme.diff: slightly adjust the default theme
configuration to fulfil our needs
-* Fri Jun 29 2007 - hmacht@xxxxxxx
+* Fri Jun 29 2007 hmacht@xxxxxxx
- initial submission



++++++ splashy-0.3.8-fix-compiler-warnings.patch ++++++
--- src/splashy_functions.c
+++ src/splashy_functions.c
@@ -196,14 +196,22 @@
buffer = g_try_malloc (max_buf);
if (buffer && (fp = g_fopen (filename, "r")))
{
- fread_unlocked (buffer, max_buf, 1, fp); /* *_unlocked
- * are a GNU
- * extension:
- * makes
- * function
- * fread()
- * thread
- * safe */
+ /* *_unlocked
+ * are a GNU
+ * extension:
+ * makes
+ * function
+ * fread()
+ * thread
+ * safe */
+ if (fread_unlocked (buffer, max_buf, 1, fp) == 0) {
+ ERROR_PRINT ("Cannot read from file %s\n", filename);
+ fclose (fp);
+ if (buffer)
+ g_free (buffer);
+ return FALSE;
+ }
+
fclose (fp);
buffer[max_buf - 1] = '\0';
ret = search_pattern (perr_pattern, buffer, use_ignore);
++++++ splashy-0.3.8-glib.patch ++++++
--- src/splashy.h
+++ src/splashy.h
@@ -20,6 +20,8 @@
#ifndef _LIBSPLASHY_H
#define _LIBSPLASHY_H

+#include <glib.h>
+
/*
* public functions
*/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread