summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/cinnamon-session/ChangeLog11
-rw-r--r--gnome-extra/cinnamon-session/Manifest5
-rw-r--r--gnome-extra/cinnamon-session/cinnamon-session-2.2.0.ebuild73
-rw-r--r--gnome-extra/cinnamon-session/files/cinnamon-session-2.2.0-automagic-upower.patch33
-rw-r--r--gnome-extra/cinnamon-session/metadata.xml8
5 files changed, 130 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-session/ChangeLog b/gnome-extra/cinnamon-session/ChangeLog
new file mode 100644
index 000000000000..ad60b69615b9
--- /dev/null
+++ b/gnome-extra/cinnamon-session/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for gnome-extra/cinnamon-session
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-session/ChangeLog,v 1.1 2014/05/06 03:09:08 tetromino Exp $
+
+*cinnamon-session-2.2.0 (06 May 2014)
+
+ 06 May 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +cinnamon-session-2.2.0.ebuild,
+ +files/cinnamon-session-2.2.0-automagic-upower.patch, +metadata.xml:
+ New package, needed for cinnamon-2.x
+
diff --git a/gnome-extra/cinnamon-session/Manifest b/gnome-extra/cinnamon-session/Manifest
new file mode 100644
index 000000000000..ce23d69ee288
--- /dev/null
+++ b/gnome-extra/cinnamon-session/Manifest
@@ -0,0 +1,5 @@
+AUX cinnamon-session-2.2.0-automagic-upower.patch 1141 SHA256 68fdc0ee0b1bf40b91ffd6d338f7e967a54f9750a3aa0c307fc5caa93211488a SHA512 c50cfb631c8ace4afe73ab486fddf2febb127c43e296c643b5aa167cd5a83bd5c266d317845e2c0d300827866729d3c0ec45c2f5091924fe8e77851e0844e288 WHIRLPOOL a190b78ebc95fc28c9f36b1b8a1fd268e69a913e1e80a040ce9b55f61645216327a4e939c9c85e53a76961e93d9075d0c867c6cd7af3912f0b87eb8623116385
+DIST cinnamon-session-2.2.0.tar.gz 900954 SHA256 b6ce4672a9b4fcd241c21a6b1921ff461e0c6e9fbeef4d4e9b1185785374ffae SHA512 2365b1af251cee09579fc7f8073ec3c26815cc5c6816f209bd6d45a8baa237ee33fedeff44c53f3b619f58649a441189aa890a64ff86e0c2277bde109bc12d49 WHIRLPOOL dea2f07d1f8ac97e87f4c07ab09072d4d6bcbd906c8a6c21aedc933361cd79ac251d62a3a958e275f86ba0b3ffda8340003e9a001b273448960de634138279e5
+EBUILD cinnamon-session-2.2.0.ebuild 1607 SHA256 1789627d86ba945a88e2c54d63b1de09fdcec149e38171d474b9828fa94464a7 SHA512 47f1d4203747d7eb553acfc6288765ab8f87cbb640260f50b4497d41c57d1409fae84aefd3526a5d7f5b7612657a99d20e19a88f465c8dd263de556d36270da3 WHIRLPOOL 281e459ff735fb5586154699c147d9569349704ad780d4c466bba69ed3bc2740fd75aee460914ede6cea8a0ebe9d9b24a45a08755ed4455cef4adf87dfa0b4cd
+MISC ChangeLog 372 SHA256 cc099b589f6db7da4fd81315896e86aa9124f0052fff914ba3db946b08f75122 SHA512 82c8285c9749df68c844875127ee7331fb8b3e156922c6b2a50988ddcbff66f458d42d15508d7e83b51b295b3136be31dfd0f59ba670f54da5628252c4ab4d3e WHIRLPOOL d15ba1ccb817df65e766a7287b40a342595f3d0a9bd20b5fe91578829f7d9ea3142e384edcc39c623097a124cf4451cc43fbf47df7ca0c1b65d7fc2ad6f575f9
+MISC metadata.xml 269 SHA256 4ef60693f0ad4a1afd7f0eb141960c38de3eba07901718525dccad91cbe0a17e SHA512 7b8752b8368299202d474604f040f20c085de81839b819af60bf94ed5b97b8e5211a9f8ff1a54e8fcd42580398a06ad4da277508a1000439cfb05b8bed4846d4 WHIRLPOOL dd447eec4894dde21d3d06fba1d0ee11c8fbe77eb0805d30c80a3079a9e46831d27066ad4ca7de8ed07da1f1727cf11016e713475e61a4a769b2cd5a3a602791
diff --git a/gnome-extra/cinnamon-session/cinnamon-session-2.2.0.ebuild b/gnome-extra/cinnamon-session/cinnamon-session-2.2.0.ebuild
new file mode 100644
index 000000000000..b955d6bed355
--- /dev/null
+++ b/gnome-extra/cinnamon-session/cinnamon-session-2.2.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-session/cinnamon-session-2.2.0.ebuild,v 1.1 2014/05/06 03:09:08 tetromino Exp $
+
+EAPI="5"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Cinnamon session manager"
+HOMEPAGE="http://cinnamon.linuxmint.com/"
+SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gconf ipv6 systemd"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.76
+ >=dev-libs/glib-2.32:2
+ >=dev-libs/json-glib-0.10
+ media-libs/libcanberra
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-2.90.7:3
+ x11-libs/cairo
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/pango[X]
+ virtual/opengl
+ gconf? ( gnome-base/gconf:2 )
+ systemd? ( >=sys-apps/systemd-183 )
+ !systemd? (
+ >=sys-power/upower-0.9
+ <sys-power/upower-0.99 )
+"
+RDEPEND="${COMMON_DEPEND}
+ !systemd? ( sys-auth/consolekit )
+"
+DEPEND="${RDEPEND}
+ dev-libs/libxslt
+ >=dev-util/intltool-0.40.6
+ virtual/pkgconfig
+ doc? ( app-text/xmlto )
+"
+
+src_prepare() {
+ # make upower check non-automagic
+ epatch "${FILESDIR}/${PN}-2.2.0-automagic-upower.patch"
+ epatch_user
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ DOCS="AUTHORS README README.md"
+
+ gnome2_src_configure \
+ --disable-deprecation-flags \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --disable-static \
+ $(use_enable doc docbook-docs) \
+ $(use_enable gconf) \
+ $(use_enable ipv6) \
+ $(use_enable systemd) \
+ $(usex systemd --disable-old-upower --enable-old-upower)
+}
diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-2.2.0-automagic-upower.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-2.2.0-automagic-upower.patch
new file mode 100644
index 000000000000..76246802e22a
--- /dev/null
+++ b/gnome-extra/cinnamon-session/files/cinnamon-session-2.2.0-automagic-upower.patch
@@ -0,0 +1,33 @@
+From 2f88efdaaefefabcc16d13f2ae63f57244de01ce Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Mon, 5 May 2014 22:34:14 -0400
+Subject: [PATCH] Make old upower check non-automagic
+
+---
+ configure.ac | 10 +++++++++-
+ 1 file changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ec4ffac..a122872 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -58,7 +58,15 @@ PKG_CHECK_MODULES(CINNAMON_SESSION,
+
+ dnl We can only support old upower
+ dnl https://bugzilla.gnome.org/show_bug.cgi?id=710383
+-PKG_CHECK_MODULES(UPOWER, upower-glib < 0.99.0, have_old_upower=yes, have_old_upower=no)
++AC_ARG_ENABLE([old-upower],
++ AS_HELP_STRING([--disable-old-upower], [Do not check for old UPower API]),
++ [enable_old_upower=$enableval],
++ [enable_old_upower=auto])
++
++have_old_upower=no
++if test x$enable_old_upower != xno ; then
++ PKG_CHECK_MODULES(UPOWER, upower-glib < 0.99.0, have_old_upower=yes, have_old_upower=no)
++fi
+ AS_IF([test x$have_old_upower = xyes], [
+ AC_DEFINE([HAVE_OLD_UPOWER], [1], [Define if we have an older upower])
+ ])
+--
+1.9.2
+
diff --git a/gnome-extra/cinnamon-session/metadata.xml b/gnome-extra/cinnamon-session/metadata.xml
new file mode 100644
index 000000000000..b15b5af45e05
--- /dev/null
+++ b/gnome-extra/cinnamon-session/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+<use>
+ <flag name="gconf">Support old autostart conditions which use <pkg>gnome-base/gconf</pkg></flag>
+</use>
+</pkgmetadata>