You are not logged in.
I was asked to package leocad, but I was unable to compile it. I'm posting it here in case anyone wants to take what I have as a starting point.
See also: SVN compile guide
pkgname=leocad-svn
pkgver=VERSION
pkgrel=1
pkgdesc=""
arch=(i686)
url=""
license=('GPL')
depends=('gtk2' 'libpng' 'libjpeg' 'zlib')
makedepends=('subversion')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=()
noextract=()
md5sums=() #generate with 'makepkg -g'
_svntrunk='http://svn.gerf.org/leocad/trunk'
_svnmod=leocad
build() {
cd "$srcdir"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
rm -r $startdir/src/$_svnmod-build
cp -r $_svnmod $_svnmod-build
cd $_svnmod-build
make config || return 1
make || return 1
make DESTDIR=$startdir/pkg/ install
}
linux/dialogs.cpp:24:21: error: message.h: No such file or directory
linux/dialogs.cpp: In function âint propertiesdlg_execute(void*)â:
linux/dialogs.cpp:2392: error: âLC_MAXCOLORSâ was not declared in this scope
linux/dialogs.cpp:2393: error: âtotalcountâ was not declared in this scope
linux/dialogs.cpp:2394: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âlinesâ
linux/dialogs.cpp:2396: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2424: error: âcolâ was not declared in this scope
linux/dialogs.cpp:2426: error: âcolornamesâ was not declared in this scope
linux/dialogs.cpp:2437: error: ârowâ was not declared in this scope
linux/dialogs.cpp:2439: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âlinesâ
linux/dialogs.cpp:2444: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2449: error: ârowâ was not declared in this scope
linux/dialogs.cpp:2449: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named ânamesâ
linux/dialogs.cpp:2454: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2455: error: âcolâ was not declared in this scope
linux/dialogs.cpp:2455: error: âstruct LC_PROPERTIESDLG_OPTSâ has no member named âcountâ
linux/dialogs.cpp:2462: error: ârowâ was not declared in this scope
linux/dialogs.cpp:2468: error: âcolâ was not declared in this scope
linux/dialogs.cpp: In function âvoid modifydlg_listener(int, void*, void*)â:
linux/dialogs.cpp:3001: error: âLC_MSG_FOCUS_CHANGEDâ was not declared in this scope
linux/dialogs.cpp: In function âvoid modifydlg_create()â:
linux/dialogs.cpp:3081: error: âmessengerâ was not declared in this scope
linux/dlgpiece.cpp: In function âvoid minifigdlg_color_response(GtkWidget*, void*)â:
linux/dlgpiece.cpp:67: error: âFlatColorArrayâ was not declared in this scope
linux/dlgpiece.cpp: In function âvoid minifigdlg_color_clicked(GtkWidget*, void*)â:
linux/dlgpiece.cpp:78: error: âLC_MAXCOLORSâ was not declared in this scope
linux/dlgpiece.cpp:80: error: âcolornamesâ was not declared in this scope
make: *** [linux/dialogs.o] Error 1
make: *** Waiting for unfinished jobs....
linux/dlgpiece.cpp: In function âvoid minifigdlg_load(GtkWidget*, void*)â:
linux/dlgpiece.cpp:193: error: âFlatColorArrayâ was not declared in this scope
linux/dlgpiece.cpp: In function âint minifigdlg_execute(void*)â:
linux/dlgpiece.cpp:439: error: âFlatColorArrayâ was not declared in this scope
make: *** [linux/dlgpiece.o] Error 1
==> ERROR: Build Failed.
Last edited by Daenyth (2008-06-20 23:59:12)
[git] | [AURpkgs] | [arch-games]
Offline