Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/pidgin-telegram/, x11-plugins/pidgin-telegram/files/
Date: Mon, 08 Feb 2021 09:59:01
Message-Id: 1612778327.9520892a3a96f921215e524912005a1e8c0be4cb.conikost@gentoo
1 commit: 9520892a3a96f921215e524912005a1e8c0be4cb
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 09:51:36 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 09:58:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9520892a
7
8 x11-plugins/pidgin-telegram: drop old version
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 x11-plugins/pidgin-telegram/Manifest | 1 -
14 .../files/pidgin-telegram-1.4.3-clang.patch | 101 ---------------------
15 .../pidgin-telegram/pidgin-telegram-1.4.4.ebuild | 56 ------------
16 3 files changed, 158 deletions(-)
17
18 diff --git a/x11-plugins/pidgin-telegram/Manifest b/x11-plugins/pidgin-telegram/Manifest
19 index a00c5606393..7f44531286f 100644
20 --- a/x11-plugins/pidgin-telegram/Manifest
21 +++ b/x11-plugins/pidgin-telegram/Manifest
22 @@ -1,2 +1 @@
23 -DIST telegram-purple_1.4.4.orig.tar.gz 495386 BLAKE2B 7ecac3a334f88f3d9c0367c5910d3de03b1e6749f18628a58f90c0ae3602dd04d0a1bec79b1016af236375bfe3eb7d4c40437c31fbbee0e9648e5425e40bb43d SHA512 9907da48b978294749f0697313cc7dbf26358535d6528190d8b61cdce5e478af8e756528a212af806025eb75b7f7ec90054ee763eea327f101ef469d0f4fd43e
24 DIST telegram-purple_1.4.6.orig.tar.gz 497757 BLAKE2B 1f666aaf4ef1913420cf735e3d85e1d91be8a2f07932785d55bc0be37e2cd8cabaf6b0be2b520afafc6636a692086be180d3bd4438215f8b14ae867da9891e18 SHA512 bf3e14a2d1dec7382833011ea891ba5bce81820766b3d6adee582bf0257baadeb7aa7eab7aa6e20adf8dd7728eb653db35b1d8f56bfffe7a92f9bf7506401e6e
25
26 diff --git a/x11-plugins/pidgin-telegram/files/pidgin-telegram-1.4.3-clang.patch b/x11-plugins/pidgin-telegram/files/pidgin-telegram-1.4.3-clang.patch
27 deleted file mode 100644
28 index d7d00d6234e..00000000000
29 --- a/x11-plugins/pidgin-telegram/files/pidgin-telegram-1.4.3-clang.patch
30 +++ /dev/null
31 @@ -1,101 +0,0 @@
32 -From b196e11eabb14d11e5a6b4c3cd65bf115a71f0d9 Mon Sep 17 00:00:00 2001
33 -From: Conrad Kostecki <conrad@××××××××.com>
34 -Date: Wed, 16 Sep 2020 20:55:21 +0200
35 -Subject: [PATCH] configure: fix compilation with clang
36 -
37 -If -L/usr/lib is being included, this will break compiling on 64-bit with clang.
38 -
39 -Signed-off-by: Conrad Kostecki <conrad@××××××××.com>
40 ----
41 - configure | 11 ++++-------
42 - 1 file changed, 4 insertions(+), 7 deletions(-)
43 -
44 -diff --git a/configure b/configure
45 -index 5142055..aed9234 100755
46 ---- a/configure
47 -+++ b/configure
48 -@@ -2283,11 +2283,10 @@ ac_config_headers="$ac_config_headers config.h"
49 - #
50 - # If both header file and library are found, shell commands
51 - # 'action-if-found' is run. If 'action-if-found' is not specified, the
52 --# default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, appends
53 --# '-L$ZLIB_HOME}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
54 --# AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
55 --# for this symbol in a config.h file. Sample usage in a C/C++ source is as
56 --# follows:
57 -+# default action appends '-I${ZLIB_HOME}/include' to CPFLAGS,prepends '-lz'
58 -+# to LIBS, and calls AC_DEFINE(HAVE_LIBZ). You should use autoheader to
59 -+# include a definition for this symbol in a config.h file.
60 -+# Sample usage in a C/C++ source is as follows:
61 - #
62 - # #ifdef HAVE_LIBZ
63 - # #include <zlib.h>
64 -@@ -4079,7 +4078,6 @@ then
65 - ZLIB_OLD_LDFLAGS=$LDFLAGS
66 - ZLIB_OLD_CPPFLAGS=$CPPFLAGS
67 - if test -n "${ZLIB_HOME}"; then
68 -- LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
69 - CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
70 - fi
71 -
72 -@@ -4152,7 +4150,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
73 - #
74 -
75 - CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
76 -- LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
77 - LIBS="-lz $LIBS"
78 -
79 - $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
80 ---
81 -2.28.0
82 -
83 -From b7d92ac6c01f006dde8d317a4311497c6eda0bd7 Mon Sep 17 00:00:00 2001
84 -From: Conrad Kostecki <conrad@××××××××.com>
85 -Date: Wed, 16 Sep 2020 21:02:07 +0200
86 -Subject: [PATCH] configure: fix compilation with clang
87 -
88 -If -L/usr/lib is being included, this will break compiling on 64-bit with clang.
89 -
90 -Signed-off-by: Conrad Kostecki <conrad@××××××××.com>
91 ----
92 - configure | 11 ++++-------
93 - 1 file changed, 4 insertions(+), 7 deletions(-)
94 -
95 -diff --git a/tgl/configure b/tgl/configure
96 -index 701a5d6..7ff1dac 100755
97 ---- a/tgl/configure
98 -+++ b/tgl/configure
99 -@@ -2245,11 +2245,10 @@
100 - #
101 - # If both header file and library are found, shell commands
102 - # 'action-if-found' is run. If 'action-if-found' is not specified, the
103 --# default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, appends
104 --# '-L$ZLIB_HOME}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
105 --# AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
106 --# for this symbol in a config.h file. Sample usage in a C/C++ source is as
107 --# follows:
108 -+# default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, prepends '-lz'
109 -+# to LIBS, and calls AC_DEFINE(HAVE_LIBZ). You should use autoheader to
110 -+# include a definition for this symbol in a config.h file. Sample usage
111 -+# in a C/C++ source is as follows:
112 - #
113 - # #ifdef HAVE_LIBZ
114 - # #include <zlib.h>
115 -@@ -4072,7 +4071,6 @@
116 - ZLIB_OLD_LDFLAGS=$LDFLAGS
117 - ZLIB_OLD_CPPFLAGS=$CPPFLAGS
118 - if test -n "${ZLIB_HOME}"; then
119 -- LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
120 - CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
121 - fi
122 -
123 -@@ -4145,7 +4143,6 @@
124 - #
125 -
126 - CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
127 -- LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
128 - LIBS="-lz $LIBS"
129 -
130 - $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
131 ---
132 -2.28.0
133
134 diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild
135 deleted file mode 100644
136 index 3687b6477ca..00000000000
137 --- a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild
138 +++ /dev/null
139 @@ -1,56 +0,0 @@
140 -# Copyright 1999-2021 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=7
144 -
145 -DESCRIPTION="A libpurple protocol plugin that adds support for the Telegram messenger"
146 -HOMEPAGE="https://github.com/majn/telegram-purple"
147 -SRC_URI="https://github.com/majn/telegram-purple/releases/download/v${PV}/telegram-purple_${PV}.orig.tar.gz"
148 -
149 -LICENSE="GPL-2+"
150 -KEYWORDS="amd64 x86"
151 -SLOT="0"
152 -IUSE="gcrypt libressl +nls +png +webp"
153 -
154 -RDEPEND="
155 - net-im/pidgin
156 - sys-libs/zlib:=
157 - gcrypt? ( dev-libs/libgcrypt:0= )
158 - !gcrypt? (
159 - libressl? ( dev-libs/libressl:0= )
160 - !libressl? ( dev-libs/openssl:0= )
161 - )
162 - png? ( media-libs/libpng:0= )
163 - webp? ( media-libs/libwebp:= )
164 -"
165 -
166 -DEPEND="${RDEPEND}"
167 -
168 -BDEPEND="
169 - nls? ( sys-devel/gettext )
170 - virtual/pkgconfig
171 -"
172 -
173 -S="${WORKDIR}/telegram-purple"
174 -
175 -DOCS=( "AUTHORS" "CHANGELOG.md" "HACKING.md" "HACKING.BUILD.md" "README.md" )
176 -
177 -PATCHES=( "${FILESDIR}/${PN}-1.4.3-clang.patch" )
178 -
179 -src_prepare() {
180 - default
181 -
182 - # Remove '-Werror' to make it compile
183 - find -name 'Makefile*' -exec sed -i -e 's/-Werror //' {} + || die
184 -}
185 -
186 -src_configure() {
187 - local myeconfargs=(
188 - $(use_enable gcrypt)
189 - $(use_enable nls translation)
190 - $(use_enable png libpng)
191 - $(use_enable webp libwebp)
192 - )
193 -
194 - econf "${myeconfargs[@]}"
195 -}