Compiled FTGL for Chromium. How to static build?

discuss compiling applications for Puppy
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#16 Post by sunburnt »

I love code snips. Thanks Karl...

I was just thinking earlier that Puppy`s sound quit working. Hummmm......

Lots of white out files, not all are sound. Do I really want to delete them all?

### Perhaps just the ones in /dev and /dev/snd ?

Code: Select all

sh-4.1# find /initrd/pup_rw -name "*.wh.*"
/initrd/pup_rw/.wh..wh.aufs
/initrd/pup_rw/.wh..wh.plnk
/initrd/pup_rw/dev/snd/.wh.pcmC0D0p
/initrd/pup_rw/dev/snd/.wh.pcmC0D0c
/initrd/pup_rw/dev/snd/.wh.pcmC0D1p
/initrd/pup_rw/dev/snd/.wh.pcmC0D1c
/initrd/pup_rw/dev/snd/.wh.controlC0
/initrd/pup_rw/dev/snd/.wh.seq
/initrd/pup_rw/dev/snd/.wh.pcmC0D3p
/initrd/pup_rw/dev/snd/.wh.timer
/initrd/pup_rw/dev/.wh.sg4
/initrd/pup_rw/dev/.wh.adsp
/initrd/pup_rw/dev/.wh.dsp
/initrd/pup_rw/dev/.wh.mixer
/initrd/pup_rw/dev/.wh.sequencer2
/initrd/pup_rw/dev/.udev/links/inputx2fby-pathx2fplatform-pcspkr-event-spkr/.wh..wh..opq
/initrd/pup_rw/dev/.wh.audio
/initrd/pup_rw/dev/.wh.sequencer
/initrd/pup_rw/root/Startup/.wh.test_if_connected
/initrd/pup_rw/root/.packages/.wh.Packages-puppy-woof-official
/initrd/pup_rw/etc/.wh.windowmanager.openbox
/initrd/pup_rw/.wh..wh.orph
/initrd/pup_rw/usr/lib/xorg/modules/drivers/.wh.displaylink_drv.so
/initrd/pup_rw/usr/share/applications/.wh.flash-player-properties
/initrd/pup_rw/var/local/icons/.wh..wh..opq
/initrd/pup_rw/.wh.pinstall.sh

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#17 Post by Karl Godt »

/initrd/pup_rw/root/Startup/.wh.test_if_connected
/initrd/pup_rw/root/.packages/.wh.Packages-puppy-woof-official
/initrd/pup_rw/etc/.wh.windowmanager.openbox
/initrd/pup_rw/.wh..wh.orph
/initrd/pup_rw/usr/lib/xorg/modules/drivers/.wh.displaylink_drv.so
/initrd/pup_rw/usr/share/applications/.wh.flash-player-properties
/initrd/pup_rw/var/local/icons/.wh..wh..opq
/initrd/pup_rw/.wh.pinstall.s
Don't know fore sure if these .wh. are of use for anything . The kernel driver " aufs " is configurable to show them or not . I also configured mine to show them, would be a TODO if i configure a kernel not to show them , how that behaves .. running mainly full , so no need for aufs for me ..

If there is a .wh. file for a file, writing to the normal file might not work anymore . The file gets corrupted . I experienced that with the important configuration file /etc/rc.d/PUPSTATE .

I wanted to have a backup of PUPSTATE and made a line mv PUPSTATE PUPSTATE.prev in rc.shutdown, which created that .wh.PUPSTATE file . Next boot appeared to work normal, but /init of initrd.gz writes to PUPSTATE every time and that seemed to corrupt the file . cat and source on it would not work : I/O Error . fsck could not handle it . Had to umount the PUPSAVE-FILE.2fs and delete the .wh. file and comment my line in rc.shutdown .

Probably this is caused because i put my line in after umounting -r pupsave-file layer, but i am not sure about this .

If you don't need the driver displaylink_drv.so and flash works for you or you even like to have flasplayer.so blocked and don't need to read or write to /etc/windowmanager.openbox .............

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#18 Post by sunburnt »

Thanks Karl; I think I`ll try renaming the white files in /dev and /dev/snd.
They look to be sound files with names like: mixer, sequencer, audio, etc.

My girl friend asked if you were the famous Karel Gott.
But I said you spell your name differently. She`s a big fan of his.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#19 Post by Karl Godt »

Karel Gott was very famous here in the 70's and 80's


PUR Biene Maja Karel Gott Live auf Schalke



Not a musical talent here .

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#20 Post by sunburnt »

Hey Karl; Renamed the whiteout files and no sound.
So I ran Alsa config. again and now it works!

I`m left wondering what the heck deleted the sound devices in the first place.

Many thanks my friend ! Terry B.

# I`ll keep you up on what I`ve got going with stand-alone apps.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#21 Post by Karl Godt »

udevd , the kernel and probably the modules deleted the sound device nodes while alsaconf rmmod 'ed the modules . The modules when loaded create the device nodes new, supported by udevd and rules in /etc/udev or /lib/udev to create the wanted permissions and ownerships like root:audio .

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#22 Post by sunburnt »

Interesting... Almost seems like a bug. But I`m sure it`s standard procedure.

I`ve had the sound die on other Puppies, but maybe for different reasons.
I think this is very common for the 5xx series, I`ve seen lots of posts on it.

Perhaps make a fix script to automate what I did? And a menu button for it.

# I made a few stand-alone pkgs. by different methods. Working on tools now.

# I`m really excited about the Audacious music player pkg.
I made it entirely from Ubuntu Lucid binary files, and I modified the exec. files.
Seems to work well, as my methods get more refined I`ll post some SqApp files.

Post Reply