Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libyui/, x11-libs/libyui/files/
Date: Wed, 24 Jan 2018 22:10:56
Message-Id: 1516831811.8cabe91a33845dde8d642c6c16b600c3712c928e.asturm@gentoo
1 commit: 8cabe91a33845dde8d642c6c16b600c3712c928e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 24 22:10:11 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 24 22:10:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cabe91a
7
8 x11-libs/libyui: Drop old
9
10 Qt4 is dead.
11
12 Package-Manager: Portage-2.3.20, Repoman-2.3.6
13
14 x11-libs/libyui/Manifest | 2 -
15 .../files/libyui-3.0.13-fix-qt-libs-check.patch | 34 ---------------
16 x11-libs/libyui/libyui-3.0.13.ebuild | 50 ----------------------
17 x11-libs/libyui/libyui-3.2.5.ebuild | 50 ----------------------
18 4 files changed, 136 deletions(-)
19
20 diff --git a/x11-libs/libyui/Manifest b/x11-libs/libyui/Manifest
21 index fc2935eb06c..7eb785f0fdd 100644
22 --- a/x11-libs/libyui/Manifest
23 +++ b/x11-libs/libyui/Manifest
24 @@ -1,3 +1 @@
25 -DIST libyui-3.0.13.tar.gz 204028 BLAKE2B e5b958807e98c7bf3b89412dd8669967469e8eba8b37f3629fc081c1d92eb81083577267b2aa6e5570d58aefa8b270369da1cd5a83add8c7ead8ba0c5398f6d5 SHA512 b698c4d44d9fa1d888b52f8d5e2216ff4a490ef97c153fac52674a237527807140663d87ceac7b36b0c6092e9035eaec7bfe7a2e1e93922de106873130a69c66
26 -DIST libyui-3.2.5.tar.gz 218517 BLAKE2B c84808eab5e23d62ffe871f916c99f0a5b9913c98f212c9c581258bdb25ae273ada14ae408dffea7a6442e8e5fb96533c9cd93f512c446f4b192b4619a952927 SHA512 174ec6893f749bc81495c2ee620e8c7d85e9cdb61db08d4f7d800c13306eb76e0f40d20a1eafeb579344b35d99f9735b65e63525ddd804cbe30ab7f4c18bec43
27 DIST libyui-3.3.3.tar.gz 230452 BLAKE2B 4be43bb4959eac5cd7c5974774130cb948367cae55dc83ad67b26d0c57f79cd1b8a7328b695478c450c3373167d0d74e2455e7804b4f25fd51b8386ceb113df1 SHA512 1db31218703c90e7b8b877b613997e0984275a0923c7837c6e813626c0037d56d524168e0f56e8ca36561c1af5480a0f379e8f87fbc4a380570a6d9ab336977f
28
29 diff --git a/x11-libs/libyui/files/libyui-3.0.13-fix-qt-libs-check.patch b/x11-libs/libyui/files/libyui-3.0.13-fix-qt-libs-check.patch
30 deleted file mode 100644
31 index 63ac43ee1af..00000000000
32 --- a/x11-libs/libyui/files/libyui-3.0.13-fix-qt-libs-check.patch
33 +++ /dev/null
34 @@ -1,34 +0,0 @@
35 ---- buildtools/LibyuiCommon.cmake 2014-02-10 19:41:45.000000000 +0400
36 -+++ buildtools/LibyuiCommon.cmake 2014-09-10 23:16:10.317115440 +0400
37 -@@ -245,12 +245,17 @@
38 -
39 - MACRO( FIND_LINKER_LIBS ) # try to find all libs to be linked against
40 - FOREACH( p ${LIB_LINKER})
41 -- FIND_LIBRARY( ${p}_LOOKUP "${p}" )
42 -- IF( "${${p}_LOOKUP}" STREQUAL "${p}_LOOKUP-NOTFOUND" )
43 -- MESSAGE( FATAL_ERROR "Linker-Library ${p} NOT FOUND" )
44 -- ELSE( "${${p}_LOOKUP}" STREQUAL "${p}_LOOKUP-NOTFOUND" )
45 -- MESSAGE( STATUS "${p} found" )
46 -- ENDIF( "${${p}_LOOKUP}" STREQUAL "${p}_LOOKUP-NOTFOUND" )
47 -+ STRING(FIND "${p}" "Qt" ISQT)
48 -+ IF( ISQT GREATER -1 )
49 -+ FIND_PACKAGE(Qt4 4.8 REQUIRED ${p})
50 -+ ELSE( ISQT GREATER -1 )
51 -+ FIND_LIBRARY( ${p}_LOOKUP "${p}" )
52 -+ IF( "${${p}_LOOKUP}" STREQUAL "${p}_LOOKUP-NOTFOUND" )
53 -+ MESSAGE( FATAL_ERROR "Linker-Library ${p} NOT FOUND" )
54 -+ ELSE( "${${p}_LOOKUP}" STREQUAL "${p}_LOOKUP-NOTFOUND" )
55 -+ MESSAGE( STATUS "${p} found" )
56 -+ ENDIF( "${${p}_LOOKUP}" STREQUAL "${p}_LOOKUP-NOTFOUND" )
57 -+ ENDIF( ISQT GREATER -1 )
58 - ENDFOREACH()
59 -
60 - ENDMACRO( FIND_LINKER_LIBS )
61 -@@ -616,6 +616,7 @@
62 -
63 - QT4_AUTOMOC( ${${TARGETLIB}_SOURCES} )
64 - QT4_WRAP_UI( ${TARGETLIB}_SOURCES "${${TARGETLIB}_WRAP_UI}" )
65 -+ LINK_DIRECTORIES( ${QT_LIBRARY_DIR} )
66 -
67 - ENDIF( QT_FOUND )
68 -
69
70 diff --git a/x11-libs/libyui/libyui-3.0.13.ebuild b/x11-libs/libyui/libyui-3.0.13.ebuild
71 deleted file mode 100644
72 index 5ed10cadaf7..00000000000
73 --- a/x11-libs/libyui/libyui-3.0.13.ebuild
74 +++ /dev/null
75 @@ -1,50 +0,0 @@
76 -# Copyright 1999-2014 Gentoo Foundation
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=5
80 -
81 -inherit cmake-utils
82 -
83 -DESCRIPTION="UI abstraction library"
84 -HOMEPAGE="https://github.com/libyui/libyui"
85 -SRC_URI="https://github.com/libyui/${PN}/archive/${PN}/master/${PV}.tar.gz -> ${P}.tar.gz"
86 -
87 -LICENSE="GPL-3"
88 -SLOT="0/6"
89 -KEYWORDS="~amd64 ~x86"
90 -
91 -IUSE="gtk ncurses qt4 static-libs"
92 -
93 -# Only Boost headers are needed
94 -DEPEND="dev-libs/boost"
95 -PDEPEND="
96 - qt4? ( x11-libs/libyui-qt:${SLOT} )
97 - ncurses? ( x11-libs/libyui-ncurses:${SLOT} )
98 - gtk? ( x11-libs/libyui-gtk:${SLOT} )
99 - "
100 -
101 -PATCHES=( "${FILESDIR}/${P}-fix-qt-libs-check.patch" )
102 -
103 -REQUIRED_USE="|| ( gtk ncurses qt4 )"
104 -
105 -S="${WORKDIR}/${PN}-${PN}-master-${PV}"
106 -
107 -src_prepare() {
108 - cp buildtools/CMakeLists.common CMakeLists.txt || die
109 -
110 - # TODO: set proper docs deps and USE flag for building them
111 - sed -i -e '/SET_AUTODOCS/d' CMakeLists.txt || die 'sed on CMakeLists.txt failed'
112 - sed -i -e 's/src examples/src/' PROJECTINFO.cmake || die 'sed on PROJECTINFO.cmake failed'
113 -
114 - cmake-utils_src_prepare
115 -}
116 -
117 -src_configure() {
118 - local mycmakeargs=(
119 - -DENABLE_WERROR=OFF
120 - -DDOC_DIR="${EPREFIX}/usr/share/doc/${P}"
121 - -DRESPECT_FLAGS=ON
122 - $(cmake-utils_use_enable static-libs STATIC)
123 - )
124 - cmake-utils_src_configure
125 -}
126
127 diff --git a/x11-libs/libyui/libyui-3.2.5.ebuild b/x11-libs/libyui/libyui-3.2.5.ebuild
128 deleted file mode 100644
129 index b5c8ddfa616..00000000000
130 --- a/x11-libs/libyui/libyui-3.2.5.ebuild
131 +++ /dev/null
132 @@ -1,50 +0,0 @@
133 -# Copyright 1999-2016 Gentoo Foundation
134 -# Distributed under the terms of the GNU General Public License v2
135 -
136 -EAPI=5
137 -
138 -inherit cmake-utils
139 -
140 -DESCRIPTION="UI abstraction library"
141 -HOMEPAGE="https://github.com/libyui/libyui"
142 -SRC_URI="https://github.com/libyui/${PN}/archive/${PN}/master/${PV}.tar.gz -> ${P}.tar.gz"
143 -
144 -LICENSE="GPL-3"
145 -SLOT="0/6"
146 -KEYWORDS="~amd64 ~x86"
147 -
148 -IUSE="gtk ncurses qt4 static-libs"
149 -
150 -# Only Boost headers are needed
151 -DEPEND="dev-libs/boost"
152 -PDEPEND="
153 - qt4? ( x11-libs/libyui-qt:${SLOT} )
154 - ncurses? ( x11-libs/libyui-ncurses:${SLOT} )
155 - gtk? ( x11-libs/libyui-gtk:${SLOT} )
156 - "
157 -
158 -PATCHES=( "${FILESDIR}/${PN}-3.0.13-fix-qt-libs-check.patch" )
159 -
160 -REQUIRED_USE="|| ( gtk ncurses qt4 )"
161 -
162 -S="${WORKDIR}/${PN}-${PN}-master-${PV}"
163 -
164 -src_prepare() {
165 - cp buildtools/CMakeLists.common CMakeLists.txt || die
166 -
167 - # TODO: set proper docs deps and USE flag for building them
168 - sed -i -e '/SET_AUTODOCS/d' CMakeLists.txt || die 'sed on CMakeLists.txt failed'
169 - sed -i -e 's/src examples/src/' PROJECTINFO.cmake || die 'sed on PROJECTINFO.cmake failed'
170 -
171 - cmake-utils_src_prepare
172 -}
173 -
174 -src_configure() {
175 - local mycmakeargs=(
176 - -DENABLE_WERROR=OFF
177 - -DDOC_DIR="${EPREFIX}/usr/share/doc/${P}"
178 - -DRESPECT_FLAGS=ON
179 - $(cmake-utils_use_enable static-libs STATIC)
180 - )
181 - cmake-utils_src_configure
182 -}