Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287701 - app-text/xournal version bump (0.4.2.1 -> 0.4.5)
Summary: app-text/xournal version bump (0.4.2.1 -> 0.4.5)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robert Buchholz (RETIRED)
URL: http://xournal.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 04:22 UTC by galilette
Modified: 2009-11-14 14:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
experimental ebuild (xournal-0.4.5.ebuild,1.04 KB, text/plain)
2009-10-13 17:37 UTC, Marcel Lilienthal
Details
xournal-0.4.5-xoprint-len.patch (xournal-0.4.5-xoprint-len.patch,4.20 KB, patch)
2009-11-12 16:09 UTC, Robert Buchholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description galilette 2009-10-05 04:22:21 UTC
upstream just released 0.4.5. Most notably, poppler replaced pdftoppm as the pdf rendering engine, making annotating large pdf files practical

This also solves bug 276696:
http://bugs.gentoo.org/show_bug.cgi?id=276696

Reproducible: Always

Steps to Reproduce:
Comment 1 Wormo (RETIRED) gentoo-dev 2009-10-05 07:03:06 UTC
Thanks for the release notification, assigning to maintainer.
Comment 2 Marcel Lilienthal 2009-10-13 17:37:09 UTC
Created attachment 206990 [details]
experimental ebuild
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2009-11-01 17:00:13 UTC
Marcel, thank you for the ebuild. I have only included the poppler dependency changes in the bump. Why did you remove pkgconfig and the gnome eclass parts?


*xournal-0.4.5 (01 Nov 2009)

  01 Nov 2009; Robert Buchholz <rbu@gentoo.org> +xournal-0.4.5.ebuild:
  Version bump, change to poppler (bug #287701).
Comment 4 Marcel Lilienthal 2009-11-01 17:18:34 UTC
(In reply to comment #3)
> Marcel, thank you for the ebuild. I have only included the poppler dependency
> changes in the bump. Why did you remove pkgconfig and the gnome eclass parts?
Removing the pkgconfig dependency was an accident.
As far as I remember I got a QA warnings using the gnome2 eclass, but i think you're right using the gnome2 eclass anyway.
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2009-11-01 17:48:18 UTC
The warnings are caused by the src_configure as defined in the gnome2 eclass. Fixed now, I hope.


+  01 Nov 2009; Robert Buchholz <rbu@gentoo.org> xournal-0.4.5.ebuild:
+  Override src_configure of the gnome2 eclass because of a QA warning
+
Comment 6 Florian Streibelt 2009-11-12 12:49:59 UTC
Hi rbu,

(In reply to comment #0)
> upstream just released 0.4.5. Most notably, poppler replaced pdftoppm as the
> pdf rendering engine, making annotating large pdf files practical

I get
GLib-ERROR **: gmem.c:175: failed to allocate 140737488355328 bytes

on saving a simple document. 

Steps to reproduce: add 4-5 text elements and some freehand-drawings to an
empty document and export it as pdf. xournal-0.4.2.1-r1 works with the saved xoj-file from the new version. So it seems only pdf-export is affected.

Also a friend of mine was not able to read my text-annotations in a pdf with acrobat 9. acrobat 7 was able to read the annotations - the problem seems to be with embedded fonts not beeing interpreted by acrobat 9 on MacOS. 

So for me the new pdf-export seems not production-ready ;)



Comment 7 Robert Buchholz (RETIRED) gentoo-dev 2009-11-12 16:09:17 UTC
Florian, please open new bug reports for new issues instead of commenting on old, fixed reports.

The issue is caused by mixing up varaible (gsize/size_t) and fixed-length (guint32) integer types and thus limited to 64-bit platforms. It is triggered when embedding TrueType fonts in PDF files. I will attach a patch that fixes the issue for me, please test it.
Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2009-11-12 16:09:46 UTC
Created attachment 210036 [details, diff]
xournal-0.4.5-xoprint-len.patch
Comment 9 Florian Streibelt 2009-11-12 23:10:15 UTC
(In reply to comment #8)

The patch seems to do the trick. Added it to the autopatches and I was able to export a pdf. Sorry for not opening a new ticket - I was not sure about opening a new ticket parallel to the bump.
Comment 10 Robert Buchholz (RETIRED) gentoo-dev 2009-11-14 14:18:46 UTC
upstream bug: https://sourceforge.net/tracker/?func=detail&aid=2897699&group_id=163434&atid=827733