summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-08-10 19:03:00 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-08-10 19:03:00 +0000
commit394767db04f3a050b20237e6e80259cd94d10a14 (patch)
treedab78efd519e8347be0f1d7b5af9b8295281f0b0 /x11-libs
parentVersion bump; gtk support library was split off into x11-libs/colord-gtk. (diff)
downloadhistorical-394767db04f3a050b20237e6e80259cd94d10a14.tar.gz
historical-394767db04f3a050b20237e6e80259cd94d10a14.tar.bz2
historical-394767db04f3a050b20237e6e80259cd94d10a14.zip
New ebuild for colord's gtk support library, split off from x11-misc/colord; prevents a circular dependency betweek gtk+[colord] and colord[gtk].
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/colord-gtk/ChangeLog12
-rw-r--r--x11-libs/colord-gtk/Manifest19
-rw-r--r--x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild56
-rw-r--r--x11-libs/colord-gtk/files/colord-gtk-0.1.22-automagic-vala.patch38
-rw-r--r--x11-libs/colord-gtk/metadata.xml10
5 files changed, 135 insertions, 0 deletions
diff --git a/x11-libs/colord-gtk/ChangeLog b/x11-libs/colord-gtk/ChangeLog
new file mode 100644
index 000000000000..ad5594b82eea
--- /dev/null
+++ b/x11-libs/colord-gtk/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for x11-libs/colord-gtk
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/colord-gtk/ChangeLog,v 1.1 2012/08/10 19:03:00 tetromino Exp $
+
+*colord-gtk-0.1.22 (10 Aug 2012)
+
+ 10 Aug 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +colord-gtk-0.1.22.ebuild, +files/colord-gtk-0.1.22-automagic-vala.patch,
+ +metadata.xml:
+ New ebuild for colord's gtk support library, split off from x11-misc/colord;
+ prevents a circular dependency betweek gtk+[colord] and colord[gtk].
+
diff --git a/x11-libs/colord-gtk/Manifest b/x11-libs/colord-gtk/Manifest
new file mode 100644
index 000000000000..433ccd78bc46
--- /dev/null
+++ b/x11-libs/colord-gtk/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX colord-gtk-0.1.22-automagic-vala.patch 1345 SHA256 d827dea5a6c9d982fae876dd72f34983dde61f255c559fad706bff9343dbbb17 SHA512 d8c7e034680536ae9610053911eeb33e038c1e733ae9866a084a239383adb1383e02384f5d913701e09eee6e0ce0b2af18cf52ed1cf4a627aeef75d3c6ad6da7 WHIRLPOOL 8e696a0f0aa07b37066ab25aba2a5facab79478ebc0ed16c06162250bb945d752fc13745d169ba14a8df1aa4bbc826aba28cf4da7103aa49ae238a34ff45e7d7
+DIST colord-gtk-0.1.22.tar.xz 283216 SHA256 d0916d837b44bbe3175917d0e80a08dad2cf2787e09ab4a83e58a88030b66305 SHA512 a4b2b677a38d533a5639e0c747ef83c6aa3d636c7b909238010262a7ba2a5ed3e7cedd28f476ea4f9858fcffe9bb76993433360bfd14908379ca6a7deb45e312 WHIRLPOOL a219cd571859c58eceb1420c4befe2b0a51f2a469d596df9bd9dc0d044e86ab3ab66b6d185150c1a2704548dd430e2e17b66371c25a1b05a5111f387da92f56c
+EBUILD colord-gtk-0.1.22.ebuild 1478 SHA256 4b5bea05c9ddae39a99d20e2490e7d0d2bb066caae9f2159feffcb5d437e1ce2 SHA512 7941b7d42b8b3d64b12440ea21d57fc732027a9ab9ee3b86523c2cbb1ca3ec667501022be89d706b60a87a29e38c7797141511b4b6d7ad005e1df853334b573c WHIRLPOOL 23237c88fbba5aeaf152cea5f959dfe3459b64aa7124e634246d9fe4c60f8fd923180cf8b125e0d9e849234d0f2935f7fec534900db348462f8a067e98cb4142
+MISC ChangeLog 551 SHA256 7016da83032f958e08a3f5018d8c2aadfcb17df61ba9d6253a526eab7ee18b00 SHA512 31f0f2600d0b3de284c7e04027acc9e00f1bb0b9f0eb49b6d99d0b824ca472de76de8a93e6d39b6829cf528353bdbb7ccf96377a04eb317c9509828163546be8 WHIRLPOOL d53e50c37169f82781a0ad020d16ca86b42fa1fea61b1ad7a775946196df1ed49fcf2e7239519328d80ae56ac4dbb64c01614eaf12d77174fb0fc94888f318e5
+MISC metadata.xml 345 SHA256 37f4e508d835b0f0916cca691c9b6116118ba5ce0d97652097c15d010fb4b8af SHA512 af137d5585337b6d1fe28aa484f3af893cd954b07ad54fcb383e735f8f8779db59fecfd6ab2157b38ddeb589f5b264b5c047824e960b9d6ca648ec2cbaa1a2d4 WHIRLPOOL 43905cd81d45e8400af299946b1d0f22eea9b01186da108614d9fd685bea90de7d0e3f06fb01782c2d9465c75d2f596eb871ae59bfa1936f09d89f9d2aa958b2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQJVrpAAoJEJ0WA1zPCt1hWr4H/1f3X/Pq9ShPttMkyTHdfWOt
+sCOHj3YFjb6adhReDgL3FLdT9mDQpRqu2627RRokC22UJOnUjzyy33WUuH89Qger
+FbpC/H+2T+Dhow3HQY73sjiOzYUbWdRWdE6jqRSeYmqiVjfw36lABYuSqtdMm7UG
+qqa2Q9Qu7LT73KT8lwBVvA9U6VwgJMmwGmwe0+sZfldfdbQVskMkgX7NW+2HmyEb
+1TYaXvoR+2tB4D3ViR5sxTYDfGT3RFu0TSPM5nVM++VN1A0N7VhfWUQ/JWwDptCS
+fug0U4JsiJyyM1e7GttlzM/BaGBJepyD3OdA75snzEwxFIU1SN9ddFnWgzLau+s=
+=MHDT
+-----END PGP SIGNATURE-----
diff --git a/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild b/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild
new file mode 100644
index 000000000000..f4ad2470657c
--- /dev/null
+++ b/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild,v 1.1 2012/08/10 19:03:00 tetromino Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="GTK support library for colord"
+HOMEPAGE="http://www.freedesktop.org/software/colord/"
+SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="doc +introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+COMMON_DEPEND=">=dev-libs/glib-2.28:2
+ >=media-libs/lcms-2.2:2
+ x11-libs/gdk-pixbuf:2[introspection?]
+ x11-libs/gtk+:3[X(+),introspection?]
+ x11-misc/colord[introspection?,vala?]
+ introspection? ( >=dev-libs/gobject-introspection-0.9.8 )"
+# ${PN} was part of x11-misc/colord until 0.1.22
+RDEPEND="${COMMON_DEPEND}
+ !<x11-misc/colord-0.1.22"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ >=dev-util/intltool-0.35
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ doc? (
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/gtk-doc-1.9
+ )
+ vala? ( dev-lang/vala:0.14[vapigen] )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.1.22-automagic-vala.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ $(use_enable doc gtk-doc) \
+ $(use_enable introspection) \
+ $(use_enable vala) \
+ VAPIGEN=$(type -P vapigen-0.14)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/x11-libs/colord-gtk/files/colord-gtk-0.1.22-automagic-vala.patch b/x11-libs/colord-gtk/files/colord-gtk-0.1.22-automagic-vala.patch
new file mode 100644
index 000000000000..5e7519fc7bba
--- /dev/null
+++ b/x11-libs/colord-gtk/files/colord-gtk-0.1.22-automagic-vala.patch
@@ -0,0 +1,38 @@
+From 09cfb7f14f3766c80137a00586579dd2280ffe65 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Fri, 10 Aug 2012 14:34:03 -0400
+Subject: [PATCH] Make vala bindings non-automagic
+
+---
+ configure.ac | 8 ++++++--
+ 1 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b51b7d2..e174c4b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -134,7 +134,9 @@ PKG_CHECK_MODULES(LCMS, lcms2 >= 2.2)
+ dnl ---------------------------------------------------------------------------
+ dnl - Build VALA support
+ dnl ---------------------------------------------------------------------------
+-if test x$found_introspection != xno; then
++AC_ARG_ENABLE(vala, AS_HELP_STRING([--enable-vala],[build vala bindings]),
++ enable_vala=$enableval,enable_vala=no)
++if test x$found_introspection != xno -a x$enable_vala != xno; then
+ AC_PATH_PROG([VAPIGEN], [vapigen], [])
+ if test "x$VAPIGEN" = "x"; then
+ has_vapigen="no"
+@@ -144,7 +146,9 @@ if test x$found_introspection != xno; then
+ fi
+ else
+ has_vapigen="no"
+- AC_MSG_WARN([Not introspection found, will not build Vala binding])
++ if test x$found_introspection = xno; then
++ AC_MSG_WARN([introspection not found, will not build Vala binding])
++ fi
+ fi
+ AM_CONDITIONAL(HAVE_VAPIGEN, [test "x$has_vapigen" = "xyes"])
+
+--
+1.7.8.6
+
diff --git a/x11-libs/colord-gtk/metadata.xml b/x11-libs/colord-gtk/metadata.xml
new file mode 100644
index 000000000000..04ca9f3b1043
--- /dev/null
+++ b/x11-libs/colord-gtk/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+<use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+ <flag name="vala">Generate bindings for <pkg>dev-lang/vala</pkg></flag>
+</use>
+</pkgmetadata>