Hi Andreas,
Ok, so it wasn't the last one. Here's a patch for the configure.ac that
removes the need to add -lz after @LIBS@ in Makefile.in.
Using the AC_CHECK_LIB macro, it automatically links it? I'm not totally
sure how it works, someone in the #autotools channel at freenode suggested
it and it works.
Matt
Index: configure.ac
===================================================================
--- configure.ac (revision 135)
+++ configure.ac (working copy)
@@ -15,6 +15,7 @@
pkg_modules="gtk+-2.0 >= 2.18.3 poppler-glib >= 0.5.4 poppler >= 0.5.4
libglade-2.0 >= 2.6.4 gthread-2.0 >= 2.4.0"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+AC_CHECK_LIB([z], [gzopen])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)
On Fri, Apr 22, 2011 at 9:37 PM, Matthew Chan <talc...@gmail.com> wrote:
> Hi Andreas,
>
> Last email of the night, promise =P
>
> http://thread.gmane.org/gmane.comp.freedesktop.poppler/1130/focus=1143
>
> It looks like it's an internal poppler header. We're going to need to find
> a way around it, or the distributions won't include xournal in their repos.
> Also, if it's internal, I'm not sure how long the header will stay
> unchanged. I'm not too clear what we can do to get around it since I'm not
> familiar with it.
>
> What do you think?
>
> Matt
>
>
> On Fri, Apr 22, 2011 at 8:53 PM, Matthew Chan <talc...@gmail.com> wrote:
>
>> Hi Andreas,
>>
>> I talked to the fedora devs and the header won't get included unless
>> poppler includes it upstream.
>>
>> I don't mind making a case for including the header to the poppler devs,
>> but I'd like to know what it does exactly before writing the email. Could
>> you give me a brief description of what it does please? Also, what is the
>> difference between outputDev.h which is shipped in the poppler project and
>> the cairoOutputDev.h header?
>>
>> Thanks,
>> Matt
>>
>>
>> On Fri, Apr 22, 2011 at 2:32 PM, Andreas Butti <andreasbu...@gmail.com>wrote:
>>
>>>
>>>
>>> Am 22.04.2011 20:28, schrieb Matthew Chan:
>>>
>>> Hi Andreas,
>>>
>>> I've managed to build in eclipse now. There was a weird eclipse bug
>>> causing build errors when I did a autorebuild following a clean. If I
>>> manually issue a build all, it works fine.
>>>
>>> I'm using Fedora 13 right now, but Fedora 14 doesn't publish the
>>> CairoOutputDev.h header either. I will ask around in the fedora community to
>>> see what ways we can work around this. I'm fairly sure the fedora packaging
>>> requirements forbid including external libraries in projects. We will need
>>> to ask the poppler maintainer to include it or something.
>>>
>>> I'm still not sure if this header are public or not, I used them because
>>> there is no other way (in my view)
>>>
>>>
>>> Andreas
>>>
>>>
>>> Matt
>>>>
>>>>
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel