You are not logged in.

#26 2006-05-16 14:48:56

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [split] fbsplash & mkinitcpio

I just wanted to add, in light of other developments, that I am now fully satisfied with the decision to include the hooks in the pkg.  Largely because a) how are they different to including an rc.d script? b) I won't have to maintain it and can just focus on working the port.

By the way, can anyone get splashutils to build at all at the moment - I'm getting some very vague errors!

Offline

#27 2006-05-16 17:00:47

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: [split] fbsplash & mkinitcpio

dtw, you need the kernel patch i talk to you about, otherwise you will never get splashtils compiled, here's a copy of the patch if you don't have it http://wael.nasreddine.com/trash/input-fixes.patch.1 Apply this patch to your kernel (tested with 2.6.16) and it will be good

Offline

#28 2006-05-16 17:53:34

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [split] fbsplash & mkinitcpio

_Gandalf_ wrote:

dtw, you need the kernel patch i talk to you about, otherwise you will never get splashtils compiled, here's a copy of the patch if you don't have it http://wael.nasreddine.com/trash/input-fixes.patch.1 Apply this patch to your kernel (tested with 2.6.16) and it will be good

Whoops - I forgot!  Should that patch not go directly into stock beyond kernel?  I assume that is what gensplash will be built against when it is moved to [extra]?  Or is there something that can a safely be done in the PKGBUILD?  Surely patching the source on the fly is a bad idea?

Offline

#29 2006-05-17 08:13:13

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [split] fbsplash & mkinitcpio

_Gandalf_ wrote:

dtw, you need the kernel patch i talk to you about, otherwise you will never get splashtils compiled, here's a copy of the patch if you don't have it http://wael.nasreddine.com/trash/input-fixes.patch.1 Apply this patch to your kernel (tested with 2.6.16) and it will be good

Does this need to be added to beyond3? I'm pretty sure that was included in the latest vesafb update (the one used in beyond3), but I could be wrong...

James

Offline

#30 2006-05-19 18:57:39

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: [split] fbsplash & mkinitcpio

@ Iphitus yes it is needed for both beyond and stock kernel...

Offline

#31 2006-05-20 02:18:13

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [split] fbsplash & mkinitcpio

_Gandalf_ wrote:

@ Iphitus yes it is needed for both beyond and stock kernel...

Expect it in beyond4...

Offline

#32 2006-05-30 01:42:25

damjan
Member
Registered: 2006-05-30
Posts: 454

Re: [split] fbsplash & mkinitcpio

_Gandalf_ wrote:

dtw, you need the kernel patch i talk to you about, otherwise you will never get splashtils compiled, here's a copy of the patch if you don't have it http://wael.nasreddine.com/trash/input-fixes.patch.1 Apply this patch to your kernel (tested with 2.6.16) and it will be good

What does this patch do?

BTW I've had splashutils compiled in Slackware without this or other patches in the kernel.

Offline

#33 2006-05-30 01:51:50

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: [split] fbsplash & mkinitcpio

This patch fix a bug in kernel headers precisely input headers, Below the reply from Michal Januszewski The author of gensplash about this error a month ago

Michal Januszewski wrote:

This is a problem with the kernel headers. In order to get splashutils
to compile, you'll need to patch your kernel source tree with:

https://bugs.gentoo.org/attachment.cgi? … ction=view

or a similar patch.

Of course i re-adapted the patch for 2.6.16 kernel u know just make it clean again and get it ready to patch no huge changes

Offline

#34 2006-05-30 10:03:24

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [split] fbsplash & mkinitcpio

As you may have guessed I have finally managed to get splashutils to build.  Thanks Gandalf for some fine help.  I had to use an older version of make, rebuild klibc from [testing] against my running kernel and use -beyond4 to get the patches described above.  Phew.  James, take note smile

Offline

#35 2006-05-30 11:32:20

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [split] fbsplash & mkinitcpio

dtw wrote:

As you may have guessed I have finally managed to get splashutils to build.  Thanks Gandalf for some fine help.  I had to use an older version of make, rebuild klibc from [testing] against my running kernel and use -beyond4 to get the patches described above.  Phew.  James, take note smile

did you add the patch yourself?.... I'm sure I included it in beyond4, take a look at the series/broken out.

James

Offline

#36 2006-05-30 12:19:17

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: [split] fbsplash & mkinitcpio

Yea dtw as i told you make 3.81 does not love gensplashutils makefiles for some reason or another sad, And you're most wecome smile

@iphitus yes it is included smile

Offline

#37 2006-05-30 20:22:05

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [split] fbsplash & mkinitcpio

iphitus wrote:
dtw wrote:

use -beyond4 to get the patches described above.

I'm sure I included it in beyond4

big_smile

Offline

#38 2006-06-29 19:52:18

waldek_a
Member
From: Munich, Germany
Registered: 2005-04-19
Posts: 85

Re: [split] fbsplash & mkinitcpio

I downloaded Gandalf's scripts, put

FBTHEMEDIR="/etc/splash/"
FBTHEMES="ChromaticBlue"
FBRES="1024x768"

into /etc/mkinitcpio.conf

and modified /lib/initcpio/install/fbsplash in the following way (it was not able to find the pics and font):

add_file "${pic}"
add_file "${icon}"
add_file "${font}"
add_file "${font}"

to

add_file "${FBTHEMEDIR}/${theme}/${pic}"
add_file "${FBTHEMEDIR}/${theme}/${icon}"
add_file "${FBTHEMEDIR}/${theme}/${font}"
add_file "${FBTHEMEDIR}/${theme}/${font}"

and it works fine. Thanks a lot.

waldek

Offline

#39 2006-06-29 21:02:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [split] fbsplash & mkinitcpio

I can't recall if the newest mkinitcpio includes this change, or if it's only in SVN, but you can also do something like:

add_full_dir "${FBTHEMEDIR}/${theme}"

to simplify it

Offline

#40 2006-07-01 11:20:11

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [split] fbsplash & mkinitcpio

Phrak - do I need to add anything to gensplashutils for mkinitcpio?

Offline

#41 2006-07-01 16:25:31

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: [split] fbsplash & mkinitcpio

dtw wrote:
_Gandalf_ wrote:

dtw, you need the kernel patch i talk to you about, otherwise you will never get splashtils compiled, here's a copy of the patch if you don't have it http://wael.nasreddine.com/trash/input-fixes.patch.1 Apply this patch to your kernel (tested with 2.6.16) and it will be good

Whoops - I forgot!  Should that patch not go directly into stock beyond kernel?  I assume that is what gensplash will be built against when it is moved to [extra]?  Or is there something that can a safely be done in the PKGBUILD?  Surely patching the source on the fly is a bad idea?

But not everybody using beyond uses fbsplash. tongue We CAN'T do that!

I'm glad you guys worked all that out and I'm glad at the outcome

Offline

Board footer

Powered by FluxBB