1 |
commit: a415660df5c933f62e486d68180fe12ac15bb299 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 18:19:23 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 21 11:30:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a415660d |
7 |
|
8 |
app-office/libreoffice: Update 6.2.3.2 patchset, restore keywords |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-office/libreoffice/Manifest | 1 + |
14 |
...-6.2.3.1-qt5-kf5-disable-qt-hidpi-scaling.patch | 82 ---------------------- |
15 |
app-office/libreoffice/libreoffice-6.2.3.2.ebuild | 8 +-- |
16 |
3 files changed, 4 insertions(+), 87 deletions(-) |
17 |
|
18 |
diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest |
19 |
index 2bedfe043ea..cc93fe02236 100644 |
20 |
--- a/app-office/libreoffice/Manifest |
21 |
+++ b/app-office/libreoffice/Manifest |
22 |
@@ -6,6 +6,7 @@ DIST a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip 23150 BLAKE2B 51db6bd9058 |
23 |
DIST libreoffice-6.1.5.2.tar.xz 207918636 BLAKE2B bb4e57a5363e7dc6757c537ef46231ff748649ca4b79993f371e787adba8cd1f3dd988f11e8813c24eb952d00355b02b15f0b126ea2c1f9d9ce7d6c26bf71c38 SHA512 36027ad8a3940e803908561e04feebce297db2fd570b7e43bb43d8c0b7885729eeaf0a64fc5f9e642c1008ffea0b3b1b6d0008e349cd1897425dc818ac8bf140 |
24 |
DIST libreoffice-6.2.2.2-patchset-01.tar.xz 6952 BLAKE2B 6b6b5280c9c65b7995d49bd0a5c0667226366f498f04d747e883d21490c88fcdd5abe4348ffe37d3060d0b685d4c3c3cd5e826351b22f24b68779bc5ca9d92b3 SHA512 63cce0839f65962df425f212306ed65e3899c6da857f74d7ea335bd48712fab2faa1de7dbc28a5022021a408f02cb972c3bb7b511f6e1209f103b8d214e163ac |
25 |
DIST libreoffice-6.2.2.2.tar.xz 214029032 BLAKE2B fc95d9dcb594bd18317285ecf593fb69825ecf061f7a339b48c01c858ee0340390d635a75f9be2d522f0b8883365d013b72b52f81cded509a2748ad354b9006c SHA512 f58f73fc76c57cbcbc24f63680ebc06f72cbbff9c1339c8186e70bf5f0f9ad0203ed2898ee7dd82cfb2bd0239d96a1534cec635847fe8fb50a0abe70848d2125 |
26 |
+DIST libreoffice-6.2.3.2-patchset-01.tar.xz 6424 BLAKE2B 38d0be171c79345b5916e988312cac53901cadaa4d1981905822dee8ac8377954abbc36f8a82cd6bc9c9abc1bdb3863b10f425291ce1c8273e523478f42a8746 SHA512 0f54044ed14c69b37954c77607925ae7dc902429edaadb21d4a508e4628558ae3a172a51dbeddb3f4e87a5e82a9cd6be3badca17bed9ce2ff90fe433982f7903 |
27 |
DIST libreoffice-6.2.3.2.tar.xz 214234080 BLAKE2B d565a7bc80cb550179ba38a1f2233bda68acf312e8966db84a72b242a10673ac81198370ffa46a7a222ad6c0654f5691404f1a17d7b0c9a60fd378d04dc6d550 SHA512 06c7e67c521eb9d94aa1a63464a4531b61b0fa0a8f77a0ecd1584535826232557a971471bea87dbc0b794979e1cddb201dbfdf0c4a2b4261ea63730e15cd8000 |
28 |
DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 BLAKE2B f03c7ddeb53c5ca3fd23401679601fcf2c4037ba17be4eb7b784c7ce7ebb71a24b8ab4aac8b7da8c6b1f14dd23bc1294ba85ff4f70ad271fb4ee3c5372e10883 SHA512 785031a699b1d1895ce4b50ffc3ddf645f3a0ef9acdf37facfd18cf75db9484cb8f53a50abb63d6006ead76a80b6ff5aa99661063245ebb84bd64013d713de7f |
29 |
DIST libreoffice-help-6.1.5.2.tar.xz 15758000 BLAKE2B e8db833db00116e210cd6da578ab05089fd12128bfb8015600027c9afca09a1afe7a62e30a0271dffead5d176c0195eae9095d0e00450a926999efadf3f7572f SHA512 0575244ae595af7383b244fd3f1855b7d63820f9c3ebf87bc9d0758463b4b289988bbed99f0985508d34793967734fd83ae2d1a5db514479bb2fe32e0498fc9f |
30 |
|
31 |
diff --git a/app-office/libreoffice/files/libreoffice-6.2.3.1-qt5-kf5-disable-qt-hidpi-scaling.patch b/app-office/libreoffice/files/libreoffice-6.2.3.1-qt5-kf5-disable-qt-hidpi-scaling.patch |
32 |
deleted file mode 100644 |
33 |
index 12f3ddc2958..00000000000 |
34 |
--- a/app-office/libreoffice/files/libreoffice-6.2.3.1-qt5-kf5-disable-qt-hidpi-scaling.patch |
35 |
+++ /dev/null |
36 |
@@ -1,82 +0,0 @@ |
37 |
-From c3eeb421526f284419e90d2c4c4da5b0d7bbcc0e Mon Sep 17 00:00:00 2001 |
38 |
-From: Jan-Marek Glogowski <glogow@×××××××.de> |
39 |
-Date: Fri, 29 Mar 2019 02:58:59 +0100 |
40 |
-Subject: tdf#124292 Qt5 / KDE5 disable Qt's HiDPI scaling |
41 |
- |
42 |
-LO does its own layouting and also all the scaling, so disable |
43 |
-the automatic HiDPI scaling explicitly. Otherwise fonts will be |
44 |
-rendered in LoDPI and just scaled as an image, if UI scaling is |
45 |
-enabled in KDE, resulting in really blocky / ugly fonts. |
46 |
- |
47 |
-Change-Id: I38503ce27c1671e80d0749d21c6c6dcff1a808a6 |
48 |
-Reviewed-on: https://gerrit.libreoffice.org/69941 |
49 |
-Tested-by: Jenkins |
50 |
-Reviewed-by: Jan-Marek Glogowski <glogow@×××××××.de> |
51 |
-(cherry picked from commit b4698a2241ec26d796c66da3a814f7cc693785b6) |
52 |
-Reviewed-on: https://gerrit.libreoffice.org/69984 |
53 |
-Reviewed-by: Thorsten Behrens <Thorsten.Behrens@×××.de> |
54 |
---- |
55 |
- vcl/qt5/Qt5Graphics_GDI.cxx | 4 ++-- |
56 |
- vcl/qt5/Qt5Instance.cxx | 2 ++ |
57 |
- vcl/unx/kde5/KDE5SalGraphics.cxx | 4 ++-- |
58 |
- vcl/unx/kde5/KDE5SalInstance.cxx | 2 ++ |
59 |
- 4 files changed, 8 insertions(+), 4 deletions(-) |
60 |
- |
61 |
-diff --git a/vcl/qt5/Qt5Graphics_GDI.cxx b/vcl/qt5/Qt5Graphics_GDI.cxx |
62 |
-index 90baba3..851d222 100644 |
63 |
---- a/vcl/qt5/Qt5Graphics_GDI.cxx |
64 |
-+++ b/vcl/qt5/Qt5Graphics_GDI.cxx |
65 |
-@@ -643,8 +643,8 @@ void Qt5Graphics::GetResolution(sal_Int32& rDPIX, sal_Int32& rDPIY) |
66 |
- return; |
67 |
- |
68 |
- QScreen* pScreen = m_pFrame->GetQWidget()->window()->windowHandle()->screen(); |
69 |
-- rDPIX = pScreen->logicalDotsPerInchX(); |
70 |
-- rDPIY = pScreen->logicalDotsPerInchY(); |
71 |
-+ rDPIX = pScreen->logicalDotsPerInchX() * pScreen->devicePixelRatio() + 0.5; |
72 |
-+ rDPIY = pScreen->logicalDotsPerInchY() * pScreen->devicePixelRatio() + 0.5; |
73 |
- } |
74 |
- |
75 |
- sal_uInt16 Qt5Graphics::GetBitCount() const { return getFormatBits(m_pQImage->format()); } |
76 |
-diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx |
77 |
-index adbe70b..8de9fc7 100644 |
78 |
---- a/vcl/qt5/Qt5Instance.cxx |
79 |
-+++ b/vcl/qt5/Qt5Instance.cxx |
80 |
-@@ -336,6 +336,8 @@ VCLPLUG_QT5_PUBLIC SalInstance* create_SalInstance() |
81 |
- unsetenv("SESSION_MANAGER"); |
82 |
- } |
83 |
- |
84 |
-+ QApplication::setAttribute(Qt::AA_DisableHighDpiScaling); |
85 |
-+ |
86 |
- int* pFakeArgc = new int; |
87 |
- *pFakeArgc = nFakeArgc; |
88 |
- pQApplication = new QApplication(*pFakeArgc, pFakeArgv); |
89 |
-diff --git a/vcl/unx/kde5/KDE5SalGraphics.cxx b/vcl/unx/kde5/KDE5SalGraphics.cxx |
90 |
-index 290127d..0b4b428 100644 |
91 |
---- a/vcl/unx/kde5/KDE5SalGraphics.cxx |
92 |
-+++ b/vcl/unx/kde5/KDE5SalGraphics.cxx |
93 |
-@@ -78,8 +78,8 @@ void KDE5SalGraphics::GetResolution(sal_Int32& rDPIX, sal_Int32& rDPIY) |
94 |
- return; |
95 |
- |
96 |
- QScreen* pScreen = m_pFrame->GetQWidget()->window()->windowHandle()->screen(); |
97 |
-- rDPIX = pScreen->logicalDotsPerInchX(); |
98 |
-- rDPIY = pScreen->logicalDotsPerInchY(); |
99 |
-+ rDPIX = pScreen->logicalDotsPerInchX() * pScreen->devicePixelRatio() + 0.5; |
100 |
-+ rDPIY = pScreen->logicalDotsPerInchY() * pScreen->devicePixelRatio() + 0.5; |
101 |
- } |
102 |
- |
103 |
- /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
104 |
-diff --git a/vcl/unx/kde5/KDE5SalInstance.cxx b/vcl/unx/kde5/KDE5SalInstance.cxx |
105 |
-index 401afbc..32998cd 100644 |
106 |
---- a/vcl/unx/kde5/KDE5SalInstance.cxx |
107 |
-+++ b/vcl/unx/kde5/KDE5SalInstance.cxx |
108 |
-@@ -144,6 +144,8 @@ VCLPLUG_KDE5_PUBLIC SalInstance* create_SalInstance() |
109 |
- unsetenv("SESSION_MANAGER"); |
110 |
- } |
111 |
- |
112 |
-+ QApplication::setAttribute(Qt::AA_DisableHighDpiScaling); |
113 |
-+ |
114 |
- int* pFakeArgc = new int; |
115 |
- *pFakeArgc = nFakeArgc; |
116 |
- pQApplication = new QApplication(*pFakeArgc, pFakeArgv); |
117 |
--- |
118 |
-cgit v1.1 |
119 |
|
120 |
diff --git a/app-office/libreoffice/libreoffice-6.2.3.2.ebuild b/app-office/libreoffice/libreoffice-6.2.3.2.ebuild |
121 |
index 64169aefb4d..cacdb7a6fb5 100644 |
122 |
--- a/app-office/libreoffice/libreoffice-6.2.3.2.ebuild |
123 |
+++ b/app-office/libreoffice/libreoffice-6.2.3.2.ebuild |
124 |
@@ -18,7 +18,7 @@ DEV_URI=" |
125 |
ADDONS_URI="https://dev-www.libreoffice.org/src/" |
126 |
|
127 |
BRANDING="${PN}-branding-gentoo-0.8.tar.xz" |
128 |
-# PATCHSET="${P}-patchset-01.tar.xz" |
129 |
+PATCHSET="${P}-patchset-01.tar.xz" |
130 |
|
131 |
[[ ${MY_PV} == *9999* ]] && inherit git-r3 |
132 |
inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg |
133 |
@@ -77,8 +77,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} |
134 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
135 |
SLOT="0" |
136 |
[[ ${MY_PV} == *9999* ]] || \ |
137 |
-KEYWORDS="" |
138 |
-# KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
139 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
140 |
|
141 |
BDEPEND=" |
142 |
dev-util/intltool |
143 |
@@ -249,8 +248,7 @@ PATCHES=( |
144 |
# master branch |
145 |
"${FILESDIR}/${PN}-6.2-ldap-optional.patch" |
146 |
# 6.2 stable branch |
147 |
- "${FILESDIR}/${PN}-6.2.3.1-qt5-kf5-disable-qt-hidpi-scaling.patch" |
148 |
- # "${WORKDIR}"/${PATCHSET/.tar.xz/} |
149 |
+ "${WORKDIR}"/${PATCHSET/.tar.xz/} |
150 |
|
151 |
# not upstreamable stuff |
152 |
"${FILESDIR}/${PN}-5.4-system-pyuno.patch" |