Index: trunk/doc/developer/packaging/Changelog
===================================================================
--- trunk/doc/developer/packaging/Changelog (revision 33472)
+++ trunk/doc/developer/packaging/Changelog (revision 33473)
@@ -15,9 +15,12 @@
B. changes that probably DO need action
-1. please update your ./configure line for the new plugins
+1. librnd split: some plugins changed file installation paths from $P and $C
+ to $LP and $LC - these are the plugins installed from librnd
-2. package-package dependency: pcb-rnd-auto started to depend on
+2. please update your ./configure line for the new plugins
+
+3. package-package dependency: pcb-rnd-auto started to depend on
pcb-rnd-io-standard because of external autorouting started to depend
on tEDAx
Index: trunk/doc/developer/packaging/packages.html
===================================================================
--- trunk/doc/developer/packaging/packages.html (revision 33472)
+++ trunk/doc/developer/packaging/packages.html (revision 33473)
@@ -36,29 +36,31 @@
pcb-rnd-export | $P/cam.pup $P/cam.so $P/export_bom.pup $P/export_bom.so $P/export_dxf.pup $P/export_dxf.so $P/export_excellon.pup $P/export_excellon.so $P/export_gcode.pup $P/export_gcode.so $P/export_gerber.pup $P/export_gerber.so $P/export_openscad.pup $P/export_openscad.so $P/export_png.pup $P/export_png.so $P/export_ps.pup $P/export_ps.so $P/export_stat.pup $P/export_stat.so $P/export_svg.pup $P/export_svg.so $P/export_xy.pup $P/export_xy.so $P/millpath.pup $P/millpath.so $PREFIX/bin/pcb-rnd-svg $PREFIX/share/man/man1/pcb-rnd-svg.1 $C/cam.conf $C/export_xy.conf | Common export plugins. | Export the board in vector graphics (svg, ps, eps), raster graphics (png, jpeg, etc.), gerber, 3d model in openscad, xy for pick and place, BoM, etc.
|
---|
pcb-rnd-doc | /usr/share/doc/* | Documentation for pcb-rnd | User manual (html) and manual pages.
|
---|
pcb-rnd-export-sim | $P/export_openems.pup $P/export_openems.so | Export plugins to simulators | Export the board in formats that can be used for simulation: openems.
- |
---|
pcb-rnd-lib-gl | $P/lib_hid_gl.pup $P/lib_hid_gl.so | Support library for rendering with opengl. | Provides plugins for driving an opengl output, rendering pcb-rnd views on opengl.
- |
---|
pcb-rnd-hid-gtk2-gl | $P/hid_gtk2_gl.pup $P/hid_gtk2_gl.so | GUI: gtk2, opengl | Hardware accelerated (opengl) rendering on gtk2.
+ |
---|
pcb-rnd-lib-gl | $LP/lib_hid_gl.pup $LP/lib_hid_gl.so | Support library for rendering with opengl. | Provides plugins for driving an opengl output, rendering pcb-rnd views on opengl.
+ |
---|
pcb-rnd-hid-gtk2-gl | $LP/hid_gtk2_gl.pup $LP/hid_gtk2_gl.so | GUI: gtk2, opengl | Hardware accelerated (opengl) rendering on gtk2.
|
---|
pcb-rnd-import-geo | $P/import_hpgl.pup $P/import_hpgl.so $P/import_pxm_gd.pup $P/import_pxm_gd.so $P/import_pxm_pnm.pup $P/import_pxm_pnm.so $P/import_ttf.pup $P/import_ttf.so | Geometry import plugins. | Import geometry from HPGL plots. HPGL can be produced (plotted) with most mechanical cads.
|
---|
pcb-rnd-import-net | $P/import_accel_net.pup $P/import_accel_net.so $P/import_calay.pup $P/import_calay.so $P/import_edif.pup $P/import_edif.so $P/import_fpcb_nl.pup $P/import_fpcb_nl.so $P/import_gnetlist.pup $P/import_gnetlist.so $P/import_ipcd356.pup $P/import_ipcd356.so $P/import_ltspice.pup $P/import_ltspice.so $P/import_mentor_sch.pup $P/import_mentor_sch.so $P/import_net_action.pup $P/import_net_action.so $P/import_net_cmd.pup $P/import_net_cmd.so $P/import_netlist.pup $P/import_netlist.so $P/import_orcad_net.pup $P/import_orcad_net.so $P/import_pads_net.pup $P/import_pads_net.so $P/import_protel_net.pup $P/import_protel_net.so $P/import_sch2.pup $P/import_sch2.so $P/import_tinycad.pup $P/import_tinycad.so $PREFIX/bin/gsch2pcb-rnd $PREFIX/lib/pcb-rnd/*.scm $PREFIX/share/man/man1/gsch2pcb-rnd.1 $C/import_gnetlist.conf | Netlist/schematics import plugins. | Import netlist and footprint information from edif, ltspice, mentor graphics, gschem and tinycad.
|
---|
pcb-rnd | | Standard installation of pcb-rnd | Install pcb-rnd core and the most commonly used plugins.
|
---|
librnd-dev | $PREFIX/include/librnd/* $PREFIX/share/librnd/librnd.mak $PREFIX/lib/librnd $PREFIX/lib/*.so $PREFIX/lib/librnd/gen_conf $PREFIX/lib/librnd/puplug | pcb-rnd library, headers. | HID, polygons, infrastructure for 3rd party applications.
|
---|
pcb-rnd-auto | $P/ar_cpcb.pup $P/ar_cpcb.so $P/ar_extern.pup $P/ar_extern.so $P/asm.pup $P/asm.so $P/autoplace.pup $P/autoplace.so $P/autoroute.pup $P/autoroute.so $P/export_dsn.pup $P/export_dsn.so $P/import_dsn.pup $P/import_dsn.so $P/import_mucs.pup $P/import_mucs.so $P/smartdisperse.pup $P/smartdisperse.so $C/ar_extern.conf $C/asm.conf | Autoroute and autoplace. | Feature plugins for automated component placing and track routing.
- |
---|
pcb-rnd-lib-io | $P/lib_netmap.pup $P/lib_netmap.so $P/lib_gensexpr.pup $P/lib_gensexpr.so | Support library for alien file formats. | Provides generic, low level parsers (such as s-expression parser) for I/O plugins that need to deal with alien file formats.
+ |
---|
pcb-rnd-lib-io | $P/lib_netmap.pup $P/lib_netmap.so $LP/lib_gensexpr.pup $LP/lib_gensexpr.so | Support library for alien file formats. | Provides generic, low level parsers (such as s-expression parser) for I/O plugins that need to deal with alien file formats.
|
---|
pcb-rnd-io-standard | $P/io_pcb.pup $P/io_pcb.so $P/io_tedax.pup $P/io_tedax.so | Commonly used non-native board and footprint file formats | Plugins for tEDAx footprint format and the gEDA/PCB file formats (footprint and board).
- |
---|
pcb-rnd-lib-gui | $P/dialogs.pup $P/dialogs.so $P/draw_fontsel.pup $P/draw_fontsel.so $P/lib_hid_pcbui.pup $P/lib_hid_pcbui.so $P/irc.pup $P/irc.so $P/lib_hid_common.pup $P/lib_hid_common.so $C/adialogs.conf $C/dialogs.conf | Support library for building the GUI. | Provides pcb-rnd specific dialog boxes (e.g. fontsel) and top window GUI elements.
+ |
---|
pcb-rnd-lib-gui | $P/dialogs.pup $P/dialogs.so $P/draw_fontsel.pup $P/draw_fontsel.so $P/lib_hid_pcbui.pup $P/lib_hid_pcbui.so $LP/irc.pup $LP/irc.so $LP/lib_hid_common.pup $LP/lib_hid_common.so $C/adialogs.conf $LC/dialogs.conf | Support library for building the GUI. | Provides pcb-rnd specific dialog boxes (e.g. fontsel) and top window GUI elements.
|
---|
pcb-rnd-core | $PREFIX/bin/pcb-rnd $PREFIX/share/man/man1/pcb-rnd.1 $C/pcb-conf.lht $C/pcb-menu-default.lht $PREFIX/share/pcb-rnd/default2.lht $PREFIX/share/pcb-rnd/default4.lht $PREFIX/share/pcb-rnd/default_font $PREFIX/bin/fp2preview $PREFIX/bin/fp2subc $PREFIX/bin/pcb-prj2lht $PREFIX/share/man/man1/fp2preview.1 $PREFIX/share/man/man1/fp2subc.1 $PREFIX/share/man/man1/pcb-prj2lht.1 $PREFIX/share/pcb-rnd/pcblib/* $C/ch_editpoint.conf $C/drc_query.conf $C/fp_fs.conf | pcb-rnd executable with the core functionality | Includes the data model, the most common action commands, the native file format and the CLI (batch HID). Does not contain GUI. Can be used in headless mode or batch/scripted mode for automated processing.
- |
---|
pcb-rnd-lib-gtk | $P/lib_gtk_common.pup $P/lib_gtk_common.so | Support library for building the GUI with gtk. | Provides the common gtk code (e.g. dialog box engine, input handling) for any gtk based HID plugin.
- |
---|
pcb-rnd-hid-lesstif | $P/hid_lesstif.pup $P/hid_lesstif.so | GUI: motif/lesstif, software render | Lightweight GUI and software rendering using the motif (lesstif) toolkit.
+ |
---|
pcb-rnd-lib-gtk | $LP/lib_gtk_common.pup $LP/lib_gtk_common.so | Support library for building the GUI with gtk. | Provides the common gtk code (e.g. dialog box engine, input handling) for any gtk based HID plugin.
+ |
---|
pcb-rnd-hid-lesstif | $LP/hid_lesstif.pup $LP/hid_lesstif.so | GUI: motif/lesstif, software render | Lightweight GUI and software rendering using the motif (lesstif) toolkit.
|
---|
librnd2 | $PREFIX/lib/*.so.* | pcb-rnd library, binaries. | HID, polygons, infrastructure for 3rd party applications.
|
---|
pcb-rnd-io-alien | $P/io_autotrax.pup $P/io_autotrax.so $P/io_bxl.pup $P/io_bxl.so $P/io_dsn.pup $P/io_dsn.so $P/io_eagle.pup $P/io_eagle.so $P/io_hyp.pup $P/io_hyp.so $P/io_kicad.pup $P/io_kicad.so $P/io_kicad_legacy.pup $P/io_kicad_legacy.so $PREFIX/share/man/man1/txt2bxl.1 $PREFIX/share/man/man1/bxl2txt.1 $PREFIX/bin/txt2bxl $PREFIX/bin/bxl2txt | File format compatibility with other PCB layout designers. | Load and/or save boards in file formats supported by other EDA tools, such as KiCAD, Eagle, protel/autotrax, etc.
- |
---|
pcb-rnd-cloud | $P/fp_wget.pup $P/fp_wget.so $P/lib_wget.pup $P/lib_wget.so $C/fp_wget.conf | Networking plugins. | 'Cloud' footprint access plugin that integrates edakrill and gedasymbols.org.
+ |
---|
pcb-rnd-cloud | $P/fp_wget.pup $P/fp_wget.so $LP/lib_wget.pup $LP/lib_wget.so $C/fp_wget.conf | Networking plugins. | 'Cloud' footprint access plugin that integrates edakrill and gedasymbols.org.
|
---|
pcb-rnd-export-extra | $P/export_fidocadj.pup $P/export_fidocadj.so $P/export_ipcd356.pup $P/export_ipcd356.so $P/export_lpr.pup $P/export_lpr.so $P/export_oldconn.pup $P/export_oldconn.so $P/export_stl.pup $P/export_stl.so | Export formats: special/extra | Less commonly used export formats: fidocadj, ipc-356-d, direct printing with lpr.
- |
---|
pcb-rnd-hid-gtk2-gdk | $P/hid_gtk2_gdk.pup $P/hid_gtk2_gdk.so | GUI: gtk2, software render | Software rendering on gtk2, using the gdk API.
+ |
---|
pcb-rnd-hid-gtk2-gdk | $LP/hid_gtk2_gdk.pup $LP/hid_gtk2_gdk.so | GUI: gtk2, software render | Software rendering on gtk2, using the gdk API.
|
---|
pcb-rnd-extra | $P/distalign.pup $P/distalign.so $P/djopt.pup $P/djopt.so $P/fontmode.pup $P/fontmode.so $P/jostle.pup $P/jostle.so $P/polycombine.pup $P/polycombine.so $P/polystitch.pup $P/polystitch.so $P/puller.pup $P/puller.so $P/renumber.pup $P/renumber.so $P/shand_cmd.pup $P/shand_cmd.so $P/teardrops.pup $P/teardrops.so $P/vendordrill.pup $P/vendordrill.so | Extra action commands and optional functionality. | Align objects in grid, optimize tracks, font editor, combine polygons, renumber subcircuits, apply vendor drill mapping.
File prefixes:
- - $P: plugin install dir (e.g. /usr/lib/pcb-rnd/)
-
- $C: conf dir (e.g. /usr/share/pcb-rnd/)
+
- $P: pcb-rnd plugin install dir (e.g. /usr/lib/pcb-rnd/)
+
- $C: pcb-rnd conf dir (e.g. /usr/share/pcb-rnd/)
+
- $LP: librnd plugin install dir (e.g. /usr/lib/librnd/)
+
- $LC: librnd conf dir (e.g. /usr/share/librnd/)
- $PREFIX: installation prefix (e.g. /usr)
./configure arguments
Index: trunk/doc/developer/packaging/packages.sh
===================================================================
--- trunk/doc/developer/packaging/packages.sh (revision 33472)
+++ trunk/doc/developer/packaging/packages.sh (revision 33473)
@@ -42,18 +42,26 @@
'
(
-for n in $proot/*/*.pup $rnd_proot/*/*.pup
+for n in $proot/*/*.pup
do
pkg=`basename $n`
sed "s/^/$pkg /" < $n
-done
-
-for n in $proot/*/*.tmpasm $rnd_proot/*/*.tmpasm
+done
+for n in $rnd_proot/*/*.pup
do
+ pkg=`basename $n`
+ sed "s/^/!$pkg /" < $n
+done
+for n in $proot/*/*.tmpasm
+do
sed "s@^@$n @" < $n
done
+for n in $rnd_proot/*/*.tmpasm
+do
+ sed "s@^@!$n @" < $n
+done
cat extra.digest
-) | awk -v "meta_deps=$meta_deps" '
+) | awk -v "meta_deps=$meta_deps" '
BEGIN {
gsub(" ", " pcb-rnd-", meta_deps)
sub("^", "pcb-rnd-", meta_deps)
@@ -68,6 +76,15 @@
}
}
+ {
+ if ($1 ~ "^[!]") {
+ in_librnd = 1
+ sub("^[!]", "", $1)
+ }
+ else
+ in_librnd = 0
+ }
+
($1 ~ "@files") {
pkg=$2
files=$0
@@ -122,7 +139,12 @@
}
else {
CFG_PLUGIN[cfg]++
- IFILES[val] = IFILES[val] " $P/" cfg ".pup $P/" cfg ".so"
+print in_librnd, $1 > "L1"
+ if (in_librnd)
+ dir = "$LP"
+ else
+ dir="$P"
+ IFILES[val] = IFILES[val] " " dir "/" cfg ".pup " dir "/" cfg ".so"
}
}
@@ -132,10 +154,14 @@
fn=$4
sub("[{][ \t]*", "", fn)
sub("[ \t]*[}]", "", fn)
+ if (in_librnd)
+ dir = "$LC"
+ else
+ dir="$C"
if (CONFFILE[PLUGIN[pkg]] == "")
- CONFFILE[PLUGIN[pkg]] = "$C/" fn
+ CONFFILE[PLUGIN[pkg]] = dir "/" fn
else
- CONFFILE[PLUGIN[pkg]] = CONFFILE[PLUGIN[pkg]] " $C/" fn
+ CONFFILE[PLUGIN[pkg]] = CONFFILE[PLUGIN[pkg]] " " dir "/" fn
}
function add_dep(pkg, depson, ds)
@@ -209,8 +235,10 @@
}
print ""
print "File prefixes: "
- print " - $P: plugin install dir (e.g. /usr/lib/pcb-rnd/)"
- print "
- $C: conf dir (e.g. /usr/share/pcb-rnd/)"
+ print "
- $P: pcb-rnd plugin install dir (e.g. /usr/lib/pcb-rnd/)"
+ print "
- $C: pcb-rnd conf dir (e.g. /usr/share/pcb-rnd/)"
+ print "
- $LP: librnd plugin install dir (e.g. /usr/lib/librnd/)"
+ print "
- $LC: librnd conf dir (e.g. /usr/share/librnd/)"
print "
- $PREFIX: installation prefix (e.g. /usr)"
print "
"
|
---|