Puppy 4.2 Deep Thought Development

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

#61 Post by ttuuxxx »

Hey Whodo

Muggins just released the latest Galculator bug fix version.
Could it be time to axe
Calcoo
Cgtkcalc
Xcalc
Ycalc
with a 58.78 KB Galculator pet???? I
http://www.murga-linux.com/puppy/viewtopic.php?t=20994
I would keep Cgtkcalc on the repo only.
wouldn't that be nice from from a confusing 5 calculators to 2, Galculator and Gmeasures, and they both pretty much explain what they are in there names
:)
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
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#62 Post by WhoDo »

ttuuxxx wrote:Muggins just released the latest Galculator bug fix version.
Could it be time to axe
Calcoo
Cgtkcalc
Xcalc
Ycalc
with a 58.78 KB Galculator pet???? I
http://www.murga-linux.com/puppy/viewtopic.php?t=20994
I would keep Cgtkcalc on the repo only.
I had already determined to axe Calcoo, Xcalc and Ycalc in favour of Cgtkcalc, but I like Galculator better now that I've seen it. Thanks.

As for Seamonkey, the only problem with sticking to 1.1.11 is the Insert key bug. 1.1.14 doesn't have that problem at all. I was hoping you could work the same magic as Barry and get the 14Mb down under 10Mb, but if that's too big an ask I'll consider Firepup. I'm running it now as a trial. So far so good. Can I get something like Monkey Menus for Firepup? That would make things much easier for users wanting to manage their browser icons, etc.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#63 Post by Pizzasgood »

