Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/kbibtex/files/, app-text/kbibtex/
Date: Fri, 29 Dec 2017 19:34:27
Message-Id: 1514576044.dbf18dc1588ec9531de896551fcffc5aa038793b.asturm@gentoo
1 commit: dbf18dc1588ec9531de896551fcffc5aa038793b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 29 19:34:04 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 29 19:34:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbf18dc1
7
8 app-text/kbibtex: Drop slot 4
9
10 Bug: https://bugs.gentoo.org/642446
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 app-text/kbibtex/Manifest | 1 -
14 app-text/kbibtex/files/kbibtex-0.6.2-webkit.patch | 109 ----------------------
15 app-text/kbibtex/kbibtex-0.6.2.ebuild | 37 --------
16 3 files changed, 147 deletions(-)
17
18 diff --git a/app-text/kbibtex/Manifest b/app-text/kbibtex/Manifest
19 index d6b2fc4ff48..beb07972178 100644
20 --- a/app-text/kbibtex/Manifest
21 +++ b/app-text/kbibtex/Manifest
22 @@ -1,2 +1 @@
23 -DIST kbibtex-0.6.2.tar.xz 3081364 BLAKE2B 8f52c4afea73dae10d3277aabd78a010c0bd2e0437084a87c5b8f5f2d99b40bf63ea4eb04b80699af2e7324e2436a38597394d4aabb076444c1f175327e3f77b SHA512 aa23e80cb273c0ae721ecc917f540070deea520fea2d7ca7ee97fde2c6918dba84769ad083fed93b9d0260539273c20c214b92c94269b413f46cb644d16dc270
24 DIST kbibtex-0.8_pre20171110.tar.gz 11423893 BLAKE2B 78bcd72da35775d9927f35b865aba1e5ee88fd6391e5b354dd23d319a17a18c5aa521d32f58f1827a86bf33d1a42e7bef19940fdd1b83e67124b7335520bb1cd SHA512 719c40e78e22dc936a5395bf299962b4ec657df89877df78f17139dcd9b45a7ed98ff213a7c8a0cf0eeb4960a3b10cafaf7521e334a3269f96e2abdcdd67c913
25
26 diff --git a/app-text/kbibtex/files/kbibtex-0.6.2-webkit.patch b/app-text/kbibtex/files/kbibtex-0.6.2-webkit.patch
27 deleted file mode 100644
28 index c59a7fb9caf..00000000000
29 --- a/app-text/kbibtex/files/kbibtex-0.6.2-webkit.patch
30 +++ /dev/null
31 @@ -1,109 +0,0 @@
32 -commit 2cd09d41ed559461a0f0a346ebec3dea82c06947
33 -Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com>
34 -Date: Sat Jan 21 18:26:46 2017 +0100
35 -
36 - Add option to disable Qt4WebKit even if present
37 -
38 - - Link against Qt4WebKit only if(HAVE_WEBKIT)
39 - - Remove Qt4WebKit linking from tests
40 -
41 - REVIEW: 129863
42 -
43 -diff --git a/CMakeLists.txt b/CMakeLists.txt
44 -index ee3d810..1acbf8a 100644
45 ---- a/CMakeLists.txt
46 -+++ b/CMakeLists.txt
47 -@@ -48,6 +48,12 @@ set(
48 - )
49 -
50 - option(
51 -+ WITH_QTWEBKIT
52 -+ "Enable QtWebkit support"
53 -+ ON
54 -+)
55 -+
56 -+option(
57 - UNITY_BUILD
58 - "Compile multiple C++ files in one big, merged file (\"Unity build\")\nSee also http://t-fischer.dreamwidth.org/3054.html"
59 - )
60 -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
61 -index 04222a7..0b7be01 100644
62 ---- a/src/CMakeLists.txt
63 -+++ b/src/CMakeLists.txt
64 -@@ -37,24 +37,41 @@ include(
65 - # check if QtWebKit is available, which seems to be not available
66 - # on e.g. RedHat Enterprise Linux 6 or Scientific Linux 6
67 - if(
68 -- QT_QTWEBKIT_FOUND
69 -+ WITH_QTWEBKIT
70 - )
71 -- message(
72 -- STATUS
73 -- "Found QtWebKit, enabling WebKit support"
74 -+ if(
75 -+ QT_QTWEBKIT_FOUND
76 -+ )
77 -+ message(
78 -+ STATUS
79 -+ "Found QtWebKit, enabling WebKit support"
80 -+ )
81 -+ add_definitions(
82 -+ -DHAVE_QTWEBKIT
83 -+ )
84 -+ set(
85 -+ OPTIONAL_QTWEBKIT_LIBRARIES
86 -+ ${QT_QTWEBKIT_LIBRARIES}
87 -+ )
88 -+ else(
89 -+ QT_QTWEBKIT_FOUND
90 - )
91 -- add_definitions(
92 -- -DHAVE_QTWEBKIT
93 -+ message(
94 -+ STATUS
95 -+ "QtWebKit not found, disabling WebKit support"
96 -+ )
97 -+ endif(
98 -+ QT_QTWEBKIT_FOUND
99 - )
100 - else(
101 -- QT_QTWEBKIT_FOUND
102 -+ WITH_QTWEBKIT
103 - )
104 - message(
105 - STATUS
106 -- "QtWebKit not found, disabling WebKit support"
107 -+ "QtWebKit support disabled by configure"
108 - )
109 - endif(
110 -- QT_QTWEBKIT_FOUND
111 -+ WITH_QTWEBKIT
112 - )
113 -
114 - add_definitions(
115 -diff --git a/src/networking/CMakeLists.txt b/src/networking/CMakeLists.txt
116 -index efa14f4..f7ade08 100644
117 ---- a/src/networking/CMakeLists.txt
118 -+++ b/src/networking/CMakeLists.txt
119 -@@ -131,7 +131,7 @@ target_link_libraries(
120 - kbibtexnetworking
121 - LINK_PRIVATE
122 - ${QT_QTCORE_LIBRARY}
123 -- ${QT_QTWEBKIT_LIBRARY}
124 -+ ${OPTIONAL_QTWEBKIT_LIBRARIES}
125 - ${KDE4_KDECORE_LIBS}
126 - ${KDE4_KIO_LIBS}
127 - ${POPPLER_QT4_LIBRARIES}
128 -diff --git a/src/program/CMakeLists.txt b/src/program/CMakeLists.txt
129 -index a9fe213..fa57506 100644
130 ---- a/src/program/CMakeLists.txt
131 -+++ b/src/program/CMakeLists.txt
132 -@@ -65,7 +65,7 @@ kde4_add_executable(
133 - target_link_libraries(
134 - kbibtex
135 - LINK_PRIVATE
136 -- ${QT_QTWEBKIT_LIBRARIES}
137 -+ ${OPTIONAL_QTWEBKIT_LIBRARIES}
138 - ${KDE4_KIO_LIBS}
139 - ${KDE4_KPARTS_LIBS}
140 - ${KDE4_KFILE_LIBS}
141
142 diff --git a/app-text/kbibtex/kbibtex-0.6.2.ebuild b/app-text/kbibtex/kbibtex-0.6.2.ebuild
143 deleted file mode 100644
144 index 1ed3726917b..00000000000
145 --- a/app-text/kbibtex/kbibtex-0.6.2.ebuild
146 +++ /dev/null
147 @@ -1,37 +0,0 @@
148 -# Copyright 1999-2017 Gentoo Foundation
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI=6
152 -
153 -inherit kde4-base
154 -
155 -DESCRIPTION="BibTeX editor by KDE to edit bibliographies used with LaTeX"
156 -HOMEPAGE="https://userbase.kde.org/KBibTeX"
157 -SRC_URI="mirror://kde/stable/KBibTeX/${P}.tar.xz"
158 -
159 -LICENSE="GPL-2"
160 -SLOT="4"
161 -KEYWORDS="amd64 x86"
162 -IUSE="debug"
163 -
164 -DEPEND="
165 - app-text/poppler[qt4]
166 - dev-libs/libxml2
167 - dev-libs/libxslt
168 - dev-libs/qoauth:0
169 - virtual/tex-base
170 - x11-libs/libqxt
171 -"
172 -RDEPEND="${DEPEND}
173 - dev-tex/bibtex2html
174 -"
175 -
176 -PATCHES=( "${FILESDIR}/${P}-webkit.patch" )
177 -
178 -src_configure() {
179 - local mycmakeargs=(
180 - -DWITH_QTWEBKIT=OFF
181 - )
182 -
183 - kde4-base_src_configure
184 -}