Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Orion Poplawski <orion <at> cora.nwra.com>
Subject: x2go for Fedora packaging issues
Newsgroups: gmane.linux.terminal-server.x2go.devel
Date: Tuesday 11th December 2012 23:11:02 UTC (over 3 years ago)
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                       [email protected]
Boulder, CO 80301                   http://www.nwra.com
 
CD: 3ms