[poppler] poppler-splash and poppler-cairo modules

Carlos Garcia Campos carlosgc at gnome.org
Sun Feb 4 08:47:09 UTC 2018


suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp> writes:

> Dear Albert,
>
> Albert Astals Cid wrote:
>>> If non-working situation is longer than 5 years, removal of
>>> poppler-splash.pc and poppler-cairo.pc would be the solution?
>>> Or, should we have some switch to build libsplash and
>>> libpoppler-cairo?
>> 
>> I'm going to say kill them?
>
> Oh :-) Carlos, do you have any comments?

I agree with just removing them if they haven't really worked for 5
years. Nobody will miss them :-)

> If I add another point, libpoppler-cairo (library, not package-
> config file) was built by autotool building system and used by
> a few utilities (pdftocairo) and frontend(s) (libpoppler-glib).
>
> cmake building system does not build libpoppler-cairo, so, each
> compilation of the utility/library using CairoOutputDev repeat
> the compilation of CairoOutputDev related sources by themselves.
> We can find the duplicated object files in the building directories,
> like,
>
> poppler-github$ find build-cmake_20180128 -name "*airo*"
> build-cmake_20180128/poppler-cairo-uninstalled.pc
> build-cmake_20180128/glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoFontEngine.cc.o
> build-cmake_20180128/glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoOutputDev.cc.o
> build-cmake_20180128/glib/CMakeFiles/poppler-glib.dir/__/poppler/CairoRescaleBox.cc.o
> build-cmake_20180128/utils/pdftocairo
> build-cmake_20180128/utils/CMakeFiles/pdftocairo.dir
> build-cmake_20180128/utils/CMakeFiles/pdftocairo.dir/pdftocairo.cc.o
> build-cmake_20180128/utils/CMakeFiles/pdftocairo.dir/pdftocairo-win32.cc.o
> build-cmake_20180128/utils/CMakeFiles/pdftocairo.dir/__/poppler/CairoFontEngine.cc.o
> build-cmake_20180128/utils/CMakeFiles/pdftocairo.dir/__/poppler/CairoOutputDev.cc.o
> build-cmake_20180128/utils/CMakeFiles/pdftocairo.dir/__/poppler/CairoRescaleBox.cc.o
> build-cmake_20180128/poppler-cairo.pc
>
> Building libpoppler-cairo by cmake and using it in libpoppler-
> glib and pdftocairo is not good idea? It would be useful if
> some utilities using CairoOutputDev would be added in future...

I think it's a good idea, but I would probably build it as static
instead of shared, since it will be an internal library used by tools
and frontends. I didn't notice we changed this when switching to cmake.

> Regards,
> mpsuzuki
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler

-- 
Carlos Garcia Campos
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20180204/70dc66eb/attachment.sig>


More information about the poppler mailing list