[X2Go-Dev] x2go for Fedora packaging issues
Orion Poplawski
orion at cora.nwra.com
Wed Dec 12 00:11:02 CET 2012
I'm looking at packaging x2go for Fedora and am running into a few issues
which I'm hoping to get resolved.
nx-libs:
- bin/Makefile doesn't support DESTDIR. The attached nx-libs-destdir.patch
partially addresses that.
- The various nx*/configure.in files do not honor passed in compiler flags.
The attached nx-libs-optflags.patch fixes that. Note also though that CFLAGS
is used in some and CPPFLAGS in others.
- Is there a preferred way to install into /usr rather than /usr/local? I
ended up doing:
sed -i -e 's,/usr/local,/usr,' nx-X11/config/cf/site.def
- It would be very nice if you could support installing into /usr/lib64. I
had to do the following:
sed -i -e 's,/lib/nx,/%{_lib}/nx,' nx-X11/config/cf/X11.tmpl
sed -i -e 's,/usr/lib/,/usr/%{_lib}/,' bin/*
make install ... USRLIBDIR=/usr/lib64/nx SHLIBDIR=/usr/lib64/nx
# Make sure x2goagent is linked relative and on 64-bit
rm -rf %{buildroot}%{_prefix}/lib/x2go
mkdir -p %{buildroot}%{_libdir}/x2go/bin
ln -sf ../../nx/bin/nxagent %{buildroot}%{_libdir}/x2go/bin/x2goagent
x2goserver:
- Does not honor passed in CFLAGS. The attached x2goserver-cflags.patch fixes.
- Again, very hard to use /usr/lib64...
x2goclient:
- Required the attached x2goclient-include.patch to build. There is no qt4
prefix on Fedora, and in general that should be specified by -I...
General:
- Why the use of install -o root -g root? Is this a debian build specific
thing? On rpm systems this fails when builds are done as non-root (and it's
redundant when done as root).
Thank you for your attention.
- Orion
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nx-libs-destdir.patch
Type: text/x-patch
Size: 1381 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121211/7bdde8e1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nx-libs-optflags.patch
Type: text/x-patch
Size: 2033 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121211/7bdde8e1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2goserver-cflags.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121211/7bdde8e1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2goclient-include.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121211/7bdde8e1/attachment-0003.bin>
More information about the x2go-dev
mailing list