fbsplash

Maciej Paszta paszczi w go2.pl
Nie, 17 Kwi 2005, 15:47:05 CEST


On Sunday 17 of April 2005 12:47, Fajti wrote:

>   garsc szczegółów dla mniej kumatych ?

Udało mi się to uruchomić (co prawda silent nie działa, ale kto powiedział że 
wszystko bedzie dobrze od razu ;):
www.milko.pl/fbsplash.html
z tym, że skopiowalem /dev/fbsplash i /dev/fb0 do katalogu newinitrd(to ten 
sam co w opisie na milko), a dodatkowo w linii mknod /dev/fbsplash c 10 63 
zmieniłem z 63 -> 62. Zbudowałem sobie nowe splashutils (spec do buildera w 
załączniku.. nie wdawałem się w ich filozofie budowanie - zrobiłem tak, żeby 
działało). Potem
genromfs /root/initrd -f /initrs-2.6.11.6-splash-4.2 (<- to tak dla 
bezpieczństwa, żebyśmy mogli w razie czego podnieść system)
jescze tylko
gzip /initrs-2.6.11.6-splash-4.2
odpowiedni wpis do lilo i wszystko działa.


-- 
Maciek "paszczi" Paszta .::. paszczi(at)go2.pl .::. JID:macp(at)chrome.pl
gg: 2810043 .::. Linux User #304533 .::. BLUG Member #0247
PGP KeyID:0xF22E4C89 .::. MPlayerPL Team : mplayerpl.emdej.com
-------------- następna część ---------
# $Revision: 1.15 $, $Date: 2005/04/06 18:51:30 $
#
# TODO
#	- find a way to make it work on startup (not initrd imo, at kernel
#		time - initramfs) + maybe some init.d
#	- check initramfs (upgrade geninitrd maybe), cause splashutils can
#		make use of it
#	- use dietlibc
#
%define		_misc_ver	0.1.3
Summary:	Utilities for setting fbsplash
Summary(pl):	Narzędzia do ustawiania fbsplash
Name:		splashutils
Version:	1.1.9.3
Release:	1
License:	GPL
Group:		System
Source0:	http://dev.gentoo.org/~spock/projects/gensplash/archive/%{name}-%{version}.tar.bz2
# Source0-md5:	06badfb8e4a27b146b8ed8a094088494
Source1:	http://dev.gentoo.org/~spock/projects/gensplash/current/miscsplashutils-%{_misc_ver}.tar.bz2
# Source1-md5:	f8e92992682bbaf8e6eb2316ac708bc0
Source2:	%{name}.init
Source3:	%{name}.sysconfig
Patch0:		%{name}-makefile2.patch
URL:		http://dev.gentoo.org/~spock/projects/gensplash/
BuildRequires:	freetype-static
BuildRequires:	glibc-static
BuildRequires:	libjpeg-static
BuildRequires:	libpng-static
BuildRequires:	linux-libc-headers >= 7:2.6.9.1-1.5
BuildRequires:	zlib-static
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Utilities for setting fbsplash.

%description -l pl
Narzędzia do ustawiania fbsplash.

%prep
%setup -q -a1
find . -name CVS | xargs rm -rf 
#%patch0 -p1

#rm -rf libs

%build
install -d kernel
ln -s /usr/src/linux linux
%{__make} splash_kern splash_user
%{__make} -C miscsplashutils-%{_misc_ver} \
	CFLAGS="%{rpmcflags} -I/usr/include/freetype2" \
	LIBDIR="%{_libdir}"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir}/splash,/etc/rc.d/init.d,/etc/sysconfig}

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT
install miscsplashutils-%{_misc_ver}/{fbres,fbtruetype/{fbtruetype,fbtruetype.static}} $RPM_BUILD_ROOT%{_bindir}
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/fbsplash
install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/fbsplash

%clean
rm -rf $RPM_BUILD_ROOT

%post
umask 022 
/sbin/chkconfig --add fbsplash

%preun
if [ "$1" = "0" ]; then
	/sbin/chkconfig --del fbsplash
fi

%files
%defattr(644,root,root,755)
%doc AUTHORS README docs/*
%dir %{_sysconfdir}/splash
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) /sbin/*
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/fbsplash
%attr(754,root,root) /etc/rc.d/init.d/fbsplash

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: splashutils.spec,v $
Revision 1.15  2005/04/06 18:51:30  darekr
- simplified %setup

Revision 1.14  2005/02/09 17:50:45  havner
- 0.9.1 (why it lies in archive dir??)

Revision 1.13  2005/01/09 18:10:57  qboosh
- cleanups

Revision 1.12  2005/01/09 11:04:59  havner
- this config can be user readable

Revision 1.11  2005/01/09 11:00:16  havner
- init scripts

Revision 1.10  2005/01/09 10:25:00  havner
- this way?

Revision 1.9  2005/01/09 10:20:11  havner
- amd64 fix

Revision 1.8  2005/01/08 06:42:07  havner
- epoch to llh

Revision 1.7  2005/01/08 04:33:21  havner
- makefile patch updated, neither klibc nor kernel headers required
  (llh patched)

Revision 1.6  2005/01/08 03:47:14  havner
- makefile patch, use distro static libs
- still have to do something with included klibc, will dietlibc be enough?

Revision 1.5  2004/12/27 04:17:00  havner
- more docs
- BTW, who has gentoo, confess :-), how does silent mode looks like?

Revision 1.4  2004/12/27 03:57:58  havner
- TODO

Revision 1.3  2004/12/27 03:53:51  havner
- miscsplashutils added
- cosmetics
- stil NFY

Revision 1.2  2004/12/27 02:02:12  havner
- fixed rel
- /etc/splash dir
- cosmetics

Revision 1.1  2004/10/22 14:22:21  averne
- NFY!!
- it should link with own klibc/libjpeg/libpng
- it should require some P: from kernel/kernel-headers
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: nie znany
Type: application/pgp-signature
Size: 189 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-users-pl/attachments/20050417/1fd270c2/attachment-0001.bin


Więcej informacji o liście dyskusyjnej pld-users-pl