Puppy In-House Development
Forgive my ignorance - I went looking for the 32bit variant and hoped to download an iso for trial, but all I seem to find is a series of packages that need to be built (via ubuntu 14.04?)
Is there an iso that I am missing, or is it necessary to build this up individually for each different machine it is used on? I'd like to try this but I just don't know how to get to first base...
EDIT : Sorry, sometimes I'm truly stupid. Found isos here
Is there an iso that I am missing, or is it necessary to build this up individually for each different machine it is used on? I'd like to try this but I just don't know how to get to first base...
EDIT : Sorry, sometimes I'm truly stupid. Found isos here
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
Yes, because DSL's developer asked me nicely to do so. He doesn't like the similarity to "DSL" and I can understand that.
EDIT: I just set up an automated building server that generates daily builds, available here. This should make development easier.
I wish Puppy had some infrastructure that runs woof-CE with all supported configurations (a Wheezy dpup, Precise and Trusty upup, Slacko and Slacko64).
EDIT: I just set up an automated building server that generates daily builds, available here. This should make development easier.
I wish Puppy had some infrastructure that runs woof-CE with all supported configurations (a Wheezy dpup, Precise and Trusty upup, Slacko and Slacko64).
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
As of yesterday doc files inside the ISO still referenced DSLR although the iso was already renamed rlsd*.linuxcbon wrote:You changed the name from DSLR to RLSD ?
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
Since today, there are daily images. These ones don't suffer from this problem.step wrote:As of yesterday doc files inside the ISO still referenced DSLR although the iso was already renamed rlsd*.linuxcbon wrote:You changed the name from DSLR to RLSD ?
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Tried to build 64 bit version on ubuntu 14.04 and following message occurred on trying to compile sylpheed. Accepted option to proceed without patch and building process completed.
Quote
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Quote
tar: Child returned status 2
tar: Error is not recoverable: exiting now
./scripts/build_package: 8: cd: can't cd to sylpheed-1.0.6
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rup sylpheed-1.0.6-orig/configure sylpheed-1.0.6/configure
|--- sylpheed-1.0.6-orig/configure 2014-03-21 19:21:35.163899461 +0200
|+++ sylpheed-1.0.6/configure 2014-03-21 19:24:57.755895833 +0200
--------------------------
File to patch:
Unquote
Quote
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Quote
tar: Child returned status 2
tar: Error is not recoverable: exiting now
./scripts/build_package: 8: cd: can't cd to sylpheed-1.0.6
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rup sylpheed-1.0.6-orig/configure sylpheed-1.0.6/configure
|--- sylpheed-1.0.6-orig/configure 2014-03-21 19:21:35.163899461 +0200
|+++ sylpheed-1.0.6/configure 2014-03-21 19:24:57.755895833 +0200
--------------------------
File to patch:
Unquote
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
being GTK1 wouldn't XMMS be the perfect audio player , I guess probably down the road a bit ,
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
XMMS is nice, but its support for modern audio formats is quite limited.
I've started working on "ff123", a FFmpeg-based (lol, this doesn't make any sense) tiny audio player which we can use as fallback when mpg123/mpg321 , ogg123/ogg122 and wavplay are not enough (e.g for FLAC).
I've started working on "ff123", a FFmpeg-based (lol, this doesn't make any sense) tiny audio player which we can use as fallback when mpg123/mpg321 , ogg123/ogg122 and wavplay are not enough (e.g for FLAC).
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
I know there's lots of input plugins, including a flac plugin, APE, and several more...Iguleder wrote:XMMS is nice, but its support for modern audio formats is quite limited.
I've started working on "ff123", a FFmpeg-based (lol, this doesn't make any sense) tiny audio player which we can use as fallback when mpg123/mpg321 , ogg123/ogg122 and wavplay are not enough (e.g for FLAC).
I never got anything but a GUI out of XMMS if static linked - seems to depend on dynamic linked plugins.
sox might fit - from v13.0.0 it supports flac. A static linked upxed bin sized 250K (v.14.0.0) gives support for the following:
SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al au auto avr cdda cdr cvs cvsd dat dvms flac fssd gsm hcom ima ircam la lpc lpc10 lu m3u maud mp2 mp3 nist nul null oss ossdsp pls prc raw s1 s2 s3 s4 sb sf sl smp snd sndt sou sph sw txw u1 u2 u3 u4 ub ul uw vms voc vox wav wve xa
SUPPORTED EFFECTS: allpass band bandpass bandreject bass chorus compand dcshift deemph dither earwax echo echos equalizer fade filter flanger highpass key lowpass mcompand mixer noiseprof noisered oops pad pan phaser polyphase repeat resample reverb reverse silence speed stat swap synth tempo treble tremolo trim vol
And xhippo is a perfect GUI-frontend for the play part.
sox might fit - from v13.0.0 it supports flac. A static linked upxed bin sized 250K (v.14.0.0) gives support for the following:
SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al au auto avr cdda cdr cvs cvsd dat dvms flac fssd gsm hcom ima ircam la lpc lpc10 lu m3u maud mp2 mp3 nist nul null oss ossdsp pls prc raw s1 s2 s3 s4 sb sf sl smp snd sndt sou sph sw txw u1 u2 u3 u4 ub ul uw vms voc vox wav wve xa
SUPPORTED EFFECTS: allpass band bandpass bandreject bass chorus compand dcshift deemph dither earwax echo echos equalizer fade filter flanger highpass key lowpass mcompand mixer noiseprof noisered oops pad pan phaser polyphase repeat resample reverb reverse silence speed stat swap synth tempo treble tremolo trim vol
And xhippo is a perfect GUI-frontend for the play part.
Oh hey, goingnuts, didn't think you were still hanging around these parts You still doing pUPnGO stuff?
Oh -- PM me when you read this, I've got a project you may be able to help me with, if you're interested and able. I won't need anything for a couple months at least, but I think your experience with pUPnGO and all will help dramatically here...
Oh -- PM me when you read this, I've got a project you may be able to help me with, if you're interested and able. I won't need anything for a couple months at least, but I think your experience with pUPnGO and all will help dramatically here...
Y'know how the puppy iso can be unpacked and ran from the hard drive? Can this be done with this linux distro?
e.g. unpack the precise puppy iso and boot it like this:
title Puppy lxprecise (sda2/precise)
root (hd0,1)
kernel /precise/vmlinuz psubdir=precise pmedia=atahd pfix=fsck
initrd /precise/initrd.gz
e.g. unpack the precise puppy iso and boot it like this:
title Puppy lxprecise (sda2/precise)
root (hd0,1)
kernel /precise/vmlinuz psubdir=precise pmedia=atahd pfix=fsck
initrd /precise/initrd.gz
Did some poking at this (or rather the other version of this), and it works...except it stops halfway through.technosaurus wrote: I wrote a little (public domain) ogg player too using stb_vorbis ... compiles to 44kb with dietlibc, but I'll post just the source till I get a musl toolchain up.Code: Select all
//diet gcc -Os -finline-small-functions oggplay.c -ffunction-sections -fdata-sections -fmerge-all-constants -Wl,--gc-sections,-s -o oggplay -lm #define STB_ONLY #include "stb.h" /* http://nothings.org/stb.h */ #include "stb_vorbis.c" #include <fcntl.h> #include <sys/ioctl.h> #include <linux/soundcard.h> #include <errno.h> static inline void write2(char *msg){ fputs(msg,stderr); } int main(int argc, char **argv){ int error, value = AFMT_S16_LE , pcm = open("/dev/dsp", O_WRONLY); if (pcm < 0) write2("cannot get fd\n"); if (ioctl(pcm, SNDCTL_DSP_SETFMT, &value) < 0) write2("cannot set audio format: %s\n"); while (--argc) { short *decoded; int channels, len, sample_rate; len = stb_vorbis_decode_filename(argv[argc], &channels, &sample_rate, &decoded); if (ioctl(pcm, SNDCTL_DSP_CHANNELS, &channels) < 0) write2("cannot set channels"); if (ioctl(pcm, SNDCTL_DSP_SPEED, &sample_rate) < 0) write2("cannot set sample rate"); write(pcm,decoded,len*channels); } close(pcm); return 0; }
You need to multiply (len*channels) by 2, since a short is 2 bytes.
(Thinking about a "multimedia edition" of toybox: include mix, wavplay, and oggplay.)
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
The standalone version is more up to date and is here:Ibidem wrote: Did some poking at this (or rather the other version of this), and it works...except it stops halfway through.
You need to multiply (len*channels) by 2, since a short is 2 bytes.
(Thinking about a "multimedia edition" of toybox: include mix, wavplay, and oggplay.)
https://github.com/technosaurus/PDVorbi ... oggplay2.c
I started using google's DNS servers lately because my ISP (a major cable company) has really slow and sometimes incorrect responses. This reminded me of what a PITA it is to simply translate a host name into an IP address for a wget-like tool, so I wrote a simple host->IP function
http://murga-linux.com/puppy/viewtopic. ... 724#810724
Switching to this drastically shrunk the size of my static build and the query time went from 500ms to about 20ms using google dns, but then I realized that it bypasses /etc/hosts ... kind of bad but useful for making a local caching CDN instead of the hacky version I did here:
http://www.murga-linux.com/puppy/viewtopic.php?t=82639
But this got me wondering how DNS caching works in Linux, but it turns out there isn't any by default. So now I am wondering about making one that can be used without a daemon process (those exist, but none are exactly suckless) Here is my outline:
* cached addresses are all stored in a common directory using the filesystem as a database
* blacklisting is done by making a hard link to a '0' file with "\0\0\0\0" stored as the ip address
* each hostname is first checked to see if there is a matching file name in the directory
* if the hostname exists, the ip address is read and returned,
* otherwise a DNS query is performed, IPs stored and returned
This also makes it straight forward to use groups for controlling access to sites with chgrp to make it {kid,workplace}-safe
To allow local CDN-like caching for all browsers, downloaders etc... just prepend the IP address list with 0x7F000001 (127.0.0.1) such that a local server can check its on disk cache, then use the second IP address to fetch it if not found ... maybe using the file's time stamp as the expiry time.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- "searching for the home partition" : failure
Is it possible to make it work from a subdirectory or from a non-ext partition ? I don't know what the problem is.
- xinit doesn't work with a recent radeon video card.
Is it possible to make it work ?
Is it possible to make it work from a subdirectory or from a non-ext partition ? I don't know what the problem is.
- xinit doesn't work with a recent radeon video card.
Is it possible to make it work ?
Last edited by linuxcbon on Mon 08 Dec 2014, 10:48, edited 1 time in total.
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
On error this looks like it will play some gawd awful noise. It reports the error onto stderr but doesn't leave nor does it do some sort of work-around for the failure.Ibidem wrote:technosaurus wrote: if (ioctl(pcm, SNDCTL_DSP_CHANNELS, &channels) < 0)
write2("cannot set channels");
if (ioctl(pcm, SNDCTL_DSP_SPEED, &sample_rate) < 0)
write2("cannot set sample rate");
write(pcm,decoded,len*channels);
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Should probably perror_exitMoose On The Loose wrote:
On error this looks like it will play some gawd awful noise. It reports the error onto stderr but doesn't leave nor does it do some sort of work-around for the failure.
Code: Select all
void perror_exit(char *msg){
write(2,msg,strlen(msg));
exit(errno);
}
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].