* [gentoo-commits] gentoo-x86 commit in x11-misc/colord: ChangeLog colord-0.1.13.ebuild
@ 2011-10-19 5:03 Alexandre Rostovtsev (tetromino)
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Rostovtsev (tetromino) @ 2011-10-19 5:03 UTC (permalink / raw
To: gentoo-commits
tetromino 11/10/19 05:03:38
Modified: ChangeLog
Added: colord-0.1.13.ebuild
Log:
Add colord-0.1.13 from the gnome overlay; follow Ubuntu's example and use dbus security instead of polkit (required when daemon is running as non-root); fixes bug #385677.
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Revision Changes Path
1.4 x11-misc/colord/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?r1=1.3&r2=1.4
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog 5 Oct 2011 13:19:17 -0000 1.3
+++ ChangeLog 19 Oct 2011 05:03:38 -0000 1.4
@@ -1,6 +1,18 @@
# ChangeLog for x11-misc/colord
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.3 2011/10/05 13:19:17 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.4 2011/10/19 05:03:38 tetromino Exp $
+
+*colord-0.1.13 (19 Oct 2011)
+
+ 19 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +colord-0.1.13.ebuild,
+ +files/colord-0.1.13-use-dbus-security-for-permissions.patch:
+ Add colord-0.1.13 from the gnome overlay; fixes bug #385677.
+ Following Ubuntu's example, we now disable polkit support, and switch to dbus
+ security instead. This is necessary to allow users to access colord when it's
+ running as a non-root user; see
+ https://bugs.launchpad.net/ubuntu/+source/colord/+bug/837851 for a
+ discussion. This change fixes polkit-related errors during gnome-3.2 startup.
05 Oct 2011; Nirbheek Chauhan <nirbheek@gentoo.org> colord-0.1.11.ebuild,
colord-0.1.12.ebuild:
1.1 x11-misc/colord/colord-0.1.13.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild?rev=1.1&content-type=text/plain
Index: colord-0.1.13.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild,v 1.1 2011/10/19 05:03:38 tetromino Exp $
EAPI="4"
inherit eutils base
DESCRIPTION="System service to accurately color manage input and output devices"
HOMEPAGE="http://www.freedesktop.org/software/colord/"
SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples +introspection scanner +udev"
# FIXME: raise to libusb-1.0.9:1 when available
COMMON_DEPEND="
dev-db/sqlite:3
>=dev-libs/glib-2.28.0:2
>=dev-libs/libusb-1.0.8:1
>=media-libs/lcms-2.2:2
introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
scanner? ( media-gfx/sane-backends )
udev? ( || ( sys-fs/udev[gudev] sys-fs/udev[extras] ) )
"
RDEPEND="${COMMON_DEPEND}
media-gfx/shared-color-profiles"
# Automagic build-time vala dependency if USE=introspection
DEPEND="${COMMON_DEPEND}
dev-libs/libxslt
>=dev-util/intltool-0.35
dev-util/pkgconfig
>=sys-devel/gettext-0.17
doc? (
app-text/docbook-xml-dtd:4.1.2
>=dev-util/gtk-doc-1.9
)
introspection? ( dev-lang/vala:0.14 )
"
# FIXME: needs pre-installed dbus service files
RESTRICT="test"
DOCS=(AUTHORS ChangeLog MAINTAINERS NEWS README TODO)
pkg_setup() {
enewgroup colord
enewuser colord -1 -1 /var/lib/colord colord
}
src_prepare() {
# Ubuntu patch to allow root and at_console to access colord without polkit;
# this behavior matches upstream default polkit settings.
epatch "${FILESDIR}/${PN}-0.1.13-use-dbus-security-for-permissions.patch"
}
src_configure() {
# Disable polkit to allow registering devices when colord is running as
# non-root; https://bugs.launchpad.net/ubuntu/+source/colord/+bug/837851
econf \
--disable-examples \
--disable-static \
--disable-polkit \
--enable-reverse \
--disable-volume-search \
--with-daemon-user=colord \
--localstatedir="${EPREFIX}"/var \
$(use_enable doc gtk-doc) \
$(use_enable introspection) \
$(use_enable scanner sane) \
$(use_enable udev gudev) \
VAPIGEN=$(type -p vapigen-0.14)
# parallel make fails in doc/api
use doc && MAKEOPTS=-j1
}
src_install() {
base_src_install
# Ensure config and profile directories exist and are writable
local d
for d in /var/lib/{color,colord}; do
keepdir "${d}"
fowners colord:colord "${d}"
done
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins examples/*.c
fi
find "${D}" -name "*.la" -delete || die
}
pkg_postinst() {
# <=colord-0.1.11 ran as root and used /var/lib/lib/colord to store
# configuration files and /var/lib/lib/color for custom color profiles.
local old_dir="${EROOT}var/lib/lib/colord"
local new_dir="${EROOT}var/lib/colord"
if [[ -e "${old_dir}/mapping.db" || -e "${old_dir}/storage.db" ]] && \
! [[ -e "${new_dir}/mapping.db" || -e "${new_dir}/storage.db" ]]; then
elog "Old colord configuration files are present in ${old_dir}. If you"
elog "are upgrading from colord-0.1.11 or older and had previously"
elog "customized your color management settings, you will need to copy"
elog "these files to ${new_dir} and then change the file ownership"
elog "to colord:colord :"
elog
elog " # cp ${old_dir}/*.db ${new_dir}"
elog " # chown colord:colord ${new_dir}/*.db"
elog
fi
old_dir="${EROOT}var/lib/lib/color"
new_dir="${EROOT}var/lib/color"
if [[ -e "${old_dir}/icc" && ! -e "${new_dir}/icc" ]]; then
elog "Old custom color profiles are present in ${old_dir}. If you are"
elog "upgrading from colord-0.1.11 or older, you will need to copy them"
elog "to ${new_dir} and then change the ownership to colord:colord :"
elog
elog " # cp -r ${old_dir}/icc ${new_dir}"
elog " # chown -R colord:colord ${new_dir}/icc"
elog
fi
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in x11-misc/colord: ChangeLog colord-0.1.13.ebuild
@ 2011-10-25 13:24 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2011-10-25 13:24 UTC (permalink / raw
To: gentoo-commits
jer 11/10/25 13:24:15
Modified: ChangeLog colord-0.1.13.ebuild
Log:
Marked ~hppa (bug #387959).
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Revision Changes Path
1.5 x11-misc/colord/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/ChangeLog?r1=1.4&r2=1.5
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog 19 Oct 2011 05:03:38 -0000 1.4
+++ ChangeLog 25 Oct 2011 13:24:15 -0000 1.5
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/colord
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.4 2011/10/19 05:03:38 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/ChangeLog,v 1.5 2011/10/25 13:24:15 jer Exp $
+
+ 25 Oct 2011; Jeroen Roovers <jer@gentoo.org> colord-0.1.13.ebuild:
+ Marked ~hppa (bug #387959).
*colord-0.1.13 (19 Oct 2011)
1.2 x11-misc/colord/colord-0.1.13.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild?r1=1.1&r2=1.2
Index: colord-0.1.13.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- colord-0.1.13.ebuild 19 Oct 2011 05:03:38 -0000 1.1
+++ colord-0.1.13.ebuild 25 Oct 2011 13:24:15 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild,v 1.1 2011/10/19 05:03:38 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/colord/colord-0.1.13.ebuild,v 1.2 2011/10/25 13:24:15 jer Exp $
EAPI="4"
@@ -12,7 +12,7 @@
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
IUSE="doc examples +introspection scanner +udev"
# FIXME: raise to libusb-1.0.9:1 when available
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-25 13:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 5:03 [gentoo-commits] gentoo-x86 commit in x11-misc/colord: ChangeLog colord-0.1.13.ebuild Alexandre Rostovtsev (tetromino)
-- strict thread matches above, loose matches on Subject: below --
2011-10-25 13:24 Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox