Bug 105135

Summary: net/linux-nx-client: update to 2.1.0
Product: Ports & Packages Reporter: Eric P. Scott <eps+pbug0611>
Component: Individual Port(s)Assignee: Gabor Kovesdan <gabor>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff none

Description Eric P. Scott 2006-11-04 08:50:04 UTC
Update to NX Client 2.1.0-9 (released November 2, 2006).

Fix: 1. Remove the files/ directory.  None of the old patches are
applicable, because .desktop files are not included in the
upstream distribution.

2. Best-effort modifications to the port.  Note that I'm skipping
nxprint for the time being, because it depends on a Linux
libcups.so.2.  I'm using NoMachine's libcrypto.so.0.9.8 since
linux/openssl currently installs 0.9.7f.  Can anyone suggest a
better value for MASTER_SITES?
How-To-Repeat: N/A
Comment 1 Eric P. Scott 2006-11-05 21:52:01 UTC
This still isn't quite right; I see it's running FreeBSD's
ldconfig instead of the Linux one.  BTW, the reason it appears to
work anyway is nxclient sets LD_LIBRARY_PATH for its
subprocesses.

I tried adding the "obviously missing" USE_LINUX_PREFIX= yes to
the Makefile, but that didn't seem to help; it appears I really
do need INSTALLS_SHLIB.  That causes the correct ldconfig to be
used, but it can't see the package's shared libraries, since
they're under the wrong root.  I think I want
NXDST= [something like]
${LINUXBASE}/usr/X11R6/lib/linux-nx-client
-and-
create a ${LINUXBASE}/etc/ld.so.conf.d/linux-nx-client.conf
containing
/usr/X11R6/lib/linux-nx-client/lib
so the Linux ldconfig will add it to the ld.so cache.
[Make appropriate changes to pkg-plist.]


"This isn't how I would have done things"

There's a brief section in the Porter's Handbook (12.13) titled
"Do things rationally."  I'm questioning whether there's still
a need (or even a good justification) for sticking things under
${X11BASE}/lib/linux-nx-client at all.  Why not simply install
the necessary [i.e. non-conflicting] Linuxy bits under
${LINUXBASE}/usr/NX/{bin,lib,share} so it looks more like a
"normal" NX installation?  Then the only "argument" to settle is
whether the FreeBSD-specific shell scripts properly belong under
${X11BASE} or ${LOCALBASE}.

(No, I am not interested in taking over maintainership of this
port ... it's giving me a headache.  I still don't have a good
suggestion for how to handle nxprint's libcups.so.2 dependency.
I certainly don't want a hard requirement for print/cups-base.
I don't consider lack of printing capability a show-stopper.)

It's time for me to hand this off to someone else.  Volunteers?
Comment 2 Gabor Kovesdan freebsd_committer freebsd_triage 2006-12-18 19:09:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jylefort

Over to maintainer.
Comment 3 Jean-Yves Lefort freebsd_committer freebsd_triage 2006-12-18 20:38:34 UTC
Responsible Changed
From-To: jylefort->freebsd-ports-bugs

I no longer maintain this port.
Comment 4 Gabor Kovesdan freebsd_committer freebsd_triage 2007-01-09 13:32:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

Take.
Comment 5 Gabor Kovesdan freebsd_committer freebsd_triage 2007-01-25 23:00:54 UTC
State Changed
From-To: open->closed

Committed with other fixes from me. Thanks for your contribution!
Comment 6 dfilter service freebsd_committer freebsd_triage 2007-01-25 23:00:59 UTC
gabor       2007-01-25 23:00:52 UTC

  FreeBSD ports repository

  Modified files:
    net/linux-nx-client  Makefile distinfo pkg-plist 
  Removed files:
    net/linux-nx-client/files patch-nxclient-admin.desktop 
                              patch-nxclient-help.desktop 
                              patch-nxclient-wizard.desktop 
                              patch-nxclient.desktop 
  Log:
  - Update to 2.1.0
  - Move to LINUXBASE
  - Add USE_LDCONFIG
  - Enable on amd64 since amd64 Linuxulator can run ia32 binaries
  - Remove obsolete patches
  
  PR:             ports/105135 (based on)
  Submitted by:   Eric P. Scott <eps+pbug0611@ana.com>
  Approved by:    erwin (mentor)
  
  Revision  Changes    Path
  1.8       +23 -19    ports/net/linux-nx-client/Makefile
  1.4       +3 -3      ports/net/linux-nx-client/distinfo
  1.3       +0 -13     ports/net/linux-nx-client/files/patch-nxclient-admin.desktop (dead)
  1.3       +0 -13     ports/net/linux-nx-client/files/patch-nxclient-help.desktop (dead)
  1.3       +0 -13     ports/net/linux-nx-client/files/patch-nxclient-wizard.desktop (dead)
  1.3       +0 -13     ports/net/linux-nx-client/files/patch-nxclient.desktop (dead)
  1.5       +31 -25    ports/net/linux-nx-client/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"