Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 28 Aug 2014, 03:28
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
GUI to download LibreOffice - beta quality
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 18 [260 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, ..., 16, 17, 18 Next
Author Message
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 10 Jun 2012, 17:42    Post subject:  

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.
libre-office-unpacking-failure.jpg
Description 
jpg

 Download 
Filename  libre-office-unpacking-failure.jpg 
Filesize  770.47 KB 
Downloaded  345 Time(s) 
failure.txt.gz
Description 
gz

 Download 
Filename  failure.txt.gz 
Filesize  1.01 KB 
Downloaded  340 Time(s) 
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sun 10 Jun 2012, 18:21    Post subject:  

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.
get_libreoffice-0.16.pet
Description 
pet

 Download 
Filename  get_libreoffice-0.16.pet 
Filesize  26.78 KB 
Downloaded  378 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Mon 11 Jun 2012, 10:30    Post subject:  

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.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Mon 11 Jun 2012, 17:03    Post subject:  

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;
Code:
LIBO_PKGDIR=`ls -l|grep ^d| grep install|tr ' ' '\n'|grep install`
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)
Code:
--- /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


Hope it works!

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Mon 11 Jun 2012, 17:08    Post subject:  

Thanks. I will surely test and post back when I have something to report.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Tue 12 Jun 2012, 14:48    Post subject:  

01micko. The patch worked !!!
Thanks. It seems that some basic command does not have the effect there should be. But this workaround is all I need now. Happy Libre Office 3.5.4-Fi owner, created by Dpup Exprimo 5.X.3.4.2.1. Distro update not published yet.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2118
Location: The Blue Marble

PostPosted: Fri 15 Jun 2012, 22:38    Post subject:  

01micko 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.

Mick, with your permission I will upload this version to Fatdog package repo Very Happy

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 15 Jun 2012, 23:06    Post subject:  

jamesbond wrote:
01micko 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.

Mick, with your permission I will upload this version to Fatdog package repo Very Happy


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.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Thu 21 Jun 2012, 01:22    Post subject:  

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

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Thu 21 Jun 2012, 01:31    Post subject:  

This is just a BUMP to piss off the spammer Smile
_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 21 Jun 2012, 14:02    Post subject: GUI to download LibreOffice - beta quality
Subject description: 0.17
 

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.
get_libreoffice.mo.gz
Description  updated German translation file
save as:
/usr/share/locale/de/LC_MESSAGES/get_libreoffice.mo
gz

 Download 
Filename  get_libreoffice.mo.gz 
Filesize  5.6 KB 
Downloaded  306 Time(s) 
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2455
Location: Texas, USA

PostPosted: Sat 23 Jun 2012, 23:01    Post subject: Use in Fatdog64-600 b1  

Works fine in Fatdog64-600 b1.

Thank you for keeping this updated.

Cheers,
Jim
Back to top
View user's profile Send private message 
HiDeHo

Joined: 16 Mar 2011
Posts: 286

PostPosted: Thu 26 Jul 2012, 06:47    Post subject:  

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.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 26 Jul 2012, 09:09    Post subject: GUI to download LibreOffice - beta quality
Subject description: next version
 

Hi HiDeHo
Quote:
I am working on this solution.

Embarassed Embarassed Embarassed last post overwritten by me, sorry
but here is a solution:

You will get a choice from mounted partitions which do have enough space.
Code:

#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


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:
Code:
. gettext.sh
LO_choose_from_large_spaces.png
 Description   
 Filesize   7.06 KB
 Viewed   563 Time(s)

LO_choose_from_large_spaces.png

Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 26 Jul 2012, 14:25    Post subject:
Subject description: version 0.18
 

For your convenience I have made a pet

Have fun

----

Attachment 018.pet deleted
use version 018-1 please
LO_choose_from_large_spaces_PET.png
 Description   
 Filesize   30.77 KB
 Viewed   563 Time(s)

LO_choose_from_large_spaces_PET.png


Last edited by L18L on Fri 27 Jul 2012, 07:02; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 9 of 18 [260 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9, 10, 11, ..., 16, 17, 18 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0897s ][ Queries: 13 (0.0072s) ][ GZIP on ]