Page 14 of 15

Posted: Thu 20 Nov 2014, 13:36
by JustGreg
Thank you for the script to get and make a sfs for LibreOffice. I took your pet version 0.29 and extracted the script. I used the script with Fatdog64 700 beta2 to create a sfs for the latest 64 bit English version (4.3.4) of LibreOffice.
If anyone is interested, the sfs can be found here: http://distro.ibiblio.org/fatdog/contrib/sfs/700/
Thanks again for the great tool.

Posted: Sun 23 Nov 2014, 03:42
by Puppus Dogfellow
JustGreg wrote:Thank you for the script to get and make a sfs for LibreOffice. I took your pet version 0.29 and extracted the script. I used the script with Fatdog64 700 beta2 to create a sfs for the latest 64 bit English version (4.3.4) of LibreOffice.
If anyone is interested, the sfs can be found here: http://distro.ibiblio.org/fatdog/contrib/sfs/700/
Thanks again for the great tool.
LibreOffice-4.3.4_64_en-US_xz.sfs mirrored, and the proper authorities (http://www.murga-linux.com/puppy/viewtopic.php?t=85915) notified.

Posted: Thu 12 Mar 2015, 19:30
by BobSongs
Heya 01Micko! :)

I downloaded get_libreoffice-0.30.pet from this thread because 0.29 is giving me an odd error message lately:

[Failed to download . Please try again later]

Suggestions, notes, on the script get_libreoffice-0.30.pet.

1. Availability. While script get_libreoffice-0.30.pet is considered a beta, I suggest adding it to the first page of the thread. The impression I got by not seeing it as part of the list is that there is no version later than get_libreoffice-0.29.pet.

2. Locales. Is there something I could modify in the script itself to allow me to get LibreOffice under the locale en_CA.UTF-8? A noticeable difference between 0.29 and 0.30b is the disappearance of the locales choice. Note: I can right-click the ruler bar to switch in to cm, however settings in documents created in Windows run into some interesting oddities! :D Tab demarcations done in the metric system end up with 3 digits (0.374) that LibreOffice doesn't actually support.

LibreOffice 32-bit version 4.4.1. Happy to answer any questions if something above doesn't have enough details. LibreOffice_4.4.1_Linux_x86_deb.tar.gz was once downloadable but no longer is, it seems.

EDIT: I've downloaded LibreOffice_4.4.1_Linux_x86_deb.tar.gz and LibreOffice_4.4.1_Linux_x86_deb_helppack_en-US.tar.gz. Is there a set of commands to convert these into .SFS files myself at the command prompt?

Posted: Thu 12 Mar 2015, 21:05
by smokey01
01micko is taking a seachange at the moment.

Attached below is a script from Fatdog-700, written by jamesbond, that worked for me. I was in FD700 though but it may work in other distros. Report how you get on.
BobSongs wrote:I downloaded get_libreoffice-0.30.pet from this thread because 0.29 is giving me an odd error message lately:

[Failed to download . Please try again later]

Suggestions, notes, on the script get_libreoffice-0.30.pet.

Posted: Thu 12 Mar 2015, 22:50
by BobSongs
Heya Smokey01!

Thank you so much for your speedy response. It is appreciated. I will download it immediately and post successes, etc.

EDIT #1: hehehe, the script halts very early on. It looks for a file called /bin/dash. Wondering what the heck "dash" was, I did a search under PupControl's Add/Remove Programs. Having found nothing that resembles that name I opened the script in LeafPad and saw this:

Code: Select all

#!/bin/dash
and I just had to chuckle.

Correcting it to #!/bin/bash the script seems to be working just fine. More to follow.
_________________

EDIT #2: The script was written for 64-bit LibreOffice. My copy of Puppy is still running in 32-bit.

I've edited the LibreOffice site references in the script to reflect x86/ instead of x86_64/. Results to follow. (If this works, I'll post the corrected script as a downloadable option).
_________________

EDIT #3: So, it seems dash is a scaled down version of bash (news to me). So, I'm going to install dash and see if this helps with the execution of the script.

The script fails to execute step #8:

Code: Select all

# 8. extract package
for p in $MAIN_PKG $HELP_PKG $LANG_PKG; do
	echo $(eval echo `gettext 'Extracting $p'`)
	tar -xf ${p}.${PKGFORMAT}
done
I imagine this is the same as running tar -xf on each of the 4 downloaded packages, so I can do this manually.

get_libreoffice-0.30.1

Posted: Fri 03 Jul 2015, 22:16
by rerwin
LibreOffice 4.4 requires a change to the versions of get_libreoffice posted in this thread. I discovered that shinobar created a 0.29.2 version that provides that change. The problem is that what previously was in /usr/bin (& /share) moved to /usr/local/bin (& /share) in the 4.4 series. Shinobar's fix is to move those /usr/local/bin and /usr/local/share components back to /usr/bin and /usr/share.

