Libreoffice SLKBUILD (3.4.x and 3.5.x branch)

Here you can post links to your contributed packages.
Antid Oto
Posts: 57
Joined: 6. Jul 2010, 01:28
Location: Bs. As. - Argentina.

Libreoffice SLKBUILD (3.4.x and 3.5.x branch)

Post by Antid Oto » 10. Jan 2012, 14:41

Hello friends of Salix. After a long time without writing in the forum, I return to action with this SLKBUILD to LibreOffice 3.4 and 3.5. Based on the work of gapan, what I did was to update everything to this version, and fixed the executables for .desktop files. Without further ado, here's the script:

Libreoffice 3.4.x branch:

For 32 bits (x86):

Code: Select all

#Maintainer: Antid Oto <antidoto~at~riseup~dot~net>
#Based on the work of George Vlahavas (Libreoffice 3.3.x SLKBUILD)

pkgname=libreoffice
pkgver=3.4.5
_minorver=3.4.5rc2
pkgrel=1ao
arch=i686
source=("http://download.documentfoundation.org/libreoffice/stable/3.4.5/deb/x86/LibO_3.4.5_Linux_x86_install-deb_en-US.tar.gz")
url=http://www.documentfoundation.org/

doinst() {
if [ -x /usr/bin/update-mime-database ]; then
	/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -x /usr/bin/update-desktop-database ]; then
	/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libreoffice (free office suite)" 
"LibreOffice is an Open Source, community-developed, office"
"productivity suite. It includes key desktop applications, such as a"
"word processor, spreadsheet, presentation manager, formula editor and"
"drawing program, with a user interface and feature set similar to"
"other office suites. LibreOffice also works transparently with a"
"variety of file formats, including Microsoft Office File Formats."
""
"libreoffice home: http://www.documentfoundation.org/"
)


