Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pficommon/files/, dev-cpp/pficommon/
Date: Fri, 26 Jan 2018 23:31:57
Message-Id: 1517009491.ebc2e81a53bd9d7af6da1a9abdd067f6e847b71d.zlogene@gentoo
1 commit: ebc2e81a53bd9d7af6da1a9abdd067f6e847b71d
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 26 23:26:45 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 26 23:31:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc2e81a
7
8 dev-cpp/pficommon: remove last rited package
9
10 Closes: https://bugs.gentoo.org/514400
11 Closes: https://bugs.gentoo.org/596078
12 Closes: https://bugs.gentoo.org/598609
13 Closes: https://bugs.gentoo.org/640096
14 Closes: https://bugs.gentoo.org/641428
15
16 dev-cpp/pficommon/Manifest | 1 -
17 .../files/pficommon-1.3.1.0-gcc-4.7.patch | 50 ---
18 .../pficommon/files/pficommon-1.3.1.0-gcc6.patch | 350 ---------------------
19 .../pficommon/files/pficommon-1.3.1.0-libdir.patch | 49 ---
20 .../files/pficommon-1.3.1.0-postgresql.patch | 13 -
21 .../pficommon/files/pficommon-1.3.1.0-soname.patch | 200 ------------
22 dev-cpp/pficommon/metadata.xml | 14 -
23 dev-cpp/pficommon/pficommon-1.3.1.0.ebuild | 58 ----
24 8 files changed, 735 deletions(-)
25
26 diff --git a/dev-cpp/pficommon/Manifest b/dev-cpp/pficommon/Manifest
27 deleted file mode 100644
28 index 46194964745..00000000000
29 --- a/dev-cpp/pficommon/Manifest
30 +++ /dev/null
31 @@ -1 +0,0 @@
32 -DIST pficommon-1.3.1.0.tar.gz 441406 BLAKE2B 647fd263392db90725609248a684295b207f68701c668c569ce85859796f719963e14fdf51ad93841d6e540df63197b586d0a13aace3c23ddb26a129dacf2fff SHA512 95ef445c2f004c0921bdcae7ee50fc3a744d4960f9bc76c13254394c4ae41fad11ea200002b9fde3e099ef509ffe9ba9ea21d69ba1123699ab3338d7afbcf420
33
34 diff --git a/dev-cpp/pficommon/files/pficommon-1.3.1.0-gcc-4.7.patch b/dev-cpp/pficommon/files/pficommon-1.3.1.0-gcc-4.7.patch
35 deleted file mode 100644
36 index 283ef2d7da9..00000000000
37 --- a/dev-cpp/pficommon/files/pficommon-1.3.1.0-gcc-4.7.patch
38 +++ /dev/null
39 @@ -1,50 +0,0 @@
40 -From 5669e7ea665323ee774eda9c77206102fa499453 Mon Sep 17 00:00:00 2001
41 -From: Hideyuki Tanaka <tanaka.hideyuki@×××××.com>
42 -Date: Mon, 21 May 2012 17:21:34 +0900
43 -Subject: [PATCH] add include <unistd.h> (for gcc-4.7.0)
44 -
45 ----
46 - src/network/socket.cpp | 1 +
47 - src/system/mmapper.cpp | 1 +
48 - tools/genrpc/main.cpp | 1 +
49 - 3 files changed, 3 insertions(+)
50 -
51 -diff --git a/src/network/socket.cpp b/src/network/socket.cpp
52 -index b5c50e4..1fba6e6 100644
53 ---- a/src/network/socket.cpp
54 -+++ b/src/network/socket.cpp
55 -@@ -40,6 +40,7 @@
56 - #include <netinet/in.h>
57 - #include <netinet/tcp.h>
58 - #include <arpa/inet.h>
59 -+#include <unistd.h>
60 -
61 - #include "dns.h"
62 - #include "../system/syscall.h"
63 -diff --git a/src/system/mmapper.cpp b/src/system/mmapper.cpp
64 -index 90eb7b8..e963fd8 100644
65 ---- a/src/system/mmapper.cpp
66 -+++ b/src/system/mmapper.cpp
67 -@@ -35,6 +35,7 @@
68 - #include <sys/stat.h>
69 - #include <fcntl.h>
70 - #include <sys/mman.h>
71 -+#include <unistd.h>
72 -
73 - #include "syscall.h"
74 -
75 -diff --git a/tools/genrpc/main.cpp b/tools/genrpc/main.cpp
76 -index 100ea4e..3e5ef16 100644
77 ---- a/tools/genrpc/main.cpp
78 -+++ b/tools/genrpc/main.cpp
79 -@@ -4,6 +4,7 @@
80 - #include <cctype>
81 - #include <cstring>
82 - #include <cstdio>
83 -+#include <unistd.h>
84 - using namespace std;
85 -
86 - #include "../../src/lang/shared_ptr.h"
87 ---
88 -1.7.10
89 -
90
91 diff --git a/dev-cpp/pficommon/files/pficommon-1.3.1.0-gcc6.patch b/dev-cpp/pficommon/files/pficommon-1.3.1.0-gcc6.patch
92 deleted file mode 100644
93 index 62373838919..00000000000
94 --- a/dev-cpp/pficommon/files/pficommon-1.3.1.0-gcc6.patch
95 +++ /dev/null
96 @@ -1,350 +0,0 @@
97 ---- a/src/network/cgi/inserter.cpp
98 -+++ b/src/network/cgi/inserter.cpp
99 -@@ -50,8 +50,8 @@
100 -
101 - tag_inserter::~tag_inserter()
102 - {
103 -- shared_ptr<tag_elem> elem(new tag_elem(name, attrs));
104 -- vector<shared_ptr<html_elem> > children=b.leave();
105 -+ pfi::lang::shared_ptr<tag_elem> elem(new tag_elem(name, attrs));
106 -+ vector<pfi::lang::shared_ptr<html_elem> > children=b.leave();
107 - for (int i=0;i<(int)children.size();i++)
108 - elem->add_child(children[i]);
109 - b.push(elem);
110 -@@ -59,12 +59,12 @@
111 -
112 - text_inserter::text_inserter(const string &text, xhtml_builder &b)
113 - {
114 -- b.push(shared_ptr<html_elem>(new text_elem(text)));
115 -+ b.push(pfi::lang::shared_ptr<html_elem>(new text_elem(text)));
116 - }
117 -
118 - prim_inserter::prim_inserter(const string &text, xhtml_builder &b)
119 - {
120 -- b.push(shared_ptr<html_elem>(new prim_elem(text)));
121 -+ b.push(pfi::lang::shared_ptr<html_elem>(new prim_elem(text)));
122 - }
123 -
124 - } // cgi
125 ---- a/src/network/cgi/server.cpp
126 -+++ b/src/network/cgi/server.cpp
127 -@@ -161,12 +161,12 @@
128 - <<", thread-num="<<thread_num
129 - <<", timeout="<<ssock->timeout()<<endl;
130 -
131 -- ths=vector<shared_ptr<thread> >(thread_num);
132 -- vector<shared_ptr<cgi, threading_model::multi_thread> > cgis(thread_num);
133 -+ ths=vector<pfi::lang::shared_ptr<thread> >(thread_num);
134 -+ vector<pfi::lang::shared_ptr<cgi, threading_model::multi_thread> > cgis(thread_num);
135 -
136 - for (int i=0; i<thread_num; i++){
137 -- cgis[i]=shared_ptr<cgi, threading_model::multi_thread>(dynamic_cast<cgi*>(c.clone()));
138 -- ths[i]=shared_ptr<thread>(new thread(bind(&run_server::process, this, ssock, cgis[i])));
139 -+ cgis[i]=pfi::lang::shared_ptr<cgi, threading_model::multi_thread>(dynamic_cast<cgi*>(c.clone()));
140 -+ ths[i]=pfi::lang::shared_ptr<thread>(new thread(bind(&run_server::process, this, ssock, cgis[i])));
141 - if (!ths[i]->start()){
142 - ostringstream oss;
143 - oss<<"unable to start thread"<<endl;
144 -@@ -185,7 +185,7 @@
145 - ths.clear();
146 - }
147 -
148 --static shared_ptr<http::response> gen_resp(stringstream &ss)
149 -+static pfi::lang::shared_ptr<http::response> gen_resp(stringstream &ss)
150 - {
151 - http::header head(ss);
152 -
153 -@@ -210,7 +210,7 @@
154 - head.erase("status");
155 - }
156 -
157 -- shared_ptr<http::response> resp(new http::response(code, reason));
158 -+ pfi::lang::shared_ptr<http::response> resp(new http::response(code, reason));
159 -
160 - head["Content-Type"]=content_type;
161 -
162 -@@ -232,10 +232,10 @@
163 - }
164 -
165 - void run_server::process(socket_type ssock,
166 -- shared_ptr<cgi, threading_model::multi_thread> cc)
167 -+ pfi::lang::shared_ptr<cgi, threading_model::multi_thread> cc)
168 - {
169 - for (;;){
170 -- shared_ptr<stream_socket> sock(ssock->accept());
171 -+ pfi::lang::shared_ptr<stream_socket> sock(ssock->accept());
172 - if (!sock) continue;
173 -
174 - if (ssock->timeout()>0 && !sock->set_timeout(ssock->timeout()))
175 -@@ -272,7 +272,7 @@
176 -
177 - cc->exec(req.body(), sout, cerr, env);
178 -
179 -- shared_ptr<http::response> resp=gen_resp(sout);
180 -+ pfi::lang::shared_ptr<http::response> resp=gen_resp(sout);
181 - resp->send(sock);
182 - }
183 - catch(const exception &e){
184 ---- a/src/network/http/base.cpp
185 -+++ b/src/network/http/base.cpp
186 -@@ -61,7 +61,7 @@
187 - {
188 - }
189 -
190 --void header::read_header(function<bool(string*)> f)
191 -+void header::read_header(pfi::lang::function<bool(string*)> f)
192 - {
193 - string line, key, val;
194 - if (!f(&line))
195 -@@ -124,7 +124,7 @@
196 - return sock->getline(*str, line_limit);
197 - }
198 -
199 --header::header(shared_ptr<stream_socket> sock)
200 -+header::header(pfi::lang::shared_ptr<stream_socket> sock)
201 - {
202 - read_header(bind(&socket_getline, sock.get(), _1, line_limit));
203 - }
204 -@@ -211,7 +211,7 @@
205 - return dat.end();
206 - }
207 -
208 --void header::send(shared_ptr<stream_socket> sock)
209 -+void header::send(pfi::lang::shared_ptr<stream_socket> sock)
210 - {
211 - for (int i=0;i<(int)dat.size();i++){
212 - string line=dat[i].first+": "+dat[i].second+"\r\n";
213 -@@ -228,7 +228,7 @@
214 - public:
215 - typedef C char_type;
216 -
217 -- basic_httpbody_chunked_streambuf(shared_ptr<stream_socket> sock)
218 -+ basic_httpbody_chunked_streambuf(pfi::lang::shared_ptr<stream_socket> sock)
219 - : sock(sock)
220 - , chunk_rest(0)
221 - , buf(buf_size)
222 -@@ -321,7 +321,7 @@
223 - iss>>hex>>chunk_rest;
224 - }
225 -
226 -- shared_ptr<stream_socket> sock;
227 -+ pfi::lang::shared_ptr<stream_socket> sock;
228 -
229 - int chunk_rest;
230 -
231 -@@ -334,7 +334,7 @@
232 - public:
233 - typedef C char_type;
234 -
235 -- basic_httpbody_streambuf(shared_ptr<stream_socket> sock, int length)
236 -+ basic_httpbody_streambuf(pfi::lang::shared_ptr<stream_socket> sock, int length)
237 - : sock(sock)
238 - , rest(length)
239 - , buf(T::eof()){
240 -@@ -359,7 +359,7 @@
241 - }
242 -
243 - private:
244 -- shared_ptr<stream_socket> sock;
245 -+ pfi::lang::shared_ptr<stream_socket> sock;
246 -
247 - int rest;
248 - int buf;
249 -@@ -368,7 +368,7 @@
250 - template <class C, class T=char_traits<C> >
251 - class basic_httpbody_chunked_stream : public basic_iostream<C,T>{
252 - public:
253 -- basic_httpbody_chunked_stream(shared_ptr<stream_socket> sock)
254 -+ basic_httpbody_chunked_stream(pfi::lang::shared_ptr<stream_socket> sock)
255 - : basic_iostream<C,T>()
256 - , buf(sock){
257 - this->init(&buf);
258 -@@ -380,7 +380,7 @@
259 - template <class C, class T=char_traits<C> >
260 - class basic_httpbody_stream : public basic_iostream<C,T>{
261 - public:
262 -- basic_httpbody_stream(shared_ptr<stream_socket> sock, int len)
263 -+ basic_httpbody_stream(pfi::lang::shared_ptr<stream_socket> sock, int len)
264 - : basic_iostream<C,T>()
265 - , buf(sock, len){
266 - this->init(&buf);
267 -@@ -406,7 +406,7 @@
268 - {
269 - }
270 -
271 --request::request(shared_ptr<stream_socket> sock)
272 -+request::request(pfi::lang::shared_ptr<stream_socket> sock)
273 - : method_("")
274 - , uri_("/")
275 - , version_(1,1)
276 -@@ -438,11 +438,11 @@
277 -
278 - // body
279 - if (cicmp(header_["Transfer-Encoding"],"chunked"))
280 -- stream=shared_ptr<iostream>(new basic_httpbody_chunked_stream<char>(sock));
281 -+ stream=pfi::lang::shared_ptr<iostream>(new basic_httpbody_chunked_stream<char>(sock));
282 - else if (header_["Content-Length"]!="")
283 -- stream=shared_ptr<iostream>(new basic_httpbody_stream<char>(sock, lexical_cast<int>(header_["Content-Length"])));
284 -+ stream=pfi::lang::shared_ptr<iostream>(new basic_httpbody_stream<char>(sock, lexical_cast<int>(header_["Content-Length"])));
285 - else
286 -- stream=shared_ptr<iostream>(new socketstream(sock));
287 -+ stream=pfi::lang::shared_ptr<iostream>(new socketstream(sock));
288 - }
289 -
290 - request::~request()
291 -@@ -474,7 +474,7 @@
292 - return *stream;
293 - }
294 -
295 --void request::send(shared_ptr<stream_socket> sock)
296 -+void request::send(pfi::lang::shared_ptr<stream_socket> sock)
297 - {
298 - stringstream *ss=dynamic_cast<stringstream*>(stream.get());
299 - if (!ss) throw http_exception("body is not stringstream");
300 -@@ -499,7 +499,7 @@
301 - if (sock->flush()>=0)
302 - throw http_exception("flush failed");
303 - if (dat.length()==0)
304 -- stream=shared_ptr<iostream>(new socketstream(sock));
305 -+ stream=pfi::lang::shared_ptr<iostream>(new socketstream(sock));
306 - }
307 -
308 - response::response()
309 -@@ -518,7 +518,7 @@
310 - {
311 - }
312 -
313 --response::response(shared_ptr<stream_socket> sock)
314 -+response::response(pfi::lang::shared_ptr<stream_socket> sock)
315 - {
316 - // status-line
317 - {
318 -@@ -546,11 +546,11 @@
319 -
320 - // body
321 - if (cicmp(header_["Transfer-Encoding"],"chunked"))
322 -- stream=shared_ptr<iostream>(new basic_httpbody_chunked_stream<char>(sock));
323 -+ stream=pfi::lang::shared_ptr<iostream>(new basic_httpbody_chunked_stream<char>(sock));
324 - else if (header_["Content-Length"]!="")
325 -- stream=shared_ptr<iostream>(new basic_httpbody_stream<char>(sock, lexical_cast<int>(header_["Content-Length"])));
326 -+ stream=pfi::lang::shared_ptr<iostream>(new basic_httpbody_stream<char>(sock, lexical_cast<int>(header_["Content-Length"])));
327 - else
328 -- stream=shared_ptr<iostream>(new socketstream(sock));
329 -+ stream=pfi::lang::shared_ptr<iostream>(new socketstream(sock));
330 - }
331 -
332 - response::~response()
333 -@@ -582,7 +582,7 @@
334 - return *stream;
335 - }
336 -
337 --void response::send(shared_ptr<stream_socket> sock)
338 -+void response::send(pfi::lang::shared_ptr<stream_socket> sock)
339 - {
340 - stringstream *ss=dynamic_cast<stringstream*>(stream.get());
341 - if (!ss) throw http_exception("body is not stringstream");
342 -@@ -607,7 +607,7 @@
343 - if (sock->flush()>=0)
344 - throw http_exception("flush failed");
345 - if (dat.length()==0)
346 -- stream=shared_ptr<iostream>(new socketstream(sock));
347 -+ stream=pfi::lang::shared_ptr<iostream>(new socketstream(sock));
348 - }
349 -
350 - } // http
351 ---- a/src/network/rpc/base.cpp
352 -+++ b/src/network/rpc/base.cpp
353 -@@ -59,20 +59,20 @@
354 - {
355 - }
356 -
357 --void rpc_server::add(const string &name, shared_ptr<invoker_base> invoker)
358 -+void rpc_server::add(const string &name, pfi::lang::shared_ptr<invoker_base> invoker)
359 - {
360 - funcs[name]=invoker;
361 - }
362 -
363 - bool rpc_server::serv(uint16_t port, int nthreads)
364 - {
365 -- shared_ptr<server_socket, threading_model::multi_thread> ssock(new server_socket());
366 -+ pfi::lang::shared_ptr<server_socket, threading_model::multi_thread> ssock(new server_socket());
367 - if (!ssock->create(port))
368 - return false;
369 -
370 -- vector<shared_ptr<thread> > ths(nthreads);
371 -+ vector<pfi::lang::shared_ptr<thread> > ths(nthreads);
372 - for (int i=0; i<nthreads; i++){
373 -- ths[i]=shared_ptr<thread>(new thread(bind(&rpc_server::process, this, ssock)));
374 -+ ths[i]=pfi::lang::shared_ptr<thread>(new thread(bind(&rpc_server::process, this, ssock)));
375 - if (!ths[i]->start()) return false;
376 - }
377 - for (int i=0; i<nthreads; i++)
378 -@@ -80,10 +80,10 @@
379 - return true;
380 - }
381 -
382 --void rpc_server::process(shared_ptr<server_socket, threading_model::multi_thread> ssock)
383 -+void rpc_server::process(pfi::lang::shared_ptr<server_socket, threading_model::multi_thread> ssock)
384 - {
385 - for (;;){
386 -- shared_ptr<stream_socket> sock(ssock->accept());
387 -+ pfi::lang::shared_ptr<stream_socket> sock(ssock->accept());
388 - if (!sock) continue;
389 - sock->set_nodelay(true);
390 -
391 -@@ -139,11 +139,11 @@
392 - {
393 - }
394 -
395 --shared_ptr<socketstream> rpc_client::get_connection()
396 -+pfi::lang::shared_ptr<socketstream> rpc_client::get_connection()
397 - {
398 - for (int i=0;i<2;i++){
399 - if (!ss || !(*ss)){
400 -- ss=shared_ptr<socketstream>(new socketstream(host, port));
401 -+ ss=pfi::lang::shared_ptr<socketstream>(new socketstream(host, port));
402 - if (!(*ss)){
403 - ss.reset();
404 - continue;
405 -@@ -180,7 +180,7 @@
406 - return ss;
407 - }
408 -
409 --void rpc_client::return_connection(shared_ptr<socketstream> css)
410 -+void rpc_client::return_connection(pfi::lang::shared_ptr<socketstream> css)
411 - {
412 - ss=css;
413 - }
414 ---- a/src/network/socket.cpp
415 -+++ b/src/network/socket.cpp
416 -@@ -58,7 +58,7 @@
417 - namespace pfi{
418 - namespace network{
419 -
420 --shared_ptr<dns_resolver, threading_model::multi_thread> stream_socket::resolver;
421 -+pfi::lang::shared_ptr<dns_resolver, threading_model::multi_thread> stream_socket::resolver;
422 - r_mutex stream_socket::resolver_m;
423 -
424 - class sigign{
425 -@@ -88,7 +88,7 @@
426 - close();
427 - }
428 -
429 --void stream_socket::set_dns_resolver(shared_ptr<dns_resolver, threading_model::multi_thread> r)
430 -+void stream_socket::set_dns_resolver(pfi::lang::shared_ptr<dns_resolver, threading_model::multi_thread> r)
431 - {
432 - synchronized(resolver_m)
433 - resolver=r;
434 -@@ -106,10 +106,10 @@
435 - return false;
436 - }
437 -
438 -- shared_ptr<dns_resolver, threading_model::multi_thread> res;
439 -+ pfi::lang::shared_ptr<dns_resolver, threading_model::multi_thread> res;
440 - synchronized(resolver_m){
441 - if (!resolver)
442 -- set_dns_resolver(shared_ptr<dns_resolver, threading_model::multi_thread>
443 -+ set_dns_resolver(pfi::lang::shared_ptr<dns_resolver, threading_model::multi_thread>
444 - (new normal_dns_resolver()));
445 - res=resolver;
446 - }
447
448 diff --git a/dev-cpp/pficommon/files/pficommon-1.3.1.0-libdir.patch b/dev-cpp/pficommon/files/pficommon-1.3.1.0-libdir.patch
449 deleted file mode 100644
450 index 9bd0e4bf560..00000000000
451 --- a/dev-cpp/pficommon/files/pficommon-1.3.1.0-libdir.patch
452 +++ /dev/null
453 @@ -1,49 +0,0 @@
454 -diff --git a/wscript b/wscript
455 -index dc1866e..c5b800c 100644
456 ---- a/wscript
457 -+++ b/wscript
458 -@@ -6,18 +6,21 @@ out = 'build'
459 -
460 - import Options
461 - import sys
462 -+import os
463 -
464 - subdirs = 'src tools'
465 -
466 - def options(opt):
467 - opt.load('compiler_cxx')
468 - opt.load('unittest_gtest')
469 -+ opt.load('gnu_dirs')
470 -
471 - opt.recurse(subdirs)
472 -
473 - def configure(conf):
474 - conf.check_tool('compiler_cxx')
475 - conf.check_tool('unittest_gtest')
476 -+ conf.check_tool('gnu_dirs')
477 -
478 - conf.env.append_unique(
479 - 'CXXFLAGS',
480 -@@ -28,6 +31,8 @@ def configure(conf):
481 - conf.recurse(subdirs)
482 -
483 - conf.define('PFICOMMON_VERSION', VERSION)
484 -+
485 -+ conf.env['VERSION'] = VERSION
486 -
487 - conf.write_config_header('src/pfi-config.h')
488 -
489 -@@ -72,11 +77,11 @@ def build(bld):
490 - bld(source = 'pficommon.pc.in',
491 - prefix = bld.env['PREFIX'],
492 - exec_prefix = '${prefix}',
493 -- libdir = '${prefix}/lib',
494 -+ libdir = bld.env['LIBDIR'],
495 - includedir = '${prefix}/include',
496 - PACKAGE = APPNAME,
497 - VERSION = VERSION)
498 -
499 -- bld.install_files('${PREFIX}/lib/pkgconfig', 'pficommon.pc')
500 -+ bld.install_files(os.path.join(bld.env['LIBDIR'], 'pkgconfig'), 'pficommon.pc')
501 -
502 - bld.recurse(subdirs)
503
504 diff --git a/dev-cpp/pficommon/files/pficommon-1.3.1.0-postgresql.patch b/dev-cpp/pficommon/files/pficommon-1.3.1.0-postgresql.patch
505 deleted file mode 100644
506 index 0bf7096ad94..00000000000
507 --- a/dev-cpp/pficommon/files/pficommon-1.3.1.0-postgresql.patch
508 +++ /dev/null
509 @@ -1,13 +0,0 @@
510 -diff --git a/src/database/wscript b/src/database/wscript
511 -index 8eca1d0..3916a7d 100644
512 ---- a/src/database/wscript
513 -+++ b/src/database/wscript
514 -@@ -20,7 +20,7 @@ def configure(conf):
515 - conf.env.BUILD_PGSQL = False
516 - if not Options.options.disable_database:
517 - try:
518 -- incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode()
519 -+ incdir = subprocess.check_output(['pg_config', '--includedir-server']).decode('utf-8')
520 - libdir = subprocess.check_output(['pg_config', '--libdir']).decode()
521 - if conf.check_cxx(lib = 'pq',
522 - header_name = 'postgres.h',
523
524 diff --git a/dev-cpp/pficommon/files/pficommon-1.3.1.0-soname.patch b/dev-cpp/pficommon/files/pficommon-1.3.1.0-soname.patch
525 deleted file mode 100644
526 index 040fb259bc7..00000000000
527 --- a/dev-cpp/pficommon/files/pficommon-1.3.1.0-soname.patch
528 +++ /dev/null
529 @@ -1,200 +0,0 @@
530 -diff --git a/src/concurrent/wscript b/src/concurrent/wscript
531 -index 5aeb5ab..8700d68 100644
532 ---- a/src/concurrent/wscript
533 -+++ b/src/concurrent/wscript
534 -@@ -19,6 +19,7 @@ def build(bld):
535 - source = 'thread.cpp mutex.cpp rwmutex.cpp condition.cpp internal.cpp',
536 - target = 'pficommon_concurrent',
537 - includes = '.',
538 -+ vnum = bld.env['VERSION'],
539 - use = 'pficommon_system PTHREAD')
540 -
541 - bld.program(
542 -diff --git a/src/data/wscript b/src/data/wscript
543 -index e99c7c3..df47caf 100644
544 ---- a/src/data/wscript
545 -+++ b/src/data/wscript
546 -@@ -61,6 +61,7 @@ def build(bld):
547 - ],
548 - target = 'pficommon_data',
549 - includes = incdirs,
550 -+ vnum = bld.env['VERSION'],
551 - use = 'pficommon_system')
552 -
553 - def t(src):
554 -diff --git a/src/database/mysql/wscript b/src/database/mysql/wscript
555 -index 79d5a23..5407091 100644
556 ---- a/src/database/mysql/wscript
557 -+++ b/src/database/mysql/wscript
558 -@@ -7,4 +7,5 @@ def build(bld):
559 - source = 'connection.cpp statement.cpp value.cpp',
560 - target = 'pficommon_database_mysql',
561 - includes = '. ..',
562 -+ vnum = bld.env['VERSION'],
563 - use = 'pficommon_concurrent MYSQL')
564 -diff --git a/src/database/postgresql/wscript b/src/database/postgresql/wscript
565 -index 9b834f8..5040a69 100644
566 ---- a/src/database/postgresql/wscript
567 -+++ b/src/database/postgresql/wscript
568 -@@ -7,4 +7,5 @@ def build(bld):
569 - source = 'connection.cpp statement.cpp result.cpp value.cpp',
570 - target = 'pficommon_database_postgresql',
571 - includes = '. ..',
572 -+ vnum = bld.env['VERSION'],
573 - use = 'PGSQL')
574 -diff --git a/src/database/wscript b/src/database/wscript
575 -index b491d4f..3916a7d 100644
576 ---- a/src/database/wscript
577 -+++ b/src/database/wscript
578 -@@ -44,6 +44,7 @@ def build(bld):
579 - t = bld.shlib(
580 - source = '',
581 - target = 'pficommon_database',
582 -+ vnum = bld.env['VERSION'],
583 - use = [])
584 -
585 - if bld.env.BUILD_MYSQL:
586 -diff --git a/src/lang/wscript b/src/lang/wscript
587 -index e5538d9..e0ad364 100644
588 ---- a/src/lang/wscript
589 -+++ b/src/lang/wscript
590 -@@ -20,6 +20,7 @@ def build(bld):
591 -
592 - bld.shlib(
593 - source = 'empty.cpp',
594 -+ vnum = bld.env['VERSION'],
595 - target = 'pficommon_lang')
596 -
597 - bld.program(
598 -diff --git a/src/math/wscript b/src/math/wscript
599 -index 8e8e271..f855b3a 100644
600 ---- a/src/math/wscript
601 -+++ b/src/math/wscript
602 -@@ -14,6 +14,7 @@ def build(bld):
603 - bld.shlib(
604 - source = 'random/mersenne_twister.cpp',
605 - target = 'pficommon_math',
606 -+ vnum = bld.env['VERSION'],
607 - includes = '.')
608 -
609 - def t(src):
610 -diff --git a/src/network/wscript b/src/network/wscript
611 -index 4b0873c..d5a9aee 100644
612 ---- a/src/network/wscript
613 -+++ b/src/network/wscript
614 -@@ -56,11 +56,13 @@ def build(bld):
615 - source = 'socket.cpp ipv4.cpp dns.cpp uri.cpp',
616 - target = 'pficommon_network_base',
617 - includes = '.',
618 -+ vnum = bld.env['VERSION'],
619 - use = 'pficommon_concurrent')
620 -
621 - pfin = bld.shlib(
622 - source = '',
623 - target = 'pficommon_network',
624 -+ vnum = bld.env['VERSION'],
625 - use = [
626 - 'pficommon_network_base',
627 - 'pficommon_network_http',
628 -diff --git a/src/system/wscript b/src/system/wscript
629 -index 4068967..a6fc70c 100644
630 ---- a/src/system/wscript
631 -+++ b/src/system/wscript
632 -@@ -21,6 +21,7 @@ def build(bld):
633 - 'sysstat.cpp',
634 - 'mmapper.cpp'],
635 - target = 'pficommon_system',
636 -+ vnum = bld.env['VERSION'],
637 - includes = '.')
638 -
639 - bld.program(
640 -diff --git a/src/text/wscript b/src/text/wscript
641 -index 2cb54df..e18310c 100644
642 ---- a/src/text/wscript
643 -+++ b/src/text/wscript
644 -@@ -16,6 +16,7 @@ def build(bld):
645 - source = 'xhtml.cpp csv.cpp json/parser.cpp',
646 - target = 'pficommon_text',
647 - includes = '. json',
648 -+ vnum = bld.env['VERSION'],
649 - use = 'pficommon_data pficommon_system')
650 -
651 - bld.program(
652 -diff --git a/src/util/wscript b/src/util/wscript
653 -index c971da4..7ed427f 100644
654 ---- a/src/util/wscript
655 -+++ b/src/util/wscript
656 -@@ -8,6 +8,7 @@ def build(bld):
657 -
658 - bld.shlib(
659 - source = '',
660 -+ vnum = bld.env['VERSION'],
661 - target = 'pficommon_util')
662 -
663 - bld(features = 'cxx cprogram gtest',
664 -diff --git a/src/visualization/wscript b/src/visualization/wscript
665 -index bf0500a..04469a1 100644
666 ---- a/src/visualization/wscript
667 -+++ b/src/visualization/wscript
668 -@@ -27,6 +27,7 @@ def build(bld):
669 - v = bld.shlib(
670 - source = ['empty.cpp'],
671 - target = 'pficommon_visualization',
672 -+ vnum = bld.env['VERSION'],
673 - use = [])
674 -
675 - bld.program(
676 -diff --git a/src/wscript b/src/wscript
677 -index 8dfd9e8..4af7585 100644
678 ---- a/src/wscript
679 -+++ b/src/wscript
680 -@@ -26,6 +26,7 @@ def build(bld):
681 - b = bld.shlib(
682 - source = 'empty.cpp',
683 - target = 'pficommon',
684 -+ vnum = bld.env['VERSION'],
685 - use = [
686 - 'pficommon_concurrent',
687 - 'pficommon_data',
688 -diff --git a/src/network/cgi/wscript b/src/network/cgi/wscript
689 -index 29c44fa..1863394 100644
690 ---- a/src/network/cgi/wscript
691 -+++ b/src/network/cgi/wscript
692 -@@ -47,6 +47,7 @@ def build(bld):
693 - source = 'base.cpp xhtml_cgi.cpp xhtml_builder.cpp inserter.cpp cgi.cpp server.cpp util.cpp',
694 - target = 'pficommon_network_cgi',
695 - includes = '. ..',
696 -+ vnum = bld.env['VERSION'],
697 - use = 'pficommon_text pficommon_concurrent pficommon_network_http PTHREAD')
698 -
699 - if bld.env.BUILD_FCGI:
700 -diff --git a/src/network/http/wscript b/src/network/http/wscript
701 -index 7e2bbbe..dbfe480 100644
702 ---- a/src/network/http/wscript
703 -+++ b/src/network/http/wscript
704 -@@ -14,4 +14,5 @@ def build(bld):
705 - source = 'base.cpp',
706 - target = 'pficommon_network_http',
707 - includes = '. ..',
708 -+ vnum = bld.env['VERSION'],
709 - use = 'pficommon_network_base')
710 -diff --git a/src/network/mprpc/wscript b/src/network/mprpc/wscript
711 -index 940bdd4..0e093f6 100644
712 ---- a/src/network/mprpc/wscript
713 -+++ b/src/network/mprpc/wscript
714 -@@ -21,4 +21,5 @@ def build(bld):
715 - 'socket.cpp'
716 - ],
717 - target = 'pficommon_network_mprpc',
718 -+ vnum = bld.env['VERSION'],
719 - use = 'pficommon_concurrent pficommon_network_base MSGPACK')
720 -diff --git a/src/network/rpc/wscript b/src/network/rpc/wscript
721 -index 74c006c..46121d6 100644
722 ---- a/src/network/rpc/wscript
723 -+++ b/src/network/rpc/wscript
724 -@@ -17,4 +17,5 @@ def build(bld):
725 - source = 'base.cpp',
726 - target = 'pficommon_network_rpc',
727 - includes = '. ..',
728 -+ vnum = bld.env['VERSION'],
729 - use = 'pficommon_network_base pficommon_concurrent pficommon_system')
730
731 diff --git a/dev-cpp/pficommon/metadata.xml b/dev-cpp/pficommon/metadata.xml
732 deleted file mode 100644
733 index 0f0b8821e97..00000000000
734 --- a/dev-cpp/pficommon/metadata.xml
735 +++ /dev/null
736 @@ -1,14 +0,0 @@
737 -<?xml version="1.0" encoding="UTF-8"?>
738 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
739 -<pkgmetadata>
740 - <maintainer type="person">
741 - <email>naota@g.o</email>
742 - </maintainer>
743 - <use>
744 - <flag name="fcgi">Build FCGI feature</flag>
745 - <flag name="mprpc">Build MessagePack RPC feature</flag>
746 - </use>
747 - <upstream>
748 - <remote-id type="github">pfi/pficommon</remote-id>
749 - </upstream>
750 -</pkgmetadata>
751
752 diff --git a/dev-cpp/pficommon/pficommon-1.3.1.0.ebuild b/dev-cpp/pficommon/pficommon-1.3.1.0.ebuild
753 deleted file mode 100644
754 index db9afe674b6..00000000000
755 --- a/dev-cpp/pficommon/pficommon-1.3.1.0.ebuild
756 +++ /dev/null
757 @@ -1,58 +0,0 @@
758 -# Copyright 1999-2017 Gentoo Foundation
759 -# Distributed under the terms of the GNU General Public License v2
760 -
761 -EAPI=4
762 -
763 -PYTHON_COMPAT=( python2_7 )
764 -PYTHON_REQ_USE='threads(+)'
765 -inherit python-any-r1 waf-utils eutils
766 -
767 -DESCRIPTION="General purpose C++ library for PFI"
768 -HOMEPAGE="https://github.com/pfi/pficommon"
769 -SRC_URI="https://github.com/pfi/pficommon/tarball/${PV} -> ${P}.tar.gz"
770 -
771 -LICENSE="BSD"
772 -SLOT="0"
773 -KEYWORDS="~amd64"
774 -IUSE="fcgi imagemagick mprpc mysql postgres test"
775 -
776 -RDEPEND="fcgi? ( dev-libs/fcgi )
777 - imagemagick? (
778 - media-libs/lcms
779 - media-gfx/imagemagick[cxx]
780 - sys-devel/libtool
781 - )
782 - mprpc? ( dev-libs/msgpack )
783 - mysql? ( virtual/mysql )
784 - postgres? ( dev-db/postgresql )
785 - "
786 -DEPEND="${RDEPEND}
787 - ${PYTHON_DEPS}
788 - test? ( dev-cpp/gtest )"
789 -
790 -src_unpack() {
791 - unpack ${A}
792 - mv pfi-pficommon-* "${S}"
793 -}
794 -
795 -src_prepare() {
796 - epatch "${FILESDIR}"/${P}-libdir.patch \
797 - "${FILESDIR}"/${P}-soname.patch \
798 - "${FILESDIR}"/${P}-postgresql.patch \
799 - "${FILESDIR}"/${P}-gcc-4.7.patch \
800 - "${FILESDIR}"/${P}-gcc6.patch
801 -}
802 -
803 -src_configure() {
804 - if use fcgi; then
805 - myconf="${myconf} --with-fcgi=/usr"
806 - else
807 - myconf="${myconf} --disable-fcgi"
808 - fi
809 - use imagemagick || myconf="${myconf} --disable-magickpp"
810 - use mprpc || myconf="${myconf} --disable-mprpc"
811 - if ! use mysql && ! use postgres; then
812 - myconf="${myconf} --disable-database"
813 - fi
814 - waf-utils_src_configure ${myconf}
815 -}