diff options
author | Eric Hameleers <alien@slackware.com> | 2013-01-29 20:31:44 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-01-29 20:31:44 +0000 |
commit | b29d3e1cf57fa9b322606654b4436c23ad8a45a3 (patch) | |
tree | 5bcbfc2760ee92461e05a9fd5b898ce0b47c53f4 /libreoffice/build/libreoffice.SlackBuild | |
parent | 00c36c4cc7f92c516b0915475dd704bf4cc77059 (diff) | |
download | asb-b29d3e1cf57fa9b322606654b4436c23ad8a45a3.tar.gz asb-b29d3e1cf57fa9b322606654b4436c23ad8a45a3.tar.xz |
Document how to build the dictionaries. Still have to find out how to install them properly
Diffstat (limited to 'libreoffice/build/libreoffice.SlackBuild')
-rwxr-xr-x | libreoffice/build/libreoffice.SlackBuild | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/libreoffice/build/libreoffice.SlackBuild b/libreoffice/build/libreoffice.SlackBuild index c4fb24a5..ce8359e1 100755 --- a/libreoffice/build/libreoffice.SlackBuild +++ b/libreoffice/build/libreoffice.SlackBuild @@ -721,7 +721,8 @@ chown -R root:root . chmod -R u+w,go+r-w,a+X-s . # Enter the build directory: -cd $TMP/tmp-$PRGNAM/libreoffice-${VERSION}${SUBVER} +BUILDDIR="$TMP/tmp-$PRGNAM/libreoffice-${VERSION}${SUBVER}" +cd $BUILDDIR echo Building ... @@ -912,6 +913,12 @@ echo "Starting $PRGNAM compilation (takes a long time)..." #./bootstrap 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log make VERBOSE=yes 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log +# Compile the dictionaries from source. +# Resulting dict-*.oxt are placed in ./solver/unxlngx6.pro/pck/ : +# **TODO** figure out how to install these? Looks like the install line below +# does not actually install the dictionaries. +make -C dictionaries VERBOSE=yes 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log + # Install the lot: echo "Starting the packaging stage for $PRGNAM..." make DESTDIR=$PKG distro-pack-install \ @@ -1081,9 +1088,9 @@ if [ ! -z "${ADD_LANGUAGES}" ]; then fi # End of splitting out language packs # Back to base: -cd $TMP/tmp-$PRGNAM/build +cd $BUILDDIR -# Libreoffice suddenly adds version numbers to the name of the wrapper script +# Libreoffice suddenly added version numbers to the name of the wrapper script # as well as the to the names of icons, so I'll remove that # (with thanks to Fedora's David Tardon): cd sysui/unxl*.pro/misc/libreoffice @@ -1093,9 +1100,7 @@ cd sysui/unxl*.pro/misc/libreoffice -e "s/^office_prefix=.*$/office_prefix=\/usr\/lib${LIBDIRSUFFIX}\/${PRGNAM}/" \ create_tree.sh - # Time to start doing what the deprecated 'build' tarball used to do for us: - # We need to generate the icons and mime type files ourselves now. - # All the other created stuff can be discarded: + # Generate the icons and mimetype files; discard all the other created stuff: KDEMAINDIR=/usr GNOMEDIR=/usr GNOME_MIME_THEME=hicolor \ DESTDIR=../../../output \ ./create_tree.sh @@ -1138,7 +1143,7 @@ Comment=Add and organize the LibreOffice extensions. EOF # Copy icons and mime definitions but exclude Gnome-specific stuff: -cd $TMP/tmp-$PRGNAM/build/sysui/output/usr/share +cd $BUILDDIR/sysui/output/usr/share rm -r icons/{gnome,locolor} cp -a icons $PKG/usr/share cp -a mime $PKG/usr/share @@ -1227,7 +1232,7 @@ EOF ) # Back to base: -cd $TMP/tmp-$PRGNAM/build +cd $BUILDDIR # Create the package's post-install script: mkdir -p $PKG/install |