Hi, Thank you for creating a Debian package, it would be great to tell people that can install LeoCAD with apt-get. Let me know if you need any help or if you want to keep your scripts/config files in the svn repository.
You should use the 0.75.1 tag for compiling, don't use the head revision as it's unstable. I've added a source .tgz to the Google project page if that helps you. The pieces can be built with LeoCAD from the LDraw files ( http://www.ldraw.org/Downloads-req-getit-lid-98.html, or follow the download link at LDraw.org). There's no need to build them from source as the binaries are the same for all platforms (little/big endian, 32/64 bits) and they can be redistributed freely in other formats. On Mon, Jan 24, 2011 at 1:29 AM, David Paleino <da...@debian.org> wrote: > Hello, > I'm packaging LeoCAD for Debian, and I'm encountering a couple of issues. > First of all, it would be nice if you could provide a .tar.gz along with > SVN > tags :) -- I can package tag snapshots, but it would be easier for me if > you > released a tarball, I could keep the package up-to-date more easily. > > Here are the issues: > - first of all, the package fails to build. It seems like there are some > incongruencies in the code: > > In file included from linux/dlgpiece.cpp:24:0: > common/minifig.h:29:1: warning: ‘typedef’ was ignored in this declaration > linux/dlgpiece.cpp: In function ‘void minifigdlg_color_response(GtkWidget*, > void*)’: > linux/dlgpiece.cpp:67:17: error: ‘class MinifigWizard’ has no member named > ‘ChangeColor’ > linux/dlgpiece.cpp: In function ‘void minifigdlg_piece_changed(GtkWidget*, > void*)’: > linux/dlgpiece.cpp:115:3: error: ‘LC_MFW_PIECEINFO’ was not declared in > this scope > linux/dlgpiece.cpp:115:21: error: ‘pieceinfo’ was not declared in this > scope > linux/dlgpiece.cpp:122:23: error: ‘l’ was not declared in this scope > linux/dlgpiece.cpp:122:45: error: expected primary-expression before ‘)’ > token > linux/dlgpiece.cpp:122:46: error: expected ‘;’ before ‘list’ > linux/dlgpiece.cpp:132:17: error: ‘class MinifigWizard’ has no member named > ‘ChangePiece’ > linux/dlgpiece.cpp: In function ‘void > minifigdlg_updateselection(LC_MINIFIGDLG_STRUCT*)’: > linux/dlgpiece.cpp:156:14: error: ‘class MinifigWizard’ has no member named > ‘GetSelections’ > linux/dlgpiece.cpp: In function ‘void adj_changed(GtkAdjustment*, void*)’: > linux/dlgpiece.cpp:236:17: error: ‘class MinifigWizard’ has no member named > ‘ChangeAngle’ > linux/dlgpiece.cpp: In function ‘int minifigdlg_execute(void*)’: > linux/dlgpiece.cpp:408:5: error: ‘LC_MFW_PIECEINFO’ was not declared in > this scope > linux/dlgpiece.cpp:408:24: error: ‘list’ was not declared in this scope > linux/dlgpiece.cpp:409:15: error: ‘class MinifigWizard’ has no member named > ‘GetItems’ > make: *** [linux/dlgpiece.o] Error 1 > > It seems like the linux code is not in sync with the "common" code. > > - secondly, I see that we need also the pieces library. However, this > comes as > a .zip with pre-compiled binaries. For inclusion in Debian, I need to > have > the sources for those, and make a package starting from sources. Are you > able to provide that, or point me in the right direction? > > Please keep the bug CCed in your replies. > > Thank you, > David > > > -- > . ''`. Debian developer | http://wiki.debian.org/DavidPaleino > : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ > `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal > `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 >