| Author |
Message |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Thu 19 Nov 2009, 14:32 Post subject:
terminal here |
|
this is a nice dragNdrop terminal here
drag N drop any folder on the script
enjoy
Joe
you could place this on the desktop also
note this isnt just a terminal it opens in whatever the folder
you dragN drop on it changing the directory for you
a great time saver when doing many builds
| Code: | #!/bin/bash
# call this "terminal_here_now"
# you dragN drop a folder on this script
# or set up the right click in ROX
# the rxvt terminal opens there
# you could change rxvt to xterm if you prefer
# Joe Arose ...big_bass
DIR="$1"
if [ -d "$DIR" ]
then
echo "$DIR directory exists!"
cd "$1"
rxvt >/dev/null 2>&1
else
echo "$DIR directory not found!"
exec xmessage -bg "yellow" -center -title "ERROR" "folders /directories only "
fi
|
| Description |
|

Download |
| Filename |
terminal_here_now.tar.gz |
| Filesize |
430 Bytes |
| Downloaded |
250 Time(s) |
_________________ slackware 14
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Fri 20 Nov 2009, 14:19 Post subject:
tazpkg 2 folder |
|
any slitaz hackers ?
well if you ever wanted to see whats in a slitaz package
and you are on puppy
I wrote this handy dragNdrop
slitaz package to folder
tazpkg2folder
you just dragNdrop any slitaz package on the script
a folder gets created with the correct name
so you can poke inside it all gets uncompressed for you
Joe
| Description |
|

Download |
| Filename |
tazpkg2folder.tar.gz |
| Filesize |
545 Bytes |
| Downloaded |
248 Time(s) |
_________________ slackware 14
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Tue 24 Nov 2009, 11:47 Post subject:
|
|
numberlock on auto started
this is one of those little annoying things
that I squashed like a bug
it only 11k
http://puppy2.org/slaxer/numlockx-1.1-i486-2-slxr.tgz
note for first time use to test this I placed a small auto launch
script in the /root/Startup folder click on it
*when you reboot its always done and stays on
and you never have to click on it again
Joe
_________________ slackware 14
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1229 Location: Ukraine
|
Posted: Tue 24 Nov 2009, 13:40 Post subject:
|
|
Dear Joe,
Great minds think alike
http://www.murga-linux.com/puppy/viewtopic.php?search_id=234507740&t=48115
With kind regards,
vovchik
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Sun 29 Nov 2009, 10:14 Post subject:
|
|
Ok you need a search engine dedicated to threads like this so apologies if repeating.
Was trying the latest version on a hp kayak...pent 2 , cirrus logic video and 2 points arose.
The kernel framebuffer driver meant a crash at the end of booting..I believe barry blacklists all framebuffer drivers cause they are a pain...the ati one is too.
The xorg cirrus driver gives a blank screen...standard puppy omits cirrus drivers and uses the vesa one which is ok. Support for these chips has steadily worsened in xorg and the last working set were in 7.0 (no acceleration.)
Otherwise booted ok and all drives working which is not the case with puppy 2.6.25 kernel so cheers for the broader support with slaxer.
regards
mike
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Sun 29 Nov 2009, 15:18 Post subject:
|
|
Putty
http://puppy2.org/slaxer/putty-0.60-i486-slxr.pet
gtk1
http://puppy2.org/slaxer/gtk+-i486-2-slxr.tgz
@Hey pakt I saw your post
@mikeb thanks for the info
Joe
_________________ slackware 14
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Sun 29 Nov 2009, 17:37 Post subject:
|
|
Hej Joe, thanks for putty too!
I was going to post here and mention that it looks like you're making a fisherman out of me. I've managed to compile several apps and make them into pets. All thanks to amigo's and your work with src2pkg.
One question though, is there an easy way to have the pets make a menu entry when installing them? I'll post the pets if I can get that right.
Also, as you know, putty was one of the apps I couldn't compile. How did you manage?
Paul
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Sun 29 Nov 2009, 18:49 Post subject:
|
|
| pakt wrote: | Hej Joe, thanks for putty too!
One question though, is there an easy way to have the pets make a menu entry when installing them? I'll post the pets if I can get that right.
Also, as you know, putty was one of the apps I couldn't compile. How did you manage?
Paul |
Hey Paul sorry I did't see your putty post until today
Putty. Well, I had to fight with that one a bit because
I had to compile gtk1 as a complete package first
since the configure script for putty looks for a gtk-conf?
after fixing that it was a snap
well sort of
I first compiled it with the strange make
-f Makefile.gtk
unix/Makefile.gtk is for non-autoconfigured builds. This makefile
expects you to change into the `unix' subdirectory, then run `make
-f Makefile.gtk'.
and it did work
so I went back and used src2pkg then tweaked it to have a menu
and a new icon then packaged it as a pet
about 90% of the packages are simple
but the other 10% is work
if you have a question about src2pkg amigo is helpful don't hesitate to ask since he built it he knows
if its about what slaxer_pup needs you know my mail or PM
don't hesitate to ask
as for menu entries use /usr/share/applications/
one of the desktops there as a template then edit what you need it to do
, | Quote: | | is there an easy way to have the pets make a menu entry when installing them |
sometimes the app doesnt have one so you have to make it
here's a template
| Code: |
[Desktop Entry]
Encoding=UTF-8
Name=Xmms Audio player
Icon=wmxmms.png
Comment=Xmms Audio player
Exec=/usr/bin/xmms
Terminal=false
Type=Application
Categories=Audio
GenericName=Xmms Audio player |
then make a folder in the package and drop in the icon in /usr/share/pixmaps
note src2pkg now has many more options to build various packages
Joe
_________________ slackware 14
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Mon 30 Nov 2009, 10:32 Post subject:
|
|
Thanks for your explanation Joe.
I got curious and decided to give putty another try. First I installed gtk+-i486-2-slxr.tgz and rebooted.
I checked the src2pkg options and came up with this:
| Code: |
# src2pkg -s=unix -m='make -f Makefile.gtk' -A -E putty-0.60.tar.gz
Found source archive: putty-0.60.tar.gz
Deleting old build files - Done
Creating working directories:
PKG_DIR=/tmp/putty-0.60-pkg-1
SRC_DIR=/tmp/putty-0.60-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Notice - The configuration files are in a subdirectory: unix
Found configure script - Done
Configuring sources using:
LDFLAGS="-L/lib -L/usr/lib" CFLAGS="-O2 -m32 -march=i486 -mtune=i686" ./configure --prefix=/usr --libdir=/usr/lib
Configuration has been - Successful!
Compiling sources - Using: 'make -f Makefile.gtk'
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Sorry! No Dependency or Requirements information found.
#
|
I checked /tmp/putty-0.60-src-1/unix/config.log and the first error encountered was:
| Code: |
/usr/include/gtk-1.2/gdk/gdktypes.h:33:18: error: glib.h: No such file or directory
|
so I guess I'm missing that header file. I do find this one
/usr/include/glib-2.0/glib.h which I assume is for gtk-2.0
Am I barking up the wrong tree?
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1757
|
Posted: Mon 30 Nov 2009, 13:13 Post subject:
|
|
For a full-working gtk-1.2 environment you need three packages: glib-1.2.10, gtk-1.2.10 and gdkpixbuf-0.22.0. There are some progs that don't need gdkpixbuf, but installing those three things gives you support for well over 1,000 gtk1 proggies. You can find most of them (with sources of course) here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Applications/
If you run src2pkg with just 'src2pkg -s=unix putty-0.60.tar.gz' you should get a successful build -but that will be the ncurses version -not the gtk one.
Here's the script I came up with:
| Code: | #!/bin/bash
## src2pkg script for: putty
## Auto-generated by src2pkg-2.0
## src2pkg - Copyright 2005-2009 Gilbert Ashley <amigo@ibilio.org>
SOURCE_NAME='putty-0.60.tar.gz'
NAME='putty' # Use ALT_NAME to override guessed value
VERSION='0.60' # Use ALT_VERSION to override guessed value
# ARCH=''
# BUILD='1'
# PRE_FIX='usr'
# Any extra options go here:
EXTRA_CONFIGS="--mandir=/usr/man"
# use this if you want the gtk program
MAKE_COMMAND='make -f Makefile.gtk'
CONFIG_SUBDIR='unix'
# Optional function replaces configure_source, compile_source, fake_install
# To use, uncomment and write/paste CODE between the {} brackets.
# build() { CODE }
# Get the functions and configs
. /usr/libexec/src2pkg/FUNCTIONS ;
# Execute the named packaging steps:
pre_process
find_source
make_dirs
unpack_source
fix_source_perms
configure_source #
compile_source # If used, the 'build' function replaces these 3
mkdir -p $PKG_DIR/usr/bin
mkdir -p $PKG_DIR/usr/man/man1
#fake_install
# install this manully to avoid weirdness with the Makefile.gtk
cd $SRC_DIR/unix
make install DESTDIR=$PKG_DIR
fix_pkg_perms
strip_bins
create_docs
compress_man_pages
make_description
make_doinst
make_package
post_process
|
Just save that as putty.src2pkg and run 'src2pkg -X' to build it -once you have your gtk1 stuff installed.
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Mon 30 Nov 2009, 13:49 Post subject:
|
|
amigo you just beat me to it. I finally succeeded in compiling putty about a half hour ago and was just writing this up when your message appeared
ttuuxxx made available these packages
http://puppylinux.asia/tpp/ttuuxxx/2.14series/Gtk-1.2/backend/glib-1.2.10-i386.pet
http://puppylinux.asia/tpp/ttuuxxx/2.14series/Gtk-1.2/backend/gtk+-1.2.10-i386.pet
in the 'Updating 2 series' thread, which contain the libs I was missing.
Then I just re-ran my previous command and got this:
| Code: |
# src2pkg -s=unix -m='make -f Makefile.gtk' -A -E putty-0.60.tar.gz
Found source archive: putty-0.60.tar.gz
Deleting old build files - Done
Creating working directories:
PKG_DIR=/tmp/putty-0.60-pkg-1
SRC_DIR=/tmp/putty-0.60-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Notice - The configuration files are in a subdirectory: unix
Found configure script - Done
Configuring sources using:
LDFLAGS="-L/lib -L/usr/lib" CFLAGS="-O2 -m32 -march=i486 -mtune=i686" ./configure --prefix=/usr --libdir=/usr/lib
Configuration has been - Successful!
Compiling sources - Using: 'make -f Makefile.gtk'
Compiling has been - Successful!
Checking for 'install' rule - Okay
Checking for DESTDIR (or similar) support - Found DESTDIR
Installing using DESTDIR - Using:
make -f Makefile.gtk DESTDIR=/tmp/putty-0.60-pkg-1 install
Notice - Possible error running 'make -f Makefile.gtk install'
But, there seems to be a matching executable in the SRC_DIR.
Doing generic install -
Processing package content:
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Checking for standard documents - Done
NOTICE - No man-pages installed by Makefile.gtk
Found man-pages in SRC_DIR - Installing in PKG_DIR
Compressing man pages - Done!
Creating slack-desc - Copying slack-desc to: CWD/new.slack-desc
The file new.slack-desc is a copy of the slack-desc file
inserted in the package. If you want to change the content,
edit and save the file as slack-desc and rebuild
Otherwise, it will be re-created when you repeat the build.
Generating dependency list - Done
Searching for links in PKG_DIR - None found
Writing build script - putty.src2pkg.auto in the current directory.
Adding src2pkg script to package in: usr/doc/putty-0.60
Rechecking package correctness:
Checking for misplaced dirs - Done
Rechecking package permissions - Done
Making installable package - Done
Package Creation - Successful! - Package Location:
/tmp/putty-0.60-i486-1.tgz
#
|
and voila, it works
Looks like your great utility will compile this app straight-out-of-the-box - no external manipulation necessary
Paul
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Mon 30 Nov 2009, 14:10 Post subject:
|
|
Uh-oh, oddly enough it looks like I only succeeded in compiling the putty binary and none of the others, but the putty gui does work - I just checked it. But I thought the pet size was a bit small. Amazing that it actually managed to compile putty and not the others
Paul
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Mon 30 Nov 2009, 14:20 Post subject:
|
|
Amigo, I just ran your script and it worked fine - got all the binaries and man pages. Amazing utility you got there...
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 10720 Location: Ontario Canada,Sydney Australia
|
Posted: Mon 30 Nov 2009, 14:51 Post subject:
|
|
Hi pakt you forgot to post the gdk_pixbuf package also, all three gtk1 need packages are listed http://murga-linux.com/puppy/viewtopic.php?p=367270#367270
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games

