PCP - Puppy Control Panel(s)

A home for all kinds of Puppy related projects
Message
Author
User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#41 Post by esmourguit »

Bonjour,
In Puppy 4.13, here are the lib added :
libgdk-1.2.so.0 link to libgdk-1.2.so.0.9.1
libgdk_pixbuf.so.2 link to libgdk_pixbuf.so.2.0.0
libglib-1.2.so.0 link to libgmodule-1.2.so.0
libgtk-1.2.so.0 link to libgtk-1.2.so.0.9.1
and the result for pcp2 in terminal :
# pcp2
pcp2: symbol lookup error: /usr/lib/libgdk-1.2.so.0: undefined symbol: g_source_add

What is wrong?

Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Interesting

#42 Post by gposil »

The program does not use those libraries
ldd pcp2
linux-gate.so.1 => (0xffffe000)
libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb7e63000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7e53000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7bf2000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7b90000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b70000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ae2000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7ade000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7adb000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7aac000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7a97000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a80000)
libdl.so.2 => /lib/libdl.so.2 (0xb7a7b000)
libc.so.6 => /lib/libc.so.6 (0xb7980000)
libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb797d000)
libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7978000)
libm.so.6 => /lib/libm.so.6 (0xb7956000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb794d000)
libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb7949000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb78ec000)
libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb78c6000)
libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb78ba000)
libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb78b2000)
libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb78ac000)
libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb78a3000)
librt.so.1 => /lib/librt.so.1 (0xb7890000)
/lib/ld-linux.so.2 (0xb7f35000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb786b000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb780c000)
libz.so.1 => /lib/libz.so.1 (0xb77fd000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77e0000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb77af000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e4000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76d9000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb76bd000)
It may be a UPX problem...try the binary below

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

Re: Interesting

#43 Post by CatDude »

Hello gposil

Very nice.
gposil wrote: It may be a UPX problem...try the binary below
I am running Puppy 4.2retro, and i initially had the same problem as Billwho? had.
Then i tried pcp2b-bin.tar.gz and that seems to be working OK.

I will be keeping an eye on this thread, well done mate, i like it.

CatDude
.

EDIT:
If i could offer 1 suggestion, it would be,
could you make the text as well as the icon launch whatever application
Attachments
pcp2b.jpg
(40.51 KiB) Downloaded 1130 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Thanks CatDude

#44 Post by gposil »

Still a few more bugs .01c will incorporate your suggestion CatDude :)

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

Re: Thanks CatDude

#45 Post by CatDude »

Hi
gposil wrote:will incorporate your suggestion CatDude :)
Thank you ever so much.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#46 Post by Lobster »

:)
I believe Puppy uses compression so using UPX does not offer much improvement. By linking to/using the icons in Puppy 4.2, you will save a lot more space
:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

pcp2 version 0.1c

#47 Post by gposil »

Find below Version 0.1c

Please keep suggestions coming... :)

See post below

http://www.murga-linux.com/puppy/viewto ... 418#293418
Last edited by gposil on Thu 09 Apr 2009, 10:34, edited 1 time in total.

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

#48 Post by technosaurus »

ummm sorry about this -didn't realize it was going to be this easy... just spent about 2 minutes playing with the code and came up with this... anyhow here is the pic and code
Attachments
pcp2.gz
(938 Bytes) Downloaded 750 times
pcp2.png
(31.96 KiB) Downloaded 1830 times
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
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Latest Update to PCP2

#49 Post by gposil »

Here's more debugging and improvements. :)
Attachments
sc7.jpg
Alternative
(37.65 KiB) Downloaded 1882 times
sc4.jpg
Latest Screenshot
(35.71 KiB) Downloaded 1885 times

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#50 Post by esmourguit »

Bonjour,
@ gposil
How about localizing?
Cordialement ;)
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#51 Post by ecomoney »

Incredibly rude of me not to have followed this thread from the start...and just pitch in with a comment :oops:

BUT

If the puppy control panel was implemented as some kind of file browser...with its various functions as links to its composite elements then this would have two advantages

1. It would be implemented with a similar look and feel to what our many windows refugees would feel most comfortable with.

2. Packages with "control panel" ish extra configuration programs (i.e. wine/gcompris administration) could be added by additional packages to the control panel (which is how I believe it is done by windows if my long-term memory serves me correctly).

?

Sorry for "but"ting in
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

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

#52 Post by technosaurus »

@ecomoney

My PCP is just a simple gtkdialog3 script... that's why its < 1kb vs >1mb... to add a program to the panel you just have to cut & paste...

It could just as easily be built using a script similar to fixmenus via the .desktop files in /usr/share/applications (the menu and template info is in /etc/xdg/... and the fixmenu script is in /usr/sbin I think) the only difference is that you would need to make it executable after its created
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
gposil
Posts: 1300
Joined: Mon 06 Apr 2009, 10:00
Location: Stanthorpe (The Granite Belt), QLD, Australia
Contact:

Re ecomoney suggestion

#53 Post by gposil »

I think ecomoney is onto something here....i'm going to leave the interface alone for the moment and concentrate on new backend that does the following:

1) On boot the filesystem and the menu system will be interrogated for configuration, setup and system utilities to include in Puppy Control Panel.

2) Add them to list view (like rox) -- allowing for icon or list view.

3) And work out a way of linking any new installs .. though that shouldn't be hard..so they are dynamically added to control panel.

A Control Panel of this sort will not rely on static data from known releases, but will adapt to new releases dynamically...sounds good .. just got to do it now... :)

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#54 Post by ecomoney »

Thanks...it does make things a lot easier for people to switch if the terminology and operation are similar. :-)
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
esmourguit
Posts: 1410
Joined: Fri 17 Nov 2006, 14:45
Location: Entre l'ile aux oiseaux.et l'ile de sainte Lucie

#55 Post by esmourguit »

Bonjour,
Continuing on PCP by technosaurus, what about this one (monPCP) to be improved?
It is based on the work of richard.a, see here.
It is 1287 bytes compressed.
There should be a title, tabs and more space between icons. Unfortunately I can't do that.
If anyone can help?
Cordialement ;)
Attachments
monPCP.png
(104.99 KiB) Downloaded 1700 times
[url=http://moulinier.net/][color=blue][b]Toutou Linux[/b][/color][/url] - [url=http://toutoulinux.free.fr/pet.php][color=blue][b]Paquets français[/b][/color][/url]

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#56 Post by ecomoney »

Richard.A has some excellent skills in user interface design, I have seen some of his work before. Glad to hear he is still contributing.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
Max Uglee
Posts: 85
Joined: Sat 25 Apr 2009, 06:03

#57 Post by Max Uglee »

@gposil
Looks good, Puppy needs something like this, have you gotten any further with that new backend?

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

#58 Post by sunburnt »

I`ve heard complaints about Barry`s GUI`s being too big for lower screen resolutions.
I tend to agree it shouldn`t be a problem... Solution is tab panels (notebook control).
Unfortunatly it doesn`t like useing the " double quotes, so it limits the code.

hamoudoudou

PCP Wary 511 Solidpup

#59 Post by hamoudoudou »

PCP Wary 511 Solidpup is perhaps the most complete.
Attachments
PCP.png
So clear
(59.16 KiB) Downloaded 172 times

Post Reply