The time now is Sat 18 May 2013, 14:43
All times are UTC - 4 |
|
Page 1 of 4 [54 Posts] |
Goto page: 1, 2, 3, 4 Next |
| Author |
Message |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Wed 09 Dec 2009, 23:26 Post subject:
Hassle-Free Roxapps Subject description: Apps that can easily be added to and run in your puppy from anywhere |
|
While i started using roxapps as a method of testing my new apps before copying them into my system directories, it became clear to me that it was much more convenient to just run them from where they were. It was there, that I would place all my dependencies and from there that I would create links to folders that were expected to be found in the system directories. The trouble was, that the application directories would get quite fat and with symlinks, they would never copy correctly to a vfat or other windoze filesystem. That is when I decided to put the finished product into a squashfs and mount it at startup. I figured it would also be a clever way of distributing these apps too. I have been saying right along, that one thing that really turns windoze users off from linux is that adding apps can be a real hassle. I have rarely added software to any linux distribution and not have to download more dependencies. It really sucks when you do not have an internet connection and have to download elsewhere. But rather than complain about it, I thought I would actually do something about it.
I now have "Hassle-free" roxapps. These apps contain all dependencies and some will even install OpenGL if needed. They are packaged into squash file systems that are mounted at startup to save space and allow execution from any file system. They will export all paths, and symlink any files or directories that belong in system directories, as well as remove them and unmount when the program is closed. I have tar.gz'd each app, so its as easy as 1. download, 2. extract, and 3. execute. That's all there is to it. No downloading dependencies, no looking for files that are no longer available where you once thought they were, no hassles. This is so easy, a 'doze user would probably think it was too easy.
Here is a partial list of some apps I made:
GIMP - to edit photos
Avidemux - to edit videos
Kdenlive - another video editor
Freeciv - a turn-based game like Civilization
Scribus - Desktop Publishing (one known bug so far, thanks Dingo)
Blender3D - 3D Animation program
I have 17 in total, and I will try and upload a few tonight. I will follow up when I can confirm their availability.
Last edited by PupGeek on Thu 10 Dec 2009, 22:21; edited 1 time in total
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Thu 10 Dec 2009, 10:13 Post subject:
|
|
interesting...
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 832
|
Posted: Thu 10 Dec 2009, 13:40 Post subject:
|
|
PupGeek,
That sounds really great - especially if the filesystem can be kept clean.
Looking forward to trying it out.
s
|
|
Back to top
|
|
 |
dirty_dave

Joined: 28 May 2009 Posts: 42
|
Posted: Thu 10 Dec 2009, 17:40 Post subject:
|
|
sounds good
i'd be glad to test them out
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 10 Dec 2009, 17:46 Post subject:
|
|
download:
http://dotpups.de/puppy4/dotpups/PupGeeksHassleFreeRoxapps/
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Thu 10 Dec 2009, 19:38 Post subject:
|
|
PupGeek, I tried your Scribus, but when I try to import text in a textframe, Scribus crashes
Tried in puppy 4.2.1
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9840 Location: Arizona USA
|
Posted: Thu 10 Dec 2009, 22:07 Post subject:
|
|
Pupgeek, may I suggest that you edit your original post to include an index of available roxapps, with a short description of what each is for? A lot of beginners might try a program if they only knew what it was for, and their names usually don't give a clue.
|
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Thu 10 Dec 2009, 22:17 Post subject:
|
|
Wow! I didn't think they would be up so soon...... Anyways, the ones I have uploaded are;
GIMP - to edit photos
Avidemux - to edit videos
Kdenlive - another video editor
Freeciv - a turn-based game like Civilization
Scribus - Desktop Publishing (one known bug so far, thanks Dingo)
Blender3D - 3D Animation program
I have many more to upload, which I will do a little at a time.
I just ran Scribus and found the crash..... I think it might need an importer... I'm just not sure how to put one in at this time.... I might have experienced this before too, come to think of it. Thank you for the reminder dingo, I will have to work on this one. And not to brush you off, but if you are in a hurry to get something done, copy and paste should not have any problems, last I remember.
|
|
Back to top
|
|
 |
dirty_dave

