Subject: [alpine-aports] [PATCH] community/libreoffice: Use gtk3

From: Jean-Louis Fuchs <[email-masked]>
Date: Tue, 8 Aug 2017 16:50:53 +0200

Improves HiDPI experience
---
I back-ported that change and I am currently using it on my machine.

 community/libreoffice/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/community/libreoffice/APKBUILD b/community/libreoffice/APKBUILD
index 32a05dd00f..5bfb39bf17 100644
--- a/community/libreoffice/APKBUILD
+++ b/community/libreoffice/APKBUILD
@@ -14,7 +14,7 @@ depends_dev="cups-dev libjpeg-turbo-dev boost-dev clucene-dev libe-book-dev icu-
 	libxslt-dev postgresql-dev mdds-dev glm-dev glu-dev glew-dev vigra-dev
 	unixodbc-dev openldap-dev libressl-dev nss-dev npapi-sdk hunspell-dev
 	libxrender-dev libxrandr-dev neon-dev apr-dev redland-dev libexttextcat-dev
-	gconf-dev bluez-dev gstreamer-dev gst-plugins-base-dev gtk+2.0-dev
+	gconf-dev bluez-dev gstreamer-dev gst-plugins-base-dev gtk+3.0-dev
 	poppler-dev cairo-dev hyphen-dev mythes-dev python3-dev harfbuzz-dev
 	libfreehand-dev libodfgen-dev libcdr-dev libzmf-dev libstaroffice-dev
 	liborcus-dev openjdk8 apache-ant junit"
@@ -251,6 +251,8 @@ build() {
 		--disable-lpsolve \
 		--disable-gltf \
 		--disable-liblangtag \
+		--disable-gtk \
+		--enable-gtk3 \
 		|| return 1
 	# adding '-isystem /usr/include' make things break with gcc6
 	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823145
-- 
2.13.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Tue, 8 Aug 2017 21:54:09 +0200

On Tue,  8 Aug 2017 16:50:53 +0200

> I back-ported that change and I am currently using it on my machine.

very nice.

We need bump pkgrel so builders pick it up though.

Care to resend a v2?

-nc

---

---

From: Jean-Louis Fuchs <[email-masked]>
Date: Tue, 8 Aug 2017 22:51:29 +0200

Changes v1 -> v2:
- Bumping pkgrel

 community/libreoffice/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/libreoffice/APKBUILD b/community/libreoffice/APKBUILD
index 32a05dd00f..1941983689 100644
--- a/community/libreoffice/APKBUILD
+++ b/community/libreoffice/APKBUILD
@@ -3,7 +3,7 @@
 # Maintainer: Timo Teräs <[email-masked]>
 pkgname=libreoffice
 pkgver=5.3.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="LibreOffice - Meta package for the full office suite"
 url="http://www.libreoffice.org/"
 arch="all"
@@ -14,7 +14,7 @@ depends_dev="cups-dev libjpeg-turbo-dev boost-dev clucene-dev libe-book-dev icu-
 	libxslt-dev postgresql-dev mdds-dev glm-dev glu-dev glew-dev vigra-dev
 	unixodbc-dev openldap-dev libressl-dev nss-dev npapi-sdk hunspell-dev
 	libxrender-dev libxrandr-dev neon-dev apr-dev redland-dev libexttextcat-dev
-	gconf-dev bluez-dev gstreamer-dev gst-plugins-base-dev gtk+2.0-dev
+	gconf-dev bluez-dev gstreamer-dev gst-plugins-base-dev gtk+3.0-dev
 	poppler-dev cairo-dev hyphen-dev mythes-dev python3-dev harfbuzz-dev
 	libfreehand-dev libodfgen-dev libcdr-dev libzmf-dev libstaroffice-dev
 	liborcus-dev openjdk8 apache-ant junit"
@@ -251,6 +251,8 @@ build() {
 		--disable-lpsolve \
 		--disable-gltf \
 		--disable-liblangtag \
+		--disable-gtk \
+		--enable-gtk3 \
 		|| return 1
 	# adding '-isystem /usr/include' make things break with gcc6
 	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823145
-- 
2.13.0

---

---

From: Jean-Louis Fuchs <[email-masked]>
Date: Thu, 10 Aug 2017 16:50:35 +0200

Hi Natanael

I found a bug. Some menus aren't closed when the mouse leaves the
area. Of course I am using the backported version on 3.6, but I guess
the bug will also exist on edge.

I will try to fix this, but I am busy at the moment, so we should
probably revert this. :-(

I guess its generally a good idea to move to gtk3, right?

Best,
    Jean-Louis