Saluki

A home for all kinds of Puppy related projects
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#121 Post by sc0ttman »

Iguleder wrote:(with PNG optimization, XML whitespace trimming, re-compression of archives, etc').
Could we see that this stuff is also used in Woof? or Woof2?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#122 Post by Iguleder »

It will never become a part of Woof. But I always optimize my puplets before I upload them, using the same tool.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#123 Post by sc0ttman »

Iguleder wrote:It will never become a part of Woof. But I always optimize my puplets before I upload them, using the same tool.
Techno sent me a small shell script that does all that stripping, I ran it on an SFS to test - it borked UPX'd binaries and broke some XML files (like PuppyPin, for one) but in general it worked great after a few mods.... Could something like that not be put into Woof, before it creates the SFS?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#124 Post by jemimah »

technosaurus wrote:Disciple previously posted Gconf-dbus (a fork with less deps ... no CORBA/ORBIT or whatever) which only needed dbus-glib AFAIR, but the dev pet was missing a couple things. Anyhow I was recently able to compile a couple Gconf-apps against it (planner project manager being the primary) ... it just needed a *.pc file.

I was just revisiting the minimum requirements to get to a desktop, but I am still using xvesa, but I know Jemimah's pupplets used xvfb quite well and wasn't sure what extra changes would be needed to get it going (vga=? modprobe ? ...)

Anyhow with xvesa, the minimum for jwm (aside from fonts...) is to mount sys & proc ... Terminals needed to have dev+devpts also and export SHELL=/bin/sh DISPLAY=:0
This can get us to the desktop in ~1second and have the "boot" process running in a terminal. My current work is loosely based on goingnuts' pupngo, but could be adapted to a new kernel (i think 3.2 is the next LTS version)
I did use disciple's packages in fluppy but near the end a couple of programs complained that gconf was tool old. I believe dbus-gconf is unmaintained.

I did play around with fbdev and uvesafb. The real difficulty is guessing the right resolution. I can send you the code I have if you are interested.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#125 Post by jemimah »

Sage wrote:Jemimah:
Will you be collating all these .pets into the/a repo or will they be incorporated into the next release?
But, thanks, anyway.
You get get them here: http://www.smokey01.com/jemimah/saluki/pets/

Most of the ones I'm building at the moment will go into the main ISO I think. The release schedule, and what goes into the next release is up to Tman though.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#126 Post by jemimah »

Iguleder wrote:Take a look at this - one of the biggest repositories of its kind :D

All packages were built and stripped automatically (with PNG optimization, XML whitespace trimming, re-compression of archives, etc').
What distro did you compile these on?

Do you have an updated dir2pet that optimizes more (without breaking things)?

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#127 Post by jemimah »

peebee wrote:Just downloaded and tried the alpha...

Welcome back jemimah....

I think I was expecting k3.0.7 as it is "based on racy5.2.2" - k2.6.39 does however work with my b43 wifi which no k3 puppy does properly (although racy is the nearest).

Hope that jemimah's Frisbee makes it into the mix - works fine with wary/racy by loading 2 pets:

Code: Select all

xpupsay-1.2.1-i486
Frisbee_beta-2-spup
Cheers
peebee
I will release a new version of Frisbee soon probably.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#128 Post by ttuuxxx »

jemimah wrote:
ttuuxxx wrote:
jemimah wrote: I'm including full size icons on purpose. I need them for the control panel and for desktop icons and any other time one might want icons for their apps larger than 16x16.
what size icons? 24x24 or 48x48, do you want them in usr/share/pixmaps or /usr/local/lib/X11/mini-icons and /usr/local/lib/X11/pixmaps
ttuuxxx
48x48, in /usr/share/pixmaps. Also be careful about system linking to existing icons in case the user uses the pet removal tool - we have to be careful about breakage.
Here's the thing the default icons in /usr/local/lib/X11/mini-icons that Barry includes around 50% of them are redundant, They were from puppy one series and weren't even gtk naming, A few were used by puppy apps, but most are just there for the using, in 2.14X I used the full 24x24 gtk2 icons and naming convention and system link to the older series one names, that way I had way better looking icons and gtk2 apps pickup on the gtk2 icons, so menus in mozilla based browsers and other apps had icons to use in the menus or gui's if they used gtk2 icons. Also I changed them jwm menu to 24x24 icons because 16x16 they were was just ugly as sin. If you want me to sort the mime icons and default puppy ones in /usr/local/lib/X11/mini-icons just say so, about half of the default mimes in puppy releases are the ones I either build from scratch or updated for Barry, So I know my way around them. :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#129 Post by Iguleder »

Code: Select all

#!/bin/sh

# strippkg: strips a binary package

# the usage message
USAGE="Usage: strippkg [DIRECTORY|FILE]"

# check the number of command-line arguments
case $# in
	1)
		;;
	*)
		echo $USAGE
		exit 1
		;;
