Re: [kicad-users] How to compile new KiCAD on Debian – stable (lenny)?

2010-05-10 Thread Dimitris Lampridis
On Sunday 09 May 2010 23:50:27 you wrote:
 Lenny has rather old version of KiCad, I'm trying to compile new version of
 Kicad, but there are few errors prohibit that. Mainly Bazaar is missing 
 is not available for lenny.
 
 Anyone tried to compile KiCad on Lenny? Is it possible to get newest
 version of Kicad on lenny?

Since Debian Testing/Unstable has Kicad packages version 20100314, one thing 
you could attempt is to backport it yourself to Lenny, Debian has some pretty 
easy to use tools for that.

First, add the source repositories of Testing or Unstable (or both) to your 
/etc/apt/sources.list file:

deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free

and/or

deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free

I use the German mirrors, you could replace that with anything you want to 
use.

Then issue an apt-get update (as root) to get the updated list of (source 
packages).

Before you can build it, you should install any needed development libraries:

apt-get build-dep kicad (as root)

Finally, download the source package and build it:
apt-get source kicad (will download and extract in current working directory)
cd kicad-0.0.20100314 (version could change)
dpkg-buildpackage -uc -us (as root, or using fakeroot)

The last command, when it finishes it will produce all the .deb packages of 
kicad, which you can install graphically, or with dpkg -i.

After you're done, you could remove the deb-src line(s) from sources.list and 
re-run apt-get update, or keep it in case you want to backport other packages 
as well.

Hope it helps,
Dimitris




Please read the Kicad FAQ in the group files section before posting your 
question.
Please post your bug reports here. They will be picked up by the creator of 
Kicad.
Please visit http://www.kicadlib.org for details of how to contribute your 
symbols/modules to the kicad library.
For building Kicad from source and other development questions visit the 
kicad-devel group at http://groups.yahoo.com/group/kicad-develYahoo! Groups 
Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/kicad-users/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/kicad-users/join
(Yahoo! ID required)

* To change settings via email:
kicad-users-dig...@yahoogroups.com 
kicad-users-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
kicad-users-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [kicad-users] How to compile new KiCAD on Debian – stable (lenny)?

2010-05-10 Thread Dimitris Lampridis
On Monday 10 May 2010 11:05:19 you wrote:
 On Sunday 09 May 2010 23:50:27 you wrote:
  Lenny has rather old version of KiCad, I'm trying to compile new version
  of Kicad, but there are few errors prohibit that. Mainly Bazaar is
  missing  is not available for lenny.
  
  Anyone tried to compile KiCad on Lenny? Is it possible to get newest
  version of Kicad on lenny?
 
 Since Debian Testing/Unstable has Kicad packages version 20100314, one
 thing you could attempt is to backport it yourself to Lenny, Debian has
 some pretty easy to use tools for that.
 
 First, add the source repositories of Testing or Unstable (or both) to your
 /etc/apt/sources.list file:
 
 deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
 
 and/or
 
 deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
 
 I use the German mirrors, you could replace that with anything you want to
 use.
 
 Then issue an apt-get update (as root) to get the updated list of (source
 packages).
 
 Before you can build it, you should install any needed development
 libraries:
 
 apt-get build-dep kicad (as root)
 
I forgot a couple of details:

This command should become apt-get -t testing build-dep kicad. Replace -t 
testing with -t unstable if you added the unstable repo.

 Finally, download the source package and build it:
 apt-get source kicad (will download and extract in current working
 directory) 

This should definitely be apt-get -t testing source kicad, unless you comment 
all other deb-src lines in your sources.list. Again, replace testing with 
unstable if you want to pull from unstable.

Dimitris




Please read the Kicad FAQ in the group files section before posting your 
question.
Please post your bug reports here. They will be picked up by the creator of 
Kicad.
Please visit http://www.kicadlib.org for details of how to contribute your 
symbols/modules to the kicad library.
For building Kicad from source and other development questions visit the 
kicad-devel group at http://groups.yahoo.com/group/kicad-develYahoo! Groups 
Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/kicad-users/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/kicad-users/join
(Yahoo! ID required)

