diff options
author | X2Go Admin Account <x2go-admin@japsand.x2go.org> | 2013-11-28 08:45:35 +0100 |
---|---|---|
committer | X2Go Admin Account <x2go-admin@japsand.x2go.org> | 2013-11-28 08:45:35 +0100 |
commit | ca2930e9da19a9dcc8df8c98ab3b97b07d250608 (patch) | |
tree | cbf1c67bd45616e068d752cb2a3cbc7458d70894 /bin | |
parent | 984f0ae8ce1212d1b0503e9dbd0c45ddadf90c0d (diff) | |
download | buildscripts-ca2930e9da19a9dcc8df8c98ab3b97b07d250608.tar.gz buildscripts-ca2930e9da19a9dcc8df8c98ab3b97b07d250608.tar.bz2 buildscripts-ca2930e9da19a9dcc8df8c98ab3b97b07d250608.zip |
work in latest local changes from japsand (build host): build 1.0 source format packages, revert version string fix, handle building of X2Go MATE Bindings
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build-package | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/build-package b/bin/build-package index c510799..1ccd3db 100755 --- a/bin/build-package +++ b/bin/build-package @@ -188,10 +188,10 @@ build_packages() { git checkout $CHECKOUT || git checkout master find $PROJECT_DIR/../ -type f -maxdepth 0 -mindepth 0 | grep $PROJECT_*.orig.tar.gz &>/dev/null && cp $PROJECT_DIR/../$PROJECT_*.orig.tar.gz .. GITREV=$(gitrevno) - # we always build native packages for our repos + # we always build 1.0 source format packages for our repos test -f debian/source/format && cat debian/source/format | egrep '^3.0.*\(quilt\)$' >/dev/null && { - echo "3.0 (native)" > debian/source/format - } + echo "1.0" > debian/source/format + } # for Ubuntu version is the codename of the distribution release VERSION=$l_CODENAME @@ -201,15 +201,15 @@ build_packages() { #[ "x$l_CODENAME" = "xjessie" ] && VERSION=testing #[ "x$l_CODENAME" = "xwheezy" ] && VERSION=stable #[ "x$l_CODENAME" = "xoldstable" ] && VERSION=oldstable - + # modify the section for non-main package builds [ "x$COMPONENT" != "xmain" ] && { mv debian/control debian/control.tmp cat debian/control.tmp | sed "s#Section:[\ ]*\(.*\)#Section: $COMPONENT/\1#g" > debian/control } - + # modify changelog for this build - dch --distribution $VERSION --force-distribution -l "~$l_CODENAME~$COMPONENT$DATE~$GITREV~build" "Auto-built $l_DIST $l_CODENAME package for $REPOS_SERVER repository." + dch --distribution $VERSION --force-distribution -l "+$l_CODENAME~$COMPONENT$DATE~$GITREV~build" "Auto-built $l_DIST $l_CODENAME package for $REPOS_SERVER repository." mkdir -p $PKGDIST/$l_DIST/$l_CODENAME/{amd64,i386} OTHERMIRROR="" if [ "x$COMPONENT" = "x$COMPONENT_NIGHTLY" ]; then @@ -217,6 +217,9 @@ build_packages() { else echo $PACKAGE_WITHOUT_OTHERMIRROR | grep $PROJECT >/dev/null || OTHERMIRROR="deb http://$REPOS_SERVER/$l_DIST $l_CODENAME $COMPONENT" fi + if [ $PROJECT = "x2gomatebindings" ]; then + OTHERMIRROR="deb http://packages.mate-desktop.org/repo/debian $l_CODENAME main" + fi [ "x$USE_SUDO" != "xyes" ] && { [ "x$EXTRA_ARCHS_ONLY" = "x" ] && { |