[poppler] cmake and static binaries

William Bader williambader at hotmail.com
Wed Sep 6 20:09:06 UTC 2017


>You're the one that thinks static builds are a good idea, so you should know if it's a problem or not :D


What I meant is that I am not sure if the default build should or should not include jbig. Either the autotools build is pulling in too much or the cmake build is missing a test. I think that jbig provides lossless compression. If it is not linked in, does that mean that poppler loses the functionality or that poppler uses another library or that poppler uses its own implementation?


Regards, William


________________________________
From: Albert Astals Cid <tsdgeos at gmail.com> on behalf of Albert Astals Cid <aacid at kde.org>
Sent: Wednesday, September 6, 2017 1:41 PM
To: poppler at lists.freedesktop.org
Cc: William Bader
Subject: Re: [poppler] cmake and static binaries

El dimarts, 5 de setembre de 2017, a les 18:40:31 CEST, William Bader va
escriure:
> Thanks, that worked!
>
>
> I ran 'ldd' on both pdftops executables, and the executable I compiled
> yesterday with autotools has one additional library compared to the one I
> built now with cmake: libjbig
>
> Is that a problem? I reran the autotools build and grep for jbig didn't find
> anything in configure or the makefiles, but ldd pdftops still shows it.

You're the one that thinks static builds are a good idea, so you should know
if it's a problem or not :D

I'll commit that patch anyway it's not a big change and if it makes you happy
something is something.

Cheers,
  Albert

>
>
> Regards, William
>
>
> ________________________________
> From: poppler <poppler-bounces at lists.freedesktop.org> on behalf of Albert
> Astals Cid <aacid at kde.org> Sent: Tuesday, September 5, 2017 1:32 PM
> To: poppler at lists.freedesktop.org
> Subject: Re: [poppler] cmake and static binaries
>
> El dilluns, 4 de setembre de 2017, a les 13:43:10 CEST, William Bader va
>
> escriure:
> > I mainly use the poppler pdftops utility, and with autotools, I have been
> > using --enable-static --disable-shared so that I have a single executable
> > instead of an executable and library. Is there an equivalent with cmake?
> > Adding -DBUILD_SHARED_LIBS=OFF didn't seem to make any different. Thanks,
> > William
>
> I'm not really very happy supporting static builds but sine this seems to be
> a small change, can you verify this patch works for you?
>
> Cheers,
>   Albert


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20170906/4387e27a/attachment.html>


More information about the poppler mailing list