can't add libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA project |
New
|
Wishlist
|
Unassigned | ||
pcb |
New
|
Wishlist
|
Unassigned |
Bug Description
The new (20060422) version causes problems creating
new component libraries.
I have:
/home/
/home/
/home/
/home/
/home/
/home/
/home/
/home/
/home/
/home/whitis/
/home/
/home/whitis/
Now, in an older version, I could modify
Pcb.elementPath in /usr/share/pcb/Pcb, so I could at
least click on the appropriate directory in "Load
Element to Buffer".
Manually navigating up to the root of the filesystem
and back down every time I add a part is not acceptable.
Now, I can't get the new libraries to appear in either
"Load Element To Buffer" or the library window.
I have tried
Pcb:Pcb.
.:/home/
Pcb:Pcb.
.:/usr/
Pcb:!Pcb.
/usr/share/
Pcb:Pcb.
And I have tried
library-newlib = /home/whitis/
in ~/.pcb/preferences
I have tried adding a symbolic link in
/usr/share/
I have even tried copying the contents of
/usr/share/
/usr/share/
which eliminates issues of symlinks, file extensions,
etc. It still doesn't recognize that directory.
I have checked for references to newlib, burr-brown,
and OPA340_SOT23-5 in every file in /usr/share/pcb
to see if there is an index that needs to rebuild.
I have copied the OPA340_SOT23-5 part in
newlib/burr-brown to newlib/
I have read the documentation.
I have restarted the program.
Finally, I set the element directories in
File -> Preferences -> library
and restarted the program with some success. This
did the following:
library-newlib =
/home/whitis/
even though I had tried something similar and it didn't
work (probably because the directory I used didn't have
components one directory down).
At least now, "Load Element to Buffer" displays the
library directories. The library window partially works.
Some problems remain:
- Footprints must be exactly one directory down
from the directory specified, as far as the
library window is concerned
- /home/whitis/
because the parts are 0 directories down
- /home/whitis/
because the parts are 2 directories down.
- If you add a new library directory, the library
window doesn't recognize it until you restart the
program.
- If you add a new component to an existing directory,
the library window doesn't recognize it until you
restart the program.
- there is no preview
- there is no search
- if you select a component, sometimes it is hard
to get rid of it. ESC doesn't always work.
It is important to be able to structure libraries as a
true tree. My tree is already too flat. For
example, it should look something more like:
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
connectors/
and that is still just an example, there are many other
types of shrouds, there are male-female stacking
connectors, there are surface mount versions, there
are female surface mount headers where the male pins
penetrate the board, etc.
Changed in geda-project: | |
importance: | Undecided → Wishlist |
You can add these libraries via preferences- ->libraries (add your library here)
file-->
there is one catch, you have to add a library directory one
level higher than the dirs where your parts reside.