|
|
Back to top
|
|
 |
big_bass

Joined: 13 Aug 2007 Posts: 1736
|
Posted: Mon 30 Nov 2009, 16:07 Post subject:
|
|
Hey pakt
all compiled from source for slaxer_pup
http://puppy2.org/slaxer/gtk+-i486-2-slxr.tgz
http://puppy2.org/slaxer/gdk-pixbuf-0.22.0-i486-2-slxr.tgz
http://puppy2.org/slaxer/glib-1.2.10-i486-2-slxr.tgz
| Code: | #!/bin/sh
# slaxer_pup_updater
#edit what you need then paste in the terminal so you can see the #download progress
#Joe Arose Nov-30-2009
#manually install all the pets click on them total 4 pets
wget -c -N http://puppy2.org/slaxer/pkgtools-13.0-patched-10-i486-slxr.pet
wget -c -N http://puppy2.org/slaxer/unpackager-dragNdrop-1-i486-slxr.pet
wget -c -N http://puppy2.org/slaxer/netmodules-slaxerpup-412.pet
wget -c -N http://puppy2.org/slaxer/flashplayer-10-070208-slxr.pet
------------------------------------------------
#place these in root then click on the slackware logo and install
# with pkgtool
#1.current ENTER or you could do it one at a time :D
wget -c -N http://puppy2.org/slaxer/412-devx-i486-2.tgz
wget -c -N http://puppy2.org/slaxer/gtk+-2.12.9-i486-slxr.tgz
wget -c -N http://puppy2.org/slaxer/network-wizard-apr-1st-i486-slxr.tgz
wget -c -N http://puppy2.org/slaxer/ndiswrapper-1.54-i486-1.tgz
#---------------------------------------------------------
#only if you need gtk1 apps to run or compile them
#wget -c -N http://puppy2.org/slaxer/gtk+-i486-2-slxr.tgz
#wget -c -N http://puppy2.org/slaxer/gdk-pixbuf-0.22.0-i486-2-slxr.tgz
#wget -c -N http://puppy2.org/slaxer/glib-1.2.10-i486-2-slxr.tgz
#--------------------------------------------------------
#-------------------------------------------------------
#src2pkg if you want to compile and make packages from source uncomment if you want it
#wget -c -N http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-1.9.9-noarch-3.tgz
#------------------------------------------------------
# if you want an auto installer uncomment the next lines
# installpkg 412-devx-i486-2.tgz
# installpkg network-wizard-apr-1st-i486-slxr.tgz
# installpkg ndiswrapper-1.54-i486-1.tgz
# installpkg slaxer/gtk+-i486-2-slxr.tgz
# installpkg src2pkg-1.9.9-noarch-3.tgz
# installpkg gtk+-2.12.9-i486-slxr.tgz
# installpkg gdk-pixbuf-0.22.0-i486-2-slxr.tgz
# installpkg glib-1.2.10-i486-2-slxr.tgz |
that will make it easier for everyone
I ran it all from a live cd to test
Joe
_________________ slackware 14
|
|
Back to top
|
|
 |
|