Package Details: podofo-git r1999-1

Git Clone URL: https://aur.archlinux.org/podofo-git.git (read-only, click to copy)
Package Base: podofo-git
Description: A C++ library to work with the PDF file format
Upstream URL: http://podofo.sourceforge.net
Licenses: GPL
Conflicts: podofo
Provides: podofo
Submitter: marcoscarpetta
Maintainer: marcoscarpetta
Last Packager: marcoscarpetta
Votes: 0
Popularity: 0.000000
First Submitted: 2018-02-26 16:54
Last Updated: 2020-03-16 08:27

Required by (14)

Sources (1)

Latest Comments

marcoscarpetta commented on 2020-03-16 08:28

It now builds on my system. I have lua from the Extra repository installed. The package should be renamed to podofo-svn...

sfranchi commented on 2020-03-10 20:35

In fact, this package seems out of date, as the github source it refers to is no longer maintained. The latest source from http://podofo.sourceforge.net/ does not compile either on my system, again with a linker error to Lua, and I do have Lua 5.1 installed, which seems to be the default option in the cmake file.

Changing the lualib version from the default to 5.3 fixes the compilation issues.

sfranchi commented on 2020-03-10 19:23

Compilation fails on my system. It seems there are packages missing/not declared in preferences. Here are the compilation errors:

/usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in function LuaConverter::StartPage(PoDoFo::PdfPage*, int)': luaconverter.cpp:(.text+0xb8): undefined reference tolua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0xe6): undefined reference to lua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in functionLuaConverter::EndPage(PoDoFo::PdfPage, int)': luaconverter.cpp:(.text+0x108): undefined reference to lua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x136): undefined reference tolua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in function LuaConverter::StartXObject(PoDoFo::PdfXObject*)': luaconverter.cpp:(.text+0x151): undefined reference tolua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x165): undefined reference to lua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in functionLuaConverter::EndXObject(PoDoFo::PdfXObject)': luaconverter.cpp:(.text+0x181): undefined reference to lua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x195): undefined reference tolua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in function LuaConverter::LuaConverter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': luaconverter.cpp:(.text+0x242): undefined reference toluaL_loadfilex' /usr/bin/ld: luaconverter.cpp:(.text+0x31c): undefined reference to lua_pcallk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in functionLuaConverter::GetColorFromReturnValue(char const)': luaconverter.cpp:(.text+0x403): undefined reference to lua_rawlen' /usr/bin/ld: luaconverter.cpp:(.text+0x46b): undefined reference tolua_tonumberx' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in function LuaConverter::SetStrokingColorGray(PoDoFo::PdfColor const&)': luaconverter.cpp:(.text+0x5be): undefined reference tolua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x601): undefined reference to lua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in functionLuaConverter::SetStrokingColorRGB(PoDoFo::PdfColor const&)': luaconverter.cpp:(.text+0x66e): undefined reference to lua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x705): undefined reference tolua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in function LuaConverter::SetStrokingColorCMYK(PoDoFo::PdfColor const&)': luaconverter.cpp:(.text+0x76e): undefined reference tolua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x82f): undefined reference to lua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in functionLuaConverter::SetNonStrokingColorGray(PoDoFo::PdfColor const&)': luaconverter.cpp:(.text+0x89e): undefined reference to lua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x8e1): undefined reference tolua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in function LuaConverter::SetNonStrokingColorRGB(PoDoFo::PdfColor const&)': luaconverter.cpp:(.text+0x94e): undefined reference tolua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0x9e5): undefined reference to lua_callk' /usr/bin/ld: CMakeFiles/podofocolor.dir/luaconverter.cpp.o: in functionLuaConverter::SetNonStrokingColorCMYK(PoDoFo::PdfColor const&)': luaconverter.cpp:(.text+0xa4e): undefined reference to lua_getglobal' /usr/bin/ld: luaconverter.cpp:(.text+0xb0f): undefined reference tolua_callk' collect2: error: ld returned 1 exit status make[2]: [tools/podofocolor/CMakeFiles/podofocolor.dir/build.make:191: tools/podofocolor/podofocolor] Error 1 make[2]: Leaving directory '/home/stefano/.cache/yay/podofo-git/src/build' make[1]: [CMakeFiles/Makefile2:1247: tools/podofocolor/CMakeFiles/podofocolor.dir/all] Error 2 make[1]: Leaving directory '/home/stefano/.cache/yay/podofo-git/src/build' make: ** [Makefile:130: all] Error 2

marcoscarpetta commented on 2018-03-09 15:04

Fixed. Thank you.

sekret commented on 2018-03-09 13:28

Please add git to makedepends, it won't build without it.

After having built the package, namcap says that it depends on libunistring, which appears to be true.