Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 16:17
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO - 6Mb ISO - Basic Building Block Puplet
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 37 of 58 Posts_count   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 56, 57, 58 Next
Author Message
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sun 01 Jan 2012, 18:20    Post_subject:  

Techno

Never say no to a tutorial, even if I don't always understand it for ages...

that's a 'yes' by the way Wink

Aitch Smile
Back to top
View user's profile Send_private_message 
PANZERKOPF

Joined: 16 Dec 2009
Posts: 280
Location: Earth

PostPosted: Sun 01 Jan 2012, 20:10    Post_subject:  

goingnuts wrote:
I tried to make the gtk-server but unfortunately I only can get it running with gtk2 - gets the following error with gtk1:
./demo-stdin.awk
*** glibc detected *** gtk-server: free(): invalid pointer: 0xb7ea0f04 ***

Weird..
I have compiled old version of gtk-server(1.3.4) with gtk1 and GCC 4.4.4.
Successfully tested with some demo-scripts included in source package.

_________________
SUUM CUIQUE.
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Sun 01 Jan 2012, 21:02    Post_subject:  

Same here, but I used the Debian patches for gtk1 iirc, I need to archive those patches before they purge them (the patches fixed a lot of compile issues)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Mon 02 Jan 2012, 13:00    Post_subject:  

Thanks - its nice to know that it can be done - although still no luck: tried gcc 4.2.2 (std. in P412), gcc 3.3 and gcc 2.85, rebuild glib, gtk and gtk server but still same error - also tried the debian-old source... Crying or Very sad But as long as it can be done there is some hope - think I will leave it for now though.

@technosaurus: You could modify your init with the below to have an init running:
Code:

//X[0]="ash";
//X[1]=NULL;
//execvp(X[0],X);
pid_t pid;
pid = fork();
if (pid == 0) {X[0]="/bin/ash"; X[1]=NULL; execvp(X[0],X);}
while (1) {sleep(1);}
return 0;
Back to top
View user's profile Send_private_message Visit_website 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 02 Jan 2012, 13:06    Post_subject:  

Guys
Have you seen Iguleder's homepage?
http://www.dimakrasner.com/
I'd be interested in your views on Arm port/xtoolchain/building of puppy
Seems to me if techno, goingnuts, amigo, Iguleder, and big_bass got together a 'wee beasty' would emerge that might run on x86/86/64/arm/ppc etc and was 'built properly....' and could be maintained/updated easily....or am I dreaming again? Wink

Aitch Smile
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Thu 05 Jan 2012, 11:27    Post_subject:  

