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 Mon 22 Dec 2014, 08:52
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Akita Linux, Beta 16 ISO
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 37 of 70 Posts_count   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 68, 69, 70 Next
Author Message
Aitch


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

PostPosted: Thu 09 Feb 2012, 13:41    Post_subject:  

Have you seen this, sc0ttman?

http://bkhome.org/blog/?viewDetailed=02681

Hope changes to .mo files doesn't conflict?

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


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Thu 09 Feb 2012, 14:32    Post_subject: new versions for akita  

I worked the last couple of days on improving
the Akita versions of quick launch and Bacon recorder.

Bacon recorder is now very useful!!

You can record to the partition of the pupsave file
with /mnt/home/ or use the /media/ folder.

By the way I do a substitution so that every time it
sees '/mnt/home/' in a path name bacon recorder does a substitution
to /media/blahblah/.

The folder name must end with a slash /

White space in names doesn't cause problems.

Quick Launch now closes all Rox windows which is a good
way to clean up a screen full of junk.
Is it possible to use Ctrl-shift-L to launch it?

________________________________________________
baconrecorder-akita-2.5.pet
Description  special akita version
pet

 Download 
Filename  baconrecorder-akita-2.5.pet 
Filesize  26.88 KB 
Downloaded  155 Time(s) 
quick_launch-akita-2.1.pet
Description  special akita version to launch folders and applications
pet

 Download 
Filename  quick_launch-akita-2.1.pet 
Filesize  8.14 KB 
Downloaded  147 Time(s) 
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Thu 09 Feb 2012, 16:08    Post_subject:  

The link to devx file in the first post is dead.
Your repository works okay.

________________________________________
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Thu 09 Feb 2012, 16:15    Post_subject:  

Thanks for the apps don, that's great, I will take a look soon..
And I fixed the link..
______________

Aitch wrote:
Have you seen this, sc0ttman?

http://bkhome.org/blog/?viewDetailed=02681

Hope changes to .mo files doesn't conflict?

Aitch Smile

Yes I saw it, but no there won't be conficts, quite the opposite in fact...

I though now would be the best time to do the .locale rename thing,
as it fits nicely in with some other work going on...

I've been following rodin.s and shinobars NLS/i18n work,
and saw Barry was building up to it in some of his comments and posts...

About Akita:

I had the option of leaving it confusing - some .mo were real .mo files, others not...
Or I could change the fake .mos to something else...

I wrote a snippet that automated most of it, and have *mostly* finished the clean up..

I am also about to update the devx/main sfs files and update gettext,
clean it up a bit, and integrate MoManager in to the main sfs..

...with an akita devx download thing added in...
So it should all fit in quite nicely Smile

And finally I need a quick re-think about what gettext stuff goes in the main SFS,
and what needs to be put in the devx...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Thu 09 Feb 2012, 18:24    Post_subject:  

BTW, I should say the MoManager will be in the next Akita,
but not the SSS version, as I'm not sure that'll work..

It will also need a few changes, so it works in Akita:

- ignore builtin files stuff (not supported in Akita)
- do not suggest to email to barry, maybe to me instead
- remove stuff about 'latest WOOF' versions..
- other stuff I guess

I do not know how Barry has integrated SSS and such with jwm_menu_create...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
Aitch


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

PostPosted: Fri 10 Feb 2012, 09:07    Post_subject:  

sc0ttman

Looks as though Barry's changes are a work in progress, but he seems to expect devs to keep up with his blog for notification/response, if affected by his changes....

Quote:
I do not know how Barry has integrated SSS and such with jwm_menu_create...


I can only suggest posting that query on his blog, and maybe linking to your thread?

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


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Fri 10 Feb 2012, 18:44    Post_subject:  

Aitch wrote:
sc0ttman

Looks as though Barry's changes are a work in progress, but he seems to expect devs to keep up with his blog for notification/response, if affected by his changes....

Quote:
I do not know how Barry has integrated SSS and such with jwm_menu_create...


I can only suggest posting that query on his blog, and maybe linking to your thread?

Aitch Smile

I do keep up with his blog, and now, the Woof2 timeline, which is great, I love it... But I don't think I will trouble him with this, as Akita does not follow all Woof/official updates and changes - I just pick and choose what I like... then adjust as I see fit... I do try to keep as much as possible 'in line' with other recent pups, so Akita can continue to benefit from future work in other pups, but it's a battle...

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Sun 12 Feb 2012, 09:10    Post_subject:  

Can anyone help here: http://murga-linux.com/puppy/viewtopic.php?t=75970

It is related to Akita, and other pups, and my lack of knowledge... I guess..

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Tue 14 Feb 2012, 13:16    Post_subject:  

Scottman wrote:
Can anyone help here


The real expert for libjpeg is wjaguar, maintainer of mtpaint.
He's spent an enormous amount of time to understand it.

Send him an email and I'm sure he'll reply.

