[Kicad-developers] build scrip now fails - kicad-0.0.20131206/kicad-library does not exist.

2013-12-06 Thread Karl Schmidt

Trying to use my debian build scrip (that used to work) and it fails with:


-- Build files have been written to: /usr/src/kicad-0.0.20131206/build/kicad-doc
mkdir -p /usr/src/kicad-0.0.20131206/build/kicad-library
cd /usr/src/kicad-0.0.20131206/build/kicad-library  cmake ../../kicad-library
CMake Error: The source directory /usr/src/kicad-0.0.20131206/kicad-library 
does not exist.


Looking back in this mailing list I see conversations about changing this - not sure which direction 
it went in? ( I think I should just comment out all the kicad-libarary stuff?)


When I fetch the sources I have:
bzr export $d/kicad lp:kicad/stable
bzr export $d/kicad-doc lp:~kicad-developers/kicad/doc
bzr export $d/kicad-library lp:~kicad-lib-committers/kicad/library


.. for reference - I've attached the rules file that I'm using








--

Karl Schmidt  EMail k...@xtronics.com
Transtronics, Inc.  WEB 
http://secure.transtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049  FAX (785) 841-0434

Coordination does not run in my family,
it stumbles.

#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Make sure no svn parts inside the deb
DH_ALWAYS_EXCLUDE=CVS:.svn
export DH_ALWAYS_EXCLUDE

# This has to be exported to make some magic below work.
export DH_OPTIONS

# .NOTPARALLEL:

configure: configure-stamp
configure-stamp:

mkdir -p $(CURDIR)/build/kicad
mkdir -p $(CURDIR)/build/bitmaps_png
cd $(CURDIR)/build/kicad  cmake \

-DKICAD_DEMOS=$(CURDIR)/debian/kicad-common/usr/share/doc/kicad/demos 
../../kicad \
-DKICAD_SCRIPTING_MODULES=ON \
-DKICAD_TESTING_VERSION=ON \
-DKICAD_SCRIPTING=ON \
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 \

-DPYTHON_DEST:PATH=$(CURDIR)/debian/kicad/usr/lib/python2.7/dist-packages/pcbnew/
 \
-DKICAD_SCRIPTING_WXPYTHON=ON -LA
mkdir -p $(CURDIR)/build/kicad-doc
cd $(CURDIR)/build/kicad-doc  cmake ../../kicad-doc
mkdir -p $(CURDIR)/build/kicad-library
cd $(CURDIR)/build/kicad-library  cmake ../../kicad-library
touch $@

build: build-arch build-indep

build-arch: build-arch-stamp
build-arch-stamp: configure-stamp

$(MAKE) -C $(CURDIR)/build/kicad
touch $@

build-indep: build-indep-stamp
build-indep-stamp: configure-stamp

$(MAKE) -C $(CURDIR)/build/kicad-doc
$(MAKE) -C $(CURDIR)/build/kicad-library
touch $@

clean: clean-build

dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp
# REMOVE AUTOMATICALLY GENERATED FILES  
rm -f kicad/pcbnew/dialog_freeroute_exchange_help_html.h \
  kicad/eeschema/cmp_library_base.h \
  kicad/eeschema/cmp_library_base.cpp
dh_clean

clean-build:
rm -rf $(CURDIR)/build

install: install-indep install-arch
install-indep:
dh_testdir
dh_testroot
dh_clean -k -i 
dh_installdirs -i
dh_installdocs

cd $(CURDIR)/build/kicad/demos  cmake -P cmake_install.cmake
cd $(CURDIR)/build/kicad-doc/internat  cmake 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-common/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad/template  cmake 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-common/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad-library  cmake -DCOMPONENT=resources 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-common/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=file_formats 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-common/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=footprints_doc 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-common/usr -P cmake_install.cmake

cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=doc-de 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-doc-de/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=help-de 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-doc-de/usr -P cmake_install.cmake

cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=doc-en 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-doc-en/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=help-en 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-doc-en/usr -P cmake_install.cmake

cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=doc-es 
-DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/kicad-doc-es/usr -P cmake_install.cmake
cd $(CURDIR)/build/kicad-doc  cmake -DCOMPONENT=help-es 

Re: [Kicad-developers] build scrip now fails - kicad-0.0.20131206/kicad-library does not exist.

2013-12-06 Thread Carl Poirier
Hi Karl,

The libraries have moved to Github, here https://github.com/KiCad. The
old repo is still available, but it has been moved and renamed to 
library-read-onlyhttps://code.launchpad.net/~dickelbeck/kicad/library-read-only.
Its use is discouraged, as it will eventually be removed.

With the new Github plugin, you don't need to have the libraries installed
locally anymore. They will be fetched from Github automatically when you
ask for them. You just have to make sure the plugin is built, and that you
use the right fp-lib-table, which can be found
herehttps://github.com/KiCad/kicad-library/blob/master/template/fp-lib-table.for-github
.

Carl


On Fri, Dec 6, 2013 at 5:05 PM, Karl Schmidt k...@xtronics.com wrote:

 Trying to use my debian build scrip (that used to work) and it fails with:


 -- Build files have been written to: /usr/src/kicad-0.0.20131206/
 build/kicad-doc
 mkdir -p /usr/src/kicad-0.0.20131206/build/kicad-library
 cd /usr/src/kicad-0.0.20131206/build/kicad-library  cmake
 ../../kicad-library
 CMake Error: The source directory /usr/src/kicad-0.0.20131206/kicad-library
 does not exist.


 Looking back in this mailing list I see conversations about changing this
 - not sure which direction it went in? ( I think I should just comment out
 all the kicad-libarary stuff?)

 When I fetch the sources I have:
 bzr export $d/kicad lp:kicad/stable
 bzr export $d/kicad-doc lp:~kicad-developers/kicad/doc
 bzr export $d/kicad-library lp:~kicad-lib-committers/kicad/library


 .. for reference - I've attached the rules file that I'm using








 --
 
 
 Karl Schmidt  EMail k...@xtronics.com
 Transtronics, Inc.  WEB
 http://secure.transtronics.com
 3209 West 9th Street Ph (785) 841-3089
 Lawrence, KS 66049  FAX (785) 841-0434

 Coordination does not run in my family,
 it stumbles.
 
 

 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp