Commit 7825a5a9 authored by abveritas's avatar abveritas

depends/replaces corrections libreoffice

parent bd48676e
......@@ -138,14 +138,14 @@ build() {
cd ${srcdir}/libreoffice-core-$_LOver
# move external sources into place
#mkdir ${srcdir}/ext_sources && pushd ${srcdir}/ext_sources
#for source in "${noextract[@]}"; do
# ln -s ${srcdir}/$source .
#done
#popd
mkdir ${srcdir}/ext_sources && pushd ${srcdir}/ext_sources
for source in "${noextract[@]}"; do
ln -s ${srcdir}/$source .
done
popd
#ln -s ../libreoffice-help-$_LOver/helpcontent2 .
#ln -s ../libreoffice-translations-$_LOver/translations .
ln -s ../libreoffice-help-$_LOver/helpcontent2 .
ln -s ../libreoffice-translations-$_LOver/translations .
# buildfixes & bugfixes
# one late fix to solve make distro-pack-install issue
......@@ -242,7 +242,7 @@ build() {
#./download
make
# fake installation to create split file lists
#mkdir $srcdir/fakeinstall
mkdir $srcdir/fakeinstall
make DESTDIR=${srcdir}/fakeinstall distro-pack-install
}
......@@ -273,9 +273,7 @@ package_libreoffice-common() {
etc/libreoffice/bootstraprc
etc/libreoffice/psprint.conf)
groups=('libreoffice')
provides=('go-openoffice')
conflicts=('go-openoffice')
replaces=('go-openoffice' 'openoffice-base' 'libreoffice')
replaces=('libreoffice')
# create directories from *list.txt file
for directory in `grep ^%dir ${srcdir}/libreoffice-core-$_LOver/file-lists/common_list.txt`; do
......@@ -300,7 +298,7 @@ package_libreoffice-common() {
cd ${pkgdir}/usr/lib/libreoffice/share/psprint/
ln -vsf /etc/libreoffice/psprint.conf .
#fix http://bugs.archlinux.org/task/17656
#fix
find ${pkgdir} -perm 444 -exec ls -lh {} \;
find ${pkgdir} -perm 444 -exec chmod 644 {} \;
find ${pkgdir} -perm 555 -exec ls -lh {} \;
......@@ -309,7 +307,7 @@ package_libreoffice-common() {
package_libreoffice-base() {
pkgdesc="GUI Spreadsheet Applicationdatabase front-end for LibreOffice. Allows creation and management of databases through a GUI."
depends=('libreoffice-common' 'hsqldb-java')
depends=('libreoffice-common' 'libreoffice-kde4' 'hsqldb-java')
optdepends=('libreoffice-postgresql-connector')
backup=()
groups=('libreoffice')
......@@ -360,7 +358,7 @@ package_libreoffice-postgresql-connector() {
package_libreoffice-calc() {
pkgdesc="Spreadsheet application for LibreOffice."
depends=('libreoffice-common' 'lpsolve' )
depends=('libreoffice-common' 'libreoffice-kde4' 'lpsolve' )
optdepends=()
backup=()
groups=('libreoffice')
......@@ -382,7 +380,7 @@ package_libreoffice-calc() {
package_libreoffice-draw() {
pkgdesc="Drawing Application for LibreOffice."
depends=('libreoffice-common')
depends=('libreoffice-common' 'libreoffice-kde4')
optdepends=()
backup=()
groups=('libreoffice')
......@@ -404,8 +402,8 @@ package_libreoffice-draw() {
package_libreoffice-impress() {
pkgdesc="Presentation Application for LibreOffice."
depends=('libreoffice-common')
optdepends=('mesa: for the OGLTrans extension')
depends=('libreoffice-common' 'libreoffice-kde4')
optdepends=('mesa: for the OGLTrans extension')
backup=()
groups=('libreoffice')
replaces=('libreoffice')
......@@ -447,7 +445,7 @@ package_libreoffice-kde4() {
package_libreoffice-math() {
pkgdesc="Equation Editor Applicationfor LibreOffice."
depends=('libreoffice-common')
depends=('libreoffice-common' 'libreoffice-kde4')
optdepends=()
backup=()
groups=('libreoffice')
......@@ -469,7 +467,7 @@ package_libreoffice-math() {
package_libreoffice-sdk() {
pkgdesc="Software Development Kit for LibreOffice."
depends=('libreoffice-common' 'gcc-libs' 'sh' 'make' 'zip' 'gcc' 'java-environment')
depends=('libreoffice-common' 'libreoffice-kde4' 'gcc-libs' 'sh' 'make' 'zip' 'gcc' 'java-environment')
optdepends=()
backup=()
groups=('libreoffice')
......@@ -487,7 +485,7 @@ package_libreoffice-sdk() {
mv ${srcdir}/fakeinstall${file} ${pkgdir}$file
done
# fix ArchLinux LibreOffice installation paths
# fix LibreOffice installation paths
sed -i -e "s,@OO_SDK_NAME@,libreoffice-sdk," \
-e "s,@OO_SDK_HOME@,/usr/lib/libreoffice/sdk," \
-e "s,@OFFICE_HOME@,/usr/lib/libreoffice," \
......@@ -528,7 +526,7 @@ package_libreoffice-sdk-doc() {
package_libreoffice-writer() {
pkgdesc="Word Processor Applicationfor LibreOffice."
depends=('libreoffice-common' 'libwpd' 'libwps' 'libxml2')
depends=('libreoffice-common' 'libreoffice-kde4' 'libwpd' 'libwps' 'libxml2')
optdepends=('libwpg: library for importing and converting Corel WordPerfect(tm) Graphics images')
backup=()
groups=('libreoffice')
......@@ -551,9 +549,7 @@ package_libreoffice-writer() {
package_libreoffice-en-US() {
pkgdesc="English (US) language pack for LibreOffice"
#arch=('any')
provides=('openoffice-en-US' 'libreoffice-langpack')
replaces=(openoffice-en-US)
conflicts=(openoffice-en-US)
provides=('libreoffice-langpack')
# create directories from *list.txt file
for directory in `grep ^%dir ${srcdir}/libreoffice-core-$_LOver/file-lists/lang_en_US_list.txt`; do
......@@ -572,7 +568,7 @@ package_libreoffice-en-US() {
package_libreoffice-extension-pdfimport() {
pkgdesc="This extension allows you to import and modify PDF documents"
depends=('libreoffice-common' 'poppler')
depends=('libreoffice-common' 'libreoffice-kde4' 'poppler')
groups=('libreoffice-extensions')
install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
......@@ -582,7 +578,7 @@ package_libreoffice-extension-pdfimport() {
package_libreoffice-extension-presenter-screen() {
pkgdesc="This extension provides more control over your slide show presentation, such as the ability to see the upcoming slide, the slide notes, and a presentation timer whereas the audience see only the current slide"
depends=('libreoffice-common' 'java-environment')
depends=('libreoffice-common' 'libreoffice-kde4' 'java-environment')
groups=('libreoffice-extensions')
install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
......@@ -592,7 +588,7 @@ package_libreoffice-extension-presenter-screen() {
package_libreoffice-extension-presentation-minimizer() {
pkgdesc="This extension reduce the file size of the current presentation"
depends=('libreoffice-common' 'gcc-libs')
depends=('libreoffice-common' 'libreoffice-kde4' 'gcc-libs')
groups=('libreoffice-extensions')
install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
......@@ -603,7 +599,7 @@ package_libreoffice-extension-report-builder() {
pkgdesc="This extension creates smart-looking database reports"
#arch=('any')
depends=('libreoffice-common' 'java-environment')
depends=('libreoffice-common' 'libreoffice-kde4' 'java-environment')
groups=('libreoffice-extensions')
install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment