All of lore.kernel.org
 help / color / mirror / Atom feed
From: Armin Kuster <akuster808@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [warrior][patch 17/34] evince: add patch to fix build with recent gobject-introspection
Date: Mon, 20 May 2019 20:56:17 -0700	[thread overview]
Message-ID: <8af1b3526defb5b604a7edb096d594e81cd2a72a.1558410874.git.akuster808@gmail.com> (raw)
In-Reply-To: <cover.1558410874.git.akuster808@gmail.com>

From: Andreas Müller <schnitzeltony@gmail.com>

gobject-introspection torned some warnings to errors. That caused:

| ../../evince-3.28.2/libview/ev-document-model.h:57: Fatal: EvinceView: Namespace conflict for 'document_model_get_type'

Have tried to fix evince by update to 3.28.5 and 3.32.0 but that causes nasty
gettext errors which I was not able to fix yet.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 ...ove-EvDocumentModel-get-type-function-dec.patch | 33 ++++++++++++++++++++++
 meta-gnome/recipes-gnome/evince/evince_3.28.2.bb   | 12 ++++----
 2 files changed, 40 insertions(+), 5 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch

diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch b/meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch
new file mode 100644
index 0000000..dcc4a4e
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evince/evince/0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch
@@ -0,0 +1,33 @@
+From 0cdce687d3edfa5ac0fd19539ba1815d039026d5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= <inigomartinez@gmail.com>
+Date: Fri, 7 Sep 2018 22:34:29 +0200
+Subject: [PATCH] libview: Remove EvDocumentModel get type function declaration
+
+The EvDocumentModel class declares the `ev_document_model_get_type`
+function as part of the `GObject` boilerplate code.
+
+However, this declaration is not necessary and also causes a warning
+when introspection data file, `EvinceView-3.0.gir`, is generated.
+
+Upstream-Status: Applied [1]
+
+
+---
+ libview/ev-document-model.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h
+index 784e27d6..6a99e43a 100644
+--- a/libview/ev-document-model.h
++++ b/libview/ev-document-model.h
+@@ -54,7 +54,6 @@ typedef enum {
+ 	EV_PAGE_LAYOUT_AUTOMATIC
+ } EvPageLayout;
+ 
+-GType            ev_document_model_get_type          (void) G_GNUC_CONST;
+ EvDocumentModel *ev_document_model_new               (void);
+ EvDocumentModel *ev_document_model_new_with_document (EvDocument      *document);
+ 
+-- 
+2.20.1
+
diff --git a/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb b/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb
index 01f581a..d288590 100644
--- a/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_3.28.2.bb
@@ -6,11 +6,13 @@ DEPENDS = "gtk+3 libsecret ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-d
 
 inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd
 
-SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
-           file://0001-help-remove-YELP-macro.patch \
-           file://0001-Add-format-attribute-to-_synctex_malloc.patch \
-           file://0001-add-a-formatting-attribute-check.patch \
-           "
+SRC_URI = " \
+    ${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
+    file://0001-help-remove-YELP-macro.patch \
+    file://0001-Add-format-attribute-to-_synctex_malloc.patch \
+    file://0001-add-a-formatting-attribute-check.patch \
+    file://0001-libview-Remove-EvDocumentModel-get-type-function-dec.patch \
+"
 SRC_URI[archive.md5sum] = "66aa1766eaaa37536e48def11a0e67a3"
 SRC_URI[archive.sha256sum] = "0955d22d85c9f6d322b6cbb464f1cc4c352db619017ec95dad4cc5c3440f73e1"
 
-- 
2.7.4



  parent reply	other threads:[~2019-05-21  3:56 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-21  3:56 [warrior][patch 00/34] Patch review Armin Kuster
2019-05-21  3:56 ` [warrior][patch 01/34] cpupower: remove LIC_FILES_CHKSUM Armin Kuster
2019-05-21  3:56 ` [warrior][patch 02/34] python-pyasn1: upgrade 0.4.4 -> 0.4.5 Armin Kuster
2019-05-21  6:40   ` Adrian Bunk
2019-05-21 14:52     ` akuster808
2019-05-21 18:05       ` Adrian Bunk
2019-05-21  3:56 ` [warrior][patch 03/34] php: upgrade 7.3.2 -> 7.3.4 Armin Kuster
2019-05-21  6:41   ` Adrian Bunk
2019-05-21  3:56 ` [warrior][patch 04/34] postgresql: fix compile error Armin Kuster
2019-05-21  3:56 ` [warrior][patch 05/34] openhpi: update openhpi-fix-testfail-errors.patch Armin Kuster
2019-05-21  3:56 ` [warrior][patch 06/34] phpmyadmin: upgrade 4.8.3 -> 4.8.5 Armin Kuster
2019-05-21  6:41   ` Adrian Bunk
2019-05-21  3:56 ` [warrior][patch 07/34] xfce4-vala: auto-detect vala api version Armin Kuster
2019-05-21  3:56 ` [warrior][patch 08/34] gnome-desktop3: set correct meson gtk doc option Armin Kuster
2019-05-21  8:08   ` Adrian Bunk
2019-05-21 16:37     ` akuster808
2019-05-21  3:56 ` [warrior][patch 09/34] esound: fix SRC_URI for multilib Armin Kuster
2019-05-21  3:56 ` [warrior][patch 10/34] opusfile: " Armin Kuster
2019-05-21  3:56 ` [warrior][patch 11/34] miniupnpd: " Armin Kuster
2019-05-21  3:56 ` [warrior][patch 12/34] zbar: " Armin Kuster
2019-05-21  3:56 ` [warrior][patch 13/34] cpupower: Inherit bash completion class Armin Kuster
2019-05-21  3:56 ` [warrior][patch 14/34] python-urllib3: Set CVE_PRODUCT Armin Kuster
2019-05-21  3:56 ` [warrior][patch 15/34] python3-pillow: " Armin Kuster
2019-05-21  3:56 ` [warrior][patch 16/34] python-requests: " Armin Kuster
2019-05-21  3:56 ` Armin Kuster [this message]
2019-05-21  9:33   ` [warrior][patch 17/34] evince: add patch to fix build with recent gobject-introspection Adrian Bunk
2019-05-21 16:38     ` akuster808
2019-05-21  3:56 ` [warrior][patch 18/34] php: correct httpd path Armin Kuster
2019-05-21  3:56 ` [warrior][patch 19/34] pmtools: use update-alternatives for acpidump Armin Kuster
2019-05-21  3:56 ` [warrior][patch 20/34] xfce4-cpufreq-plugin: Fix memory leak and reduce CPU load Armin Kuster
2019-05-21  3:56 ` [warrior][patch 21/34] packagegroup-meta-networking: replace DISTRO_FEATURE by DISTRO_FEATURES Armin Kuster
2019-05-21  9:41   ` Adrian Bunk
2019-05-21  9:55     ` Martin Jansa
2019-05-21  3:56 ` [warrior][patch 22/34] meta-xfce: add meta-networking to layer depends Armin Kuster
2019-05-21  3:56 ` [warrior][patch 23/34] itstool: rework - it went out too early Armin Kuster
2019-05-21  3:56 ` [warrior][patch 24/34] mongodb: Fix build with gcc Armin Kuster
2019-05-21  3:56 ` [warrior][patch 25/34] ebtables: add UPSTREAM_CHECK_URI Armin Kuster
2019-05-21  9:43   ` Adrian Bunk
2019-05-21  3:56 ` [warrior][patch 26/34] netkit-rsh: add tag to CVE patch Armin Kuster
2019-05-21  3:56 ` [warrior][patch 27/34] ipsec-tools: fix CVE tag in patch Armin Kuster
2019-05-21  3:56 ` [warrior][patch 28/34] gd: set CVE_PRODUCT Armin Kuster
2019-05-21  3:56 ` [warrior][patch 29/34] doxygen: replace ninja 1.9.0 fix with official one Armin Kuster
2019-05-21  3:56 ` [warrior][patch 30/34] samba: update to 4.8.11 Armin Kuster
2019-05-21  3:56 ` [warrior][patch 31/34] openvpn: update to 2.4.7 Armin Kuster
2019-05-21  6:55   ` Adrian Bunk
2019-05-21  3:56 ` [warrior][patch 32/34] efivar: prevent native efivar depending on target kernel Armin Kuster
2019-05-21  3:56 ` [warrior][patch 33/34] libdbi-perl: prevent native libdbi-perl depending on target perl Armin Kuster
2019-05-21  3:56 ` [warrior][patch 34/34] aufs-util: prevent native aufs-util depending on target kernel Armin Kuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8af1b3526defb5b604a7edb096d594e81cd2a72a.1558410874.git.akuster808@gmail.com \
    --to=akuster808@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.