Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/files/, dev-libs/utf8proc/
Date: Fri, 25 Sep 2020 22:19:07
Message-Id: 1601072335.0ed951f2150dfeba33cc53f5b7dae1e235ed708c.epsilon-0@gentoo
1 commit: 0ed951f2150dfeba33cc53f5b7dae1e235ed708c
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Sep 25 22:18:55 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Fri Sep 25 22:18:55 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0ed951f2
7
8 dev-libs/utf8proc: drop old versions
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 .../utf8proc/files/utf8proc-1.1.6-buildflags.patch | 11 ------
14 .../utf8proc/files/utf8proc-1.1.6-soname.patch | 11 ------
15 .../utf8proc/files/utf8proc-1.2-buildflags.patch | 40 ----------------------
16 dev-libs/utf8proc/metadata.xml | 20 ++++++-----
17 dev-libs/utf8proc/utf8proc-1.1.6.ebuild | 36 -------------------
18 dev-libs/utf8proc/utf8proc-1.2-r1.ebuild | 35 -------------------
19 dev-libs/utf8proc/utf8proc-2.5.0.ebuild | 2 +-
20 7 files changed, 13 insertions(+), 142 deletions(-)
21
22 diff --git a/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch b/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch
23 deleted file mode 100644
24 index d9ff3be91..000000000
25 --- a/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch
26 +++ /dev/null
27 @@ -1,11 +0,0 @@
28 ---- a/Makefile 2014-01-26 18:55:57.400996757 +0000
29 -+++ b/Makefile 2014-01-26 19:00:10.264164095 +0000
30 -@@ -3,7 +3,7 @@
31 -
32 - # settings
33 -
34 --cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
35 -+cflags = -std=c99 -pedantic -fpic $(CFLAGS)
36 - cc = $(CC) $(cflags)
37 -
38 -
39
40 diff --git a/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch b/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch
41 deleted file mode 100644
42 index c0463700d..000000000
43 --- a/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch
44 +++ /dev/null
45 @@ -1,11 +0,0 @@
46 ---- a/Makefile 2014-01-26 19:01:17.723542649 +0000
47 -+++ b/Makefile 2014-01-26 19:02:24.532907919 +0000
48 -@@ -34,7 +34,7 @@
49 - ar rs libutf8proc.a utf8proc.o
50 -
51 - libutf8proc.so: utf8proc.o
52 -- $(cc) -shared -o libutf8proc.so utf8proc.o
53 -+ $(cc) -Wl,-soname,libutf8proc.so -shared -o libutf8proc.so utf8proc.o
54 - chmod a-x libutf8proc.so
55 -
56 - libutf8proc.dylib: utf8proc.o
57
58 diff --git a/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
59 deleted file mode 100644
60 index de8847cdf..000000000
61 --- a/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
62 +++ /dev/null
63 @@ -1,40 +0,0 @@
64 - Makefile | 9 +++++----
65 - 1 file changed, 5 insertions(+), 4 deletions(-)
66 -
67 -diff --git a/Makefile b/Makefile
68 -index aba2453..5fab07d 100644
69 ---- a/Makefile
70 -+++ b/Makefile
71 -@@ -6,8 +6,8 @@ AR=ar
72 - INSTALL=install
73 -
74 - # compiler settings
75 --cflags = -O2 -std=c99 -pedantic -Wall -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
76 --cc = $(CC) $(cflags)
77 -+CFLAGS ?= -O2
78 -+CFLAGS += -std=c99 -pedantic -Wall -fpic -DUTF8PROC_EXPORTS
79 -
80 - # shared-library version MAJOR.MINOR.PATCH ... this may be *different*
81 - # from the utf8proc version number because it indicates ABI compatibility,
82 -@@ -54,18 +54,19 @@ data/utf8proc_data.c.new: libutf8proc.$(SHLIB_EXT) data/data_generator.rb data/c
83 - $(MAKE) -C data utf8proc_data.c.new
84 -
85 - utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c
86 -- $(cc) -c -o utf8proc.o utf8proc.c
87 -+ $(CC) $(CFLAGS) -c -o utf8proc.o utf8proc.c
88 -
89 - libutf8proc.a: utf8proc.o
90 - rm -f libutf8proc.a
91 - $(AR) rs libutf8proc.a utf8proc.o
92 -
93 - libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH): utf8proc.o
94 -- $(cc) -shared -o $@ -Wl,-soname -Wl,libutf8proc.so.$(MAJOR) utf8proc.o
95 -+ $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname -Wl,libutf8proc.so.$(MAJOR) utf8proc.o
96 - chmod a-x $@
97 -
98 - libutf8proc.so: libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH)
99 - ln -f -s libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH) $@
100 -+ ln -f -s libutf8proc.so.$(MAJOR).$(MINOR).$(PATCH) $@.$(MAJOR)
101 -
102 - libutf8proc.$(MAJOR).dylib: utf8proc.o
103 - $(cc) -dynamiclib -o $@ $^ -install_name $(libdir)/$@ -Wl,-compatibility_version -Wl,$(MAJOR) -Wl,-current_version -Wl,$(MAJOR).$(MINOR).$(PATCH)
104
105 diff --git a/dev-libs/utf8proc/metadata.xml b/dev-libs/utf8proc/metadata.xml
106 index b411feb93..daf64208c 100644
107 --- a/dev-libs/utf8proc/metadata.xml
108 +++ b/dev-libs/utf8proc/metadata.xml
109 @@ -5,15 +5,19 @@
110 <email>sci@g.o</email>
111 <name>Gentoo Science Project</name>
112 </maintainer>
113 + <maintainer type="person">
114 + <email>gentoo@×××××.cc</email>
115 + <name>Aisha Tammy</name>
116 + </maintainer>
117 <longdescription>
118 -utf8proc is a library for processing UTF-8 encoded Unicode
119 -strings. Some features are Unicode normalization, stripping of
120 -default ignorable characters, case folding and detection of grapheme
121 -cluster boundaries. A special character mapping is available, which
122 -converts for example the characters “Hyphen” (U+2010), “Minus”
123 -(U+2212) and “Hyphen-Minus” (U+002D, ASCII Minus) all into the ASCII
124 -minus sign, to make them equal for comparisons.
125 -</longdescription>
126 + utf8proc is a library for processing UTF-8 encoded Unicode
127 + strings. Some features are Unicode normalization, stripping of
128 + default ignorable characters, case folding and detection of grapheme
129 + cluster boundaries. A special character mapping is available, which
130 + converts for example the characters “Hyphen” (U+2010), “Minus”
131 + (U+2212) and “Hyphen-Minus” (U+002D, ASCII Minus) all into the ASCII
132 + minus sign, to make them equal for comparisons.
133 + </longdescription>
134 <upstream>
135 <remote-id type="github">JuliaLang/utf8proc</remote-id>
136 </upstream>
137
138 diff --git a/dev-libs/utf8proc/utf8proc-1.1.6.ebuild b/dev-libs/utf8proc/utf8proc-1.1.6.ebuild
139 deleted file mode 100644
140 index 0cf65af75..000000000
141 --- a/dev-libs/utf8proc/utf8proc-1.1.6.ebuild
142 +++ /dev/null
143 @@ -1,36 +0,0 @@
144 -# Copyright 1999-2014 Gentoo Foundation
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI=5
148 -
149 -inherit eutils
150 -
151 -DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
152 -HOMEPAGE="http://www.public-software-group.org/utf8proc"
153 -SRC_URI="http://www.public-software-group.org/pub/projects/${PN}/v${PV}/utf8proc-v${PV}.tar.gz"
154 -S="${WORKDIR}/${PN}-v${PV}"
155 -
156 -LICENSE="MIT"
157 -SLOT="0"
158 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
159 -IUSE="static-libs"
160 -
161 -DEPEND=""
162 -RDEPEND="${DEPEND}"
163 -
164 -src_prepare() {
165 - epatch \
166 - "${FILESDIR}"/${P}-soname.patch \
167 - "${FILESDIR}"/${P}-buildflags.patch
168 -}
169 -
170 -src_compile() {
171 - emake libutf8proc.so
172 - use static-libs & emake libutf8proc.a
173 -}
174 -
175 -src_install() {
176 - doheader utf8proc.h
177 - dolib.so libutf8proc.so
178 - use static-libs && dolib.a libutf8proc.a
179 -}
180
181 diff --git a/dev-libs/utf8proc/utf8proc-1.2-r1.ebuild b/dev-libs/utf8proc/utf8proc-1.2-r1.ebuild
182 deleted file mode 100644
183 index d57e4100f..000000000
184 --- a/dev-libs/utf8proc/utf8proc-1.2-r1.ebuild
185 +++ /dev/null
186 @@ -1,35 +0,0 @@
187 -# Copyright 1999-2015 Gentoo Foundation
188 -# Distributed under the terms of the GNU General Public License v2
189 -
190 -EAPI=5
191 -
192 -inherit eutils toolchain-funcs
193 -
194 -DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
195 -HOMEPAGE="http://www.public-software-group.org/utf8proc"
196 -SRC_URI="https://github.com/JuliaLang/${PN}/archive/v1.2.tar.gz -> ${P}.tar.gz"
197 -
198 -LICENSE="MIT"
199 -SLOT="0"
200 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
201 -IUSE="static-libs"
202 -
203 -src_prepare() {
204 - epatch "${FILESDIR}"/"${P}"-buildflags.patch
205 -}
206 -
207 -src_compile() {
208 - emake \
209 - libutf8proc.so \
210 - $(usex static-libs libutf8proc.a "") \
211 - CC=$(tc-getCC) \
212 - AR=$(tc-getAR)
213 -# CFLAGS="${CFLAGS}"
214 -# LDFLAGS="${LDFLAGS} -Wl,--soname,lib${PN}.${PV}"
215 -}
216 -
217 -src_install() {
218 - doheader utf8proc.h
219 - dolib.so libutf8proc.so*
220 - use static-libs && dolib.a libutf8proc.a
221 -}
222
223 diff --git a/dev-libs/utf8proc/utf8proc-2.5.0.ebuild b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
224 index a44b3c93c..a41743112 100644
225 --- a/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
226 +++ b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
227 @@ -23,4 +23,4 @@ src_configure() {
228 -DUTF8PROC_ENABLE_TESTING=$(usex test)
229 )
230 cmake_src_configure
231 -}
232 \ No newline at end of file
233 +}