Package Details: podofo-git 0.10.1.r2.gadfff1c-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: https://github.com/podofo/podofo
Licenses: LGPL2.1
Conflicts: podofo
Provides: podofo
Submitter: marcoscarpetta
Maintainer: marcoscarpetta
Last Packager: marcoscarpetta
Votes: 0
Popularity: 0.000000
First Submitted: 2018-02-26 16:54 (UTC)
Last Updated: 2023-07-01 09:56 (UTC)

Required by (19)

Sources (1)

Latest Comments

xiota commented on 2023-06-30 18:20 (UTC)

url and source need to be updated to https://github.com/podofo/podofo

marcoscarpetta commented on 2020-03-16 08:28 (UTC) (edited on 2020-03-16 08:30 (UTC) by marcoscarpetta)

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 (UTC)

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 (UTC)

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 (UTC)

Fixed. Thank you.

sekret commented on 2018-03-09 13:28 (UTC)

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.