Author |
Message |
amigo
Joined: 02 Apr 2007 Posts: 2641
|
Posted: Thu 25 Mar 2010, 09:56 Post subject:
|
|
installpkg name-of-package.tgz will install it -ovberwriting any existing files of the same name. To upgrade use: upgradepkg name-of-package.*tgz
If you have something already installed with installpkg, trying to use installpkg will not work (with same package name).
|
Back to top
|
|
 |
gronos04
Joined: 30 Dec 2006 Posts: 54 Location: Radfordia QLD
|
Posted: Thu 25 Mar 2010, 22:40 Post subject:
|
|
Beautiful.
Thanks very much Amigo
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Tue 06 Apr 2010, 19:54 Post subject:
|
|
I improved the dragNdrop unzipper and it looks better with Xdialog
I also added tazpkg support for slitaz
*I have a lot of good stuff coming I just have to upload it
I wrote a whole new package manager
it took two months of work so I have been busy coding
slaxer pup is what I use everyday and it will be kept up to date
without burning a new CD with add on packages
Joe
Description |
|

Download |
Filename |
unzipper_dragNdrop3.tar.gz |
Filesize |
1.15 KB |
Downloaded |
553 Time(s) |
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Wed 07 Apr 2010, 12:12 Post subject:
xdialog package tools |
|
download the slaxerPup_updater2
small edit 4-20-2010 updated the makepkg in pkgtools to allow building in current directory the official makepkg doesnt allow it *rust rerun the updater the package was fixed on the server
you only need to run it once
unzip it then click on it
packages will be downloaded and installed
only the pet package asks you if you want to install it
all the tgz packages are automatic
this makes slaxer_pup updated to the latest stable version
maybe you'll get why I am using slackwares format
it is a standard that all linux developers are familiar with
throwing everything into a remastered iso
will only lead to confusion and is very anti- friendly
to the open source community
thats why
slaxer pup will be built using packages so work can be shared on other linux systems
slaxer_pkg_tools
now you have a new beautiful (tgz and txz )and fast installer for the x environment
Joe
Description |
|
Filesize |
23.87 KB |
Viewed |
1345 Time(s) |

|
Description |
|

Download |
Filename |
slaxerPup_updater2.tar.gz |
Filesize |
1.25 KB |
Downloaded |
541 Time(s) |
Last edited by big_bass on Thu 22 Apr 2010, 22:12; edited 1 time in total
|
Back to top
|
|
 |
Nikukyu

Joined: 12 Oct 2009 Posts: 15 Location: Zipangu
|
Posted: Tue 20 Apr 2010, 16:05 Post subject:
|
|
Hi big_bass
I'm Puppy Linux Japanese Forum Member
Nikukyu
I made a improvement of unpackager-dragNdrop-1-i486-slxr.pet
They were made to correspond to deb,rpm and tbz.
It tries.
Unpackager-DnD++.pet made them correspond to arj, lha, rar, and zip in addition.
However, only a simple decompression corresponds to rar.
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Tue 20 Apr 2010, 21:57 Post subject:
|
|
Hey Nikukyu
Quote: |
I made a improvement of unpackager-dragNdrop-1-i486-slxr.pet
They were made to correspond to deb,rpm and tbz.
It tries.
Unpackager-DnD++.pet made them correspond to arj, lha, rar, and zip in addition. |
thank you for posting
It´s nice to hear from friends in Japan
I downloaded a copy
*I didn´t say much about the slaxer updater it adds several hundreds of new mime types so even more formats to use and has the new file command
Joe
|
Back to top
|
|
 |
