User Tools

Site Tools


wiki:development:deb-buildguide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:development:deb-buildguide [2014/10/02 03:14]
mikedep333 Add temp notes on Raspbian
wiki:development:deb-buildguide [2015/03/08 04:39]
mikedep333 Add temp notes on X2Go Client for Raspbian
Line 46: Line 46:
 </code> </code>
  
-==== Build on Raspberry Pi (Raspbian wheezy) ====+==== Build server components on Raspberry Pi (Raspbian wheezy) ====
  
 These are temporary notes. These are temporary notes.
Line 52: Line 52:
 sudo apt-get update sudo apt-get update
 # build deps of both nx-libs and x2goserver # build deps of both nx-libs and x2goserver
-sudo apt-get install debhelper libpng-dev libjpeg-dev zlib1g-dev quilt libfontconfig1-dev libfontenc-dev libfreetype6-dev libxmltok1-dev libxml2-dev autoconf pkg-config x11proto-core-dev man2html-base+sudo apt-get install  --yes debhelper libpng-dev libjpeg-dev zlib1g-dev quilt libfontconfig1-dev libfontenc-dev libfreetype6-dev libxmltok1-dev libxml2-dev autoconf pkg-config x11proto-core-dev man2html-base
 git clone http://code.x2go.org/git/nx-libs.git git clone http://code.x2go.org/git/nx-libs.git
 cd nx-libs cd nx-libs
 git checkout redist-server/3.5.0.27 git checkout redist-server/3.5.0.27
-# This will take about 45 minutes or so.+# This will take about 1 hour or so.
 dpkg-buildpackage -us -uc dpkg-buildpackage -us -uc
 cd .. cd ..
Line 63: Line 63:
 git checkout 4.0.1.16 git checkout 4.0.1.16
 # This will take a few minutes # This will take a few minutes
 +dpkg-buildpackage -us -uc
 +cd ..
 +# No new depenendcies for cups-x2go
 +git clone git://code.x2go.org/cups-x2go.git
 +cd cups-x2go
 +git checkout 3.0.1.0
 +dpkg-buildpackage -us -uc
 +cd ..
 +sudo apt-get install  --yes autotools-dev libqt4-gui libglib2.0-dev m4 qt4-qmake libqt4-dev dh-autoreconf
 +git clone git://code.x2go.org/pinentry-x2go.git
 +cd pinentry-x2go
 +git checkout 0.7.5.7
 dpkg-buildpackage -us -uc dpkg-buildpackage -us -uc
 cd .. cd ..
 </code> </code>
  
-==== Install on Raspberry Pi (Raspbian wheezy) ====+==== Install server components on Raspberry Pi (Raspbian wheezy) ====
 These are temporary notes. These are temporary notes.
  
Line 75: Line 87:
 # nx-libs dependencies and recommendations # nx-libs dependencies and recommendations
 sudo apt-get install libc6 libxml2 libjpeg8 libpng12-0 libstdc++6 zlib1g libgcc1 sudo apt-get install libc6 libxml2 libjpeg8 libpng12-0 libstdc++6 zlib1g libgcc1
-# **This is not the actual command. Will update this wiki page shortly** +sudo dpkg -i x2goagent_*.deb nxagent_*.deb libnx-x11_*.deb libxcomp3_*.deb libxcompext3_*.deb libxcompshad3_*.deb 
-sudo dpkg -i nxagent libnx-x11 libxcomp3 libxcompext3 libxcompshad3 +# If you have x2goclient installed from the raspbian repos, you will need to run this command instead of the last one 
-sudo dpkg -i x2goserver_4.0.1.16-0x2go1_armhf.deb x2goserver-xsession_4.0.1.16-0x2go1_all.deb x2goserver-extensions_4.0.1.16-0x2go1_all.deb+sudo dpkg -i x2goagent_*.deb nxagent_*.deb libnx-x11_*.deb libxcomp3_*.deb libxcompext3_*.deb libxcompshad3_*.deb nxproxy_*.deb 
 +sudo dpkg -i x2goserver_*.deb x2goserver-xsession_*.deb x2goserver-extensions_*.deb 
 +</code>
  
 +==== Build client components on Raspberry Pi (Raspbian wheezy) ====
 +
 +These are temporary notes.
 +
 +<code>
 +sudo aptitude install pbuilder debootstrap devscripts quilt ccache
 +sudo pbuilder create --distribution wheezy --debootstrapopts --variant=buildd --debootstrapopts --keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg
 +cd ~
 +git clone git://code.x2go.org/nx-libs.git
 +cd nx-libs
 +git checkout <version>
 +dpkg-buildpackage -us -uc -S
 +cd ..
 +sudo pbuilder --build nx-libs*.dsc
 +wget http://ftp.de.debian.org/debian/pool/main/libs/libssh/libssh_0.5.4.orig.tar.gz
 +wget http://ftp.de.debian.org/debian/pool/main/libs/libssh/libssh_0.5.4-3~bpo70+1.dsc
 +wget http://ftp.de.debian.org/debian/pool/main/libs/libssh/libssh_0.5.4-3~bpo70+1.debian.tar.gz
 +sudo pbuilder --build libssh*.dsc
 +cd /var/cache/pbuilder/result
 +sudo dpkg-scanpackages . /dev/null > ~/Packages
 +sudo mv ~/Packages ./
 +sudo pbuilder --login --save-after-login --bindmounts /var/cache/pbuilder/result
 +echo "deb file:///var/cache/pbuilder/result/ /" > /etc/apt/sources.list.d/pbuilder-result.list
 +apt-get update
 +apt-get install libssh-dev
 +exit
 +cd ~
 +git clone git://code.x2go.org/x2goclient.git
 +cd x2goclient
 +git checkout <version>
 +dpkg-buildpackage -us -uc -S
 +sudo pbuilder --build x2goclient*.dsc
 +cd /var/cache/pbuilder/result
 +sudo dpkg-scanpackages . /dev/null > ~/Packages
 +sudo mv ~/Packages ./
 +</code>
 +
 +==== Install client components on Raspberry Pi (Raspbian wheezy) ====
 +These are temporary notes.
 +<code>
 +echo "deb file:///var/cache/pbuilder/result/ /" | sudo tee /etc/apt/sources.list.d/pbuilder-result.list
 +sudo apt-get update
 +sudo apt-get install x2goclient
 </code> </code>
wiki/development/deb-buildguide.txt · Last modified: 2020/05/26 14:57 by danger89