In building the "plus" versions of Lucid Pup 5.2.8.7 I discovered the need for a tool to build a "libreoffice*.files" file for the /root/.packages directory so that remasterpup2 would copy the files in /root, /etc and /var into the remastered puppy. The tool is "sfs_filelist", to be run just before making a squash file from a directory, to add the ".files" file to that directory. It can also be used to build that file for an existing SFS file but places the ".files" file into the current .packages directory, in preparation for a remaster.

To make a version of get_libreoffice for everyone else to obtain libreoffice, I merged shinobar's and my additions into 01micko's get_libreoffice-0.30 to make get_libreoffice-0.30.1.

Here are the changes to 0.30:

Code: Select all

diff -ru glo-0.30/get_libreoffice glo-0.30.1/get_libreoffice
--- glo-0.30/get_libreoffice	2013-11-27 16:17:31.000000000 -0500
+++ glo-0.30.1/get_libreoffice	2015-07-02 11:09:17.000000000 -0400
@@ -41,11 +41,14 @@
 #0.27 20130219 added gui to opt out of RAM build
 #0.28 20130310 bugfix with default* files
 #0.29 20130807 bugfix for low RAM full installs
+#0.29.1 20140802 shinobar: remove large icons
+#0.29.2 20150627 shinobar: move /usr/local to /usr
 #0.30 20131128 wrap find targets in '', add / to ./ oath, add more logging, vicmz
+#0.30.1 20150701 rerwin: create package file list for /root and /etc
 
 MYPATH=$0
 MYNAME=$(basename "$0")      
-VERSION=0.30
+VERSION=0.30.1
 export TEXTDOMAIN=get_libreoffice
 export OUTPUT_CHARSET=UTF-8
 #eval_gettext() {
@@ -604,9 +607,9 @@
     if [ -f printeradmin.desktop ];then #131128
      EXECP=`grep -w Exec printeradmin.desktop`
      if [[ "$MAJ_MAJ" = 3 && $LIBOminorver -lt 4 ]];then
-     sed -i "s|$EXECP|padmin|" printeradmin.desktop
-      else
-     sed -i "s|$EXECP|Exec=${EXEC_PREFIX}printeradmin|" printeradmin.desktop
+      sed -i "s|$EXECP|padmin|" printeradmin.desktop
+     else
+      sed -i "s|$EXECP|Exec=${EXEC_PREFIX}printeradmin|" printeradmin.desktop
      fi
     fi
     
@@ -635,6 +638,13 @@
 	#MIMEICONDIR=usr/local/apps/ROX-Filer/ROX/MIME #fails, maybe need to create a skeleton and move to $HOME
 	mkdir -p ./workdir/${MIMEICONDIR}
 	cd ./workdir
