This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:build-server [2012/09/13 11:17] sunweaver [Build X2go Packages for Ubuntu] |
wiki:development:build-server [2013/12/28 23:35] sunweaver |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Build Server ====== | ====== Build Server ====== | ||
- | ===== Build X2Go Packages | + | ===== Automatic Package Builds ===== |
+ | |||
+ | The upstream | ||
+ | |||
+ | However, the Ubuntu packages we provide are built on [[http:// | ||
+ | |||
+ | ===== Manual Package Builds ===== | ||
+ | |||
+ | ==== Build Server Logon ==== | ||
X2Go developers can logon to... | X2Go developers can logon to... | ||
Line 9: | Line 17: | ||
</ | </ | ||
- | ==== Run a ,, | + | ==== Build X2Go Packages for Debian ==== |
+ | |||
+ | === Run a ,, | ||
... and launch a package build process: | ... and launch a package build process: | ||
< | < | ||
- | $ x2go-build+upload-package < | + | $ x2go-build+upload-deb-package < |
</ | </ | ||
The build scripts use qemubuilder. The packages are built in clean chroot environments of the corresponding distro version. Packages are built for amd64 and i386 archictectures. | The build scripts use qemubuilder. The packages are built in clean chroot environments of the corresponding distro version. Packages are built for amd64 and i386 archictectures. | ||
- | ==== Run a test build ==== | + | === Run a test build === |
If you just want to trigger a test build from Git master, do this for Debian sid and do not upload to the .deb repository... | If you just want to trigger a test build from Git master, do this for Debian sid and do not upload to the .deb repository... | ||
< | < | ||
- | $ x2go-build-package < | + | $ x2go-build-deb-package < |
</ | </ | ||
- | ==== Build and Upload all Components ==== | + | === Other architectures |
- | There also is a script that build all X2Go components in one go... | + | With |
< | < | ||
- | $ x2go-build+upload-all-packages [{heuler|main}|< | + | $ EXTRA_ARCHS=armel EXTRA_ARCHS_ONLY=yes |
</ | </ | ||
- | ==== Other architectures ==== | + | you can build X2Go components for the ARM(el) architecture. This uses qemu soft emulation and will be quite slow and it will also create quite a CPU load. |
- | With | + | Currently, only ARM(el) builds (and of course i386, amd64) are supported. |
+ | We normally do only build the stable X2Go code base for ARM(el). | ||
+ | ==== Upload X2Go Packages for Debian ==== | ||
+ | |||
+ | After the package build follows the package uploaded. Packages are currently uploaded to '' | ||
+ | |||
+ | Uploaded packages normally get integrated into the repository by a CRON job. The impatient developer can trigger that command manually with this line at the command line shell of the user '' | ||
< | < | ||
- | $ EXTRA_ARCHS=armel EXTRA_ARCHS_ONLY=yes x2go-build+upload-package <package-name> {heuler, | + | ssh -lx2go-admin packages.x2go.org |
+ | REPREPRO_BASE_DIR=/srv/ | ||
</ | </ | ||
- | you can build X2Go components | + | ==== Build X2Go Packages |
- | Currently, only ARM(el) builds (and of course | + | Ubuntu packages of X2Go (amd64, i386) are built fully automatically via Launchpad: http:// |
- | We normally do only build the stable X2Go code base for ARM(el) and only the client-side of X2Go. | ||
- | ===== Upload | + | ==== Build X2Go Packages for Fedora/ |
- | After package build comes the package uploaded. Packages are currently uploaded to '' | ||
- | Uploaded packages normally get integrated into the repository by a CRON job. The impatient developer can trigger that command manually with this line at the command line shell of the user '' | + | === Run a ,, |
+ | |||
+ | ... and launch a package build process: | ||
< | < | ||
- | ssh -lx2go-admin code.x2go.org -p32032 | + | $ RPM_BUILD_FOR=" |
- | REPREPRO_BASE_DIR=/ | + | </code> |
+ | |||
+ | The build scripts use mock. The packages are built in clean chroot environments of the corresponding distro version. Packages are built for amd64 and i386 archictectures. | ||
+ | |||
+ | === Run a test build === | ||
+ | |||
+ | If you just want to trigger a test build from Git master, do this for Fedora rawhide and do not upload to the .rpm repository... | ||
+ | |||
+ | < | ||
+ | $ x2go-build-rpm-package < | ||
</ | </ | ||
- | ===== Build X2go Packages for Ubuntu ===== | ||
- | Ubuntu packages of X2Go (amd64, i386) are built fully automatically via Launchpad: http:// | ||