Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-session/, gnome-extra/cinnamon-session/files/
Date: Tue, 31 Jul 2018 08:38:46
Message-Id: 1533026070.9e4009499fe36ae4c8fd761b001bb678955cf936.k_f@gentoo
1 commit: 9e4009499fe36ae4c8fd761b001bb678955cf936
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 4 10:33:52 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 08:34:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e400949
7
8 gnome-extra/cinnamon-session: New upstream version 3.8.0
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 gnome-extra/cinnamon-session/Manifest | 1 +
13 .../cinnamon-session/cinnamon-session-3.8.0.ebuild | 67 ++++++++++++++++++++++
14 .../files/cinnamon-session-3.8.0-elogind.patch | 26 +++++++++
15 .../files/cinnamon-session-3.8.0-elogind2.patch | 25 ++++++++
16 4 files changed, 119 insertions(+)
17
18 diff --git a/gnome-extra/cinnamon-session/Manifest b/gnome-extra/cinnamon-session/Manifest
19 index 2a502be9118..2b47bba17ec 100644
20 --- a/gnome-extra/cinnamon-session/Manifest
21 +++ b/gnome-extra/cinnamon-session/Manifest
22 @@ -1 +1,2 @@
23 DIST cinnamon-session-3.6.1.tar.gz 205682 BLAKE2B 5e4bb931da715feebec6c980cd59d82b682d75234ab0e2c4135948fd83b81ea8c57536b6b2a0294162de82288af57a31977e77383e9c426357ecb4dacc4bd1e4 SHA512 a8ae2d332ba8e9f83ab9444c56611b28bd1c32ef9764fd5e883b7835940ec2b6c8b87f8af1735a3c2fe59ad4f15af5f5dab065cd368aaa09d4d25f6156ec6137
24 +DIST cinnamon-session-3.8.0.tar.gz 197983 BLAKE2B e0a8b57637668586f941c64df6e610a5df385a6ea67a71e1e666344a73e0095861beb9d958344dfd18988960df1e4380e72257c5f490ab344a4e0de6a749c2d1 SHA512 c737ee77396d38e27d93a5d2cec76d9072038f6a096c6071f450a9a3eb71d83beb1da3ff3320820d7989731281e5a108c330eec333a7fcb66ca7a37f16501c76
25
26 diff --git a/gnome-extra/cinnamon-session/cinnamon-session-3.8.0.ebuild b/gnome-extra/cinnamon-session/cinnamon-session-3.8.0.ebuild
27 new file mode 100644
28 index 00000000000..1dd7ed6cc95
29 --- /dev/null
30 +++ b/gnome-extra/cinnamon-session/cinnamon-session-3.8.0.ebuild
31 @@ -0,0 +1,67 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit meson eutils gnome2
37 +
38 +DESCRIPTION="Cinnamon session manager"
39 +HOMEPAGE="http://cinnamon.linuxmint.com/"
40 +SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="doc ipv6 systemd"
46 +
47 +COMMON_DEPEND="
48 + >=dev-libs/dbus-glib-0.88
49 + >=dev-libs/glib-2.37.3:2
50 + media-libs/libcanberra
51 + x11-libs/gdk-pixbuf:2
52 + >=x11-libs/gtk+-3:3
53 + x11-libs/cairo
54 + x11-libs/libICE
55 + x11-libs/libSM
56 + x11-libs/libX11
57 + x11-libs/libXau
58 + x11-libs/libXcomposite
59 + x11-libs/libXext
60 + x11-libs/libXrender
61 + x11-libs/libXtst
62 + x11-libs/pango[X]
63 + virtual/opengl
64 + systemd? ( >=sys-apps/systemd-183
65 + sys-auth/polkit )
66 + !systemd? ( sys-power/upower
67 + sys-auth/polkit[elogind] )
68 +"
69 +
70 +RDEPEND="${COMMON_DEPEND}
71 + >=gnome-extra/cinnamon-desktop-2.6[systemd=]
72 + !systemd? ( sys-auth/elogind[policykit] )
73 +"
74 +DEPEND="${COMMON_DEPEND}
75 + dev-libs/libxslt
76 + >=dev-util/intltool-0.40.6
77 + virtual/pkgconfig
78 + doc? ( app-text/xmlto )
79 +
80 + gnome-base/gnome-common
81 +"
82 +
83 +src_prepare() {
84 + eapply "${FILESDIR}/${PN}-3.8.0-elogind.patch" \
85 + "${FILESDIR}/${PN}-3.8.0-elogind2.patch"
86 + gnome2_src_prepare
87 +}
88 +
89 +src_configure() {
90 + meson_src_configure \
91 + -Dwith-gconf=false \
92 + -Dwith-docbook=$(usex doc true false) \
93 + -Dwith-ipv6=$(usex ipv6 true false)
94 +}
95 +
96 +src_install() {
97 + meson_src_install
98 +}
99
100 diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-3.8.0-elogind.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-3.8.0-elogind.patch
101 new file mode 100644
102 index 00000000000..7ae0fba5697
103 --- /dev/null
104 +++ b/gnome-extra/cinnamon-session/files/cinnamon-session-3.8.0-elogind.patch
105 @@ -0,0 +1,26 @@
106 +From e9857299d098d6e62d866fa738cf53197e45c8e3 Mon Sep 17 00:00:00 2001
107 +From: Kristian Fiskerstrand <kf@××××××××××××××××.com>
108 +Date: Mon, 9 Jul 2018 13:26:51 +0200
109 +Subject: [PATCH] ELOGIND also needs this code that is wrapped in LOGIND
110 + condtional
111 +
112 +---
113 + cinnamon-session/csm-systemd.c | 2 +-
114 + 1 file changed, 1 insertion(+), 1 deletion(-)
115 +
116 +diff --git a/cinnamon-session/csm-systemd.c b/cinnamon-session/csm-systemd.c
117 +index dc2aa2e..039abd9 100644
118 +--- a/cinnamon-session/csm-systemd.c
119 ++++ b/cinnamon-session/csm-systemd.c
120 +@@ -23,7 +23,7 @@
121 + #include "config.h"
122 + #include "csm-systemd.h"
123 +
124 +-#ifdef HAVE_LOGIND
125 ++#if defined(HAVE_LOGIND) || defined(HAVE_ELOGIND)
126 +
127 + #include <errno.h>
128 + #include <string.h>
129 +--
130 +2.16.4
131 +
132
133 diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-3.8.0-elogind2.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-3.8.0-elogind2.patch
134 new file mode 100644
135 index 00000000000..935541cf2a5
136 --- /dev/null
137 +++ b/gnome-extra/cinnamon-session/files/cinnamon-session-3.8.0-elogind2.patch
138 @@ -0,0 +1,25 @@
139 +From 10148b8831ba26c7991b4643cbb05d92445f4b61 Mon Sep 17 00:00:00 2001
140 +From: Kristian Fiskerstrand <kf@××××××××××××××××.com>
141 +Date: Mon, 9 Jul 2018 13:56:57 +0200
142 +Subject: [PATCH] elogind
143 +
144 +---
145 + cinnamon-session/meson.build | 4 ++--
146 + 1 file changed, 2 insertions(+), 2 deletions(-)
147 +
148 +diff --git a/cinnamon-session/meson.build b/cinnamon-session/meson.build
149 +index 1d0db5b..4be50e5 100644
150 +--- a/cinnamon-session/meson.build
151 ++++ b/cinnamon-session/meson.build
152 +@@ -77,7 +77,7 @@ executable('cinnamon-session',
153 + xext,
154 + xrender,
155 + xtest,
156 +- # elogind,
157 ++ elogind,
158 + ],
159 + link_with: [
160 + libegg,
161 +--
162 +2.16.4
163 +