The time now is Sun 24 Jan 2021, 08:23
All times are UTC - 4 |
Page 37 of 72 [1080 Posts] |
Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 70, 71, 72 Next |
Author |
Message |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: 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
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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?
________________________________________________
Description |
special akita version
|

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

Download |
Filename |
quick_launch-akita-2.1.pet |
Filesize |
8.14 KB |
Downloaded |
314 Time(s) |
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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..
______________
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
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...
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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...
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6815 Location: Chatham, Kent, UK
|
Posted: 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
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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  |
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...
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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..
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5524 Location: Ontario
|
Posted: 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
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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...)
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
wjaguar
Joined: 21 Jun 2006 Posts: 359
|
Posted: 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
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: 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
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
Last edited by technosaurus on Fri 17 Feb 2012, 00:29; edited 1 time in total
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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..
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: 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
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: 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....
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
|
Page 37 of 72 [1080 Posts] |
Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39, ..., 70, 71, 72 Next |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|