I almost forgot about amaya web browser/editor (i posted a pet a while ago in the additional software section). I have kept an archive of the latest gtk1 sources (a couple versions actually, since they've been removed upstream) the newer versions require wx. They are too big to post here, since they include _all_ possible dependencies, so send me a pm if you want them.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Mon 09 Jan 2012, 16:01    Post_subject:  buildin aufs in kernel 2.6.25.16  

I have been working on liberating initrd from kernel dependency (removing modules needed to be build in kernel). And so far it seems to work ok - but I am having problems with applying aufs: Have found source for aufs-0+20080129 but are getting errors when compiling. Anyone have a newer source (aufs 1)? Or any experience with building in aufs in kernel 2.6.25.16?
My main target is to ease kernel shift, boot time and core-system size (by removing unneeded build-in drivers from kernel afterwards). zdvr down to 12Mb without firmware - might move firmware to pets? Kernel went from 1450K to 1650K but removed approx. 800K modules from initrd so far.
Update: Found a newer source - now working and posting from a modulefree initrd pupngo.
Also worked on further gtk1-apps - attached static build of gftp-2.0.11 and gcrontab-0.8.0
Update: Removed gcrontab as not much interests in that and added guiTAR (you need the full tar to make it work - not BB - although guiTAR could be patched to use BB I think). Now need a simple gtk1 frontend to mplayer - but hard to find.
160112: added rdesktop static build - remote connect to XP and newer versions from MS...

20130513: Removed attachment gtfp-2.0.11 as the file size is no longer supported at the forum.
rdesktop-1.2.0-i486.tar.gz
Description  static build of rdesktop
gz

 Download 
Filename  rdesktop-1.2.0-i486.tar.gz 
Filesize  129.97 KB 
Downloaded  765 Time(s) 
guiTAR-0.1.4_static.tar.gz
Description 
gz

 Download 
Filename  guiTAR-0.1.4_static.tar.gz 
Filesize  380.77 KB 
Downloaded  251 Time(s) 

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Mon 16 Jan 2012, 21:40    Post_subject:  

the default mplayer has a gtk1 frontend - tinycore has a package

also opened up a dropbox account and cobbled together this:
{not 100% finished}
Code:
#see later post

_________________
Web Programming - Pet Packaging 100 & 101

Edited_times_total
Back to top
View user's profile Send_private_message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Tue 17 Jan 2012, 16:17    Post_subject:  

technosaurus wrote:
the default mplayer has a gtk1 frontend - tinycore has a package

Yes - but seems to be only build in - not stand alone - and I havent figured how to avoid the skin-demand. It adds a lot to size and if you just want a plain interface...
Found gqmpeg but it also need a skin...
I was just seeking a standalone gtk1 frontend to minimp3/mpg123/other standalone audio/video-players...Might be a project to do in glade1?
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Tue 17 Jan 2012, 17:15    Post_subject:  

ftp://ftp.mplayerhq.hu/MPlayer/skins/ some are as small as 4kb

edit:
have to --enable-gui --enable-gtk1
the install process makes a symlink to gmplayer (its sort of a mcb) ... which doesn't need skins because it builds in xpm images (you can modify the contents of gui/mplayer/pixmaps)

btw I had to fix glib.h because it sometimes use -DG_CAN_INLINE and caused multiple definitions (just delete those blocks or the other definition and remove the ifdef)

Edit2 apparently optipng breaks the skin pngs. The mini skin does great when swallowed in a jwm tray <Swallow name="MPlayer" />

(I compiled mine with gtk1, but in wary so there are a lot of unnecessary dependencies ... just a quicky to test) ... If you plan to mcb it with mencoder, I can try to modify my woo-ff transcoder gui to use Xdialog and mencoder instead of ffmpeg and gtkdialog

Edit3: Used my dropbox uploader to post the lost amaya sources
http://dl.dropbox.com/u/57466078/amaya-fullsrc-9.2.1.tar.gz
http://dl.dropbox.com/u/57466078/amaya-fullsrc-9.51.tar.gz
http://dl.dropbox.com/u/57466078/amaya-gtk-8.5.tar.gz

and the lost libsee sources as well (a bsd licensed javascript engine)
http://dl.dropbox.com/u/57466078/libsee-3.1.1424-6.tar.xz
Note: I would really like to see this patched into netsurf (it was used by tkhtml in hv3)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 18 Jan 2012, 05:30    Post_subject:  

Aitch wrote:
Guys
Have you seen Iguleder's homepage?
http://www.dimakrasner.com/
I'd be interested in your views on Arm port/xtoolchain/building of puppy
Seems to me if techno, goingnuts, amigo, Iguleder, and big_bass got together a 'wee beasty' would emerge that might run on x86/86/64/arm/ppc etc and was 'built properly....' and could be maintained/updated easily....or am I dreaming again? Wink

Aitch Smile


Aitch they are deep into a flow so your text is not visible to them.

Maybe you can reach them at a time when they have
no flow and wants to get out of the standstill.
They don't want to get derailed now when having flow?

I am only trying to get what is going on. I can be wrong

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Wed 18 Jan 2012, 14:15    Post_subject:  

nooby: Thanks for the polite interpretation of dev silence!
Aitch: I was really glad you put a dwarf like me in the company of giants - and really liked your idea! But I doubt I could add much to such a project and honestly I think I am too easyly distracted by new ideas to keep focus...
technosaurus: Thanks for the links - seems that I am not able to compile mplayer static at the moment - must have messed up some tools. I will try to compile amaya with tinyX later. Maybe dropbox could be a remote repo for small systems with build in network-drivers? So just get the small thing up and running and install or launch apps via downloaded apps?
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Thu 19 Jan 2012, 06:49    Post_subject:  

Edit: news on javascript capable browser front
http://source.netsurf-browser.org/?view=revision&sortby=date&revision=13360
Looks like they will be using spidermonkey
I also dug up the last commit of elinks that could use libsee for its javascript engine (libsee posted previously)
http://dl.dropbox.com/u/57466078/elinks-libsee.tar.gz
and it looks like hv3 is getting revived, (move to fossil repository, and lots of discussion on their lists)
http://tkhtml.tcl.tk/fossil/timeline?y=ci&n=50

updated my ashirc to remove some dependencies

Code:
#!/bin/sh
[ $1 ] && USER=$1 || USER=${DISTRO_FILE_PREFIX}${DISTRO_VERSION}${DISTRO_MINOR_VERSION}user-$RANDOM
echo starting irc > $HOME/irc/log
Xdialog --title "#puppylinux irc" --tailbox $HOME/irc/log 30 99 &
XDPID=$!
A='NICK '$USER'
USER '$USER' +iw '$USER' :ashirc
JOIN #puppylinux '$USER
while ([ "$A" ]) do   echo "$A"
   A=`Xdialog --timeout 200 --stdout --title "AshIRC message dialog" --inputbox "Enter an IRC message for #puppylinux" 0 0`
   case $? in
      255)A=PONG;;
      1)kill $XDPID;;
      0)A='PRIVMSG #puppylinux :'$A'.';;
   esac
