Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141189 Details for
Bug 164750
ebuild for referencer (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/referencer-1.0.4-poppler.patch
referencer-1.0.4-poppler.patch (text/plain), 1.40 KB, created by
Damien Thébault
on 2008-01-17 21:58:43 UTC
(
hide
)
Description:
files/referencer-1.0.4-poppler.patch
Filename:
MIME Type:
Creator:
Damien Thébault
Created:
2008-01-17 21:58:43 UTC
Size:
1.40 KB
patch
obsolete
>--- /trunk/configure.in 2007/09/02 07:29:29 547 >+++ trunk/configure.in 2007/09/08 18:30:24 548 >@@ -44,6 +44,13 @@ > AC_SUBST(DEPS_CFLAGS) > AC_SUBST(DEPS_LIBS) > >+dnl Special case for poppler-glib < 0.6 >+case $($PKG_CONFIG --modversion poppler-glib) in >+ 0.5.*) >+ AC_DEFINE(OLD_POPPLER,"1","Using poppler < 0.6");; >+esac >+ >+ > dnl I18n > GETTEXT_PACKAGE=$PACKAGE > AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",GETTEXT_PACKAGE) >--- /trunk/src/Document.C 2007/09/02 07:29:29 547 >+++ trunk/src/Document.C 2007/09/08 18:30:24 548 >@@ -18,9 +18,10 @@ > #include <libgnomevfsmm.h> > #include <glibmm/i18n.h> > #include "ucompose.hpp" >- > #include <poppler.h> > >+#include "config.h" >+ > #include "Utility.h" > #include "Library.h" > #include "TagList.h" >@@ -28,6 +29,7 @@ > > #include "Document.h" > >+ > Glib::RefPtr<Gdk::Pixbuf> Document::defaultthumb_; > Glib::RefPtr<Gdk::Pixbuf> Document::thumbframe_; > Glib::RefPtr<Gnome::UI::ThumbnailFactory> Document::thumbfac_; >@@ -393,7 +395,13 @@ > rect->y2 = height; > > // FIXME: add something before/after appending text to signal pagebreak? >- textdump += poppler_page_get_text (page, rect); >+ #ifdef OLD_POPPLER >+ #warning Using poppler <= 0.5 >+ textdump += poppler_page_get_text (page, rect); >+ #else >+ #warning Using poppler >= 0.6 >+ textdump += poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, rect); >+ #endif > > poppler_rectangle_free (rect); > g_object_unref (page);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164750
:
108788
|
112236
|
112335
|
112336
|
131562
|
141189
|
141191
|
143148
|
171124
|
192745
|
195578
|
199993
|
203114
|
203131
|
203142
|
203937
|
283339
|
330374
|
330376
|
332612
|
332686
|
332912