Sorry, I was at my dad's for the last two weeks, and he doesn't have internet access (he doesn't want anything to do with the net).
I would appreciate it if Dougal, rarsa, MU, tempestuous, Pizzasgood, plinej, tronkel, rerwin and any of the other devs, who might be contributing something to Puppy 4.2, can indicate what they are working on here so I can better coordinate the efforts of all concerned.
One thing I've been working on on and off for the last several months is Retrovol, a volume setting program thingie. It's not done yet - still needs the tray icon, menus, and support for an alsamixer-like filter so that you can just see the outputs, inputs, or all. But it's comming along, and has been usable for a while now. I don't know what kind of pace we're looking at for 4.2, so I may not be finished in time. If you want it I can bump up it's priority and get it done sooner (lately I've been more focused on a non-Puppy thing I've been fiddling with since summer).

Also, I mentioned upgrades to syslinux.cfg earlier, but I don't recall being acknowledged (maybe I missed it). If you want it, I'll update it to 4.11/4.12. We don't have to do the fancy stuff (images, multiple screens, etc.) - we could just reuse the same screen the LiveCD has. The main idea here is to give people booting from USB the option to use things like pfix=ram, acpi=force, etc. That's actually pretty important, since the idea behind USB installs is to make your OS portable, but if you're using it on a bunch of random computers you're probably going to run into some that require special boot options to boot...

Also, you mentioned adding some patches. Just to confirm, did you get these two?
http://www.murga-linux.com/puppy/viewto ... 607#256607
http://www.murga-linux.com/puppy/viewto ... 919#256919

It will be nice to be able to boot a pristine Puppy without having to manually correct my xorg.conf file just to get X to start.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#64 Post by WhoDo »

Pizzasgood wrote:Sorry, I was at my dad's for the last two weeks, and he doesn't have internet access (he doesn't want anything to do with the net).
Hi, Jeremy. Welcome back to the land of the living! :P
Pizzasgood wrote:One thing I've been working on on and off for the last several months is Retrovol, a volume setting program thingie. It's not done yet - still needs the tray icon, menus, and support for an alsamixer-like filter so that you can just see the outputs, inputs, or all. But it's comming along, and has been usable for a while now. I don't know what kind of pace we're looking at for 4.2, so I may not be finished in time. If you want it I can bump up it's priority and get it done sooner (lately I've been more focused on a non-Puppy thing I've been fiddling with since summer).
The pace on 4.2 is fairly slow at the moment. I have a pre-alpha build that I'm not happy to release yet. I expect to release an alpha sometime this week. Take your time to get it right. The second alpha will come around January 25.
Pizzasgood wrote:Also, I mentioned upgrades to syslinux.cfg earlier, but I don't recall being acknowledged (maybe I missed it). If you want it, I'll update it to 4.11/4.12. We don't have to do the fancy stuff (images, multiple screens, etc.) - we could just reuse the same screen the LiveCD has. The main idea here is to give people booting from USB the option to use things like pfix=ram, acpi=force, etc. That's actually pretty important, since the idea behind USB installs is to make your OS portable, but if you're using it on a bunch of random computers you're probably going to run into some that require special boot options to boot...
No, it was me that missed it. I am VERY interested in this - with our without the 'fancy stuff' - as I consider it a significant usability enhancement. If the 'fancy stuff' would make it easier for refugees then I'm all for that too! I haven't seen an example, so a pre-release pic might help me visualise the concept better. :wink:
Pizzasgood wrote:Also, you mentioned adding some patches. Just to confirm, did you get these two?
http://www.murga-linux.com/puppy/viewto ... 607#256607
http://www.murga-linux.com/puppy/viewto ... 919#256919
Yep. The second may conflict with ttuuxxx's updated PETget. Can you two guys PM each other to see where the synergies are?
Pizzasgood wrote:It will be nice to be able to boot a pristine Puppy without having to manually correct my xorg.conf file just to get X to start.
I'm hearing ya! I haven't had a Puppy problem for ages, until I got my new laptop. Now my 3.01 installation won't find the network despite having the correct ethernet driver available. It's a while since I had to fiddle like that and it helps me to understand the frustration people suffer when things don't work easily OOTB.

Keep in touch mate. Hope you had a great Christmas and New Year break.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#65 Post by Pizzasgood »

Dad's fiance likes to bake, so it was a Very Good break 8)

The peget thing is really simple. Just two lines changed: lines 971 and 981 of /usr/sbin/petget in Puppy 4.1.2, with the change being the addition of quotation marks:

Code: Select all

[ -f $ALIENFILE ] && [ "`echo -n "$ALIENFILE" | grep -E '\.pet$|\.tar\.gz$'`" != "" ] && break
became

Code: Select all

[ -f "$ALIENFILE" ] && [ "`echo -n "$ALIENFILE" | grep -E '\.pet$|\.tar\.gz$'`" != "" ] && break
and

Code: Select all

APKGNAMEEX="`basename $ALIENFILE`"
became

Code: Select all

APKGNAMEEX="`basename "$ALIENFILE"`"
In ttuuxxx's petget file that hasn't been applied yet. Those particular lines are still exactly the same, except they're at 982 and 992 now. Therefor, if you apply the .diff file I posted to the /usr/sbin/petget file ttuuxxx provided, using the 'patch' program, it will work fine:

Code: Select all

gunzip petget.diff.gz
patch -u /usr/sbin/petget petget.diff
(That assumes you're applying it to an installed version - in your case you'd replace the '/usr/sbin/petget' with the path to the 'petget' file in the unleashed tree, probably at puppy-unleashed/packages/petget-420/usr/sbin/petget).


As for the syslinux stuff, I'll start on that tomorrow.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

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

#66 Post by ttuuxxx »

ok I add my fixed menu to the package manager pet package, I also added pizzasgood fix to it, Plus removed the menu item Check 'dependencies installed packages' since its back to being a part of the petget system. So that item would be just added clutter to the menu.
ttuuxxx
Attachments
petget-420.pet
(23.98 KiB) Downloaded 615 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#67 Post by WhoDo »

ttuuxxx wrote:ok I add my fixed menu to the package manager pet package, I also added pizzasgood fix to it, Plus removed the menu item Check 'dependencies installed packages' since its back to being a part of the petget system. So that item would be just added clutter to the menu.
Got it, thanks. I'll try the combined package and see how it goes.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

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

#68 Post by ttuuxxx »

Hey WhoDo guess what????
(Warren thinks to himself oh no not this again),lol
ummmm no wrong guess, try again
closer but still wrong, Try one more time........
.......
.........
.........
..........................
Yes you guessed it :) !!!!!!
I found Barry's configs for SeaMonkey, so were out of the deep now, I can compile you a version very close to the same size, well the code never gets smaller :)
But first I have to install puppy grrrrrrrrr, Usually when things are real complex they fail when compilibg/running live. I'll try it first and see if it works who knows.
Oh ya I guess I was right when I said he compiled it :)
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
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#69 Post by WhoDo »