fyujj
Joined: 04 Apr 2009 Posts: 103
|
Posted: Thu 22 Apr 2010, 20:56 Post subject:
|
|
Hi, I'm setting up a frugal install of S.P. and would like an advice on what to do as the first set up to bring it up-to-date.
Should I download and run the updater2 as the first thing? Would it be still needed then to fix the insert crash or update to the latest network wizard as in the first post?
Does the updater include the package build tools from the first post or should I install them separately?
Thank you.
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 22 Apr 2010, 21:44 Post subject:
update slaxercpup |
|
fyujj wrote: | Hi, I'm setting up a frugal install of S.P. and would like an advice on what to do as the first set up to bring it up-to-date.
Should I download and run the updater2 as the first thing? Would it be still needed then to fix the insert crash or update to the latest network wizard as in the first post?
Does the updater include the package build tools from the first post or should I install them separately?
Thank you. |
Hey fyujj
well ,I know that alot of people want to just down load a cd
which would be easy for me to do... I made many
when I started slaxer_pup there were talks of retirement
so I remained on course with the last version that was "official"
since then many things have come and gone but I remained on course
and worked on a stable branch /fork of puppy
whatever you want to call it
but what I like is to give the minimum fixes
that upgrade the core stuff *the area that most people don't like to work on
then allow the people to build it
this permits stability and removes the need of continually reinstalling
you just run a few scripts and "magic" you are on a stable base
I built many packages all hand built for slaxer_pup on the website
the most interesting feature I have spent alot of time perfecting
is the ability to auto make packages from source then install them with my customized front end for slackware type packages
and soon package dependency checking
note: forum member amigo built and maintains src2pkg
the source to package tool (good thing we are friends so
there is much more to come soon)
all of the packages I made with the .tgz extension were compiled by me so the are 100% compatible
just use the two scripts I posted
in order the first then the second
you could even just copy then paste the first one in the console
when its done do the same for the second or ( better to save them and make the executable )
if you have any questions about anything let me know
there is also a fun factor watching how things are modified
listed nicely with the scripts (an auto updater )
Joe
Code: |
#!/bin/sh
#SlaxerPup_updater version 1-7-2010
# code by Joe Arose {big_bass}
# this is to keep slaxer pup updated
# in a logical organized way for
# experts and new users
#when petget asks to install just say yes
#the tgz packages are installed without prompting from the list
mkdir -p /root/slaxer_updater
cd /root/slaxer_updater
DIALOG=Xdialog
$DIALOG --backtitle "Slaxer Pup updater version 1-7-2010" \
--title "Select your packages" \
--checklist "The packages you should install
are already selected for you preset on the list of choices
which could be turned on or off . \n" 0 0 0 \
"pkgtools-13.0-patched-10-i486-slxr.pet" "" ON \
"netmodules-slaxerpup-412.pet" "" ON \
"flashplayer-10-070208-slxr.pet" "" ON \
"gtk+-2.12.9-i486-slxr.tgz" "" ON \
"network-wizard-apr-1st-i486-slxr.tgz" "" ON \
"ndiswrapper-1.54-i486-1.tgz" "" ON \
"numlockx-1.1-i486-2-slxr.tgz" "" ON \
"gtk+-i486-2-slxr.tgz" "" ON \
"gdk-pixbuf-0.22.0-i486-2-slxr.tgz" "" ON \
"glib-1.2.10-i486-2-slxr.tgz" "" ON 2> /root/slaxer_updater/checklist.tmp
retval=$?
choice=`cat /root/slaxer_updater/checklist.tmp`
#rm -f /root/slaxer_updater/checklist.tmp
case $retval in
0)
echo "'$choice' chosen."
;;
1)
echo "Cancel pressed."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#----------------start URL downloader----------------------------------
#reformat the file for input of the URL downloader
# I did it this way to be clear and simple to read
#raw original convert slash to space
cat /root/slaxer_updater/checklist.tmp|sed 's/\// /g'>/root/slaxer_updater/checklist.tmp2
#convert space to new line
cat /root/slaxer_updater/checklist.tmp2 |tr ' ' '\n' >/root/slaxer_updater/checklist.tmp3
#filter pets
grep '.pet$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp4
#filter tgz packages
grep '.tgz$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp5
MYURL="http://puppy2.org/slaxer/"
#where the packages are downloaded to
cd /root/slaxer_updater
for package in `cat /root/slaxer_updater/checklist.tmp3`
do rxvt -geometry 40x30+150+40 -e wget -c -N $MYURL$package
echo $package
done
Xdialog --title "Complete" \
--infobox "\nAll Packages downloaded to /root/slaxer_updater finished.\n" 0 0 4000
#----------------start installer pets (tmp4)----------------
#auto installer pets
#check the file
if [ -s /root/slaxer_updater/checklist.tmp4 ]
then
for package in `cat /root/slaxer_updater/checklist.tmp4`; do
echo $package
petget /root/slaxer_updater/$package
done
Xdialog --title "Complete" \
--infobox "\nInstalling pets has finished.\n" 0 0 3000
fi
#----------------start installer tgz (tmp5)----------------
#auto installer tgz
#check the file
if [ -s /root/slaxer_updater/checklist.tmp5 ]
then
for package in `cat /root/slaxer_updater/checklist.tmp5`; do
installpkg /root/slaxer_updater/$package
echo $package
done
Xdialog --title "Complete" \
--infobox "\nInstalling *tgz packages with pkgtools has finished.\n" 0 0 4000
fi
#cleanup
rm /root/slaxer_updater/checklist.tmp
rm /root/slaxer_updater/checklist.tmp2
#rm /root/slaxer_updater/checklist.tmp3
#rm /root/slaxer_updater/checklist.tmp4
#rm /root/slaxer_updater/checklist.tmp5
#get the menus updated
/usr/sbin/fixmenus #hack for JWM and ICEWM
jwm -restart #hack for JWM and ICEWM Joe Arose aka big_bass
|
Code: |
#!/bin/sh
#SlaxerPup_updater2 version 4-6-2010
# code by Joe Arose {big_bass}
# this is to keep slaxer pup updated
# in a logical organized way for
# experts and new users
#when petget asks to install just say yes
#the tgz packages are installed without prompting from the list
rm /root/slaxer_updater/checklist.tmp*
mkdir -p /root/slaxer_updater
cd /root/slaxer_updater
DIALOG=Xdialog
$DIALOG --backtitle "Slaxer Pup updater version 4-6-2010" \
--title "Select your packages" \
--checklist "The packages you should install
are already selected for you preset on the list of choices
which could be turned on or off . \n" 0 0 0 \
"pkgtools-13.0-patched-10-i486-slxr.pet" "" ON \
"file-5.03-i486-1slxr.tgz" "" ON \
"mime-fix-5.03-i486-4slxr.tgz" "" ON \
"Xdialog-2.3.1-i486-7slxr.tgz" "" ON \
"xz-4.999.8beta-i486-2slxr.tgz" "" ON \
"tools-472010-i486-1slxr.tgz" "" ON 2> /root/slaxer_updater/checklist.tmp
retval=$?
choice=`cat /root/slaxer_updater/checklist.tmp`
#rm -f /root/slaxer_updater/checklist.tmp
case $retval in
0)
echo "'$choice' chosen.";;
1)
echo "Cancel pressed."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#----------------start URL downloader----------------------------------
#reformat the file for input of the URL downloader
# I did it this way to be clear and simple to read
#raw original convert slash to space
cat /root/slaxer_updater/checklist.tmp|sed 's/\// /g'>/root/slaxer_updater/checklist.tmp2
#convert space to new line
cat /root/slaxer_updater/checklist.tmp2 |tr ' ' '\n' >/root/slaxer_updater/checklist.tmp3
#filter pets
grep '.pet$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp4
#filter tgz packages
grep '.tgz$' /root/slaxer_updater/checklist.tmp3>/root/slaxer_updater/checklist.tmp5
MYURL="http://puppy2.org/slaxer/"
#where the packages are downloaded to
cd /root/slaxer_updater
for package in `cat /root/slaxer_updater/checklist.tmp3`
do rxvt -geometry 40x30+150+40 -e wget -c -N $MYURL$package
echo $package
done
Xdialog --title "Complete" \
--infobox "\nAll Packages downloaded to /root/slaxer_updater finished.\n" 0 0 4000
#----------------start installer pets (tmp4)----------------
#auto installer pets
#check the file
if [ -s /root/slaxer_updater/checklist.tmp4 ]
then
for package in `cat /root/slaxer_updater/checklist.tmp4`; do
echo $package
petget /root/slaxer_updater/$package
done
Xdialog --title "Complete" \
--infobox "\nInstalling pets has finished.\n" 0 0 3000
fi
#----------------start installer tgz (tmp5)----------------
#auto installer tgz
#check the file
if [ -s /root/slaxer_updater/checklist.tmp5 ]
then
for package in `cat /root/slaxer_updater/checklist.tmp5`; do
installpkg /root/slaxer_updater/$package
echo $package
done
Xdialog --title "Complete" \
--infobox "\nInstalling *tgz packages with pkgtools has finished.\n" 0 0 4000
fi
#get the menus updated
/usr/sbin/fixmenus #hack for JWM and ICEWM
jwm -restart #hack for JWM and ICEWM Joe Arose aka big_bass
|
 |
Description |
|

Download |
Filename |
slaxerPup_updater.tar.gz |
Filesize |
1.33 KB |
Downloaded |
515 Time(s) |
Description |
|

Download |
Filename |
slaxerPup_updater2.tar.gz |
Filesize |
1.25 KB |
Downloaded |
539 Time(s) |
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 22 Apr 2010, 22:43 Post subject:
|
|
here is an simple Xdialog mount tool
updated 4-26-2010 to add cd dvd support
called xmounter2
have fun
works on any linux that has Xdialog installed with Rox-Filer
great in an emergency or day to day use
Joe
Description |
|

Download |
Filename |
xmounter2.tar.gz |
Filesize |
1.41 KB |
Downloaded |
534 Time(s) |
Last edited by big_bass on Mon 26 Apr 2010, 11:52; edited 1 time in total
|
Back to top
|
|
 |
fyujj
Joined: 04 Apr 2009 Posts: 103
|
Posted: Fri 23 Apr 2010, 10:40 Post subject:
|
|
Thank you very much, big_bass. I'm posting from an updated Slaxer Pup (minus netmodules and ndiswrapper, plus NVIDIA driver).
Now I must check all the extra apps in this thread or in Slaxer's home page.
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Sun 25 Apr 2010, 21:35 Post subject:
|
|
well ,I said it was coming
now with linux type dependency checking
when missing libs are not present
a warning with the missing libs is added to the end of the file
so you can locate it easily
BTW slaxer_pup has no missing deps
but I know you already new that
this even works on official slackware !
this was a lot of coding but it was fun
*there are a few directories I will change
I did this so they can be tracked easily
**I've been talking with amigo he has a few tricks to get dependencies auto resolved so more good stuff in the plans
there is a big difference in making packages for each new version
but a package tool that is linux compatible
and on slaxer_pup sets it apart as unique
Joe
Description |
|
Filesize |
25.47 KB |
Viewed |
1129 Time(s) |

|
Description |
|

Download |
Filename |
X_slaxer_pkgtool2.tar.gz |
Filesize |
5.42 KB |
Downloaded |
537 Time(s) |
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Mon 26 Apr 2010, 12:00 Post subject:
|
|
Hey Nikukyu
I added your code to the unzipper and made it all xdialog instead of xmessage
it will work with your unpackager-DnD++.pet
package if you replace the /usr/sbin/unpackager-DnD++
with this code I'll paste *I added notes to what was edited
xz and unzip are already installed on slaxer_pup so they could be removed from the package
so this way if you or I add code it will be very easy to diff out the changes
Code: |
#!/bin/sh
#code by Joe arose big_bass and Nikukyu
#this is a very fast drag n drop tool
#for decompressing the following formats
#it coupled with rox to get the right click
#new icon
#in the menu
#4-26-2010
# *.txz the new format slackware
# *.tgz
# *.tar.gz
# *.tar.bz2
# *.pet
# *.pup
# *.gz (Not initrd.gz though have another for that)
# *tazpkg a bonus slitaz packages
# no gui tool is used as a backend so this is fast
#
#first time set up only
#I made this icon for the dragndrop
#rox -s /usr/share/pixmaps/unzip_package.png
#right click on the unzipper_dragNdrop
#Set icon ...
#then drag /usr/share/pixmaps/unzip_package.png in the box
# depends on
# xz
# for *txz packages
# I converted all xmessage code to Xdialog for a better presentation
#-------------------------------------------------------------
# Nikukyu
#-------------------------------------------------------------
# added these formats to the dnd unzipper
# *.tbz
# *.deb
# *.rpm
# *.zip
# *.lzh
# *.rar
# *.arj
#note that they require some bins and scripts for pre conversions
#dpkg-deb2
#rpm2cpio2
#undeb
#unrpm
#arj
#lha
#lzdiff
#lzgrep
#lzmadec
#lzmore
#unrar
#unzip already installed
#xzdec
cd `dirname "$1"`
#-----------
#tar.bz2
#-----------
if echo `basename "$1"` | grep -q '.tar.bz2$'; then
Xdialog --wrap --title "TAR.BZ2" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .tar.bz2`
cd `basename "$1" .tar.bz2`
tar -xjf "$1"
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#tar.gz
#-----------
elif echo `basename "$1"` | grep -q '.tar.gz$'; then
Xdialog --wrap --title "TAR.GZ" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .tar.gz`
cd `basename "$1" .tar.gz`
tar -zxf "$1"
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.tgz
#-----------
elif echo `basename "$1"` | grep -q '.tgz$'; then
Xdialog --wrap --title "TGZ" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .tgz`
cd `basename "$1" .tgz`
tar -zxf "$1"
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.txz
#-----------
elif echo `basename "$1"` | grep -q '.txz$'; then
Xdialog --wrap --title "TXZ" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .txz`
cd `basename "$1" .txz`
xzcat -d "$1" | tar -xv
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.pet
#-----------
elif echo `basename "$1"` | grep -q '.pet$'; then
Xdialog --wrap --title "PET" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
tar -zxf "$1"
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.pup
#-----------
elif echo `basename "$1"` | grep -q '.pup$'; then
Xdialog --wrap --title "PUP" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .pup`
cp `basename "$1" ` `basename "$1" .pup`
cd `basename "$1" .pup`
mv `basename "$1" ` `basename "$1" .pup`".zip"
unzip `basename "$1" .pup`".zip"
rm `basename "$1" .pup`".zip"
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.gz
#-----------
elif echo `basename "$1"` | grep -q '.gz$'; then
Xdialog --wrap --title "GZ" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .gz`
cp `basename "$1"` `basename "$1" .gz`
cd `basename "$1" .gz`
gunzip `basename "$1"`
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#tazpkg
#-----------
elif echo `basename "$1"` | grep -q '.tazpkg$'; then
Xdialog --wrap --title "TAZPKGZ" \
--yesno "Do you want to decompress $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .tazpkg`
cp `basename "$1"` `basename "$1" .tazpkg`
cd `basename "$1" .tazpkg`
cpio -id < `basename "$1"` &&rm -f `basename "$1"`
gzip -d fs.cpio.gz
cpio -id < fs.cpio
rm -f fs.cpio
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#----------------------------------------
# Nikukyu exteneded the following formats
#----------------------------------------
#-----------
#.tbz
#-----------
elif echo `basename "$1"` | grep -q '.tbz$'; then
Xdialog --wrap --title "TBZ" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .tbz`
cd `basename "$1" .tbz`
tar -xjf "$1"
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.deb
#-----------
elif echo `basename "$1"` | grep -q '.deb$'; then
Xdialog --wrap --title "DEB" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .deb`
cp `basename "$1"` `basename "$1" .deb`
cd `basename "$1" .deb`
undeb `basename "$1"`
rm `basename "$1"` .deb
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.rpm
#-----------
elif echo `basename "$1"` | grep -q '.rpm$'; then
Xdialog --wrap --title "RPM" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
echo "Yes chosen."
mkdir -p `basename "$1" .rpm`
cp `basename "$1"` `basename "$1" .rpm`
cd `basename "$1" .rpm`
unrpm `basename "$1"`
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.zip
#-----------
elif echo `basename "$1"` | grep -q '.zip$'; then
Xdialog --wrap --title "ZIP" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
mkdir -p `basename "$1" .zip`
cp `basename "$1"` `basename "$1" .zip`
cd `basename "$1" .zip`
unzip `basename "$1"`
rm `basename "$1"` .zip
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.lzh
#-----------
elif echo `basename "$1"` | grep -q '.lzh$'; then
Xdialog --wrap --title "LZH" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
mkdir -p `basename "$1" .lzh`
cp `basename "$1"` `basename "$1" .lzh`
cd `basename "$1" .lzh`
lha -x `basename "$1"`
mv `basename "$1"` .lzh
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.rar
#-----------
elif echo `basename "$1"` | grep -q '.rar$'; then
Xdialog --wrap --title "RAR" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
mkdir -p `basename "$1" .rar`
cp `basename "$1"` `basename "$1" .rar`
cd `basename "$1" .rar`
unrar x `basename "$1"`
rm `basename "$1"` .rar
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
#-----------
#.arj
#-----------
elif echo `basename "$1"` | grep -q '.arj$'; then
Xdialog --wrap --title "ARJ" \
--yesno "Do you want to decompess $1 and make a new folder " 0 0
case $? in
0)
mkdir -p `basename "$1" .arj`
cp `basename "$1"` `basename "$1" .arj`
cd `basename "$1" .arj`
arj x `basename "$1"`
rm `basename "$1"` .arj
;;
1)
echo "No chosen."
exit
;;
255)
echo "Box closed."
exit
;;
esac
else
Xdialog --title "ERROR MESSAGE drag N drop" \
--msgbox "ERROR a wrong format was used nothing done " 0 0
case $? in
0)
echo "OK"
exit
;;
255)
echo "Box closed."
exit
;;
esac
fi
|
|
Back to top
|
|
 |
