X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: [geda-user] improved library search in gschem and pcb Date: Thu, 30 Oct 2014 19:11:22 +0100 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 91 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 130.75.103.107 User-Agent: KNode/4.14.1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s9UI816O018923 Reply-To: geda-user AT delorie DOT com 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(>--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get