+
+	#20150627 shinobar: move /usr/local to /usr
+	if [ -d ./usr/local/share ]; then
+	  mkdir -p ./usr/share
+	  mv ./usr/local/bin usr; mv ./usr/local/share/* ./usr/share && rm -fr ./usr/local
+	fi
+
 	#word
 	for word in application_msword application_rtf application_vnd.oasis.opendocument.text application_vnd.oasis.opendocument.text-template application_vnd.openxmlformats-officedocument.wordprocessingml.document
 	 do
@@ -660,6 +670,11 @@
 	#base
 	cp usr/share/icons/hicolor/48x48/apps/${LOEXEC}${LIBO_MAJ_VER}-base.png  ${MIMEICONDIR}/application_vnd.oasis.opendocument.database.png
 	
+	#20140802 shinobar: remove large icons
+	for S in 512 256 128; do
+	  rm -fr usr/share/icons/hicolor/${S}x${S}
+    done
+
 	cd -
 	#END MIME ICONS
 	#mime scripts ###########################################
@@ -728,6 +743,10 @@
 	fi
 	rm -f /tmp/libre_xtra_for_naming
 	LIBOBUILD=LibreOffice-${LIBO_VER}${LANGLIB}${EXTRA}${COMP}
+
+	#20150701 Generate root & etc file list for remastering, using squashfile name
+	[ "$(which sfs_filelist)" ] && sfs_filelist workdir ${LIBOBUILD}
+
 	echo "rxvt -bg darkgreen -fg yellow -geometry 80x10 -title \"$INFOMSG3 ${LIBOBUILD}.sfs\" -e mksquashfs workdir ${LIBOBUILD}.sfs "$OPTION"" > /tmp/get_libre_sfs
 	. /tmp/get_libre_sfs
 	rm -f /tmp/get_libre_sfs

Posted: Fri 03 Jul 2015, 23:31
by slavvo67
Rerwin:

This worked very well but the menu icons/entries did not reflect in my Quirky April test. They do appear in /usr/share/applications so a simple drag and drop to the Desktop does the trick, nicely.

Thanks for this.

Slavvo67

Posted: Sat 04 Jul 2015, 05:52
by Puppus Dogfellow
slavvo67 wrote:Rerwin:


Thanks for this.

Slavvo67
a thanks from me, too, Rerwin.

:D

Re: get_libreoffice-0.30.1

Posted: Sat 04 Jul 2015, 13:12
by ASRI éducation
rerwin wrote:get_libreoffice-0.30.1
Thank you.

Re: get_libreoffice-0.30.1

Posted: Sat 04 Jul 2015, 22:14
by vicmz
rerwin wrote:get_libreoffice-0.30.1
Thank you, Rerwin.

Re: get_libreoffice-0.30.1

Posted: Sun 05 Jul 2015, 01:29
by shinobar

Re: get_libreoffice-0.30.1

Posted: Sat 25 Jul 2015, 16:38
by ASRI éducation
rerwin wrote:get_libreoffice-0.30.1
French translation attached.

Regards

Posted: Mon 10 Aug 2015, 08:40
by stemsee
@rerwin

Regarding sfs_list I wrote a script that did a similar thing, the purpose was to remove a devx module after it had been remastered in. I ran into the problem of the symlinks and how to deal or revert them. I will try your script.

As for get_libbreoffice version 5 is not in stable nor in testing it is in fresh: I wondered if the script accommodates fresh?

https://www.libreoffice.org/download/li ... sion=5.0.0

cheers
stemsee

Posted: Mon 10 Aug 2015, 11:29
by disallowed
Thanks for get_libreoffice-0.30.1

Posted: Sat 29 Aug 2015, 10:56
by L18L
@rerwin
Thanks for get_libreoffice-0.30.1

As there are 3 stable versions now I have made 0.30.2 (attached).

Code: Select all

#0.30.2 20150829 L18L: kill 'please wait'; TEXT for more than 2 versions
German translation attached.

EDIT
buggy version of get_libreoffice.gz deleted
use fixed version 4 posts down please

Posted: Sat 29 Aug 2015, 11:48
by ASRI éducation
L18L wrote:As there are 3 stable versions now I have made 0.30.2 (attached).
Thanks.

Posted: Sun 30 Aug 2015, 11:17
by ASRI éducation
get_libreoffice-0.30.2
French translation attached.
Regards,

0.30.2 minor issue

Posted: Sun 06 Sep 2015, 11:50
by step
Just reporting a small glitch. Version 0.30.2, I chose the "test" channel and I got an empty list, see the attached screenshot.
Then I closed the window with the [x] button and get_libreoffice exited. The log file says:

Code: Select all

get_libreoffice-0.30.1        <<< should be 0.30.2 ??
PUPMODE = 13
en-US
pup distro = fd64-700
Is it ok to build in RAM? yes
building in /tmp
moving to /initrd/aufs/devsave

Re: 0.30.2 minor issue

Posted: Sun 06 Sep 2015, 13:18
by L18L
step wrote:Just reporting a small glitch. Version 0.30.2, I chose the "test" channel and I got an empty list, see the attached screenshot.
Then I closed the window with the [x] button and get_libreoffice exited. The log file says:

Code: Select all

get_libreoffice-0.30.1        <<< should be 0.30.2 ??
PUPMODE = 13
en-US
pup distro = fd64-700
Is it ok to build in RAM? yes
building in /tmp
moving to /initrd/aufs/devsave
Thanks for reporting.

It is a bug.

This was it: number of versions was set to 3 (for testing purpose).

Now if number is 0 you get a correct message.

Code: Select all

#0.30.2 20150829 L18L: kill 'please wait'; TEXT for more than 2 versions
#0.30.3 20150906 L18L fixed glitch reported by step

MYPATH=$0
MYNAME=$(basename "$0")      
VERSION=0.30.3
(Note, fatdog has a slightly different getlibre.sh)

Posted: Sun 06 Sep 2015, 15:34
by step
I guess then this script isn't for Fatdog64? There it exits after choosing the Testing branch without further ado. Terminal output:

Code: Select all

ok
/usr/bin/get_libreoffice_0.30.3: line 112: gtkdialog-splash: command not found
en-US
/usr/bin/get_libreoffice_0.30.3: line 266: kill: (3379) - No such process
Is it ok to build in RAM? yes
building in /tmp
moving to /initrd/aufs/devsave
/usr/bin/get_libreoffice_0.30.3: line 301: gtkdialog-splash: command not found