logo

overlay

My (experimental) gentoo overlay
commit: 11690a50f472276c419191817e15da775fcb1af9
parent: b044588468949dc3bf79defe7ebd1de1f325ca2c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 27 May 2019 00:28:35 +0200

app-text/evince: unbreak build when compiled without dbus

Diffstat:

Mapp-text/evince/evince-3.30.2.ebuild1+
Aapp-text/evince/files/3.30.2-application-name-dbus.patch29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/app-text/evince/evince-3.30.2.ebuild b/app-text/evince/evince-3.30.2.ebuild @@ -70,6 +70,7 @@ DEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}"/${PV}-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf + "${FILESDIR}"/${PV}-application-name-dbus.patch # unbreak build when compiled without dbus - fixed in 3.31.4+ ) src_prepare() { diff --git a/app-text/evince/files/3.30.2-application-name-dbus.patch b/app-text/evince/files/3.30.2-application-name-dbus.patch @@ -0,0 +1,29 @@ +From 674ab1de72145485f8ea2a715a6ff67a5c99548b Mon Sep 17 00:00:00 2001 +From: Jasper Lievisse Adriaanse <jasper@humppa.nl> +Date: Sun, 6 Jan 2019 14:49:13 +0100 +Subject: [PATCH] unbreak build when compiled without dbus + +APPLICATION_NAME is also used in ev_application_new() since 9363553a + +Fixes #1055 +--- + shell/ev-application.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell/ev-application.c b/shell/ev-application.c +index b01b3fa0..2085ba60 100644 +--- a/shell/ev-application.c ++++ b/shell/ev-application.c +@@ -64,8 +64,8 @@ struct _EvApplicationClass { + + G_DEFINE_TYPE (EvApplication, ev_application, GTK_TYPE_APPLICATION) + +-#ifdef ENABLE_DBUS + #define APPLICATION_NAME "org.gnome.Evince" ++#ifdef ENABLE_DBUS + #define APPLICATION_DBUS_OBJECT_PATH "/org/gnome/evince/Evince" + #define APPLICATION_DBUS_INTERFACE "org.gnome.evince.Application" + +-- +2.21.0 +