From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 256151384C3 for ; Sun, 6 Sep 2015 21:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9850014228; Sun, 6 Sep 2015 21:56:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2767A14228 for ; Sun, 6 Sep 2015 21:56:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB1C334091E for ; Sun, 6 Sep 2015 21:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28FB419 for ; Sun, 6 Sep 2015 21:56:03 +0000 (UTC) From: "Alexandre Rostovtsev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Rostovtsev" Message-ID: <1441576499.c676e623a8b7c3e3f3e3b133c92bcb92316faf18.tetromino@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon/, gnome-extra/cinnamon/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/cinnamon/cinnamon-2.6.13.ebuild gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch X-VCS-Directories: gnome-extra/cinnamon/ gnome-extra/cinnamon/files/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Rostovtsev X-VCS-Revision: c676e623a8b7c3e3f3e3b133c92bcb92316faf18 X-VCS-Branch: master Date: Sun, 6 Sep 2015 21:56:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 62333bc2-490d-4d78-b28b-84dd93489abd X-Archives-Hash: 8530cc991899bc13acfbc70d86098896 commit: c676e623a8b7c3e3f3e3b133c92bcb92316faf18 Author: Alexandre Rostovtsev gentoo org> AuthorDate: Sun Sep 6 21:54:59 2015 +0000 Commit: Alexandre Rostovtsev gentoo org> CommitDate: Sun Sep 6 21:54:59 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c676e623 gnome-extra/cinnamon: fix build with clutter[-gtk] Gentoo-Bug: 559794 Reported-by: Lara Maia Upstream-Bug-url: https://github.com/linuxmint/Cinnamon/pull/4600 Package-Manager: portage-2.2.20.1 gnome-extra/cinnamon/cinnamon-2.6.13.ebuild | 4 +++ .../cinnamon-2.6.13-test-recorder-includes.patch | 36 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/gnome-extra/cinnamon/cinnamon-2.6.13.ebuild b/gnome-extra/cinnamon/cinnamon-2.6.13.ebuild index 76f706b..5f1d536 100644 --- a/gnome-extra/cinnamon/cinnamon-2.6.13.ebuild +++ b/gnome-extra/cinnamon/cinnamon-2.6.13.ebuild @@ -160,6 +160,10 @@ src_prepare() { # https://github.com/linuxmint/Cinnamon/issues/3577 epatch "${FILESDIR}"/${PN}-2.4.5-gnome-3.14.patch + # Fix build with clutter[-gtk] + # https://github.com/linuxmint/Cinnamon/pull/4600 + epatch "${FILESDIR}"/${PN}-2.6.13-test-recorder-includes.patch + # Use pkexec instead of gksu (from Arch) # https://github.com/linuxmint/Cinnamon/issues/3565 sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users || die diff --git a/gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch b/gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch new file mode 100644 index 0000000..3ed2c3a --- /dev/null +++ b/gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch @@ -0,0 +1,36 @@ +From cf960f096e426521fc898733580d47c725e52953 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev +Date: Sun, 6 Sep 2015 14:53:48 -0400 +Subject: [PATCH] build: append ST_CFLAGS when building test-recorder + +test-recorder #includes st.h, which pulls in lots of headers, some of which +might not be in TEST_CINNAMON_RECORDER_CFLAGS, depending on how clutter and +gstreamer were configured. + +Fixes build failure reported at https://bugs.gentoo.org/559794 : + +In file included from ./st/st-bin.h:27:0, + from st.h:4, + from cinnamon-recorder.c:19: +./st/st-types.h:26:21: fatal error: gtk/gtk.h: No such file or directory +--- + src/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 3d8fdd3..e6e54a9 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -199,7 +199,8 @@ libcinnamon_la_SOURCES += $(cinnamon_recorder_sources) $(cinnamon_recorder_non_g + + noinst_PROGRAMS += test-recorder + +-test_recorder_CPPFLAGS = $(TEST_CINNAMON_RECORDER_CFLAGS) ++test_recorder_CPPFLAGS = $(TEST_CINNAMON_RECORDER_CFLAGS) \ ++ $(ST_CFLAGS) + test_recorder_LDADD = $(TEST_CINNAMON_RECORDER_LIBS) \ + libst-1.0.la + +-- +2.5.1 +