Index: trunk/doc/developer/packaging/Changelog =================================================================== --- trunk/doc/developer/packaging/Changelog (revision 36024) +++ trunk/doc/developer/packaging/Changelog (revision 36025) @@ -5,8 +5,8 @@ svn export svn://repo.hu/pcb-rnd/trunk pcb-rnd-$ver tar -cf pcb-rnd-$ver.tar pcb-rnd-$ver -Packaging changes between 3.0.3 and 3.0.1/3.0.2 -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Packaging changes between 3.0.3 and 3.0.2 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A. changes that probably don't need action @@ -20,7 +20,12 @@ amf export, projector export). Please use the new version of description.txt! +2. librnd minimum version is 3.1.0 + From now on the first line of packages.html contains this information. + From now on auto/librnd_min_ver contains the version number, after + running packages.sh. + Packaging changes between 3.0.0 and 3.0.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Index: trunk/doc/developer/packaging/packages.html =================================================================== --- trunk/doc/developer/packaging/packages.html (revision 36024) +++ trunk/doc/developer/packaging/packages.html (revision 36025) @@ -2,7 +2,9 @@
+
package | depends on (packages) | consists of (plugins) | |||
---|---|---|---|---|---|
pcb-rnd-debug | pcb-rnd-core | diag
Index: trunk/doc/developer/packaging/packages.sh
===================================================================
--- trunk/doc/developer/packaging/packages.sh (revision 36024)
+++ trunk/doc/developer/packaging/packages.sh (revision 36025)
@@ -2,8 +2,32 @@
ROOT=../../..
proot=$ROOT/src_plugins
+# Get librnd requirement from INSTALL so it doesn't need to be maintained
+# multiple locations
+librnd_min_ver()
+{
+ awk -v "which=$1" '
+ /librnd >=/ {
+ ver=$0
+ sub("^.*>=", "", ver)
+ sub("[ \t].*$", "", ver)
+ split(ver, V, "[.]")
+ if (which == "major")
+ print V[1]
+ else if (which == "minor")
+ print V[2]
+ else if (which == "patch")
+ print V[3]
+ else
+ print ver
+ }
+ ' < $ROOT/INSTALL
+}
+
+
# major version of librnd
-RNDV=3
+RNDV=`librnd_min_ver major`
+RNDVER=`librnd_min_ver`
if test -f $ROOT/Makefile.conf
then
@@ -79,7 +103,7 @@
sed "s@^@$n @" < $n
done
cat extra.digest
-) | awk -v "meta_deps=$meta_deps" -v "librnd_pkgs=$librnd_pkgs" -v "librnd_plugins=$librnd_plugins" -v "RNDV=$RNDV" '
+) | awk -v "meta_deps=$meta_deps" -v "librnd_pkgs=$librnd_pkgs" -v "librnd_plugins=$librnd_plugins" -v "RNDV=$RNDV" -v "RNDVER=$RNDVER" '
BEGIN {
v = split(meta_deps, A, "[ \t]")
meta_deps = ""
@@ -272,8 +296,11 @@
PKG["pcb-rnd-doc"] = " "
IFILES["pcb-rnd-doc"] = "/usr/share/doc/*"
+ print "Librnd minimum version: " RNDVER "" + print RNDVER > "auto/librnd_min_ver" print "Package summary and dependencies" + print "" print "
|