I've had a stab at adding support for linking with rpath options in gschem and gattrib.
The resulting two patches are here: http://repo.or.cz/w/geda-gaf/pcjc2.git?a=shortlog;h=local_rpath The second of these adds the logical step of substituting absolute install paths into the .desktop files which register the menu entries. This lets clicking on a menu / schematic file open gschem etc. If this seems sensible, I'll should probably continue to adjust any other tool which links against libgeda. As these tools aren't run from the desktop GUI, its not as critical - however (with appropriate hard-coding of paths), xgsch2pcb might want to call gsch2pcb (which will call gnetlist). So, to make this work we need to hard code some paths at build time... Teaching xgsch2pcb where to find: gsch2pcb gschem pcb Teaching gsch2pcb where to find: gnetlist Teaching gnetlist where to find libgeda. (with rpath). NB.. none of this is any use for distribution builds, so is only turned on with additional configure options. (I'm passing them to ./configure by default in the toplevel Makefile though). -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
