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
wiki:development:deb-buildguide [2015/03/08 04:37]
mikedep333 [Build on Raspberry Pi (Raspbian wheezy)]
wiki:development:deb-buildguide [2020/05/26 14:57] (current)
danger89 [Get the build and development dependencies]
Line 17: Line 17:
 ==== Get the build and development dependencies ==== ==== Get the build and development dependencies ====
  
-Then you should use your favorite available packet manager to install the build dependencies although I'm not 100% sure wether we need all of them or some are optional...+Install the following packages for development (Debian/Ubuntu based distro): 
 + 
 +//Note:// Some packages are optional.
  
 <code> <code>
-sudo apt-get install build-essential qt4-designer qtcreator qtcreator-doc \+sudo apt-get install build-essential qt4-default qt4-designer qtcreator qtcreator-doc \
                      qt4-demos qt4-doc qt4-dev-tools libqt4-dev git \                      qt4-demos qt4-doc qt4-dev-tools libqt4-dev git \
-                     qt-sdk libldap2-dev libssh-dev libxpm-dev libcups2-dev \ +                     libldap2-dev libssh-dev libxpm-dev libcups2-dev \ 
-                     debhelper doxygen man2html-base+                     debhelper doxygen man2html-base xutils-dev libpixman-1-dev\ 
 +                     devscripts quilt libxcomposite-dev libxrandr-dev\ 
 +                     libxtst-dev libxinerama-dev libxrender-dev pkg-config expat\ 
 +                     libxmltok1-dev libxml2-dev libxfont-dev
 </code> </code>
  
 +All up-to-date dependencies you can get with **dpkg-checkbuilddeps** command.
 ==== Build the actual code ==== ==== Build the actual code ====
  
Line 44: Line 50:
 <code> <code>
 debuild -us -uc debuild -us -uc
-</code> 
- 
-==== Build server components on Raspberry Pi (Raspbian wheezy) ==== 
- 
-These are temporary notes. 
-<code> 
-sudo apt-get update 
-# build deps of both nx-libs and x2goserver 
-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 
-cd nx-libs 
-git checkout redist-server/3.5.0.27 
-# This will take about 1 hour or so. 
-dpkg-buildpackage -us -uc 
-cd .. 
-git clone http://code.x2go.org/git/x2goserver.git 
-cd x2goserver 
-git checkout 4.0.1.16 
-# 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 
-cd .. 
-</code> 
- 
-==== Install on Raspberry Pi (Raspbian wheezy) ==== 
-These are temporary notes. 
- 
-<code> 
-# X2Go Server dependencies and recommendations 
-sudo apt-get install libc6 lsof bc openssh-server openssh-client libconfig-simple-perl pwgen libdbd-pg-perl libdbd-sqlite3-perl libfile-basedir-perl libcapture-tiny-perl adduser xauth psmisc net-tools sshfs x11-apps x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils x11-xserver-utils fontconfig xinit xfonts-base x11-common 
-# nx-libs dependencies and recommendations 
-sudo apt-get install libc6 libxml2 libjpeg8 libpng12-0 libstdc++6 zlib1g libgcc1 
-sudo dpkg -i x2goagent_*.deb nxagent_*.deb libnx-x11_*.deb libxcomp3_*.deb libxcompext3_*.deb libxcompshad3_*.deb 
-# If you have x2goclient installed from the raspbian repos, you will need to run this command instead of the last one 
-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> </code>
wiki/development/deb-buildguide.1425789421.txt.gz · Last modified: 2015/03/08 04:37 by mikedep333