ttuuxxx wrote:I found Barry's configs for SeaMonkey, so were out of the deep now, I can compile you a version very close to the same size, well the code never gets smaller :)
Woohoo! Now that's good news, although I am enjoying the Firepup experience ... for the moment. :P

Let me know how you go with Seamonkey 1.1.14 ... if you can get it down to the same size as 1.1.11 I'll add it in. Not that I don't like Firepup ... I do ... but many of us are creatures of habit and Seamonkey defines the comfort zone IMHO.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

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

#70 Post by ttuuxxx »

Ya and I'll use some of his code in my next firepup release, it will reduce the size a few MB I think. My last config was around 3/4 of a full screen line and Barry's is 5 1/2 lines, But Seamonkey has a few extras over Firefox, just like FirePup has a few features over seamonkey and Firefox. But those are added after the compile.
did you try the "Live Help" on the users taskbar? also the murga chat, Sourceforge, puppylinuxCa, Freshmeat, Gnome Search engines I made and installed, they work better than the default ones like on this forum.
upper right hand corner box. Also youtube video works fullscreen with firepup.
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
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#71 Post by ttuuxxx »

I compiled pizzasgood volume app, I like the full functions but I think they need to be squashed together, it took almost my full screen on my 19" lcd. here's a pic
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
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#72 Post by ttuuxxx »

Pizzasgood wrote: I'll start on that tomorrow.
Hey pizzasgood any chance of making a one with master volume, bass, mid, highs ? That would be great for the taskbar. a volume applet with a 3 or 5 band eq. 7 would be better but its a size issue for small screens.
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
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#73 Post by ttuuxxx »

well seamonkey failed to compile like, just like I figured, grrrrrrrr, so I'll reboot again. format one of my spare hardrives, etc install puppy then give it a shot again, heres the error message

bin -lxpcom -lxpcom_core -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L../../dist/bin -lmozjs -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcairo -Wl,--version-script -Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::Destroy()':
nsCanvasRenderingContext2D.cpp:(.text+0x20c6): undefined reference to `XFreePixmap'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
nsCanvasRenderingContext2D.cpp:(.text+0x5b16): undefined reference to `XRenderFindStandardFormat'
nsCanvasRenderingContext2D.cpp:(.text+0x5b39): undefined reference to `XListPixmapFormats'
nsCanvasRenderingContext2D.cpp:(.text+0x5b75): undefined reference to `XFree'
nsCanvasRenderingContext2D.cpp:(.text+0x5bad): undefined reference to `XCreatePixmap'
collect2: ld returned 1 exit status
gmake[2]: *** [libgklayout.so] Error 1
gmake[2]: Leaving directory `/root/mozilla/layout/build'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/root/mozilla/layout'
make: *** [install] Error 2
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

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

#74 Post by ttuuxxx »

oh ya what option did you want to enable to stop the crashing of the browser when the insert key is pressed???
thanks
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
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#75 Post by Pizzasgood »

I don't know what the actual problem is - possibly a bug with how mozilla products use a gtk widget, or maybe a bug with gtk itself. If you compile GTK with the --enable-debug option, Seamonkey and Firefox won't crash anymore from the insert key. They will still output error messages when you press it though.


As for Retrovol, well, I did say it's unfinished. If you switch it to a horizontal layout it becomes much more compact (though some of the alignment is off at the moment). You do that by editing the /root/.retrovolrc file (the template is that dot.retrovolrc file in the source). If you switch to horizontal, be sure to also adjust the dimensions so that the height and width aren't weird. You also need to delete all the default sliders included in that file, since they change based on what the soundcard has available. You can get an unformatted list with this command:
amixer controls

If nothing is specified, then Retrovol will just use all of the ones it finds, which should look similar to the "all" mode of alsamixer. Eventually there will be a dialog box that will let you specify which sliders to show and in what order, and it will adjust the .retrovolrc file automatically. The idea is that there will be four modes: Playback, Capture, All, and Custom.

Also missing is balance control. And the enumerated ones (like the input source) aren't usable yet. They just show the current one. And there's no keyboard control. Lots of work left :)

It isn't an equalizer, so unless you have a bass slider in Alsamixer, you shouldn't have one in Retrovol.
Attachments
horizontal_retrovol.png
(82.57 KiB) Downloaded 1105 times
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

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

#76 Post by ttuuxxx »

deleted due to the fact it doesn't work on the current model.
Last edited by ttuuxxx on Sat 10 Jan 2009, 11: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
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#77 Post by WhoDo »

ttuuxxx wrote:did you try the "Live Help" on the users taskbar? also the murga chat, Sourceforge, puppylinuxCa, Freshmeat, Gnome Search engines I made and installed, they work better than the default ones like on this forum.
upper right hand corner box. Also youtube video works fullscreen with firepup.
Don't seem to have any 'Live Help' on my Firepup. I have a Personal Toolbar and a Navigation Toolbar only. There is a Google search box upper right in the Navigation Toolbar but no drop-down offering other search options.

I can't see any Preferences that I might have enabled/disabled to hide these either. Any clues?
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
pa_mcclamrock
Posts: 695
Joined: Fri 03 Jun 2005, 23:13
Location: Fort Wayne, Indiana, USA

#78 Post by pa_mcclamrock »

ttuuxxx wrote:An actual easier way would be like this.
when you say install Kompozer it makes a Uninstall file located in /root/.packages/kompozer-0.7.10.files
its basically a 17kb text file showing where everything was installed
yes 17kb, but compressed its 3077B so it would be very small on sfs
we could add say maybe 10 or 20 application files like abiword gxine etc then the user could uninstall the non-essentials via the puppy package manager. This does work when you remaster also, if you include /root/.packages/ during your remaster process you can uninstall applications you installed before the remaster, after you burn and boot your remastered cd.
A follow-up on this: What would be even easier and more useful would be a modification to PETget that would let it actually uninstall any set of files listed in an "xxx.files" file in /root/.packages. I wrote and ran a little script to produce "xxx.files" files from selected "expanded tarball" directories in my Puppy Unleashed 4.1.1 directory. Sure enough, PETget displayed the corresponding packages as being ready for uninstallation. When I actually tried to uninstall one (HomeBank), though, it didn't get uninstalled, and I didn't even get an error message saying why not. No doubt it will be easy to write and run an uninstallation script myself now that I've got lists of files that could be uninstalled (to which the script could add menu items to be removed)--but I'm pretty sure it would also be easy for PETget to be modified to do the same thing.

David McClamrock
It's stupid to use inferior software for ideological reasons.
--Linus Torvalds

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#79 Post by Pizzasgood »

@ttuuxxx: not really :| The default Firefox gotten from Mozilla has the same issue, FYI. I've only seen this problem in specific versions of Puppy, so I don't think it's anything to do with how the browser was compiled (since the same Firefox works in 3.01, but not in 4.12). I think it's probably a bug with GTK, or else the people at Mozilla are doing something slightly wrong that works on some versions of GTK but doesn't quite cut the bacon on other versions.

@WhoDo: Okay, I just did it as simply as I could for now - USB installs will have the exact same screen that LiveCD users get, 5-second timeout and all. The isolinux.cfg/syslinux.cfg/extlinux.conf file is now defined at /usr/lib/syslinux/files/syslinux.cfg, minus the final line which is added by the puppyinstaller script or the createpuppy script. That line is the only one that needs to change (to have pmedia=cd, pmedia=usbflash, etc.) based on how you install Puppy, so I had to leave it out and let those scripts handle it. Also defined in the same location is the boot.msg file, which is what holds the text that you see in the boot screen.

In an Unleashed setup, those files would go into the 0rootfs_skeleton package, and the createpuppy script will now look in rootfs-complete/usr/lib/syslinux/files/ for them. Any modifications should be made within the files in 0rootfs_skeleton-XXX/usr/lib/syslinux/files/ rather than the isolinux-builds/ directory.

Three files changed: /usr/sbin/puppyinstaller, and the createpuppy and createpuppy_unipup scripts.

The package contains a README explaining things in a little more detail, and a step-by-step for installing it (not that it's hard). It also has patches in case you've modified those files already for whatever reason.


EDIT: Attachment removed, updated version here.
Last edited by Pizzasgood on Sat 10 Jan 2009, 21:28, edited 2 times in total.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

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

#80 Post by ttuuxxx »

@WhoDo have a look at the image, to get the dropdown box, click on the murga icon in the right hand corner search-box :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply