Package Details: librecad-git 2.2.0_alpha_244_g54269f5b-1

Git Clone URL: (read-only)
Package Base: librecad-git
Description: A 2D CAD drawing tool based on the community edition of QCad.
Upstream URL:
Keywords: cad caduntu drawing librecad qcad
Licenses: GPL
Conflicts: librecad
Provides: librecad
Replaces: caduntu, caduntu-svn, librecad-svn
Submitter: mickele
Maintainer: damien.flament
Last Packager: damien.flament
Votes: 37
Popularity: 0.000191
First Submitted: 2011-04-20 21:51
Last Updated: 2017-12-12 15:38

Required by (0)

Sources (2)

Latest Comments

damien.flament commented on 2016-10-11 12:02

Updated to Qt5 and build plugins now.
But there is some very annoying bugs. It's Git build !

damien.flament commented on 2016-09-27 14:35

Can you update to Qt5 and support plugins ?

makaui commented on 2015-05-05 20:51

They are some utils like copy attributes from one entity to another and some other ones I don't remember now, they come as default in Debian's Librecad pkg. They are in the modify menu...

mickele commented on 2015-05-05 20:23

I found nothing about extra tools. Can you give some more info?

makaui commented on 2015-05-05 19:33

How can I modify the PKBUILD to incluye the extra tools?

karol_007 commented on 2014-11-15 18:45

Can you set the pkgver in the PKGBUILD?

mickele commented on 2014-11-15 18:23

Please, don't care about version number (I mean 20130302). Package compiles the last version available on git.

mickele commented on 2013-03-11 12:59

I suppose your issue happens when updating on a previous build, beacuse on my system clean builds have no problem with Makefiles.
If so it is enough to remove "src" directory and build on a clean source.

budulay commented on 2013-03-08 22:19

I was having problems building librecad after the qt update. Turns out old Makefiles were not re-generated and had a wrong qt path in them.

There is a CLEAN.SH script in the source tree that removes old Makefiles, so I thought it might be a good idea to run it before every build to avoid such problems:

msg "Starting make..."

cd "${srcdir}/${_gitname}"

#Remove old Makefiles

export CPPFLAGS="-std=c++0x"

mickele commented on 2013-03-05 20:53

Try adding
in /etc/makepkg.conf.

ozz commented on 2013-03-05 15:54

Can this build be parallelized? Otherwise it takes forever to build.

mickele commented on 2013-03-02 20:17

Updated to qt4.

keenerd commented on 2013-03-02 17:34

Needs qt4 in the deps and requires a few build tweaks:

use qmake-qt4
sed -i 's/qcollectiongenerator/#&/' scripts/
sed -i 's/lrelease/&-qt4/' scripts/

That first sed line is not the best workaround, it disables all documentation.

Also consider moving boost to the makedeps and adding boost-libs to the deps.

mickele commented on 2012-04-03 05:19


Anonymous comment on 2012-04-01 19:00

librecad-git relies on muparser from now on

also, c++11 is used by default, therefore, CPPFLAGS -std=c++0x is required


mickele commented on 2012-03-04 20:59

I added feature requested

Anonymous comment on 2012-03-02 10:06

Please consider adding the following line in the PKGBUILD (line 51) so that the ttf2lff tool is included in the package:

install -D -m 755 unix/ttf2lff $pkgdir/usr/bin/ttf2lff

The tool allows true type fonts to be converted to the font format used by librecad so that these fonts can be used in drawings.

nicoadamo commented on 2012-02-22 02:47

Thanks a lot!

mickele commented on 2012-02-21 10:59

The location of libread.png has changed. New version of PKGBUILD (20120221-1) should solve your issue.

nicoadamo commented on 2012-02-20 14:12

Couldn't compile:
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat `res/main/librecad.png': No such file or directory
==> ERROR: A failure occurred in package().
Any suggestions?

mickele commented on 2012-01-13 00:56

I reproduced your issue and updated the PKGBUILD to solve that.

eworm commented on 2012-01-11 11:21

This does not compile for me atm... Anybody else with the same problem?

==> Starting make...
Usage: qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
==> ERROR: A failure occurred in build().

mickele commented on 2011-11-02 22:22


Anonymous comment on 2011-11-01 22:13

need to include boost in depends, the gcc-4.6 hack is not needed anymore.

an exemplary patch as,

--- a/PKGBUILD 2011-06-21 05:33:37.000000000 -0400
+++ a/PKGBUILD 2011-11-01 18:11:43.129910240 -0400
@@ -9,7 +9,7 @@
arch=('i686' 'x86_64')
+depends=('qt boost')
@@ -38,11 +38,6 @@
git clone ${_gitroot} ${_gitname}

- # patch to solve an issue caused by gcc-4.6
- sed -e "s|LiteralMask<Value_t, n>::mask;|LiteralMask<Value_t, static_cast<unsigned int>(n)>::mask;|" \
- -e "s|SimpleSpaceMask<n>::mask;|SimpleSpaceMask<static_cast<unsigned int>(n)>::mask;|" \
- -i "${srcdir}/LibreCAD/fparser/"
msg "GIT checkout done or server timeout"
msg "Starting make..."

MessedUpHare commented on 2011-09-14 22:42

Compiles fine, top application. Yay for more modern QCAD

mickele commented on 2011-05-03 13:45

Updated solving some issues caused by gcc-4.6.