Guidance on building package

Asked by Noorez on 2019-02-08

I was wondering if I could get some guidance on building this package. I have tried to follow several guides on building Ubuntu package from source (I have done this before), but have been unsuccessful here.

Specifically, what I would like to do is use the latest upstream source for both 'xrdp' and 'xorgxrdp' to build the package...

1) Is it enough to copy the debian/ directory over (minus the patch files)?
2) Does xorgxrdp have to be built in a special way (this seemed to be one spot that wasn't actually being built by the make process)...

Thanks in advance!

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu xrdp Edit question
Assignee:
No assignee Edit question
Last query:
2019-02-12
Last reply:
2019-02-28

You may not even need to build it. What are you planning to do on the system when you connect from another system. Why do you want to connect to the remote PC? What activities are you planning to do? There may be a sleeker solution.

Noorez (noorez-kassam) said : #2

* Need to be able to connect to the target linux system from a windows system
* The local drive(s) from which the remote system is being accessed need to be easily accessible to transfer (hence the need for the drive redirection feature). There is no common network drive which can be used right now

* also as a matter of personal interest and learning, I would like to learn the process :)

Noorez (noorez-kassam) said : #3

* In addition to the above, other machines (will be running as hyper-v machines, and it would nice to be accessible via the vsock) in the similar way as described above.

Noorez (noorez-kassam) said : #4

# Policy
find debian/xrdp/ -name \*.la -print0 | xargs -0 rm -f --
find debian/xrdp/usr/lib/ -name \*.a -print0 | \
    xargs -0 strip --strip-debug -R .comment --
# package split
mkdir -p debian/xorgxrdp/etc debian/xorgxrdp/usr/lib
mv debian/xrdp/etc/X11 debian/xorgxrdp/etc/
mv: cannot stat 'debian/xrdp/etc/X11': No such file or directory
debian/rules:92: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/build/xrdp-0.9.9'
debian/rules:62: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
I: copying local configuration

Noorez (noorez-kassam) said : #5

I have been able to successfully build working binaries after multiple attempts.

I was able to create some working binaries with most of all the patches removed (only two of them slightly modified were needed)..

If it can be of any help I can collect my changes together and submit a pull request (or whatever the paralanse here is...)...

Launchpad Janitor (janitor) said : #6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.