Commit Graph

27 Commits

Author SHA1 Message Date
Andreas Müller
69b8d6804b evince: add patch to fix build with recent gobject-introspection
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>
2019-05-05 23:22:39 -07:00
Fabien Lahoudere
ddd121299c evince: Drop x11 requirement
evince works fine in a wayland only distribution.
x11 requirement is not needed.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26 09:38:14 -08:00
Khem Raj
8705570331 evince: Fix build with clang
The added patch aids clang to avoid format warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@googlemail.com>
2018-09-09 21:59:14 -07:00
Andreas Müller
5b8395e647 evince: update 3.28.1 -> 3.28.2
Remove PR this time.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-17 11:26:04 -07:00
Andreas Müller
95c1d3bfe4 evince: update 3.24.0 -> 3.28.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:25:29 -07:00
Armin Kuster
62376d673a evince: only include when x11 in DISTRO_FEATURES
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 09:59:34 -07:00
Fabien Lahoudere
33c822a7c1 evince: Remove X dependency
gnome-desktop is the only X dependency for evince.
In order to build evince for Wayland based system without X support,
gnome-desktop is added to DEPENDS only if x11 exists in DISTRO_FEATURES.
So x11 is dropped from REQUIRED_DISTRO_FEATURES.

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-13 11:13:20 +02:00
Chen Qi
e7ad92decb evince: fix do_install problem
When building evince for multilib, we would meet the following do_install
error.

  mv: cannot stat [snip]/usr/lib64/systemd/user/evince.service: No such file or directory

Fix to use the correct directory related to systemd in do_install function.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-28 10:10:41 +02:00
Khem Raj
4210d1a3ea evince: Upgrade to 3.24.0
Fix build with security flags

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-24 11:00:51 +02:00
Ross Burton
a7f3ec87f9 meta-gnome: add explicit gnome-common dependencies
gnome-common is deprecated and gnomebase.bbclass will soon stop depending on it,
so add gnome-common to DEPENDS for the recipes that still use it.

gxim previously wasn't really using the gnome-common macros so now the build
fails with compiler errors, so pass the flag to turn off fatal warnings as gxim
appears to be dead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:16:18 +01:00
Jackie Huang
2d8180ecf5 evince: add x11 to REQUIRED_DISTRO_FEATURES
evince depends on gtk+3 and gnome-desktop3 which
require x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:46 +01:00
Andreas Müller
520dee9774 evince: add intltool-native to DEPENDS
| WARNING: evince-3.18.2-r5 do_configure: Missing DEPENDS on intltool-native

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:18:51 +02:00
Derek Straka
55dfb1bd85 epdf, evince, tracker, gimp, tumbler: Remove blacklist caused by poppler build failures
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:20:08 +02:00
Derek Straka
979760c69b evince: fix build errors with gcc-6
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-23 15:20:06 +02:00
Martin Jansa
d78c5215b3 evince, epdf, gdm, gnumeric, libgnomeprint, tumbler, gedit, gnome-panel, gnome-session, gnome-terminal, libgnomecups, gtksourceview2, libgweather, libgnomeui, tracker, gimp, poppler, mousepad, goffice, tasks: blacklist, fails to build with gcc-6
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13 19:06:43 +02:00
Alexander Kanavin
b5af232816 evince: update to 3.18.2
This is done to enable gobject introspection support.
Drop obsolete patches.
Add a patch that disables yelp m4 macro (which we don't have).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-03-14 12:15:24 +01:00
Jussi Kukkonen
d7eba2737f evince: Remove pkg-config check for specific icon theme
Also rrecommend adwaita-icon-theme instead of gnome-icon-theme
(as latter is removed from oe-core).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:37:22 +02:00
Alexander Kanavin
d518b89505 gnome: add explicit bz2 compress type to older packages
The default was changed to xz in the gnomebase class to match the upstream.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:17:08 +02:00
Andreas Müller
9a1e9feacd evince: make nautilus extension a PACKAGECONFIG and disable by default
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 13:50:14 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Andreas Müller
2150f733e1 evince: fix build with gcc 4.8
warning/errror was:
tiff2ps.c:1131:4: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'tsize_t' [-Werror=format=]
    chunk_size, tiled_image ? "tiles" : "strips");
    ^
cc1: some warnings being treated as errors

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-21 12:45:49 +02:00
Andreas Müller
55ecab870e evince: fix/remove postinst by inheriting gsettings
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-10 11:02:39 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa
e8874ce41f evince: disable help build
* xsltproc does not work in oe-core correctly:
  | xsltproc -o evince-it.omf --stringparam db2omf.basename evince --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang it --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/evince/2.32.0-r2/evince-2.32.0/help/evince.omf.in"  /OE/jansa-test/shr-core/tmp-eglibc/sysroots/qemuarm`/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/pkg-config --variable db2omf gnome-doc-utils` it/evince.xml || { rm -f "evince-it.omf"; exit 1; }
  | http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod:115: parser warning : PEReference: %list.class; not found
  |               %local.divcomponent.mix;">
  |                                        ^
  ...
* https://bugzilla.yoctoproject.org/show_bug.cgi?id=2416

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-18 17:35:17 +01:00
Andreas Müller
c194c24e09 evince: Fix QA warnings / clean packaging
run tested on overo

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-29 16:18:29 +02:00
Andreas Müller
9c926e88fc evince: add cross-compile-fix.patch from classic oe to fix build error
error message was

| warning: failed to load external entity "/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl"
| cannot parse /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
| warning: failed to load external entity "/usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl"
| cannot parse /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl
| make[2]: *** [evince-C.omf] Error 1

[1] http://cgit.openembedded.org/openembedded/tree/recipes/evince/evince/cross-compile-fix.patch

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-20 08:26:34 +01:00
Andreas Müller
f3585ea146 evince: initial add 2.32.0
* recipe based on oe-classic: evince_2.30.0.bb
  commit 5dba154457691d2096f2b1a7ef24bdc6f1b51859
* run tested on overo
* TODO further doctype support
  configure option  ->    current configure result
  ------------------------------------------------
  --enable-ps       ->    PostScript Backend.:  no
  --enable-djvu     ->    DJVU Backend.......:  no
  --enable-impress  ->    Impress Backend....:  no

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-31 11:45:33 +01:00