* To change settings via email:
kicad-users-dig...@yahoogroups.com 
kicad-users-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
kicad-users-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [kicad-users] How to compile new KiCAD on Debian ? stable (lenny)?

2010-05-10 Thread Karl Schmidt
Dimitris Lampridis wrote:
 On Monday 10 May 2010 11:05:19 you wrote:
 On Sunday 09 May 2010 23:50:27 you wrote:
 Lenny has rather old version of KiCad, I'm trying to compile new version
 of Kicad, but there are few errors prohibit that. Mainly Bazaar is
 missing  is not available for lenny.

 Anyone tried to compile KiCad on Lenny? Is it possible to get newest
 version of Kicad on lenny?
 Since Debian Testing/Unstable has Kicad packages version 20100314, one
 thing you could attempt is to backport it yourself to Lenny, Debian has
 some pretty easy to use tools for that.

The problem is that 20100314 has a couple of nasty bugs*  I'm bumping into and 
requires a cascade of 
dependencies - I just pulled ALL the dependencies from testing and it works - 
didn't appear to break 
anything else.

So what I don't know is how to drop in the 20100505 tar ball and make a new 
package.

* (Field input above F11, deleting of footprint, a file deletion. - I think all 
fixed now)

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

Postmodernism: nihilism in drag. -kps




Re: [kicad-users] How to compile new KiCAD on Debian ? stable (lenny)?

2010-05-10 Thread Karl Schmidt
Karl Schmidt wrote:

 
 So what I don't know is how to drop in the 20100505 tar ball and make a new 
 package.


Correction - make that 20100509 at least..


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

Merchandise offered without price,
is sure to cost more than it is worth.  -kps




[kicad-users] How to compile new KiCAD on Debian – stable (lenny)?

2010-05-09 Thread ispgardner
Lenny has rather old version of KiCad, I'm trying to compile new version of 
Kicad, but there are few errors prohibit that. Mainly Bazaar is missing  is 
not available for lenny.

Anyone tried to compile KiCad on Lenny? Is it possible to get newest version of 
Kicad on lenny?

I appreciate your help. Gardner



Re: [kicad-users] How to compile new KiCAD on Debian – stable (lenny)?

2010-05-09 Thread Karl Schmidt
ispgardner wrote:
 Lenny has rather old version of KiCad, I'm trying to compile new version of 
 Kicad, but there are few errors prohibit that. Mainly Bazaar is missing  is 
 not available for lenny.
 
 Anyone tried to compile KiCad on Lenny? Is it possible to get newest version 
 of Kicad on lenny?
 
 I appreciate your help. Gardner

I got Bazaar to work on Lenny using this:

deb http://ppa.launchpad.net/qbzr-dev/ppa/ubuntu jaunty main

Also put in sources for testing and

You want to end up with these:
  qbzr 0.18.1-1~qbzr1~jaunty1
  pyqt-tools 3.17.4-1
  pyqt4-dev-tools 4.4.2-4
  bzr 2.1.1-1

You will need to run

bzr launchpad-login your_launchpad_user_id

and set up an ssh key.

I haven't done any package building and ran out of steam when I realized there 
is a diff package 
that I don't know how to create.

I would really appreciate Debian pkg support..  Can I offer any bribes?
(trying to focus on a design and creating kicad notes - this is really 
diffusing my focus - I'm not 
that young anymore..)


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

Everything has its limit - iron ore cannot be educated into gold.-- Mark Twain






Please read the Kicad FAQ in the group files section before posting your 
question.
Please post your bug reports here. They will be picked up by the creator of 
Kicad.
Please visit http://www.kicadlib.org for details of how to contribute your 
symbols/modules to the kicad library.
For building Kicad from source and other development questions visit the 
kicad-devel group at http://groups.yahoo.com/group/kicad-develYahoo! Groups 
Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/kicad-users/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/kicad-users/join
(Yahoo! ID required)

* To change settings via email:
kicad-users-dig...@yahoogroups.com 
kicad-users-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
kicad-users-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/