diff options
-rwxr-xr-x | bin/build-all-packages | 18 | ||||
-rw-r--r-- | home/.buildscripts/x2go.conf | 17 |
2 files changed, 35 insertions, 0 deletions
diff --git a/bin/build-all-packages b/bin/build-all-packages index e9e3c06..76468eb 100755 --- a/bin/build-all-packages +++ b/bin/build-all-packages @@ -18,6 +18,7 @@ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. COMPONENT_MAIN="main" +COMPONENT_BAIKAL="baikal" COMPONENT_NIGHTLY="nightly" LIB_PACKAGES_NIGHTLY= @@ -65,6 +66,23 @@ CODENAME=${2:-""} done } +# build all packages tagged as build-baikal +[ "x$COMPONENT" = "x$COMPONENT_BAIKAL" ] || [ -z $COMPONENT ] && { + echo -e $LIB_PACKAGES_BAIKAL $APP_PACKAGES_BAIKAL | while read pkg comp checkout; do + if [ -n $CODENAME ]; then + comp="$comp/$CODENAME" + fi + if [ "x$(basename $0)" = "x$PREFIX-build-all-packages" ]; then + $PREFIX-build-package $pkg $comp $checkout + elif [ "x$(basename $0)" = "x$PREFIX-upload-all-packages" ]; then + $PREFIX-upload-package $pkg $comp $checkout + elif [ "x$(basename $0)" = "x$PREFIX-build+upload-all-packages" ]; then + $PREFIX-build-package $pkg $comp $checkout && $PREFIX-upload-package $pkg $comp $checkout + fi + done +} + echo "Component: $COMPONENT" echo "Main: $COMPONENT_MAIN" +echo "Baikal: $COMPONENT_BAIKAL" echo "Nightly: $COMPONENT_NIGHTLY" diff --git a/home/.buildscripts/x2go.conf b/home/.buildscripts/x2go.conf index f25e731..e51baf0 100644 --- a/home/.buildscripts/x2go.conf +++ b/home/.buildscripts/x2go.conf @@ -31,6 +31,8 @@ python-x2go $COMPONENT_MAIN build-main\ libpam-x2go $COMPONENT_MAIN build-main\ lightdm-remote-session-x2go $COMPONENT_MAIN build-main\ " +LIB_PACKAGES_BAIKAL="$LIB_PACKAGES_MAIN" + APP_PACKAGES_NIGHTLY=" x2goserver $COMPONENT_NIGHTLY master\n\ x2gobroker $COMPONENT_NIGHTLY master\n\ @@ -44,6 +46,7 @@ pyhoca-gui $COMPONENT_NIGHTLY master\n\ pyhoca-cli $COMPONENT_NIGHTLY master\n\ x2gothinclient $COMPONENT_NIGHTLY master\ " + APP_PACKAGES_MAIN=" x2goserver $COMPONENT_MAIN build-main\n\ x2gobroker $COMPONENT_MAIN build-main\n\ @@ -57,3 +60,17 @@ pyhoca-gui $COMPONENT_MAIN build-main\n\ pyhoca-cli $COMPONENT_MAIN build-main\n\ x2gothinclient $COMPONENT_MAIN build-main\ " + +APP_PACKAGES_BAIKAL=" +x2goserver $COMPONENT_MAIN build-baikal\n\ +x2goclient $COMPONENT_MAIN build-baikal\n\ +cups-x2go $COMPONENT_MAIN build-baikal\n\ +x2godesktopsharing $COMPONENT_MAIN build-baikal\n\ +x2gognomebindings $COMPONENT_MAIN build-baikal\n\ +x2golxdebindings $COMPONENT_MAIN build-baikal\n\ +x2goplasmabindings $COMPONENT_MAIN build-baikal\n\ +pyhoca-gui $COMPONENT_MAIN build-baikal\n\ +pyhoca-cli $COMPONENT_MAIN build-baikal\n\ +x2gothinclient $COMPONENT_MAIN build-baikal\ +" + |