summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-09-14 15:37:13 +1200
committerKent Fredric <kentnl@gentoo.org>2017-09-14 16:06:06 +1200
commit62dc436c44b327453a0a03dfbd217a848c3f6447 (patch)
tree1627ab3accd0ddb033372f34da443b2d202835d7 /dev-perl/X11-XCB
parentdev-perl/XS-Object-Magic: Add w/ version 0.40.0 (diff)
downloadgentoo-62dc436c44b327453a0a03dfbd217a848c3f6447.tar.gz
gentoo-62dc436c44b327453a0a03dfbd217a848c3f6447.tar.bz2
gentoo-62dc436c44b327453a0a03dfbd217a848c3f6447.zip
dev-perl/X11-XCB: Add w/ version 0.160.0
Required by x11-wm/i3 Previously maintained in ::perl-experimental by hasufell and myself since Dec 2014 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/X11-XCB')
-rw-r--r--dev-perl/X11-XCB/Manifest1
-rw-r--r--dev-perl/X11-XCB/X11-XCB-0.160.0.ebuild47
-rw-r--r--dev-perl/X11-XCB/files/X11-XCB-0.160.0-526.patch33
-rw-r--r--dev-perl/X11-XCB/metadata.xml25
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-perl/X11-XCB/Manifest b/dev-perl/X11-XCB/Manifest
new file mode 100644
index 000000000000..4fa5e6e09263
--- /dev/null
+++ b/dev-perl/X11-XCB/Manifest
@@ -0,0 +1 @@
+DIST X11-XCB-0.16.tar.gz 89791 SHA256 fc4385785540e980e6615eb35b9edc9c5ec09547810e62c317fe060042deb692 SHA512 08642ffe99b3bb83f68f05157613b895e5abf7f3c17e6bee4b835bde33654208d9bb1c34633163ccae0b9dafbd869c35fd36f3ce46d3220c6ca254f0ccf5926a WHIRLPOOL 2e2094d94470dc1b5c396912da00ef8d945bd691cba3c5419bdfa89d76fd45dd65de99e89ce1b28ce37c2f0885c1852c7aa1de52767d0f5c28050243e7b13df6
diff --git a/dev-perl/X11-XCB/X11-XCB-0.160.0.ebuild b/dev-perl/X11-XCB/X11-XCB-0.160.0.ebuild
new file mode 100644
index 000000000000..215dfcde73f8
--- /dev/null
+++ b/dev-perl/X11-XCB/X11-XCB-0.160.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MSTPLBG
+DIST_VERSION=0.16
+inherit perl-module virtualx
+
+DESCRIPTION="Perl bindings for libxcb"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-perl/Data-Dump
+ dev-perl/Mouse
+ dev-perl/MouseX-NativeTraits
+ dev-perl/Try-Tiny
+ dev-perl/XML-Descent
+ dev-perl/XML-Simple
+ >=virtual/perl-XSLoader-0.20.0
+ x11-proto/xcb-proto
+ >=x11-libs/libxcb-1.2
+ x11-libs/xcb-util
+ x11-libs/xcb-util-wm
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-Devel-PPPort-3.190.0
+ dev-perl/ExtUtils-Depends
+ >=virtual/perl-ExtUtils-MakeMaker-6.590.0
+ >=virtual/perl-ExtUtils-ParseXS-3.180.0
+ dev-perl/ExtUtils-PkgConfig
+ dev-perl/XS-Object-Magic
+ test? (
+ dev-perl/Test-Deep
+ dev-perl/Test-Exception
+ virtual/perl-Test-Simple
+ )
+"
+PATCHES=( "${FILESDIR}/${P}-526.patch" )
+src_compile() {
+ MAKEOPTS="-j1" perl-module_src_compile
+}
+src_test() {
+ virtx perl-module_src_test
+}
diff --git a/dev-perl/X11-XCB/files/X11-XCB-0.160.0-526.patch b/dev-perl/X11-XCB/files/X11-XCB-0.160.0-526.patch
new file mode 100644
index 000000000000..875041b10412
--- /dev/null
+++ b/dev-perl/X11-XCB/files/X11-XCB-0.160.0-526.patch
@@ -0,0 +1,33 @@
+From e84699188ca845d39c6d5a7037a8a4d1620bb348 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Thu, 14 Sep 2017 15:29:34 +1200
+Subject: Fix for 5.26 .-in-@INC issues
+
+---
+ Makefile.PL | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 91a3da6..9ed7403 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -33,6 +33,7 @@ __
+ != grep { $ok{$_} = eval "require $_; 1" } @configure_req;
+ }
+
++BEGIN { unshift @INC, '.'; }
+ use inc::Module::Install;
+
+ name 'X11-XCB';
+@@ -81,7 +82,7 @@ WriteMakefile(
+
+ postamble <<'END_OF_MAKEFILE';
+ XCB_xs.inc:
+- $(PERL) -M_GenerateMyXS -E '_GenerateMyXS::generate()'
++ $(PERL) -I. -M_GenerateMyXS -E '_GenerateMyXS::generate()'
+
+ XCB.c: XCB_xs.inc XCB_util.inc XCB.inc
+
+--
+2.14.1
+
diff --git a/dev-perl/X11-XCB/metadata.xml b/dev-perl/X11-XCB/metadata.xml
new file mode 100644
index 000000000000..22874ca8208c
--- /dev/null
+++ b/dev-perl/X11-XCB/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">X11-XCB</remote-id>
+ <remote-id type="cpan-module">X11::XCB</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Atom</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Color</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Connection</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::ClientMessage</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::Focus</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::Generic</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::MapNotify</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::PropertyNotify</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Rect</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Screen</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Sizehints</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Sizehints::Aspect</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Window</remote-id>
+ </upstream>
+</pkgmetadata>