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-mobilephone/gammu/, app-mobilephone/gammu/files/
Date: Sat, 09 Jun 2018 12:15:40
Message-Id: 1528546518.388ecc249e82835faef95a18f510f86db5ad092c.asturm@gentoo
1 commit: 388ecc249e82835faef95a18f510f86db5ad092c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 12:22:12 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 9 12:15:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388ecc24
7
8 app-mobilephone/gammu: Drop old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-mobilephone/gammu/Manifest | 2 -
13 .../gammu/files/gammu-1.32.0-bashcompdir.patch | 12 ---
14 .../gammu/files/gammu-1.36.8-bashcompdir.patch | 12 ---
15 .../gammu/files/gammu-skip-locktest.patch | 12 ---
16 app-mobilephone/gammu/gammu-1.33.0-r1.ebuild | 88 ----------------------
17 app-mobilephone/gammu/gammu-1.36.8.ebuild | 77 -------------------
18 6 files changed, 203 deletions(-)
19
20 diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest
21 index 649665a5466..ac09a4322d6 100644
22 --- a/app-mobilephone/gammu/Manifest
23 +++ b/app-mobilephone/gammu/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST gammu-1.33.0.tar.bz2 6535262 BLAKE2B 4a5c22dccfec22f1c4158ac3a98376c7c987769fb1a09e727d47ade735b2643d47a6b19aa43aa274be385fc0bbd8460443870211aee3b37bffc88780a607630b SHA512 42252a36c7ad5a2945fcf23fcb1b5bb0201d27e8830d3b4a7f4c36bf00f12f5a0f7797e17098bda8d526d4ddc3b1808c0786dfae0feef9424516fa68bf2f3f1e
26 -DIST gammu-1.36.8.tar.bz2 2095289 BLAKE2B 1c04bc1add840c337499d15c2086155bfb122018cf5b1c6b4c9537a9491f59f57c67b0816c5d3d142fa1d68d6801d3d03468cbde0c228ebd6ebe6830e1f9099f SHA512 4ac86b783570db0105e18ef05fc9408e85d1234ab7de720a232a416ad867d3afbe89db7ed408c06d57f8bb38a2e272f86386f11a89e56f1d750da9e9b579ba09
27 DIST gammu-1.38.5.tar.bz2 2138742 BLAKE2B 7a72a7b67475f73dc3580d618dee379893dc82d7950599b41ed1f7efb5fecd80af3a42a0cc0742cb73d055a4a778eaa4d42037c5be74d9b61a4b53cfe827bd00 SHA512 89a6b3872dfd9b4ebaf8b0f51265fec7e7ef72a42178f85846c7f52d926e96b3087bbe6650c4246e66c2624822021c5803b1bb6ca8ac90f3e5c109a644c0ee80
28 DIST gammu-1.39.0.tar.bz2 2151226 BLAKE2B 0e9b7a3f5321a166bbafe833134f49ac8dc93a68c5522be1c16e5ceb894cb242b644761a90188fbc9fa9dd62bde51828a72b29d09fc37b2aa2911d301dffac39 SHA512 ed8994f6ec25d8ddbed23680e8a02db05c8e7f85aa6b8c0d409b5e8377e7c9e07fc61e62d80f6741d648709fb58a10ec631155d8b1ffc1c7d3b6e425cf53c797
29
30 diff --git a/app-mobilephone/gammu/files/gammu-1.32.0-bashcompdir.patch b/app-mobilephone/gammu/files/gammu-1.32.0-bashcompdir.patch
31 deleted file mode 100644
32 index d7ae0a5b8b1..00000000000
33 --- a/app-mobilephone/gammu/files/gammu-1.32.0-bashcompdir.patch
34 +++ /dev/null
35 @@ -1,12 +0,0 @@
36 -diff -ruN gammu-1.32.0/contrib/CMakeLists.txt gammu-1.32.0-patched/contrib/CMakeLists.txt
37 ---- gammu-1.32.0/contrib/CMakeLists.txt 2012-06-27 04:02:27.000000000 -0400
38 -+++ gammu-1.32.0-patched/contrib/CMakeLists.txt 2013-09-17 16:46:22.852164906 -0400
39 -@@ -85,7 +85,7 @@
40 - if (INSTALL_BASH_COMPLETION)
41 - install (
42 - FILES bash-completion/gammu
43 -- DESTINATION "/etc/bash_completion.d"
44 -+ DESTINATION "/usr/share/bash-completion/"
45 - COMPONENT "bash"
46 - )
47 - endif (INSTALL_BASH_COMPLETION)
48
49 diff --git a/app-mobilephone/gammu/files/gammu-1.36.8-bashcompdir.patch b/app-mobilephone/gammu/files/gammu-1.36.8-bashcompdir.patch
50 deleted file mode 100644
51 index aceef3da980..00000000000
52 --- a/app-mobilephone/gammu/files/gammu-1.36.8-bashcompdir.patch
53 +++ /dev/null
54 @@ -1,12 +0,0 @@
55 -diff -BurpN gammu-1.36.8.orig/contrib/CMakeLists.txt gammu-1.36.8/contrib/CMakeLists.txt
56 ---- gammu-1.36.8.orig/contrib/CMakeLists.txt 2015-12-08 13:38:11.000000000 +0300
57 -+++ gammu-1.36.8/contrib/CMakeLists.txt 2016-01-16 15:49:45.870431342 +0300
58 -@@ -85,7 +85,7 @@ endif (INSTALL_PHP_EXAMPLES)
59 - if (INSTALL_BASH_COMPLETION)
60 - macro_optional_find_package (BashCompletion)
61 - if (NOT BASH_COMPLETION_FOUND)
62 -- set (BASH_COMPLETION_COMPLETIONSDIR "/etc/bash_completion.d" CACHE PATH "Location of bash_completion.d")
63 -+ set (BASH_COMPLETION_COMPLETIONSDIR "/usr/share/bash-completion/completions" CACHE PATH "Location of bash_completion.d")
64 - endif (NOT BASH_COMPLETION_FOUND)
65 - install (
66 - FILES bash-completion/gammu
67
68 diff --git a/app-mobilephone/gammu/files/gammu-skip-locktest.patch b/app-mobilephone/gammu/files/gammu-skip-locktest.patch
69 deleted file mode 100644
70 index a509879d5ed..00000000000
71 --- a/app-mobilephone/gammu/files/gammu-skip-locktest.patch
72 +++ /dev/null
73 @@ -1,12 +0,0 @@
74 -diff -Nru tests/CMakeLists.txt tests/CMakeLists.txt
75 ---- tests/CMakeLists.txt 2009-09-04 10:56:25.000000000 +0200
76 -+++ tests/CMakeLists.txt 2009-09-05 07:46:58.000000000 +0200
77 -@@ -739,7 +739,7 @@
78 -
79 - # Test for locking, only on !WIN32 and if we can write to lock dir
80 - if (NOT WIN32)
81 -- execute_process(COMMAND test -w /var/lock/ RESULT_VARIABLE VAR_LOCK_WRITABLE)
82 -+ set (VAR_LOCK_WRITABLE 1)
83 - if (VAR_LOCK_WRITABLE EQUAL 0)
84 - add_executable(locking locking.c)
85 - target_link_libraries(locking libGammu)
86
87 diff --git a/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild b/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild
88 deleted file mode 100644
89 index f625885a66b..00000000000
90 --- a/app-mobilephone/gammu/gammu-1.33.0-r1.ebuild
91 +++ /dev/null
92 @@ -1,88 +0,0 @@
93 -# Copyright 1999-2018 Gentoo Foundation
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI=5
97 -
98 -PYTHON_COMPAT=( python2_7 )
99 -
100 -inherit eutils cmake-utils python-single-r1
101 -
102 -DESCRIPTION="A tool to handle your cellular phone"
103 -HOMEPAGE="https://wammu.eu/gammu/"
104 -SRC_URI="http://dl.cihar.com/${PN}/releases/${P}.tar.bz2"
105 -
106 -LICENSE="GPL-2"
107 -SLOT="0"
108 -KEYWORDS="amd64 x86"
109 -IUSE="bluetooth curl dbi debug irda mysql nls postgres python usb"
110 -
111 -# TODO: figure out a way to disable gudev
112 -RDEPEND="dev-libs/glib:2=
113 - virtual/libgudev:=
114 - bluetooth? ( net-wireless/bluez:= )
115 - curl? ( net-misc/curl:= )
116 - dbi? ( >=dev-db/libdbi-0.8.3:= )
117 - mysql? ( virtual/mysql:= )
118 - postgres? ( dev-db/postgresql:=[server] )
119 - python? ( ${PYTHON_DEPS} )
120 - usb? ( virtual/libusb:1= )
121 - dev-util/dialog"
122 -DEPEND="${RDEPEND}
123 - irda? ( virtual/os-headers )
124 - nls? ( sys-devel/gettext )"
125 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
126 -
127 -# sys-devel/gettext is needed for creating .mo files
128 -# Supported languages and translated documentation
129 -MY_AVAILABLE_LINGUAS=" af ar bg ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv sw tr zh_CN zh_TW"
130 -
131 -PATCHES=(
132 - "${FILESDIR}/${PN}-skip-locktest.patch"
133 - "${FILESDIR}/${PN}-1.32.0-bashcompdir.patch"
134 -)
135 -
136 -pkg_setup() {
137 - use python && python-single-r1_pkg_setup
138 -}
139 -
140 -src_prepare() {
141 - cmake-utils_src_prepare
142 -
143 - local lang
144 - for lang in ${MY_AVAILABLE_LINGUAS} ; do
145 - if ! has ${lang} ${LINGUAS-${lang}} ; then
146 - rm -rf locale/${lang} || die
147 - fi
148 - done
149 -}
150 -
151 -src_configure() {
152 - # debug flag is used inside cmake-utils.eclass
153 - local mycmakeargs=(
154 - $(cmake-utils_use_with bluetooth Bluez)
155 - $(cmake-utils_use_with irda IRDA)
156 - $(cmake-utils_use_with curl CURL)
157 - $(cmake-utils_use_with usb USB)
158 - $(cmake-utils_use_with python PYTHON)
159 - $(cmake-utils_use_with mysql MySQL)
160 - $(cmake-utils_use_with postgres Postgres)
161 - $(cmake-utils_use_with dbi LibDBI)
162 - $(cmake-utils_use_with nls GettextLibs)
163 - $(cmake-utils_use_with nls Iconv)
164 - -DBUILD_SHARED_LIBS=ON
165 - -DINSTALL_DOC_DIR="share/doc/${PF}"
166 - )
167 - if use python; then
168 - mycmakeargs+=( -DBUILD_PYTHON="${PYTHON}" )
169 - fi
170 - cmake-utils_src_configure
171 -}
172 -
173 -src_test() {
174 - LD_LIBRARY_PATH="${WORKDIR}/${PN}_build/common" cmake-utils_src_test
175 -}
176 -
177 -src_install() {
178 - cmake-utils_src_install
179 - use python && python_optimize
180 -}
181
182 diff --git a/app-mobilephone/gammu/gammu-1.36.8.ebuild b/app-mobilephone/gammu/gammu-1.36.8.ebuild
183 deleted file mode 100644
184 index c9f4dafca20..00000000000
185 --- a/app-mobilephone/gammu/gammu-1.36.8.ebuild
186 +++ /dev/null
187 @@ -1,77 +0,0 @@
188 -# Copyright 1999-2018 Gentoo Foundation
189 -# Distributed under the terms of the GNU General Public License v2
190 -
191 -EAPI=5
192 -
193 -inherit eutils cmake-utils
194 -
195 -DESCRIPTION="A tool to handle your cellular phone"
196 -HOMEPAGE="https://wammu.eu/gammu/"
197 -SRC_URI="http://dl.cihar.com/${PN}/releases/${P}.tar.bz2"
198 -
199 -LICENSE="GPL-2"
200 -SLOT="0"
201 -KEYWORDS="~amd64 ~x86"
202 -IUSE="bluetooth curl dbi debug irda mysql nls postgres usb"
203 -
204 -COMMON_DEPEND="
205 - dev-libs/glib:2=
206 - virtual/libgudev:=
207 - bluetooth? ( net-wireless/bluez:= )
208 - curl? ( net-misc/curl:= )
209 - dbi? ( >=dev-db/libdbi-0.8.3:= )
210 - mysql? ( virtual/mysql:= )
211 - postgres? ( dev-db/postgresql:= )
212 - usb? ( virtual/libusb:1= )
213 -"
214 -DEPEND="
215 - ${COMMON_DEPEND}
216 - irda? ( virtual/os-headers )
217 - nls? ( sys-devel/gettext )
218 -"
219 -RDEPEND="
220 - ${COMMON_DEPEND}
221 - dev-util/dialog
222 -"
223 -
224 -# sys-devel/gettext is needed for creating .mo files
225 -# Supported languages and translated documentation
226 -MY_AVAILABLE_LINGUAS=" af ar bg bn ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ro ru sk sv sw tr zh_CN zh_TW"
227 -
228 -PATCHES=(
229 - "${FILESDIR}/${PN}-skip-locktest.patch"
230 - "${FILESDIR}/${PN}-1.36.8-bashcompdir.patch"
231 -)
232 -
233 -src_prepare() {
234 - cmake-utils_src_prepare
235 -
236 - local lang
237 - for lang in ${MY_AVAILABLE_LINGUAS} ; do
238 - if ! has ${lang} ${LINGUAS-${lang}} ; then
239 - rm -rf locale/${lang} || die
240 - fi
241 - done
242 -}
243 -
244 -src_configure() {
245 - # debug flag is used inside cmake-utils.eclass
246 - local mycmakeargs=(
247 - $(cmake-utils_use_with bluetooth Bluez)
248 - $(cmake-utils_use_with irda IRDA)
249 - $(cmake-utils_use_with curl CURL)
250 - $(cmake-utils_use_with usb USB)
251 - $(cmake-utils_use_with mysql MySQL)
252 - $(cmake-utils_use_with postgres Postgres)
253 - $(cmake-utils_use_with dbi LibDBI)
254 - $(cmake-utils_use_with nls GettextLibs)
255 - $(cmake-utils_use_with nls Iconv)
256 - -DBUILD_SHARED_LIBS=ON
257 - -DINSTALL_DOC_DIR="share/doc/${PF}"
258 - )
259 - cmake-utils_src_configure
260 -}
261 -
262 -src_test() {
263 - LD_LIBRARY_PATH="${WORKDIR}/${PN}_build/common" cmake-utils_src_test
264 -}