(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 26 Sep 2020, 17:55
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
big_bass ,Amigo, ttuuxxx chit-chat zone?
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Thu 12 Feb 2009, 12:31    Post subject:  big_bass ,Amigo, ttuuxxx chit-chat zone?
Subject description: about packages and dependencies
 


here are some ongoing talks about packages




well umm.......... I confess
I want to just paste a name instead of typing Laughing

avoid typos ... ya know

so you can place this script on the desktop
and drag N drop any file onto it and it will strip
away the path name leaving you just the name


if you use rxvt you can
select the text in the box and paste to the terminal


or much better if you use sakura
you get an option to copy
then pasting easier


you can also copy and paste into a text editor too


the screen shot shows I just dragged N dropped that file on top of the "base" script on my desktop and the dialog box opened up and stripped the path from the file name

I use this script many times a day
thought to share even though its simple
but practical

big_bass
base1.png
 Description   
 Filesize   23.11 KB
 Viewed   1048 Time(s)

base1.png

dragNdrop_basename.tar.gz
Description 
gz

 Download 
Filename  dragNdrop_basename.tar.gz 
Filesize  751 Bytes 
Downloaded  363 Time(s) 

Last edited by big_bass on Wed 18 Feb 2009, 17:29; edited 10 times in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 12 Feb 2009, 12:43    Post subject:  

Hi Bigbass

I would rather a tool to strip junk from files, setup the same as that, where I could drag a newly compiled bin or .so file and in the background it runs this command to.

strip -R .note -R .comment filename

that would make me happy, less copy and paste, or even have it as part of the right click menu, strip file
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Thu 12 Feb 2009, 13:07    Post subject:  

ttuuxxx wrote:
Hi Bigbass

I would rather a tool to strip junk from files, setup the same as that, where I could drag a newly compiled bin or .so file and in the background it runs this command to.

strip -R .note -R .comment filename

that would make me happy, less copy and paste, or even have it as part of the right click menu, strip file
ttuuxxx


well if you read through the base script I already have an example
how to set up a right click in ROX
to do just that an easier way to add small apps to ROX
quickly


try this let me know how it went

big_bass
strip_bins.tar.gz
Description 
gz

 Download 
Filename  strip_bins.tar.gz 
Filesize  235 Bytes 
Downloaded  375 Time(s) 
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Thu 12 Feb 2009, 13:20    Post subject:  

Joe, that's a bit of overkill creating a temp file. All you need is this:

#/bin/sh
gxmessage `basename $1`
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 12 Feb 2009, 13:24    Post subject:  

ok that worked from the command line one I place it in usr/bin and renamed it stripbins <-- saves on the shift underscore thing, I'm real lazy,lol
now to get it working with rox or maybe a drag and drop function.
Man this is going to be a great time saver. Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 12 Feb 2009, 13:28    Post subject:  

excellent I got it in the rox right click menu and it works Smile yahooooooooooooooooooooooooo
all I do is right click the mouse on a bin file and select at the top of the list 'stripbins' and boom aqualung goes from 2101kb to 764kb in 1 second flat Smile thats so coolllllllll
thanks big bass your the greatest Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 12 Feb 2009, 13:34    Post subject:  

Hey bigbass or amigo I've been trying to compile this program tonight, its a strict gmake with no configure file, do you know the gmake only command to compile it as i486? It keeps compiling as i686, I've been spending hours on this. reading up etc and nothing.
thanks as always
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Thu 12 Feb 2009, 13:48    Post subject:  

What program is it?
If it ahs no configure routine, you'll need to add the CFLAGS you want to the compile line
CFLAGS = "-O2 -march=i486 -mtune=i686"
Then look for the compile line -something like:
gcc -o prg-name $(OBJS)
Insert CFLAGS in there:
gcc -o prg-name $(CFLAGS) $(OBJS)
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Thu 12 Feb 2009, 13:56    Post subject:  

amigo wrote:
Joe, that's a bit of overkill creating a temp file. All you need is this:

#/bin/sh
gxmessage `basename $1`



I posted to you twice and it disappeared ? strange

Hey Gilbert

less code is always better thanks
for the tips
they are always welcomed
just tried your code snippet nice Cool

and thanks for the recent letter
great info
still working on a reply

Joe
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 12 Feb 2009, 14:27    Post subject:  

Hi amigo you asked what I was trying to compile, its cdrtools, I guess I'll work on it in the morning its late now. Thanks for the help bigbass and amigo Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Fri 13 Feb 2009, 09:39    Post subject:  

ttuuxxx wrote:
Hi amigo you asked what I was trying to compile, its cdrtools, I guess I'll work on it in the morning its late now. Thanks for the help bigbass and amigo Smile
ttuuxxx



this shows what else you'll need to get it running

imagine if all puppy packages had one of those
http://riksun.riken.go.jp/pub/pub/Linux/slackware/slackware-12.1/source/ap/cdrtools/cdrtools.SlackBuild

or a "short cut", down load that package as a tgz
there's a note that Debian has errors
with their package on the main page of cdrtools

big_bass
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 13 Feb 2009, 10:15    Post subject:  

big_bass wrote:
ttuuxxx wrote:
Hi amigo you asked what I was trying to compile, its cdrtools, I guess I'll work on it in the morning its late now. Thanks for the help bigbass and amigo Smile
ttuuxxx



this shows what else you'll need to get it running

imagine if all puppy packages had one of those
http://riksun.riken.go.jp/pub/pub/Linux/slackware/slackware-12.1/source/ap/cdrtools/cdrtools.SlackBuild

or a short cut down load that package as a tgz
there's a note that Debian has errors
with their package on the main page of cdrtools

big_bass


Yes I been talking to the developer of cdrtools about how his gmake (GNU Make) or Smake that he uses is not as user friendly as ./configure - make, like his default was opt/bin/schilly opt/lib etc, you actually have to read about 15+ different how to helps, etc to find out you have to go to /root/cdrtools-2.01.01/DEFAULTS/Defaults.linux and open that up and change the default to /usr , plus that was one out of 43 different documents in that folder, Then once you get that worked out, You can't set it to compile as i486 or i386, I tried different cf flags, i tried changing the gmake, I even installed smake, which is like gmake and tried to change that what a pain, it would of taken like 2 seconds if he had the old ./configure file that worked, he has one hidden in a directory, but that doesn't do anything anyways.
Then end result after 1.5 days trying to get it working is that it compiles perfect as i686 in the right directory, but thats it. I'll try your slackware sources they might be patched.
thanks again Joe
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Fri 13 Feb 2009, 10:33    Post subject: schilly  

Jeff

ftp://mirror.pacific.net.au/linux/slackware/slackware-12.1/slackware/ap/cdrtools-2.01.01a38-i486-1.tgz

Quote:
his default was opt/bin/schilly opt/lib


now that's really "schilly" .....mmm I mean silly Laughing

Joe
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11249
Location: Ontario Canada,Sydney Australia

PostPosted: Fri 13 Feb 2009, 11:16    Post subject:  

big_bass wrote:
Jeff

ftp://mirror.pacific.net.au/linux/slackware/slackware-12.1/slackware/ap/cdrtools-2.01.01a38-i486-1.tgz

Joe


Thanks joe
But that one is a slackware version and needed 2 libs min, I kind of was building this for 4.2 also and I don't want to mix an match, Sometime slack works on 4 series and sometimes not, but with the heart of a burning program, I better keep it OS specific.
Oh ya the developer just replied to me on how to change it to i486, this is what he said
'Well I did already tell you how to do it....

./configure & make is a very outdated method

If you know how to compile for an ancient CPU, just do what I told you and use
COPTX=
'
ya well I tried looking up the COPTX= thing and still working on it, grrr
Thanks again for our help
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2647

PostPosted: Fri 13 Feb 2009, 14:53    Post subject:  

Okay, try this:
export COPTX="-march=i486 -mtune=i686"
and then run configure and make from the same terminal.
Schilly has a *huge* ego -he kept development on the kernel SCSI/CD system from going forward for years until the kernel devs finally gave up and wrote another interface which lets you burn CD's without scsi emulation. Schilly was also very miffed when the folks at debian forked an earlier version of cdrtools into the cdrkit package. he slammed them a lot on his website(still does9. Unforuntately, even debian was unable to recruit enough developers with enough zeal to work through the problems with cdrkit. Schilly also 'held back' his bule-ray code for quite awhile, but I think he has finally included it in cdrtools. He also has a huge 'beef' with the autoconf devs, so that's why he uses that insane 'smake' that he came up with. I think the config files and scripts constitute a lot more files than the real code.
debian quit using cdrtools because Schilly changed to a non-free license.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [46 Posts]   Goto page: 1, 2, 3, 4 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

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
[ Time: 0.0811s ][ Queries: 12 (0.0176s) ][ GZIP on ]