done | telnet irc.freenode.net 6667 >> $HOME/irc/log


Edit:
well it worked for a day, but it turns out dropbox renews tokens and cookies daily, so need at least 3 curl calls each time (I was hoping I could keep the cookie and save the token)

Code:
#!/bin/sh

check_deps(){
for i in $@; do
type -t $i > /dev/null || die "Error: dependency not found: $i"
done
}

die(){
Xdialog --infobox "$@" 0 0
exit 1
}

drop(){ #dropbox a file or directory
[ -f "$1" ] && curl --progress-bar -b $DB_COOKIE -o /dev/null -F "plain=yes" -F "dest=$DB_DIR" -F "t=$DB_TOKEN" -F "file=@$1" https://dl-web.dropbox.com/upload  2>&1 | tr "\r" "\n"|sed "s,# *,,gm"| Xdialog --wmclass drive24 --title "Transferring $1 to Dropbox" --no-close --gauge "$1 \n Transferring ..." 0 0 && return 0
cd $1 || die "invalid directory"
for i in *; do
   drop "$i"
done
}

check_deps Xdialog curl sed tr
trap die SIGINT
DB_COOKIE="${HOME}/.dropbox/cookie"
if [ ! -f "$HOME/.dropbox/dbrc" ]; then
mkdir "$HOME/.dropbox"
DB_DIR="Public"
Xdialog --stdout --wmclass configuration24 --title "Dropbox account configuration" --separator " " --password --3inputsbox "Account info" 0 0 "default folder" "$DB_DIR" "email" "$DB_EMAIL" passwd "$DB_PASSWD" | while read DB_DIR DB_EMAIL DB_PASSWD; do
echo '
DB_DIR='$DB_DIR'
DB_EMAIL='$DB_EMAIL'
DB_PASSWD='$DB_PASSWD'
' > "${HOME}/.dropbox/dbrc"
done
fi
. ${HOME}/.dropbox/dbrc
curl -s --show-error -i -c $DB_COOKIE -o /dev/null --data "login_email=$DB_EMAIL&login_password=$DB_PASSWD&t=$DB_TOKEN" https://www.dropbox.com/login
DB_TOKEN=`curl -s --show-error -i -b $DB_COOKIE -o - https://www.dropbox.com/home |tr -d '\n' | \
sed 's/.*<form action="https:\/\/dl-web.dropbox.com\/upload"[^>]*>\s*<input type="hidden" name="t" value="\([a-z 0-9]*\)".*/\1/'`
[ -d "$1" -o -f "$1" ] && for i in $@ ; do drop "$i";done || drop `Xdialog --stdout --fselect ./ 0 0 || exit`

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
PANZERKOPF

Joined: 16 Dec 2009
Posts: 280
Location: Earth

PostPosted: Fri 20 Jan 2012, 15:14    Post_subject:  

Found Explorer-like two-panel filemanager. Very fast, supports drag-n-drop and needs Xlibs only.
One interesting thing: it has own GUI toolkit "cxxx" (never heard of it before) written in c++.
Note: Attached file is xzipped but has gz extension to avoid board rejection.
xplorer-0.9.2.tar.gz
Description 
gz

 Download 
Filename  xplorer-0.9.2.tar.gz 
Filesize  592.56 KB 
Downloaded  213 Time(s) 

_________________
SUUM CUIQUE.
Back to top
View user's profile Send_private_message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Sat 21 Jan 2012, 13:51    Post_subject:  

technosaurus: Any possibility to have a print out of own input in ashirc as well? (Would be nice to have...)
PANZERKOPF: Nice finding - really very nice graphics.

I have been working on turning pupngo into a communication node after having fun with XP in 8bit color from rdesktop-1.2 (view post above). The rdesktop explodes in size going to 1.3/1.4/1.6 (static builds) but also gives you 16 or 24 bit colors...pm me if you want one of those.
X11vnc have given me some problems but now I have a working static build of x11vnc-0.6.1 - attached. Connect via vncviewer. I will try to do one of the newer versions and also try to find a vncviewer that not depend on Xaw (tightvnc unfortunately does...)
snap0000.png
 Description   view of pupngo running x11vnc via vncviewer
 Filesize   92.36 KB
 Viewed   2810 Time(s)

snap0000.png

x11vnc-0.6.1-i486.pet
Description  static build of x11vnc-0.6.1
pet

 Download 
Filename  x11vnc-0.6.1-i486.pet 
Filesize  227.46 KB 
Downloaded  215 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 37 of 58 Posts_count   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 56, 57, 58 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1211s ][ Queries: 13 (0.0206s) ][ GZIP on ]