GUI to download LibreOffice - beta quality
The error is probably due to my experimental 3.4.2 kernel dpup build.
But this is the failure I get when there is tar.gz unpacking done and it would be time to do something for the debs.
Remove the phony.gz.
But this is the failure I get when there is tar.gz unpacking done and it would be time to do something for the debs.
Remove the phony.gz.
- Attachments
-
- failure.txt.gz
- (1.01 KiB) Downloaded 581 times
Pemasu, try this one, it is a bug where the server has changed filenames. It still needs work i think to make more robust, but I just tried in FD_64 and worked ok.
- Attachments
-
- get_libreoffice-0.16.pet
- (26.78 KiB) Downloaded 690 times
Puppy Linux Blog - contact me for access
01micko. I did first the thing which I should have done before posting. I tested my older more stable dpup exprimo 5.X.14 build. And the version 15 worked oob.
So...something in my newer build is not right. I suppose xz compression does not affect, the newer one puppy.sfs has been xz compressed. Yeah, shooting to the dark. Is there any tools to debug more...I would like to resolve the problem.
So...something in my newer build is not right. I suppose xz compression does not affect, the newer one puppy.sfs has been xz compressed. Yeah, shooting to the dark. Is there any tools to debug more...I would like to resolve the problem.
Thanks for testing pemasu... and on closer inspection what I did had nothing to do with your issue!
I see that there is some problem with this;and the similar variables around line 427, why? I don't know! If you wish to debug further insert "set -x" somewhere at the top of the script.
OR if you don't, apply this patch.. it uses "find" instead of "ls" to set the vars, works, just tested.. but will it work for you and your new kernel? (patch should apply cleanly to 0.15 or 0.16, which isn't an "official" release yet, more to do)
Hope it works!
I see that there is some problem with this;
Code: Select all
LIBO_PKGDIR=`ls -l|grep ^d| grep install|tr ' ' '\n'|grep install`
OR if you don't, apply this patch.. it uses "find" instead of "ls" to set the vars, works, just tested.. but will it work for you and your new kernel? (patch should apply cleanly to 0.15 or 0.16, which isn't an "official" release yet, more to do)
Code: Select all
--- /usr/sbin/get_libreoffice.orig 2012-06-01 21:34:05.384136638 +1000
+++ /usr/sbin/get_libreoffice 2012-06-12 06:44:41.396715593 +1000
@@ -427,13 +427,19 @@
sync
sleep 1 #extracted names of dirs are not the same as name of tarball :|
- LIBO_PKGDIR=`ls -l|grep ^d| grep install|tr ' ' '\n'|grep install`
- LIBO_HELPDIR=`ls -l |grep ^d| grep helppack|tr ' ' '\n'|grep helppack`
+ #LIBO_PKGDIR=`ls -l|grep ^d| grep install|tr ' ' '\n'|grep install`
+ PRE_LIBO_PKGDIR=`find -name *install*`
+ LIBO_PKGDIR=`basename $PRE_LIBO_PKGDIR`
+ #LIBO_HELPDIR=`ls -l |grep ^d| grep helppack|tr ' ' '\n'|grep helppack`
+ PRE_LIBO_HELPDIR=`find -name *helppack*`
+ LIBO_HELPDIR=`basename $PRE_LIBO_HELPDIR`
echo $LIBO_HELPDIR
for h in $LIBO_HELPDIR
do mv -f ./$h/DEBS/* $LIBO_PKGDIR/DEBS
done
- LIBO_LANGDIR=`ls -l |grep ^d| grep langpack|tr ' ' '\n'|grep langpack`
+ #LIBO_LANGDIR=`ls -l |grep ^d| grep langpack|tr ' ' '\n'|grep langpack`
+ PRE_LIBO_LANGDIR=`find -name *langpack*`
+ LIBO_LANGDIR=`basename $PRE_LIBO_LANGDIR`
for l in $LIBO_LANGDIR
do mv -f ./$l/DEBS/* $LIBO_PKGDIR/DEBS
done
Puppy Linux Blog - contact me for access
Mick, with your permission I will upload this version to Fatdog package repo01micko wrote:Pemasu, try this one, it is a bug where the server has changed filenames. It still needs work i think to make more robust, but I just tried in FD_64 and worked ok.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
No problem. The main reason for 0.16 was to get it to work with FD, just needs a little more polish. As is it seems stable enough. It may not work right for gz compression which doesn't affect FD.jamesbond wrote:Mick, with your permission I will upload this version to Fatdog package repo01micko wrote:Pemasu, try this one, it is a bug where the server has changed filenames. It still needs work i think to make more robust, but I just tried in FD_64 and worked ok.
Puppy Linux Blog - contact me for access
0.17 is out
Libre will be releasing 3.5.5 soon, it's RC now and the testing versions are working in this version. I don't know how long they have been broken for but I don't think it's too long.
See main post
Libre will be releasing 3.5.5 soon, it's RC now and the testing versions are working in this version. I don't know how long they have been broken for but I don't think it's too long.
See main post
Puppy Linux Blog - contact me for access
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
GUI to download LibreOffice - beta quality
Used 0.17 in Precise Puppy.
German translation updated using momanager.
Note, outdated get_libreoffice.pot is no more needed
as momanager creates an actual .pot file
Thank you.
German translation updated using momanager.
Note, outdated get_libreoffice.pot is no more needed
as momanager creates an actual .pot file
Thank you.
- Attachments
-
- get_libreoffice.mo.gz
- updated German translation file
save as:
/usr/share/locale/de/LC_MESSAGES/get_libreoffice.mo - (5.6 KiB) Downloaded 539 times
Use in Fatdog64-600 b1
Works fine in Fatdog64-600 b1.
Thank you for keeping this updated.
Cheers,
Jim
Thank you for keeping this updated.
Cheers,
Jim
Hi i am wanting to know where this file is created and how much space it needs. i keep getting not enough space to create the libtreoffice.sfs would be nice to find out.
if i dont have enough space can i somehow point it to install to another hdd or partition. It would be a good to have an option if not enough space built in to the app.
if i dont have enough space can i somehow point it to install to another hdd or partition. It would be a good to have an option if not enough space built in to the app.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
GUI to download LibreOffice - beta quality
Hi HiDeHo
but here is a solution:
You will get a choice from mounted partitions which do have enough space.
insert above lines before the line:
#size check passed so we create working dirs
in /usr/sbin/get_libreoffice
--
edit
and a line at the beginning:
last post overwritten by me, sorryI am working on this solution.
but here is a solution:
You will get a choice from mounted partitions which do have enough space.
Code: Select all
#select device to store sfs
df -k > /tmp/lospace
echo -n "" > /tmp/loselectdevice
while read LINE; do
FREESIZEAVAIL=`echo $LINE|awk '{print $4}'`
[[ "$FREESIZEAVAIL" -gt "$SFSSIZEEXPANDED" && "${LINE:0:4}" = "/dev" ]] && echo $LINE >> /tmp/loselectdevice
done < /tmp/lospace
selNUM=`wc -l /tmp/loselectdevice | cut -d ' ' -f1`
if [[ $selNUM ]]; then
DEVTEXT="$(eval_ngettext 'Choose this device or cancel', 'Choose from these $selNUM devices or cancel', $selNUM )"
height="$(( 140 + $selNUM * 22 ))"
BASEDIR=$(cat /tmp/loselectdevice | yad --list \
--height="$height" \
--width="500" \
--text="$DEVTEXT" \
--column="`head -n1 /tmp/lospace`":TXT \
)
choice=$?
case $choice in
0) BASEDIR=$(echo $BASEDIR | cut -d ' ' -f6)
BASEDIR=${BASEDIR%|*} # cut -d '|' -f 1 `
;;
252) exit 0 ;;
esac
#echo BASEDIR=$BASEDIR # your choice
rm /tmp/lospace
fi
[ "$BASEDIR" ] || sizecheck
#sizecheck
#size check passed so we create working dirs
in /usr/sbin/get_libreoffice
--
edit
and a line at the beginning:
Code: Select all
. gettext.sh
- Attachments
-
- LO_choose_from_large_spaces.png
- (7.06 KiB) Downloaded 659 times
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
For your convenience I have made a pet
Have fun
----
Attachment 018.pet deleted
use version 018-1 please
Have fun
----
Attachment 018.pet deleted
use version 018-1 please
- Attachments
-
- LO_choose_from_large_spaces_PET.png
- (30.77 KiB) Downloaded 652 times
Last edited by L18L on Fri 27 Jul 2012, 11:02, edited 1 time in total.
version 0.18
Great.L18L wrote:For your convenience I have made a pet
But I needed to modify to get right BASEDIR.
At line 205-
Code: Select all
case $choice in
0) BASEDIR=$(echo $BASEDIR | cut -d ' ' -f6)
BASEDIR=${BASEDIR%|*} # cut -d '|' -f 1 `
;;
252) exit 0 ;;
esac
Code: Select all
case $choice in
0) BASEDIR=$(echo $BASEDIR | cut -d '|' -f6)
#BASEDIR=${BASEDIR%|*} # cut -d '|' -f 1 `
;;
252) exit 0 ;;
esac
BTW, I would like to avoid the yad and gettext.sh, which breaks backward compatibility.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: version 0.18
Thank youshinobar wrote:But I needed to modify to get right BASEDIR.
fixed
(Going to work on backward compatibility now)
- Attachments
-
- get_libreoffice-0.18-1.pet
- (27.68 KiB) Downloaded 620 times
bugfix version 0.18-1
Nicely worked on Lupu-528JP, PUPMODE=13.
Tnx.
Tnx.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
version 0.18-2
That is why I have done it for me and for HiDeHo of courseshinobar wrote:Nicely worked on ... PUPMODE=13...
version 0.18-2:
without using gettext.sh
Xdialog comes to the rescue if there is no yad
waiting for bug reports
----
edited:
thank you shinobar
attached false version deleted
- Attachments
-
- LO_choose_from_large_spaces_without_yad.png
- (4.67 KiB) Downloaded 1206 times
Last edited by L18L on Sat 28 Jul 2012, 09:26, edited 2 times in total.
Re: version 0.18-2
@L18L
version 0.18-2 you attached contains the same file of 0.18-1.
version 0.18-2 you attached contains the same file of 0.18-1.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]