BTW I compiled mtpaint in puppy 431
__________________________________________________
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Tue 14 Feb 2012, 22:13    Post_subject:  

don570 wrote:
BTW I compiled mtpaint in puppy 431

Of course, I am using your mtpaint in Akita.
It seems Puppy 431 also has the same problem as Akita...
I wonder if Puppy 4.2.x started off with this problem too...

# ldd `which mtpaint` | sort | grep jp
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7f1e000)
libjpeg.so.7 => /usr/lib/libjpeg.so.7 (0xb74e3000)

EDIT: Hmm... Don, if you run the same command, do you get the same results?
(I presume we're using more or less the same build...)

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
wjaguar

Joined: 21 Jun 2006
Posts: 292

PostPosted: Wed 15 Feb 2012, 05:50    Post_subject:  

sc0ttman wrote:
# ldd `which mtpaint` | sort | grep jp
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7f1e000)
libjpeg.so.7 => /usr/lib/libjpeg.so.7 (0xb74e3000)

To see what is directly linked to what:
objdump -x `which mtpaint` | grep NEEDED
or:
readelf -d `which mtpaint` | grep NEEDED

And this simple script will help you find out which specific lib(s) link to which libjpeg:
Code:
#!/bin/sh
ldd "$1" | grep '=>' | while read LINE
do
  LINE=${LINE% (*}
  echo "$LINE"
  LINE=${LINE#*=> }
  [ -z "$LINE" ] || objdump -x "$LINE" | grep NEEDED
done
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4426

PostPosted: Thu 16 Feb 2012, 10:52    Post_subject:  

wjaguar wrote:

objdump -x `which mtpaint` | grep NEEDED
or:
readelf -d `which mtpaint` | grep NEEDED
[/code]
thanks for the readelf counterpart to objdump -x, I will add that as alternative for my lddd function in bashbox (basically the same as your example, except that it also removes the "NEEDED")

Edit: removed redundant redundancies

_________________
Web Programming - Pet Packaging 100 & 101

Edited_time_total
Back to top
View user's profile Send_private_message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Thu 16 Feb 2012, 21:45    Post_subject: elinks wrapper  

Thanks guys, I will be past the libjpeg problems very soon...

I have compiled elinks with libsee, and wanna make it the default...
Akita already has a wrapper for elinks, called 'elinks_shell'...

The 'elinks_shell' wrapper prevents multiple instances of elinks..
It also detects if X is running and runs elinks in a terminal window if yes.

I want to make elinks_shell in Akita work better..
And then replace elinks with the wrapper..

(This is because mrxvt works great, but not for utf8..
And this is where termit comes in..)

At the moment, it looks like this:

Code:
#!/bin/sh
if [ elinks -remote ping\(\) 2>/dev/null ]; then
        exec elinks -remote ${1:-about:blank}
elif [ -n "$DISPLAY" ]; then
        TERM=rxvt && mrxvt -geometry 100x36 -e elinks $1 &
else
        elinks $1
fi
exit 0


Here is what I want to do, any helpful ideas, links or snippets are welcome!!

1. make termit and mrxvt update TERM for session when loaded
- OR (maybe safer) get elinks_shell to detect the terminal emuator, if any, if X is running
2. if X running, detect if loading from withing a terminal console or not
3. if not, pre-append `$TERM -e` to elinks.bin exec cmd


Essentially, I want elinks_shell to auto-detect if X is running,
detect the terminal emulator (if any) in which it's been called,
and finally to set TERM appropriately before running elinks..

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4426

PostPosted: Fri 17 Feb 2012, 00:26    Post_subject:  

ugggghly but to tell which terminal emulator is running
Code:
SHELLPID=$$
TERMPID=`ps -eo ppid,pid,comm |awk '{if ($2=='$SHELLPID')print $1}'`
ps -eo pid,comm |awk '/'$TERMPID'/ {print $2}'


it does not determine whether it is a symlink though - you need readlink, or type -a

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


Joined: 16 Sep 2009
Posts: 2387
Location: UK

PostPosted: Fri 17 Feb 2012, 06:58    Post_subject:  

technosaurus wrote:
ugggghly but to tell which terminal emulator is running
Code:
SHELLPID=$$
TERMPID=`ps -eo ppid,pid,comm |awk '{if ($2=='$SHELLPID')print $1}'`
ps -eo pid,comm |awk '/'$TERMPID'/ {print $2}'


it does not determine whether it is a symlink though - you need readlink, or type -a

Thanks techno, I will play with that...

And what about detecting if not loaded through a terminal at all? (when loaded through menu entry, etc...)
Didn't goingnuts have something for that in dialogfunctions.sh?

Code:
[ "$DISPLAY" ] && [ "$(tty | grep not)" ] && exec $TERM -e elinks $1


I don't really understand the `$(tty | grep not)` bit....

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 37 of 70 Posts_count   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 68, 69, 70 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1164s ][ Queries: 12 (0.0183s) ][ GZIP on ]