build() {
	# Unpack DEBS
	cd $startdir/src/LibO_${_minorver}_Linux_x86_install-deb_en-US/DEBS
	for i in `ls *.deb`; do
		ar x $i
		tar xf data.tar.gz
		rm data.tar.gz control.tar.gz
	done
	
	# Unpack desktop-integration DEB and install icons and mime
	# files
	cd desktop-integration
	ar x libreoffice*.deb
	tar xf data.tar.gz
	mkdir -p $startdir/pkg/usr/share
	mv usr/share/icons $startdir/pkg/usr/share/
	mv usr/share/mime $startdir/pkg/usr/share/
	mv usr/share/mimelnk $startdir/pkg/usr/share/
	cd ..
	 
	# Install program files
	mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX}
	mv opt/* $startdir/pkg/usr/lib${LIBDIRSUFFIX}/

	mkdir -p $startdir/pkg/usr/share/applications
	mv $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/share/xdg/*.desktop $startdir/pkg/usr/share/applications/
	rm $startdir/pkg/usr/share/applications/{startcenter,qstart,javafilter}.desktop
	rmdir $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/share/xdg    
	mkdir -p $startdir/pkg/usr/bin
	(
	cd $startdir/pkg/usr/bin
	ln -s ../lib${LIBDIRSUFFIX}/libreoffice3.4/program/soffice soffice
	)
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.4/program/soffice \"\$@\"" >> $startdir/pkg/usr/bin/libreoffice
	chmod 755 $startdir/pkg/usr/bin/libreoffice
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.4/program/spadmin" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	chmod 755 $startdir/pkg/usr/bin/libreoffice-printeradmin
	
	cd $startdir/pkg/usr/bin
	for APP in base calc draw impress math padmin writer; do
		ln -s /usr/lib${LIBDIRSUFFIX}/libreoffice3.4/program/s${APP} lo${APP}
	done
	
	# Fix para los execs de los archivos .desktop    
	cd $startdir/pkg/usr/share/applications/
    for APP in base calc draw impress math printeradmin writer; do
    sed -i 's/Exec=libreoffice3.4/Exec=libreoffice/' $APP.desktop ;
    done

	# we don't need the included fonts, we already have packages for
	# them anyway. We want to keep the opens___.ttf and
	# fc_local.conf files.
	find \
		$startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/basis[0-9].[0-9]/share/fonts/truetype/ \
		! -name "opens___.ttf" ! -name "fc_local.conf" \
		-type f \
		-exec rm {} \;

	# these dictionaries are not needed either. They are included in
	# the respective langpacks.
	rm -rf $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/share/extensions/dict-{es,fr}

	chown -R root:root $startdir/pkg
}
For 64 bits (x86_64):

Code: Select all

#Maintainer: Antid Oto <antidoto~at~riseup~dot~net>
#Based on the work of George Vlahavas (Libreoffice 3.3.x SLKBUILD)

pkgname=libreoffice
pkgver=3.4.5
_minorver=3.4.5rc2
pkgrel=1ao
arch=x86_64
source=("http://download.documentfoundation.org/libreoffice/stable/3.4.5/deb/x86_64/LibO_3.4.5_Linux_x86-64_install-deb_en-US.tar.gz")
url=http://www.documentfoundation.org/

doinst() {
if [ -x /usr/bin/update-mime-database ]; then
	/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -x /usr/bin/update-desktop-database ]; then
	/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libreoffice (free office suite)" 
"LibreOffice is an Open Source, community-developed, office"
"productivity suite. It includes key desktop applications, such as a"
"word processor, spreadsheet, presentation manager, formula editor and"
"drawing program, with a user interface and feature set similar to"
"other office suites. LibreOffice also works transparently with a"
"variety of file formats, including Microsoft Office File Formats."
""
"libreoffice home: http://www.documentfoundation.org/"
)


build() {
	# Unpack DEBS
	cd $startdir/src/LibO_${_minorver}_Linux_x86-64_install-deb_en-US/DEBS
	for i in `ls *.deb`; do
		ar x $i
		tar xf data.tar.gz
		rm data.tar.gz control.tar.gz
	done
	
	# Unpack desktop-integration DEB and install icons and mime
	# files
	cd desktop-integration
	ar x libreoffice*.deb
	tar xf data.tar.gz
	mkdir -p $startdir/pkg/usr/share
	mv usr/share/icons $startdir/pkg/usr/share/
	mv usr/share/mime $startdir/pkg/usr/share/
	mv usr/share/mimelnk $startdir/pkg/usr/share/
	cd ..
	 
	# Install program files
	mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX}
	mv opt/* $startdir/pkg/usr/lib${LIBDIRSUFFIX}/

	mkdir -p $startdir/pkg/usr/share/applications
	mv $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/share/xdg/*.desktop $startdir/pkg/usr/share/applications/
	rm $startdir/pkg/usr/share/applications/{startcenter,qstart,javafilter}.desktop
	rmdir $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/share/xdg
	mkdir -p $startdir/pkg/usr/bin
	(
	cd $startdir/pkg/usr/bin
	ln -s ../lib${LIBDIRSUFFIX}/libreoffice3.4/program/soffice soffice
	)
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.4/program/soffice \"\$@\"" >> $startdir/pkg/usr/bin/libreoffice
	chmod 755 $startdir/pkg/usr/bin/libreoffice
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.4/program/spadmin" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	chmod 755 $startdir/pkg/usr/bin/libreoffice-printeradmin
	
	cd $startdir/pkg/usr/bin
	for APP in base calc draw impress math padmin writer; do
		ln -s /usr/lib${LIBDIRSUFFIX}/libreoffice3.4/program/s${APP} lo${APP}
	done
	
    # Fix para los execs de los archivos .desktop    
	cd $startdir/pkg/usr/share/applications/
    for APP in base calc draw impress math printeradmin writer; do
    sed -i 's/Exec=libreoffice3.4/Exec=libreoffice/' $APP.desktop ;
    done

	# we don't need the included fonts, we already have packages for
	# them anyway. We want to keep the opens___.ttf and
	# fc_local.conf files.
	find \
		$startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/basis[0-9].[0-9]/share/fonts/truetype/ \
		! -name "opens___.ttf" ! -name "fc_local.conf" \
		-type f \
		-exec rm {} \;

	# these dictionaries are not needed either. They are included in
	# the respective langpacks.
	rm -rf $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.4/share/extensions/dict-{es,fr}

	chown -R root:root $startdir/pkg
}
Libreoffice 3.5.x branch:

For 32 bits (x86):

Code: Select all

#Maintainer: Antid Oto <antidoto~at~riseup~dot~net>
#Based on the work of George Vlahavas (Libreoffice 3.3.x SLKBUILD)

pkgname=libreoffice
pkgver=3.5.0
_minorver=3.5.0rc3
pkgrel=1ao
arch=i686
source=("http://download.documentfoundation.org/libreoffice/stable/3.5.0/deb/x86/LibO_3.5.0_Linux_x86_install-deb_en-US.tar.gz")
url=http://www.documentfoundation.org/

doinst() {
if [ -x /usr/bin/update-mime-database ]; then
	/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -x /usr/bin/update-desktop-database ]; then
	/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libreoffice (free office suite)" 
"LibreOffice is an Open Source, community-developed, office"
"productivity suite. It includes key desktop applications, such as a"
"word processor, spreadsheet, presentation manager, formula editor and"
"drawing program, with a user interface and feature set similar to"
"other office suites. LibreOffice also works transparently with a"
"variety of file formats, including Microsoft Office File Formats."
""
"libreoffice home: http://www.documentfoundation.org/"
)


build() {
	# Unpack DEBS
	cd $startdir/src/LibO_${_minorver}_Linux_x86_install-deb_en-US/DEBS
	for i in `ls *.deb`; do
		ar x $i
		tar xf data.tar.gz
		rm data.tar.gz control.tar.gz
	done
	
	# Unpack desktop-integration DEB and install icons and mime
	# files
	cd desktop-integration
	ar x libreoffice*.deb
	tar xf data.tar.gz
	mkdir -p $startdir/pkg/usr/share
	mv usr/share/icons $startdir/pkg/usr/share/
	mv usr/share/mime $startdir/pkg/usr/share/
	mv usr/share/mimelnk $startdir/pkg/usr/share/
	cd ..
	 
	# Install program files
	mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX}
	mv opt/* $startdir/pkg/usr/lib${LIBDIRSUFFIX}/

	mkdir -p $startdir/pkg/usr/share/applications
	mv $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/xdg/*.desktop $startdir/pkg/usr/share/applications/
	rm $startdir/pkg/usr/share/applications/{startcenter,qstart,javafilter}.desktop
	rmdir $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/xdg    
	mkdir -p $startdir/pkg/usr/bin
	(
	cd $startdir/pkg/usr/bin
	ln -s ../lib${LIBDIRSUFFIX}/libreoffice3.5/program/soffice soffice
	)
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.5/program/soffice \"\$@\"" >> $startdir/pkg/usr/bin/libreoffice
	chmod 755 $startdir/pkg/usr/bin/libreoffice
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.5/program/spadmin" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	chmod 755 $startdir/pkg/usr/bin/libreoffice-printeradmin
	
	cd $startdir/pkg/usr/bin
	for APP in base calc draw impress math padmin writer; do
		ln -s /usr/lib${LIBDIRSUFFIX}/libreoffice3.5/program/s${APP} lo${APP}
	done
	
	# Fix para los execs de los archivos .desktop    
	cd $startdir/pkg/usr/share/applications/
    for APP in base calc draw impress math printeradmin writer; do
    sed -i 's/Exec=libreoffice3.5/Exec=libreoffice/' $APP.desktop ;
    done

	# we don't need the included fonts, we already have packages for
	# them anyway. We want to keep the opens___.ttf and
	# fc_local.conf files.
	find \
		$startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/fonts/truetype/ \
		! -name "opens___.ttf" ! -name "fc_local.conf" \
		-type f \
		-exec rm {} \;

	# these dictionaries are not needed either. They are included in
	# the respective langpacks.
	rm -rf $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/extensions/dict-{es,fr,an}

	chown -R root:root $startdir/pkg
}
For 64 bits (x86_64):

Code: Select all

#Maintainer: Antid Oto <antidoto~at~riseup~dot~net>
#Based on the work of George Vlahavas (Libreoffice 3.3.x SLKBUILD)

pkgname=libreoffice
pkgver=3.5.0
_minorver=3.5.0rc3
pkgrel=1ao
arch=x86_64
source=("http://download.documentfoundation.org/libreoffice/stable/3.5.0/deb/x86_64/LibO_3.5.0_Linux_x86-64_install-deb_en-US.tar.gz")
url=http://www.documentfoundation.org/

doinst() {
if [ -x /usr/bin/update-mime-database ]; then
	/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -x /usr/bin/update-desktop-database ]; then
	/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libreoffice (free office suite)" 
"LibreOffice is an Open Source, community-developed, office"
"productivity suite. It includes key desktop applications, such as a"
"word processor, spreadsheet, presentation manager, formula editor and"
"drawing program, with a user interface and feature set similar to"
"other office suites. LibreOffice also works transparently with a"
"variety of file formats, including Microsoft Office File Formats."
""
"libreoffice home: http://www.documentfoundation.org/"
)


build() {
	# Unpack DEBS
	cd $startdir/src/LibO_${_minorver}_Linux_x86-64_install-deb_en-US/DEBS
	for i in `ls *.deb`; do
		ar x $i
		tar xf data.tar.gz
		rm data.tar.gz control.tar.gz
	done
	
	# Unpack desktop-integration DEB and install icons and mime
	# files
	cd desktop-integration
	ar x libreoffice*.deb
	tar xf data.tar.gz
	mkdir -p $startdir/pkg/usr/share
	mv usr/share/icons $startdir/pkg/usr/share/
	mv usr/share/mime $startdir/pkg/usr/share/
	mv usr/share/mimelnk $startdir/pkg/usr/share/
	cd ..
	 
	# Install program files
	mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX}
	mv opt/* $startdir/pkg/usr/lib${LIBDIRSUFFIX}/

	mkdir -p $startdir/pkg/usr/share/applications
	mv $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/xdg/*.desktop $startdir/pkg/usr/share/applications/
	rm $startdir/pkg/usr/share/applications/{startcenter,qstart,javafilter}.desktop
	rmdir $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/xdg
	mkdir -p $startdir/pkg/usr/bin
	(
	cd $startdir/pkg/usr/bin
	ln -s ../lib${LIBDIRSUFFIX}/libreoffice3.5/program/soffice soffice
	)
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.5/program/soffice \"\$@\"" >> $startdir/pkg/usr/bin/libreoffice
	chmod 755 $startdir/pkg/usr/bin/libreoffice
	echo "#!/bin/sh" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	echo "exec /usr/lib${LIBDIRSUFFIX}/libreoffice3.5/program/spadmin" > $startdir/pkg/usr/bin/libreoffice-printeradmin
	chmod 755 $startdir/pkg/usr/bin/libreoffice-printeradmin
	
	cd $startdir/pkg/usr/bin
	for APP in base calc draw impress math padmin writer; do
		ln -s /usr/lib${LIBDIRSUFFIX}/libreoffice3.5/program/s${APP} lo${APP}
	done
	
    # Fix para los execs de los archivos .desktop    
	cd $startdir/pkg/usr/share/applications/
    for APP in base calc draw impress math printeradmin writer; do
    sed -i 's/Exec=libreoffice3.5/Exec=libreoffice/' $APP.desktop ;
    done

	# we don't need the included fonts, we already have packages for
	# them anyway. We want to keep the opens___.ttf and
	# fc_local.conf files.
	find \
		$startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/fonts/truetype/ \
		! -name "opens___.ttf" ! -name "fc_local.conf" \
		-type f \
		-exec rm {} \;

	# these dictionaries are not needed either. They are included in
	# the respective langpacks.
	rm -rf $startdir/pkg/usr/lib${LIBDIRSUFFIX}/libreoffice3.5/share/extensions/dict-{es,fr,an}

	chown -R root:root $startdir/pkg
}
To use this script you need a tarball (deb) according to the architecture of your computer:

LO 3.4.x:

32 bits:
http://download.documentfoundation.org/ ... -US.tar.gz
http://download.documentfoundation.org/ ... gz.torrent (Torrent)
64 bits:
http://download.documentfoundation.org/ ... -US.tar.gz
http://download.documentfoundation.org/ ... gz.torrent (Torrent)

LO 3.5.x:

32 bits:
http://download.documentfoundation.org/ ... -US.tar.gz
http://download.documentfoundation.org/ ... gz.torrent (Torrent)
64 bits:
http://download.documentfoundation.org/ ... -US.tar.gz
http://download.documentfoundation.org/ ... gz.torrent (Torrent)

For Libreoffice in your language using the gapan's SlackBuild from Salix repository (change version to the chose brand and ARCH variable to x86 or x86-64 as appropriate):

http://salix.enialis.net/i486/13.37/sou ... SlackBuild

Remember: To install LibreOffice copy and paste this script into a new file with the name SLKBUILD. Make sure the tarball is in the same location as the script. Then open a terminal for that folder and type: fakeroot slkbuild-X
That's it. You will see your new package created in the same location. Install it with the tools you want (I prefer spkg). Then you can delete things that are left, although I prefer to keep all for another time (for example, using the same slkbuild for a new release). You choose.

Try it, please. Greetings. ;)

UPDATE 16/01/2012: Libreoffice 3.4.5 added.
UPDATE 19/01/2012: SLKBUILD for 64bits added. Not yet tested. If you have this processor architecture, try it please.
UPDATE 15/02/2012: The LibreOffice project has changed the paths to the files and fonts. Configuration files are now in "HOME/.config/libreoffice". Changes added to the script.
Last edited by Antid Oto on 20. Feb 2012, 04:54, edited 10 times in total.
Image

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Libreoffice 3.4 SLKBUILD

Post by zAchAry » 10. Jan 2012, 21:19

Thank you so much!
Is there a .torrent for LibO_3.4.4_Linux_x86_install-deb_en-US.tar.gz? (I prefer to use more traffic with P2P instead of somewhat hurting WWW websites, though I'm sure they can handle it).

Idea: A Package Manager which is using BitTorrent to download packages :-P (SlackBuilds.org users should practice this idea)
Image
Help to make Slackware easier Donate to Salix

Antid Oto
Posts: 57
Joined: 6. Jul 2010, 01:28
Location: Bs. As. - Argentina.

Re: Libreoffice 3.4 SLKBUILD

Post by Antid Oto » 10. Jan 2012, 21:49

Link to torrent added :D
Image

User avatar
Andyun
Posts: 453
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: Libreoffice 3.4 SLKBUILD

Post by Andyun » 10. Jan 2012, 23:29

I compiled and installed the package Libreoffice 3.4.4 in the Salix OS 13.1.2. OK.
Thank you for the initiative! :)

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Libreoffice 3.4 SLKBUILD

Post by zAchAry » 12. Jan 2012, 16:49

Antid Oto wrote:Link to torrent added :D
Thank you.

I have installed it and now I can save documents as PDF without LibreOffice getting stuck.
Why in the about dialog the version is still 3.3.2?
Image
Help to make Slackware easier Donate to Salix

Antid Oto
Posts: 57
Joined: 6. Jul 2010, 01:28
Location: Bs. As. - Argentina.

Re: Libreoffice 3.4 SLKBUILD

Post by Antid Oto » 13. Jan 2012, 01:10

Why in the about dialog the version is still 3.3.2?
:? Are you sure? To me the about dialog appears correctly.
Image

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Libreoffice 3.4 SLKBUILD

Post by zAchAry » 13. Jan 2012, 01:57

Code: Select all

LibreOffice 3.3.2 
OOO330m19 (Build:202)
tag libreoffice-3.3.2.2
What did I do wrong?
Image
Help to make Slackware easier Donate to Salix

Antid Oto
Posts: 57
Joined: 6. Jul 2010, 01:28
Location: Bs. As. - Argentina.

Re: Libreoffice 3.4 SLKBUILD

Post by Antid Oto » 13. Jan 2012, 10:53

First make sure you're using a 3.4.4 tarball. Check if the main package "SLKBUILD" and the language SlackBuild has the same version (3.4.4). Are you using English or Hebrew language pack? I can't think of another idea. I am using LibreOffice 3.4.5 + Spanish language pack without problems.
Image

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Libreoffice 3.4 SLKBUILD

Post by zAchAry » 13. Jan 2012, 18:39

Well :oops:

Code: Select all

slapt-get --installed | grep office
libreoffice-3.3.2-i686-1gv [inst=yes]: libreoffice (free office suite)
libreoffice-3.4.4-i686-1ao [inst=yes]: libreoffice (free office suite)
libreoffice-l10n-he-3.3.2-i686-1gv [inst=yes]: libreoffice-l10n-he Hebrew
According to Gslapt only libreoffice-3.4.4-i686-1ao is installed (libreoffice-3.3.2-i686-1gv is not marked as an installed package).

Edit:
This happened probably because I have installed this package with

Code: Select all

gksu xterm -hold -e installpkg %F
instead of

Code: Select all

gksu xterm -hold -e upgradepkg --install-new %F
then again, when a package with the same name is about to be installed, slapt-get will not let to the user to install it as anew package (installpkg), it will require the user to use (upgradepkg) and I did not get any alert about anything.

Edit:

Code: Select all

Verifying package libreoffice-3.4.4-i686-1ao.txz.
Installing package libreoffice-3.4.4-i686-1ao.txz:
PACKAGE DESCRIPTION:
# libreoffice (free office suite)
# 
# LibreOffice is an Open Source, community-developed, office
# productivity suite. It includes key desktop applications, such as a
# word processor, spreadsheet, presentation manager, formula editor and
# drawing program, with a user interface and feature set similar to
# other office suites. LibreOffice also works transparently with a
# variety of file formats, including Microsoft Office File Formats.
# 
# libreoffice home: http://www.documentfoundation.org/
# 
WARNING:  Package has not been created with 'makepkg'
Executing install script for libreoffice-3.4.4-i686-1ao.txz.
Package libreoffice-3.4.4-i686-1ao.txz installed.
Hurray!
LibreOffice 3.4.4
OOO340m1 (Build:402)

:-D[/i]
Image
Help to make Slackware easier Donate to Salix

djemos
Salix Warrior
Posts: 1068
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Libreoffice SLKBUILD (3.4.x and 3.5.x branch)

Post by djemos » 14. May 2012, 15:50

I have build libreoffice-3.5.3 modified SLKBUILD and libreoffice locales slackwarebuild based on the work of gapan.
Also there is a new slackwarebuild to build help-packages for libreoffice.

What is new is that slackbuilds download and build locale and help packages. You don't have to download them manually.

In locale folder there are two slackwarebuilds libreoffice-l10n.SlackBuild and libreoffice-help-l10n.SlackBuild). Run them to download and build the packages.
Source i686 x86_64


For those don't want to build can download ready binary packages from
i686 libreoffice locale_and_help-packages
x86_64 libreoffice locale_and_help-packages

Post Reply