nx-libs icon indicating copy to clipboard operation
nx-libs copied to clipboard

Build specific deb package belong to nx-libs.

Open hongyi-zhao opened this issue 3 years ago • 1 comments

Hi,

I build the nx-libs on Ubuntu 20.04 according to the instructions here. The steps are as following:

# Install prerequisites:
$ sudo apt-get install devscripts
$ sudo apt-get build-dep nxagent
# Clone the repo and build the deb packages:
$ git clone https://github.com/ArcticaProject/nx-libs.git ArcticaProject/nx-libs.git
$ cd ArcticaProject/nx-libs.git/
$ DEB_BUILD_OPTIONS='parallel=24' debuild -uc -us

The debuild command for this job is very time-consuming. After the above procedure has completed successfully, so many deb packages will be created. See following for the detailed list of them:

$ ls *.deb
libnx-mesa-extras-dev_3.5.99.24-0_amd64.deb
libnx-x11-6_3.5.99.24-0_amd64.deb
libnx-x11-6-dbg_3.5.99.24-0_amd64.deb
libnx-x11-dev_3.5.99.24-0_amd64.deb
libxcomp3_3.5.99.24-0_amd64.deb
libxcomp3-dbg_3.5.99.24-0_amd64.deb
libxcomp-dev_3.5.99.24-0_amd64.deb
libxcompshad3_3.5.99.24-0_amd64.deb
libxcompshad3-dbg_3.5.99.24-0_amd64.deb
libxcompshad-dev_3.5.99.24-0_amd64.deb
nxagent_3.5.99.24-0_amd64.deb
nxagent-dbg_3.5.99.24-0_amd64.deb
nxdialog_3.5.99.24-0_all.deb
nxproxy_3.5.99.24-0_amd64.deb
nxproxy-dbg_3.5.99.24-0_amd64.deb
nx-x11-common_3.5.99.24-0_all.deb
nx-x11proto-composite-dev_3.5.99.24-0_amd64.deb
nx-x11proto-core-dev_3.5.99.24-0_amd64.deb
nx-x11proto-damage-dev_3.5.99.24-0_amd64.deb
nx-x11proto-randr-dev_3.5.99.24-0_amd64.deb
nx-x11proto-render-dev_3.5.99.24-0_amd64.deb
nx-x11proto-scrnsaver-dev_3.5.99.24-0_amd64.deb
nx-x11proto-xext-dev_3.5.99.24-0_amd64.deb
nx-x11proto-xfixes-dev_3.5.99.24-0_amd64.deb
nx-x11proto-xinerama-dev_3.5.99.24-0_amd64.deb

I want to know whether I must create all of these deb packages if I only need to install/update one of them, say, nxagent for my case.

Any hints will be highly appreciated.

Regards, HY

hongyi-zhao avatar Oct 25 '20 14:10 hongyi-zhao

There are three types of packages here: a) dbg - debuginfo packages, required if you want to debug the installed nx packages with a debugger b) dev - development packages, required if you want to write software that uses nx c) all others

For running nx you can leave out types a) and b), you do not need them.

I think skipping the build of the dev and dbg packages should be possible with run debuild -uc -us --build=binary but this is not working here. Assigning to Mike who knows better about this stuff.

uli42 avatar Nov 03 '20 20:11 uli42