esac

# make sure the package directory exists
if [ ! -d "$1" ] && [ ! -f "$1" ]
then
	echo $USAGE
	exit 1
fi

# strip the package
for file in $(find "$1" -type f)
do
	case "$(file -bi $file)" in
		"application/x-tar"*)
			basename "$file"
			tar_dir="$(mktemp -d)"			
			tar -xvf "$file" -C $tar_dir
			"$0" $tar_dir
			base_dir="$(pwd)"
			cd $tar_dir
			tar -c * > $file
			cd "$base_dir"
			;;						
		"application/xml"*)
			# we don't touch XUL stuff - they're all signed
			case "$i" in
				*.xul)
					continue
					;;
			esac
			basename "$file"
			xml_file="$(mktemp -u)"			
			xmllint --noblanks "$file" > $xml_file
			if [ 0 -eq $? ]
			then
				mv -f $xml_file "$file"
			else
				rm -f $xml_file
			fi
			;;
		*"application/x-gzip"*)
			basename "$file"
			gzip_file="$(mktemp -u)"
			zcat "$file" > $gzip_file
			"$0" $gzip_file
			cat $gzip_file | gzip --best > "$file"
			advdef -z4 "$file"
			rm -f $gzip_file
			;;		
		*"application/x-bzip2"*)
			basename "$file"
			bzip2_file="$(mktemp -u)"
			bzcat "$file" > $bzip2_file
			"$0" $bzip2_file
			cat $bzip2_file | bzip2 --best > "$file"
			rm -f $bzip2_file
			;;		
		*"application/x-xz"*)
			basename "$file"
			xz_file="$(mktemp -u)"			
			xzcat "$file" > $xz_file
			"$0" $xz_file
			cat $xz_file | xz --best > "$file"
			rm -f $xz_file
			;;		
		"application/x-sharedlib"*|"application/x-executable"*)
			basename "$file"
			strip --strip-all "$file"
			;;
		"application/x-object"*)
			case  "$file" in
				*.o)	
					continue
					;;
			esac
			basename "$file"
			strip --strip-unneeded "$file"
			;;
		"application/x-zip"*|"application/zip"*)
			# signed, just like XUL
			case "$file" in
				*.xpi)
					continue
					;;
			esac
			file_path=$(realpath "$file")
			file_name=$(basename "$file")
			echo $file_name
			zip_dir="$(mktemp -d)"
			base_dir="$(pwd)"
			
			cd $zip_dir
			unzip "$file_path"
			"$0" $zip_dir
			zip -9 -r "$file_name" *
			advzip -z4 "$file_name"
			
			mv -f "$file_name" "$file_path"
			cd "$base_dir"
			rm -rf $zip_dir					
			;;
		"video/x-mng"/*)
			basename "$file"
			advmng -z4 "$file"
			;;
		"image/png"*|"image/gif"*|"image/bmp"*|"image/x-portable-pixmap"*|"image/tiff"*)
			basename "$file"
			optipng -o7 "$file"
			advpng -z4 "$file"
			;;		
	esac	
done
Make sure you have xmllint, AdvanceCOMP and OptiPNG first. I made a patched OptiPNG package that always runs with nice level -20 (e.g highest), so it's significantly faster.

OptiPNG takes ages on big PNG images and advdef really sucks with huge archives.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#130 Post by ttuuxxx »

Its a shame that your streamtuner package doesn't contain Shoutcast and Live365 I did spend about 5hrs trying to get Shoutcast working with new urls, patches etc without any luck, grrrr what a shame that streamtuner hasn't been forked yet, Streamtuner 2 has Shoutcast and Live365 support plus a few new ones, but who wants python, I'm sure it could be done with C & xml.
only http://code.google.com/p/rhythmbox-shoutcast/
and http://streamtuner2.sourceforge.net/
now handle those 2 extra servers,
Streamtuner 2 handles,
SHOUTcast
Xiph.org
live365
DMOZ/Google stations
Jamendo (just a browser, better API use coming..)
basic.ch DJ mixes
Punkcast
MyOggRadio (open source stream directory project)
InternetRadio.org.uk
MusicGoal
would be nice to see a few of those as streamtuner 1 plugins :)
ttuuxxx
Last edited by ttuuxxx on Thu 01 Dec 2011, 16:54, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#131 Post by Sage »

here
Ta!

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#132 Post by jemimah »

ttuuxxx wrote:
Its a shame that your streamtuner package doesn't contain Shoutcast and Live365 I did spend about 5hrs trying to get Shoutcast working with new urls, patches etc without any luck, grrrr what a shame that streamtuner hasn't been forked yet, Streamtuner 2 has Shoutcast and Live365 support plus a few new ones, but who wants python, I'm sure it could be done with C & xml.
only http://code.google.com/p/rhythmbox-shoutcast/
and http://streamtuner2.sourceforge.net/
now handle those 2 extra servers,
Streamtuner 2 handles,
SHOUTcast
Xiph.org
live365
DMOZ/Google stations
Jamendo (just a browser, better API use coming..)
basic.ch DJ mixes
Punkcast
MyOggRadio (open source stream directory project)
InternetRadio.org.uk
MusicGoal
would be nice to see a few of those as streamtuner 1 plugins :)
ttuuxxx
My understanding is they switched to some kind of ajaxy format that's a real hassle to deal with in C. Xiph is better than nothing though. :)

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#133 Post by jemimah »

ttuuxxx wrote:
jemimah wrote:
ttuuxxx wrote: what size icons? 24x24 or 48x48, do you want them in usr/share/pixmaps or /usr/local/lib/X11/mini-icons and /usr/local/lib/X11/pixmaps
ttuuxxx
48x48, in /usr/share/pixmaps. Also be careful about system linking to existing icons in case the user uses the pet removal tool - we have to be careful about breakage.
Here's the thing the default icons in /usr/local/lib/X11/mini-icons that Barry includes around 50% of them are redundant, They were from puppy one series and weren't even gtk naming, A few were used by puppy apps, but most are just there for the using, in 2.14X I used the full 24x24 gtk2 icons and naming convention and system link to the older series one names, that way I had way better looking icons and gtk2 apps pickup on the gtk2 icons, so menus in mozilla based browsers and other apps had icons to use in the menus or gui's if they used gtk2 icons. Also I changed them jwm menu to 24x24 icons because 16x16 they were was just ugly as sin. If you want me to sort the mime icons and default puppy ones in /usr/local/lib/X11/mini-icons just say so, about half of the default mimes in puppy releases are the ones I either build from scratch or updated for Barry, So I know my way around them. :)
ttuuxxx
Yes, please go for it.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#134 Post by ttuuxxx »

Here's the latest gtkhash plus a few rox system links :)
ttuuxxx
Attachments
gtkhash-0.5.0-i386.pet
(25.8 KiB) Downloaded 205 times
Last edited by ttuuxxx on Fri 02 Dec 2011, 23:21, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#135 Post by rcrsn51 »

Assuming that Saluki will be built using the stable CUPS 1.3.11 printing chain from Wary/Racy, this is an opportunity to clean up the set of backends in /usr/lib/cups/backend.

1. Beh serves no purpose and can be deleted.

2. Both smb and smbc can be replaced by the new smbw from here.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#136 Post by jemimah »

Here is Pidgin, but does anyone have any idea why the tray icon isn't working correctly? I'm stumped.

http://www.smokey01.com/jemimah/saluki/ ... 0-i486.pet

http://www.smokey01.com/jemimah/saluki/ ... emotes.pet

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#137 Post by Tman »

Sage et all,

I will be adding the majority of Jemimah's and ttuuxxx's uploaded pets into the next iso. Hopefully, woof does not break anything during the process. ( fingers crossed ). I will be working on another woof build on the weekend. If everything goes well, another iso will be released Monday. I don't expect the final version to be released for a couple of months, Maybe January if we are lucky.

ttuuxxx,
before you modify the mini-icons too much, please see the attacthed pet. I would like to include those mini-icons into Saluki, unless you have some better-looking mini-icons handy.

rcrsn51,
I got your smbw pet and will include it as well, thanks.
Attachments
mini_icons_sp-1.2.pet
(135.41 KiB) Downloaded 189 times

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#138 Post by technosaurus »

rcrsn51 wrote:Assuming that Saluki will be built using the stable CUPS 1.3.11 printing chain from Wary/Racy, this is an opportunity to clean up the set of backends in /usr/lib/cups/backend.

1. Beh serves no purpose and can be deleted.

2. Both smb and smbc can be replaced by the new smbw from here.
after 1.3.x cups has some C++ which links in libstdc++ and causes cupsd to use an extra Mb of RAM, but it can be forced to build with gcc instead of g++. (although I did find a shell script alternative at one point that seemed like it would have been nice with a little cleanup)

Speaking of C++, everyone seems to want to use latest Pango which uses C++ since 1.25 (gtk only needs pango 1.20 to build)

Re replacing mp with nano: mp has both curses and gtk backends and is ideal for apps meaning it can run in X or console (as defaulttextviewer) and has nice menus, highlighting and other goodies for newbs like me. (the new format is much better on screen space too - for netbooks/tablets ... I sent Angel my patches)
I've been thinking about submitting my jwm stuff to Joe too.

Goingnuts has done some great stuff in pupngo ...the obvious being separating the wheat from the chaff (whatever chaff is) but he has used my method for making multicall binaries to combine all the wheat into one neat little doggy biscuit.

L18L has been making great strides with localizing shell scripts and could probably use some help, since the script I wrote is fairly limited (requires a specific format and uses Google translate - needs real human input after)

Scottman has done a lot towards lowering the running footprint using various jwm tricks and only running necessary daemons etc...

Iguleder has been making many slackware style build scripts ... Too many to name.

Ttuuxxx - too many pages in the 2.x thread, but he's not shy so I don't think his stuff will fall through the cracks.

Thunor has fixed/extended gtkdialog, with micko and zigbert's continuous input while using it in updates.

... Many other puplets, but if they don't post any of their cool code as a standalone project, I wouldn't know.
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].

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#139 Post by ttuuxxx »

http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#140 Post by 01micko »

technosaurus wrote:Thunor has fixed/extended gtkdialog, with micko and zigbert's continuous input while using it in updates.
Just note that Slacko has deprecated the old "gtkdialog3" (and earlier "gtkdialog2" in all pups due to slacko testing)

The main exec is gtkdialog (v0.8.0) and it has been very successful, has links to gtkdialog3 and gtkdialog4. most apps worked ootb, some had icon troubles with poor syntax, and some had trouble with passwords using the poor <entry invisible_char="x" visibility="false"> method where <entry><visible>password</visible> is by far better. Only one app tripped up with the new gtkdialog and that was just a testing failure, (I failed to see the report of the testing :oops: ). .. bcrypt .. patch here.
Puppy Linux Blog - contact me for access

Post Reply