Package Details: lua52-cd 5.14-2

Git Clone URL: (read-only, click to copy)
Package Base: libcd
Description: Lua (5.2) bindings for Canvas Draw library
Upstream URL:
Licenses: MIT
Submitter: None
Maintainer: blueowl
Last Packager: blueowl
Votes: 5
Popularity: 0.000000
First Submitted: 2010-07-22 08:52 (UTC)
Last Updated: 2021-08-06 11:01 (UTC)

Latest Comments

1 2 3 Next › Last »

MrSoup678 commented on 2023-08-02 10:16 (UTC)

@destinghim Same error here. Reproducible with manual build (makepkg). Apparently some targets are build before other targets. In the libim repo the im_jp2 target is build BEFORE im. I had to split the make call to build only im first, then the rest. Likely the same case in this package.

desttinghim commented on 2022-02-12 06:33 (UTC)

I am getting an error when trying to build this using yay. For some reason it can't link against the libraries it just built. I managed to get around this by downloading the PKGBUILD and running makepkg multiple times, until all versions of libcd were built. Any idea why this is the case?

blueowl commented on 2021-08-06 11:15 (UTC) (edited on 2021-08-06 11:15 (UTC) by blueowl)

@mov-rax: thanks for pointing it out and the link. libcd now depends on AUR pdflib-lite package. But it provides a library named libpdf rather than libpdflib (Upstream now uses its internal copy of PDFlib-lite sources instead).

Fixed in

mov-rax commented on 2021-01-30 00:41 (UTC)

This package fails to link.

Tecmake: linking ...
gcc -shared -o ../lib/Linux510_64/ 
../obj/cdpdf/Linux510_64/cdpdf.o ../../ftgl/lib/Linux510_64/libftgl.a - 
L../lib/Linux510_64 -L../../pdflib7/lib/Linux510_64 -lcd -lfontconfig - 
lfreetype -lpdflib -lz -lm 
/usr/bin/ld: cannot find -lpdflib
collect2: error: ld returned 1 exit status
make[1]: *** [../tecmake.mak:1669: ../lib/Linux510_64/] Error 1
make: *** [Makefile:14: cdpdf] Error 2
==> ERROR: A failure occurred in build().

This linking error was also referenced here.

blueowl commented on 2020-01-27 17:01 (UTC) (edited on 2020-01-27 17:02 (UTC) by blueowl)

Made an update to build with pango >= 1.44 (depending on harfbuzz).

@daurnimator: pango 1.44 and up depends on harfbuzz [1],[2]. However the upstream tecmake.mak has not been updated yet. So I have patched that in PKGBUILD for now.


daurnimator commented on 2019-12-21 06:04 (UTC) (edited on 2019-12-21 06:08 (UTC) by daurnimator)

Missing harfbuzz dependency?

Tecmake: compiling cdgdk.c ...
gcc -c  -Wall -O2 -m64 -fPIC -I. -Idrv -Ix11 -Iwin32 -Iintcgm -Isim -Icairo -Isvg -I../include -I../../ftgl/include -I/usr/include/gtk-unix-print-2.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include   -DGTK_DISABLE_DEPRECATED -DTEC_UNAME=Linux53_64 -DTEC_SYSNAME=Linux -DLinux=5.3 -DTEC_LITTLEENDIAN -DTEC_64 -DFUNCPROTO=15 -DNDEBUG -o ../obj/Linux53_64/cdgdk.o gdk/cdgdk.c
In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from gdk/cdgdk.h:10,
                 from gdk/cdgdk.c:13:
/usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
   28 | #include <hb.h>
      |          ^~~~~~
compilation terminated.
make[1]: *** [../tecmake.mak:1700: ../obj/Linux53_64/cdgdk.o] Error 1
make: *** [Makefile:14: cd] Error 2
==> ERROR: A failure occurred in build().

blueowl commented on 2018-10-11 19:20 (UTC) (edited on 2018-10-11 19:26 (UTC) by blueowl)

@ktamp: added 'lua' to makedepends
@quipa: fixed ftgl checksum

Thanks for pointing out the issues.

ktamp commented on 2018-08-27 23:29 (UTC)

Please add 'lua' to makedepends. This would solve potential problems on systems where 'lua' is not already installed and pikaur AUR helper is used (possibly others too).

quipa commented on 2018-08-10 19:45 (UTC)

There seems to be an issue with the md5sums for ftgl, getting the following error:

==> Validating source files with md5sums...
    cd-5.11.1_Sources.tar.gz ... Passed
    ftgl-2.1.5_Sources.tar.gz ... FAILED
    cd-5.11.1_Docs.pdf ... Passed
==> ERROR: One or more files did not pass the validity check!

blueowl commented on 2018-04-25 13:13 (UTC)