X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Virus-Scanned: amavisd-new at neurotica.com X-NSA-prism-xkeyscore: I do not want to be surveilled DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=neurotica.com; s=default; t=1414705884; bh=U6dPjCjUyZSxsTik2ZSJTthyOPREtVIR0bv0x/rfn/0=; h=Date:From:To:Subject:References:In-Reply-To; b=ARJ5aDSpzTJh5RXYmLx38rrTq/CZQIYFwseK1VGm7AiHYksmaKWE8dUJt8NHlmsxm fgpKxf8Y1CwdjQMZIPKADHtTkYI7v97p9QSDDI017roDFqoMKMj5ASzL6gqWXBsQNE ZXk7OHE5YnbA5AWL8KFRuUGLsrDOW3Vgp2FlRPR4= Message-ID: <5452B2DC.9020401@neurotica.com> Date: Thu, 30 Oct 2014 17:51:24 -0400 From: Dave McGuire User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] improved library search in gschem and pcb References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s9ULpVqB004123 Reply-To: geda-user AT delorie DOT com Very nice!! -Dave On 10/30/2014 02:11 PM, Kai-Martin Knaak wrote: > Roland Lutz wrote: > >> While I was at it, I took the time to push my patches for PCB. >> gschem and PCB now both support arbitrary levels of subdirectories in >> the library. > > Let me step up the volume a little bit: > > > ANOUNCEMENT! > pcb and gschem can now handle libraries with more than one level > of subdirectories. > > > My footprint lib is organized like this: > > footprints > ├── connectors > │ ├── coaxial > │ ├── DVI > │ ├── JAE_IL-G > │ ├── LEMO > │ ├── pin_headers > │ ├── RIACON > │ ├── RJ45 > │ ├── SCSI > │ ├── subD > │ └── XLR > ├── discretes > │ ├── capacitors > │ ├── diodes > │ ├── inductors > │ ├── potentiometers > │ ├── resistors > │ └── varistors > ├── generic > │ └── DIP > ├── logos > ├── mechanical > │ ├── blocks > │ ├── boxes > │ └── holes > ├── misc > ├── specific > └── switches > > Traditionally, this needed a library search string that includes all the > dirs below $HOME/geda/footprints : > > library-newlib = ~/geda/kai_martin_knaak/footprints/connectors:~/geda/ > kai_martin_knaak/ footprints/discretes:~/geda/kai_martin_knaak/footprints/ > generic:~/geda/kai_martin_knaak/footprints/mechanical:~/geda/kai_martin > _knaak/footprints/potentiometers:~/geda/kai_martin_knaak/footprints/logos: > ~/geda/kai_martin_knaak/footprints/misc:~/geda/kai_martin_knaak/footprints/ > switches:~/geda/kai_martin_knaak/footprints/specific:. > > Note, that the string contains close to 512 characters. This is no > coincidence, since pcb cut the string at about this margin on save. > > With Rolands patches my footprint lib becomes accessible to pcb with > this single line: > library-newlib = ~/geda/gedasymbols/www/user/kai_martin_knaak/footprints:. > > Roland also fixed the footprint chooser dialog to show an expandable tree > rather than a flat list. Library handling in had similar quirks. Since his > patches the symbol chooser dialog shows a proper tree, too. > > Cheers to him! > > ---<)kaimartin(>--- > -- Dave McGuire, AK4HZ/3 New Kensington, PA