| Submitter | Andreas Müller |
|---|---|
| Date | Oct. 30, 2011, 7:33 p.m. |
| Message ID | <1320003224-12913-1-git-send-email-schnitzeltony@gmx.de> |
| Download | mbox | patch |
| Permalink | /patch/14041/ |
| State | Accepted |
| Commit | f3585ea14677b1be474cf6f215f870845a4e91cb |
| Headers | show |
Comments
On Sunday, October 30, 2011 08:33:44 PM Andreas Müller wrote: > * 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> > --- > meta-gnome/recipes-gnome/evince/evince_2.32.0.bb | 39 > ++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) > create mode 100644 meta-gnome/recipes-gnome/evince/evince_2.32.0.bb > > diff --git a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb > b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb new file mode 100644 > index 0000000..899d416 > --- /dev/null > +++ b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb > @@ -0,0 +1,39 @@ > +DESCRIPTION = "Evince is a document viewer for document formats like pdf, > ps, djvu." +LICENSE = "GPLv2" > +LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" > +SECTION = "x11/office" > +DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring > nautilus tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" + > +inherit gnome pkgconfig gtk-icon-cache > + > +SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" > +SRC_URI[archive.sha256sum] = > "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7" + > +EXTRA_OECONF = " --enable-thumbnailer \ > + --enable-nautilus \ > + --disable-scrollkeeper \ > + --enable-pixbuf \ > + " > + > +do_install_append() { > + install -d install -d ${D}${datadir}/pixmaps > + install -m 0755 ${S}/data/icons/48x48/apps/evince.png > ${D}${datadir}/pixmaps/ +} > + > +RDEPENDS_${PN} += "glib-2.0-utils" > + > +PACKAGES =+ "${PN}-nautilus-extension" > +FILES_${PN} += "${datadir}/dbus-1" > +FILES_${PN}-dbg += "${libdir}/*/*/.debug \ > + ${libdir}/*/*/*/.debug" > +FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la" > +FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a" > +FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" > + > +pkg_postinst_${PN} () { > +if [ -n "$D" ]; then > + exit 1 > +fi > + > +glib-compile-schemas ${datadir}/glib-2.0/schemas > +} Be prepared that your system might feel different when installing evince and starting *glib-compile-schemas* on pkg_postinst. It seems that now the files in /usr/share/glib-2.0/schedule rise from dead by being compiled and thereby causing new behaviours. E.g. When starting thunar for the first time in session I now have to wait for very long and see Out of memory: Kill process 1458 (gvfsd-smb-brows) score 742 or sacrifice child Killed process 1458 (gvfsd-smb-brows) total-vm:403384kB, anon-rss:185676kB, file- rss:108kB gvfsd-smb-brows invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0 [<c003f9bc>] (unwind_backtrace+0x0/0xe0) from [<c00a3020>] (dump_header.clone.13+0x4c/0x11c) [<c00a3020>] (dump_header.clone.13+0x4c/0x11c) from [<c00a31f0>] (oom_kill_process.clone.16+0x3c/0x1e4) [<c00a31f0>] (oom_kill_process.clone.16+0x3c/0x1e4) from [<c00a36f0>] (out_of_memory+0x250/0x2d8) [<c00a36f0>] (out_of_memory+0x250/0x2d8) from [<c00a658c>] (__alloc_pages_nodemask+0x49c/0x614) [<c00a658c>] (__alloc_pages_nodemask+0x49c/0x614) from [<c00a7e84>] (__do_page_cache_readahead+0xa0/0x1e4) [<c00a7e84>] (__do_page_cache_readahead+0xa0/0x1e4) from [<c00a8224>] (ra_submit+0x20/0x24) [<c00a8224>] (ra_submit+0x20/0x24) from [<c00a2704>] (filemap_fault+0x164/0x39c) [<c00a2704>] (filemap_fault+0x164/0x39c) from [<c00b3e0c>] (__do_fault+0x50/0x3a8) [<c00b3e0c>] (__do_fault+0x50/0x3a8) from [<c00b68e4>] (handle_pte_fault+0x23c/0x550) [<c00b68e4>] (handle_pte_fault+0x23c/0x550) from [<c00b6c90>] (handle_mm_fault+0x98/0xa8) [<c00b6c90>] (handle_mm_fault+0x98/0xa8) from [<c00418f8>] (do_page_fault+0xe0/0x268) [<c00418f8>] (do_page_fault+0xe0/0x268) from [<c0036278>] (do_PrefetchAbort+0x34/0x98) [<c0036278>] (do_PrefetchAbort+0x34/0x98) from [<c003b460>] (ret_from_exception+0x0/0x10) Exception stack(0xcefb7fb0 to 0xcefb7ff8) After a while a second thunar opens with contents at Network. This was empty before! Right now it again seems to me that opening one door causes entering a room with many new doors... Andreas
Patch
diff --git a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb new file mode 100644 index 0000000..899d416 --- /dev/null +++ b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "Evince is a document viewer for document formats like pdf, ps, djvu." +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" +SECTION = "x11/office" +DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring nautilus tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" + +inherit gnome pkgconfig gtk-icon-cache + +SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" +SRC_URI[archive.sha256sum] = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7" + +EXTRA_OECONF = " --enable-thumbnailer \ + --enable-nautilus \ + --disable-scrollkeeper \ + --enable-pixbuf \ + " + +do_install_append() { + install -d install -d ${D}${datadir}/pixmaps + install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/ +} + +RDEPENDS_${PN} += "glib-2.0-utils" + +PACKAGES =+ "${PN}-nautilus-extension" +FILES_${PN} += "${datadir}/dbus-1" +FILES_${PN}-dbg += "${libdir}/*/*/.debug \ + ${libdir}/*/*/*/.debug" +FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la" +FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a" +FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" + +pkg_postinst_${PN} () { +if [ -n "$D" ]; then + exit 1 +fi + +glib-compile-schemas ${datadir}/glib-2.0/schemas +}
* 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> --- meta-gnome/recipes-gnome/evince/evince_2.32.0.bb | 39 ++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) create mode 100644 meta-gnome/recipes-gnome/evince/evince_2.32.0.bb