<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span><span>>Can you me more specific about the exact name of the library please?</span></span></p>
<p><span><br>
</span></p>
<p><span><span></span>ldd pdftops shows it as<br>
libjbig.so.2.1 => /lib64/libjbig.so.2.1</span></p>
<p><span><br>
</span></p>
<p><span>I have Fedora 25 which might affect the version numbers.</span></p>
<p><span><span> dnf provides /usr/lib64/libjbig.so.2.1</span><br>
</span></p>
<p><span><span>returns</span></span></p>
<p><span><span> <span>jbigkit-libs-2.1-5.fc24.x86_64 : JBIG1 lossless image compression library</span></span></span></p>
<p><span><br>
</span></p>
<p><span>The library is a minor thing, but I remember from a patch that added compression that some compression and decompression libraries have vulnerabilities.</span></p>
<p><span>At least for testing with my files, the autotools static pdftops with the library and the cmake static pdftops without the library both worked fine.</span></p>
<div><br>
</div>
<div>Regards, William</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> poppler <poppler-bounces@lists.freedesktop.org> on behalf of Albert Astals Cid <aacid@kde.org><br>
<b>Sent:</b> Thursday, September 7, 2017 1:37 PM<br>
<b>To:</b> poppler@lists.freedesktop.org<br>
<b>Subject:</b> Re: [poppler] cmake and static binaries</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">El dimecres, 6 de setembre de 2017, a les 20:09:06 CEST, William Bader va
<br>
escriure:<br>
> >You're the one that thinks static builds are a good idea, so you should<br>
> >know if it's a problem or not :D<br>
> What I meant is that I am not sure if the default build should or should not<br>
> include jbig. Either the autotools build is pulling in too much or the<br>
> cmake build is missing a test. I think that jbig provides lossless<br>
> compression. If it is not linked in, does that mean that poppler loses the<br>
> functionality or that poppler uses another library or that poppler uses its<br>
> own implementation?<br>
<br>
Can you me more specific about the exact name of the library please?<br>
<br>
Cheers,<br>
Albert<br>
<br>
> <br>
> <br>
> Regards, William<br>
> <br>
> <br>
> ________________________________<br>
> From: Albert Astals Cid <tsdgeos@gmail.com> on behalf of Albert Astals Cid<br>
> <aacid@kde.org> Sent: Wednesday, September 6, 2017 1:41 PM<br>
> To: poppler@lists.freedesktop.org<br>
> Cc: William Bader<br>
> Subject: Re: [poppler] cmake and static binaries<br>
> <br>
> El dimarts, 5 de setembre de 2017, a les 18:40:31 CEST, William Bader va<br>
> <br>
> escriure:<br>
> > Thanks, that worked!<br>
> > <br>
> > <br>
> > I ran 'ldd' on both pdftops executables, and the executable I compiled<br>
> > yesterday with autotools has one additional library compared to the one I<br>
> > built now with cmake: libjbig<br>
> > <br>
> > Is that a problem? I reran the autotools build and grep for jbig didn't<br>
> > find anything in configure or the makefiles, but ldd pdftops still shows<br>
> > it.<br>
> You're the one that thinks static builds are a good idea, so you should know<br>
> if it's a problem or not :D<br>
> <br>
> I'll commit that patch anyway it's not a big change and if it makes you<br>
> happy something is something.<br>
> <br>
> Cheers,<br>
> Albert<br>
> <br>
> > Regards, William<br>
> > <br>
> > <br>
> > ________________________________<br>
> > From: poppler <poppler-bounces@lists.freedesktop.org> on behalf of Albert<br>
> > Astals Cid <aacid@kde.org> Sent: Tuesday, September 5, 2017 1:32 PM<br>
> > To: poppler@lists.freedesktop.org<br>
> > Subject: Re: [poppler] cmake and static binaries<br>
> > <br>
> > El dilluns, 4 de setembre de 2017, a les 13:43:10 CEST, William Bader va<br>
> > <br>
> > escriure:<br>
> > > I mainly use the poppler pdftops utility, and with autotools, I have<br>
> > > been<br>
> > > using --enable-static --disable-shared so that I have a single<br>
> > > executable<br>
> > > instead of an executable and library. Is there an equivalent with cmake?<br>
> > > Adding -DBUILD_SHARED_LIBS=OFF didn't seem to make any different.<br>
> > > Thanks,<br>
> > > William<br>
> > <br>
> > I'm not really very happy supporting static builds but sine this seems to<br>
> > be a small change, can you verify this patch works for you?<br>
> > <br>
> > Cheers,<br>
> > <br>
> > Albert<br>
<br>
<br>
_______________________________________________<br>
poppler mailing list<br>
poppler@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" id="LPlnk778475" previewremoved="true">https://lists.freedesktop.org/mailman/listinfo/poppler</a>
<div id="LPBorder_GT_15048129342870.41344389841605045" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15048129342850.33575613832663187" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15048129342860.7637040924636704" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15048129342860.8534148263427972"></div>
<div id="LPTitle_15048129342860.17599561035955036" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15048129342860.5903880416759493" href="https://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank" style="text-decoration: none;">poppler Info Page - freedesktop.org</a></div>
<div id="LPMetadata_15048129342870.12953348030413947" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.freedesktop.org</div>
<div id="LPDescription_15048129342870.8155895153398904" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Subscribing to poppler: Subscribe to poppler by filling out the following form. Use of all freedesktop.org lists is subject to our Code of ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>