Joined: 28 May 2009 Posts: 42
|
Posted: Fri 11 Dec 2009, 00:09 Post subject:
|
|
they all work great
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 832
|
Posted: Fri 11 Dec 2009, 00:13 Post subject:
|
|
PupGeek ,
Nicely done
One item - I downloaded the Freeciv app, started it, and nothing happened. After checking out the Freeciv SFS file, it turned out that the SFS file was made with the older SFS format, so that it won't work in the puppy 43x series.
You may want to consider some SFS version checking in the AppRun to alert the user, if it's the wrong format.
Thanks for your work,
s
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Fri 11 Dec 2009, 02:15 Post subject:
|
|
I have done the same thing with Seamonkey2, Firefox 3.5* and Opera as I find it the easiest way to keep control of the installs, esp if I want to delete them. I have noticed they load a little more slowly when set up this way though.
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1151 Location: Sur l'ile aux oiseaux.
|
Posted: Fri 11 Dec 2009, 03:46 Post subject:
|
|
Bonjour à tous,
It's excellent.
On 4.31, i tried Gimp, and i had to convert sfs file from version 3 to version 4.
Are all of them in squash version 3?
Cordialement
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Fri 11 Dec 2009, 08:05 Post subject:
|
|
| PupGeek wrote: |
I just ran Scribus and found the crash..... I think it might need an importer... I'm just not sure how to put one in at this time.... I might have experienced this before too, come to think of it. Thank you for the reminder dingo, I will have to work on this one. And not to brush you off, but if you are in a hurry to get something done, copy and paste should not have any problems, last I remember. |
Yes, copy & paste works, but import feature is really needed, without ability to import, it is not possible to preserve assigned paragraph styles from source doc, let imagine we want make a dictionary, we have entries in bold UPPERCASE and definitions in regular font style, without import feature, we must re-apply manually same style 100 or 1000 or 10000 times!!
|
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Fri 11 Dec 2009, 08:37 Post subject:
|
|
| Dingo wrote: | | PupGeek wrote: |
I just ran Scribus and found the crash..... I think it might need an importer... I'm just not sure how to put one in at this time.... I might have experienced this before too, come to think of it. Thank you for the reminder dingo, I will have to work on this one. And not to brush you off, but if you are in a hurry to get something done, copy and paste should not have any problems, last I remember. |
Yes, copy & paste works, but import feature is really needed, without ability to import, it is not possible to preserve assigned paragraph styles from source doc, let imagine we want make a dictionary, we have entries in bold UPPERCASE and definitions in regular font style, without import feature, we must re-apply manually same style 100 or 1000 or 10000 times!! |
oh I got ya and I definitely intend to work on this problem. As of right now, I was just playing around with it and it seems I neglected to make a link a directory in the $APPDIR/lib to /usr/lib... I will bring up the uploaded app and check it and will post a follow-up when i come to a solution.
|
|
Back to top
|
|
 |
PupGeek
Joined: 06 Sep 2009 Posts: 388
|
Posted: Fri 11 Dec 2009, 08:51 Post subject:
Subject description: A temporary fix for the scribus problem. |
|
Ok this is one of my earlier hassle free roxapps (a beta version lets say -- come to think of it, an alpha version, as it is my very first one) I have updated my AppRun script to link an additional directory. In order to get text from MS word documents, you will need an app called antiword, according to Scribus' documentation pages
You can compare your AppRun script to the one shown here:
| Code: | #!/bin/sh
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
# This script will mount a squashfs containing Scribus.
# During execution, some symlinks will have to be created on your Linux installation and will be removed upon exit
# Create a directory in /mnt and mount the squashfs in that directory
mkdir /mnt/scribus
mount -t squashfs -o loop `dirname "$0"`/scribus.roxfs /mnt/scribus
# initializes variables and exports paths associated with the application
export SCRIBUSDIR=/mnt/scribus
export PATH=$PATH:$SCRIBUSDIR/usr:$SCRIBUSDIR/usr/bin
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:$SCRIBUSDIR/usr/lib
# Create symlinks to program directories in your linux distribution
# These links will be removed upon exit
ln -s $SCRIBUSDIR/usr/share/scribus /usr/share
ln -s $SCRIBUSDIR/usr/lib/scribus /usr/lib # This is missing in the uploaded version
# Finally executes the program
$SCRIBUSDIR/usr/bin/scribus
# Remove links created, unmounts and removes the directory created in /mnt
rm /usr/share/scribus
rm /usr/lib/scribus # This is missing in the uploaded version
umount $SCRIBUSDIR
rmdir $SCRIBUSDIR |
I will repackage and reupload the app again when I can get all the bugs worked out but you can make the changes reflected in the script above in the meantime. Also, I intend to look into getting this "Antiword" app and including it in my revision. And if any more bugs are found, please be sure to let me know.
|
|
Back to top
|
|
 |
|
|
Page 1 of 4 [54 Posts] |
Goto page: 1, 2, 3, 4 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
|