Nikukyu

Joined: 12 Oct 2009 Posts: 15 Location: Zipangu
|
Posted: Tue 27 Apr 2010, 09:04 Post subject:
|
|
Good job! Big_bass
It's a next version "unpackager-dragNdrop"
If it is possible to adjust to ace and 7z, it is more enough.
I'll make a Japanese version.
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Tue 04 May 2010, 20:31 Post subject:
|
|
Nikukyu
Quote: | It's a next version "unpackager-dragNdrop |
unzipper_dragNdrop-5
http://puppy2.org/slaxer/unzipper_dragNdrop-5-i486-2slxr.tgz
a big thanks again for the code you added Nikukyu
I made some small changes I replaced the
dpkg-deb2
rpm2cpio2
to use newer binaries from slitaz they are now called
dpkg-deb
rpm2cpio
and the scripts were edited to reflect the change
the reason why is every time there is progress by adding in support
those packages have to be updated
the other bins are from 2005 which work well for most things but
slitaz has more support compiled in to their rpm2cpio
I was going to compile it but wanted to maintain 100% compatiblity
with slitaz because I also got their package management working
to run with puppy but I use slackware as the standard
but its nice to have more options
*I can build slitaz packages on puppy then install them on slitaz
or I can download slitaz packages directly and convert them
I still prefer doing source packages but is nice that it can be done
this is now compatible with slaxer pup
xz support is needed for pkgtools so I dont want to remove that it is installed as a separate package
Joe
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Wed 05 May 2010, 20:30 Post subject:
app dir script |
|
# so that you dont have to drag N drop you can take advantage of ROX right click and app dir
# just above the Customise Menu.. in ROX an icon will appear
# this script as is will auto build an app dir and the folders for rox
# needed for the unzipper to only allow formats that it can unzip
# an icon will be shown in in rox if you right click on a correct file
# that the unzipper can uncompress such as
# pet,pup,arj,bzip2,deb,gzip,lha,rar,rpm,tazpkg,xz,tlz,zip
# and more to come
# so its a custom script to get the right click in rox and build an app dir with the icon unzipper_draNdrop
# using a pre selected list of formats
you just run this auto setup script one time after you already have unzipper_dragNdrop-5 installed
I wrote the script so it can be edited to add other app directories
easily as always hacking welcomed
Joe
Description |
|

Download |
Filename |
right_click_unzipper_setup.tar.gz |
Filesize |
1.76 KB |
Downloaded |
522 Time(s) |
Description |
|
Filesize |
17.79 KB |
Viewed |
914 Time(s) |

|
|
Back to top
|
|
 |
|