aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2014-01-22 15:53:52 -0800
committerGregory M. Tuner <gmt@be-evil.net>2014-01-22 15:53:52 -0800
commit979194618623a23021789042e2c8b06a33b25ccf (patch)
tree31bcd5d50caafda1f4e02e7456a705273daed91c /x11-libs
parentx11-libs/xcb-util: multilib-utize (diff)
downloadgmt-979194618623a23021789042e2c8b06a33b25ccf.tar.gz
gmt-979194618623a23021789042e2c8b06a33b25ccf.tar.bz2
gmt-979194618623a23021789042e2c8b06a33b25ccf.zip
x11-libs/xcb-util-image: clone upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/xcb-util-image/ChangeLog70
-rw-r--r--x11-libs/xcb-util-image/Manifest5
-rw-r--r--x11-libs/xcb-util-image/files/xcb-util-image-0.3.9-return-type.patch46
-rw-r--r--x11-libs/xcb-util-image/metadata.xml5
-rw-r--r--x11-libs/xcb-util-image/xcb-util-image-0.3.9-r1.ebuild37
5 files changed, 163 insertions, 0 deletions
diff --git a/x11-libs/xcb-util-image/ChangeLog b/x11-libs/xcb-util-image/ChangeLog
new file mode 100644
index 0000000..ef9351b
--- /dev/null
+++ b/x11-libs/xcb-util-image/ChangeLog
@@ -0,0 +1,70 @@
+# ChangeLog for x11-libs/xcb-util-image
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xcb-util-image/ChangeLog,v 1.19 2013/11/04 00:28:33 chithanh Exp $
+
+ 04 Nov 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/xcb-util-image-0.3.9-return-type.patch, xcb-util-image-0.3.9.ebuild:
+ Add patch for build error, bug #423909.
+
+ 23 Feb 2013; Zac Medico <zmedico@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ Add ~arm-linux keyword.
+
+ 26 Aug 2012; Raúl Porcel <armin76@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ alpha/ia64/s390/sh/sparc stable wrt #419473
+
+ 12 Jul 2012; Brent Baude <ranger@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ Marking xcb-util-image-0.3.9 ppc stable for bug 419473
+
+ 11 Jul 2012; Brent Baude <ranger@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ Marking xcb-util-image-0.3.9 ppc64 stable for bug 419473
+
+ 29 Jun 2012; Markus Meier <maekke@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ arm stable, bug #419473
+
+ 28 Jun 2012; Jeroen Roovers <jer@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ Stable for HPPA (bug #419473).
+
+ 24 Jun 2012; Agostino Sarubbo <ago@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ Stable for x86, wrt bug #419473
+
+ 22 Jun 2012; Agostino Sarubbo <ago@gentoo.org> xcb-util-image-0.3.9.ebuild:
+ Stable for amd64, wrt bug #419473
+
+*xcb-util-image-0.3.9 (02 Jun 2012)
+
+ 02 Jun 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +xcb-util-image-0.3.9.ebuild:
+ Version bump.
+
+ 26 Apr 2012; Alexis Ballier <aballier@gentoo.org>
+ xcb-util-image-0.3.8.ebuild:
+ keyword ~amd64-fbsd
+
+ 20 Aug 2011; Jeroen Roovers <jer@gentoo.org> xcb-util-image-0.3.8.ebuild:
+ Stable for HPPA (bug #371857).
+
+ 30 Jul 2011; Raúl Porcel <armin76@gentoo.org> xcb-util-image-0.3.8.ebuild:
+ alpha/ia64/s390/sh/sparc stable wrt #371857
+
+ 23 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ xcb-util-image-0.3.8.ebuild:
+ ppc64 stable wrt #372333
+
+ 13 Jul 2011; Markus Meier <maekke@gentoo.org> xcb-util-image-0.3.8.ebuild:
+ x86 stable, bug #371857
+
+ 28 Jun 2011; Brent Baude <ranger@gentoo.org> xcb-util-image-0.3.8.ebuild:
+ Marking xcb-util-image-0.3.8 ppc stable for bug 372333
+
+ 26 Jun 2011; Markus Meier <maekke@gentoo.org> xcb-util-image-0.3.8.ebuild:
+ arm stable, bug #371857
+
+ 23 Jun 2011; Markos Chandras <hwoarang@gentoo.org>
+ xcb-util-image-0.3.8.ebuild:
+ Stable on amd64 wrt bug #372333
+
+*xcb-util-image-0.3.8 (26 Apr 2011)
+
+ 26 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ +xcb-util-image-0.3.8.ebuild, +metadata.xml:
+ Version bump to 0.3.8. This is first split release.
diff --git a/x11-libs/xcb-util-image/Manifest b/x11-libs/xcb-util-image/Manifest
new file mode 100644
index 0000000..7b4b300
--- /dev/null
+++ b/x11-libs/xcb-util-image/Manifest
@@ -0,0 +1,5 @@
+AUX xcb-util-image-0.3.9-return-type.patch 1581 SHA256 05a16fb3ae61bd1e02cc3c55f24ab677865ab514c0935151af63e58b647ac515 SHA512 12c9d36375e42c127fd0e50363b5289cfa86ec238f94af9914e1a5375e55180fe37645a7cc473ff19c286c84dfdee74b6bdb7c3aa6ae1f3d0f0608e482d4c76c WHIRLPOOL 9a3bf549ea0ffa5a9ad1592f89f06d5fdf2891e841437f6138517fd16722328eacb138705bcd0a68c7ca631097e671dedc8f9871a650e473f63b2d360119b6f2
+DIST xcb-util-image-0.3.9.tar.bz2 310947 SHA256 d35a3c0eaae171f5081ec127fb9cec174b716ce5d78196a87f2785376da021df SHA512 6cf7e191f3814528d977aa2acb2a106aaba0732c5d5f4041ac39039e18b9064f90f96da087300f4061d700e3521648e5540117794fdc41dad36ca5f973370394 WHIRLPOOL 6848c12e1f98a4989c8ae2f6765de99639aef178c28f5d782eca132e0ea7adf32aecbd1da0b2631213898a2315dec71beacb8a4dfc717d3701d6500e70092828
+EBUILD xcb-util-image-0.3.9-r1.ebuild 921 SHA256 18ea8acf32ae879321315239131c72cc9c2715ac049985266564cda62ea88b91 SHA512 259742286fd02bcb7cc87eb8a3533a187d256aef1bc63b3a6a0eddf864a3bfdb5431d26e33d160e54b45fb0210cb29778aa445c25a3c44ac0b10fce7946d93c9 WHIRLPOOL 7985bcbe9df1beb60a150d13cccec908edb6c57003824431993b0891fa262d721f8b8918e00c07a585866788737dc0af0624c12d027c2f60df6ea351ea6c649d
+MISC ChangeLog 2615 SHA256 05fd78eb65974cd5f7d1d789573b9de7348421c2e3ac9b60a9bc73fc168f2d07 SHA512 d3dba15a62f8c57232a949f3a007ec55063670996f28783bf8b40c4606fe2d4cb4d33bed944eca0380d361aceb8e5fb0be6332bd18494da87b54299ab838a9a2 WHIRLPOOL 31ba1ae6ab9ac669770cc3d62a62de60cae3c93c4d4975e5e70e025a8ba6677c827c7cbca4ee009b3b7c92fae345e9fa8498424fd8d2f327c2c3b00f416d08a6
+MISC metadata.xml 156 SHA256 5101ab0d4cc8c7125eea733c44e86962769bd77acaf53b69223b9cadcdd29055 SHA512 daa9bb2a9b1a16220327bc394f10d93a1a8a427bfbed8808cd247c1dfd5a5b87a4945d55d8243e07fede2c8182a208c618ebd483773d77e9d23862ec77016019 WHIRLPOOL 691e028648bb8b60771d74ef718c51fdb0f4a587e984f6ac4c13d7796415ecf770df2e0fd766399091771924bb65995e9bb290baa35971c56e07d76f2bbf6d93
diff --git a/x11-libs/xcb-util-image/files/xcb-util-image-0.3.9-return-type.patch b/x11-libs/xcb-util-image/files/xcb-util-image-0.3.9-return-type.patch
new file mode 100644
index 0000000..d1ebc39
--- /dev/null
+++ b/x11-libs/xcb-util-image/files/xcb-util-image-0.3.9-return-type.patch
@@ -0,0 +1,46 @@
+From 3577db110e03985d4486cae6caf3ceb5696c45e9 Mon Sep 17 00:00:00 2001
+From: Jon TURNEY <jon.turney@dronecode.org.uk>
+Date: Thu, 20 Dec 2012 22:56:28 +0000
+Subject: Fix compilation when NDEBUG is defined
+
+XORG_DEFAULT_OPTIONS enables -Werror=return-type
+
+xcb_image_get_pixel() and xcb_image_create_native() assume assert(0) is
+noreturn, and don't return a value in that case. But assert(0) isn't noreturn
+if NDEBUG is defined.
+
+Fix this by returning a suitable value.
+
+(Also, on the MinGW target, assert(0) is non-standard and may return even in the
+!NDEBUG case, as the C runtime may ask the user if they want to abort or not...)
+
+/jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_get_pixel':
+/jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:754:1: error: control reaches end of non-void function [-Wreturn-type]
+/jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_create_native':
+/jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:190:1: error: control reaches end of non-void function [-Wreturn-type]
+
+Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
+Signed-off-by: Peter Harris <pharris@opentext.com>
+---
+diff --git a/image/xcb_image.c b/image/xcb_image.c
+index e426cbd..101aa4f 100644
+--- a/image/xcb_image.c
++++ b/image/xcb_image.c
+@@ -187,6 +187,7 @@ xcb_image_create_native (xcb_connection_t * c,
+ assert(0);
+ }
+ assert(0);
++ return NULL;
+ }
+
+
+@@ -751,6 +752,7 @@ xcb_image_get_pixel (xcb_image_t *image,
+ default:
+ assert(0);
+ }
++ return 0;
+ }
+
+
+--
+cgit v0.9.0.2-2-gbebe
diff --git a/x11-libs/xcb-util-image/metadata.xml b/x11-libs/xcb-util-image/metadata.xml
new file mode 100644
index 0000000..01c4c00
--- /dev/null
+++ b/x11-libs/xcb-util-image/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>
diff --git a/x11-libs/xcb-util-image/xcb-util-image-0.3.9-r1.ebuild b/x11-libs/xcb-util-image/xcb-util-image-0.3.9-r1.ebuild
new file mode 100644
index 0000000..1537747
--- /dev/null
+++ b/x11-libs/xcb-util-image/xcb-util-image-0.3.9-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+XORG_MODULE=/
+XORG_BASE_INDIVIDUAL_URI=http://xcb.freedesktop.org/dist
+XORG_DOC=doc
+inherit xorg-2
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/util-image"
+EGIT_HAS_SUBMODULES=yes
+
+DESCRIPTION="X C-language Bindings sample implementations"
+HOMEPAGE="http://xcb.freedesktop.org/"
+
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
+IUSE="test"
+
+RDEPEND=">=x11-libs/xcb-util-${PV}
+ x11-proto/xproto"
+DEPEND="${RDEPEND}
+ >=dev-util/gperf-3.0.1
+ test? ( >=dev-libs/check-0.9.4 )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-return-type.patch
+)
+
+pkg_setup() {
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_with doc doxygen)
+ )
+
+ xorg-2_pkg_setup
+}