Skip to content

Commit

Permalink
libreoffice compiled as pure kf5/Qt5
Browse files Browse the repository at this point in the history
used frugalware kf5 patch, builds, runs in default/generic mode
crashes in kf5 mode, odd window in Qt5 mode

clamav 0.99.4
otter-browser 0.9.96
wine 3.3
  • Loading branch information
demmm committed Mar 2, 2018
1 parent 24f60c7 commit f0e5fa1
Show file tree
Hide file tree
Showing 6 changed files with 4,326 additions and 23 deletions.
6 changes: 3 additions & 3 deletions clamav/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

pkgname=clamav
pkgver=0.99.3
pkgver=0.99.4
pkgrel=1
pkgdesc='Anti-virus toolkit for Unix'
arch=('x86_64')
Expand All @@ -19,7 +19,7 @@ source=("http://www.clamav.net/downloads/production/${pkgname}-${pkgver}.tar.gz"
'logrotate'
'tmpfiles.d'
'rarCVE.patch')
md5sums=('5272f127312e987b3e10c155cf1d84df'
md5sums=('b9359b90086948b3c4eb97c84cf4b400'
'75584367b1fb2a335061afef95c07ba4'
'ea0beeef854b4a3cf6b25dc49b228f56'
'5c646ed6f7100c5223dab648c57d802a'
Expand All @@ -31,7 +31,7 @@ md5sums=('5272f127312e987b3e10c155cf1d84df'
build() {
cd ${pkgname}-${pkgver}
# CVE-2012-6706 https://bugzilla.suse.com/show_bug.cgi?id=1045490
patch -p1 -i ${srcdir}/rarCVE.patch
#patch -p1 -i ${srcdir}/rarCVE.patch

./configure --prefix=/usr \
--sysconfdir=/etc/clamav \
Expand Down
31 changes: 18 additions & 13 deletions libreoffice/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgname=libreoffice
_LOver=6.0.2.1
pkgver=6.0.2.1
_pkgver=6.0.2
pkgrel=1
pkgrel=2
arch=('x86_64')
license=('LGPL3')
url="https://www.libreoffice.org/"
Expand All @@ -15,8 +15,8 @@ depends=("curl>=7.20.0" 'python3' 'libabw>=0.1.0' 'libwpd>=0.9.2' 'libwps' 'libx
'poppler' 'sane' 'unixodbc' 'libwpg' 'imagemagick' 'hunspell'
'mesa' 'gst-plugins-base' 'java-runtime' 'postgresql-libs' 'libvisio' 'bluez' 'liblangtag'
'libetonyek' 'libodfgen' 'libatomic_ops' 'clucene' 'glew' 'glu' 'gconf'
'java-environment' 'beanshell' 'vigra' 'pstoedit' 'libmythes' 'boost-libs' 'libepoxy' 'gtk3' 'gtk2')
#'kconfig' 'kcoreaddons' 'ki18n' 'kio' 'kwindowsystem' 'gtk3')
'java-environment' 'beanshell' 'vigra' 'pstoedit' 'libmythes' 'boost-libs' 'libepoxy' # 'gtk3' 'gtk2')
'kconfig' 'kcoreaddons' 'ki18n' 'kio' 'kwindowsystem' 'kdelibs4support')
makedepends=('perl-archive-zip' 'zip' 'unzip' 'apache-ant' 'gperf' 'cppunit' 'libldap'
'junit' 'doxygen' 'apr' 'serf' 'mdds' 'boost') # 'glm'
_mirror="https://caesar.acc.umu.se/mirror/documentfoundation.org/libreoffice/src/$_pkgver"
Expand Down Expand Up @@ -86,7 +86,8 @@ source=(${_mirror}/${pkgname}{,-help,-translations}-${_LOver}.tar.xz
0010-properly-quit-kf5-filepicker.patch
0011-kf5-filepicker-size-restore.patch
0012-cleanup-kf5-filepicker.patch
0013-buildsystem-drop-bogus-qt5-warn.patch)
0013-buildsystem-drop-bogus-qt5-warn.patch
kf5-qt5.patch)

noextract=(18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
185d60944ea767075d27247c3162b3bc-unowinreg.dll
Expand Down Expand Up @@ -171,7 +172,8 @@ build() {
export PYTHON=python3
# KDE options backported from Master
#export QT_SELECT=5
#export QT5DIR=/usr/lib/qt5/bin/
export QT5DIR=/usr/lib/qt5/
export KF5DR=/usr
#export MOC5=/usr/lib/qt5/bin/moc
#patch -p1 -i ${srcdir}/0001-enable-kde5-bandaid-fix.patch
#patch -p1 -i ${srcdir}/0002-add-kf5-desktop-backend.patch
Expand All @@ -186,7 +188,9 @@ build() {
#patch -p1 -i ${srcdir}/0011-kf5-filepicker-size-restore.patch
#patch -p1 -i ${srcdir}/0012-cleanup-kf5-filepicker.patch
#patch -p1 -i ${srcdir}/0013-buildsystem-drop-bogus-qt5-warn.patch
patch -p1 -i ${srcdir}/kf5-qt5.patch

sed -i -e 's/KF5_CFLAGS=$(printf.*//g' configure.ac
#sed -i -e 's|-isystem|-I|g' configure.ac

./autogen.sh --with-build-version="${_LOver} KaOS-${pkgrel}" --with-vendor="KaOS" \
Expand All @@ -202,10 +206,11 @@ build() {
--enable-dbus \
--disable-evolution2 \
--enable-gio\
--enable-gtk3 \
--disable-gtk \
--disable-gtk3 \
--disable-kde4 \
--disable-gstreamer-0-10 \
--enable-odk \
--disable-odk \
--enable-python=system \
--enable-scripting-beanshell \
--enable-scripting-javascript \
Expand Down Expand Up @@ -262,15 +267,15 @@ build() {
--with-system-clucene \
--disable-dependency-tracking \
--disable-cve-tests \
--with-theme="breeze breeze_dark oxygen sifr"
#--enable-kde5 \
#--enable-qt5 \
#--enable-gtk3-kde5
--with-theme="breeze breeze_dark oxygen sifr" \
--enable-kde5 \
--enable-qt5 \
--disable-gtk3-kde5

touch src.downloaded
#./download
# one test in sw_ooxmlexport7 fails, rebuild with '-no-check' added
make build-nocheck
make verbose=t build-nocheck
}

package() {
Expand All @@ -297,5 +302,5 @@ package() {
#rm -f ${pkgdir}/usr/lib/libreoffice/program/intro.png
#install -m644 ${srcdir}/intro.png ${pkgdir}/usr/lib/libreoffice/program/
# more then half the package size is from sdk docs
rm -r ${pkgdir}/usr/share/doc
#rm -r ${pkgdir}/usr/share/doc
}
Loading

0 comments on commit f0e5fa1

Please sign in to comment.