First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 153866
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: NX Server Herd <nx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jason Warner <jw@jasper.us>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nxoverlay-freedition.patch Patch to current NX overlay (as of 19/12/2006) patch Bernard Cafarelli 2006-12-19 03:00 0000 15.32 KB Details | Diff
nxserver-freeedition-20060111.tar.gz Tarball of nxclient,nxnode,nxserver-freeedition application/octet-stream Bernard Cafarelli 2007-01-11 14:19 0000 6.18 KB Details
nxclient-2.1.0.ebuild nxclient-2.1.0.ebuild text/plain Bernard Cafarelli 2007-01-30 19:31 0000 1.46 KB Details
nxwrapper nxwrapper text/plain Bernard Cafarelli 2007-01-30 19:32 0000 128 bytes Details
nxnode-2.1.0.ebuild nxnode-2.1.0.ebuild text/plain Bernard Cafarelli 2007-01-30 19:32 0000 2.52 KB Details
nxnode-2.1.0-init nxnode-2.1.0-init text/plain Bernard Cafarelli 2007-01-30 19:32 0000 1.35 KB Details
nxnode-2.1.0-setup.patch nxnode-2.1.0-setup.patch text/plain Bernard Cafarelli 2007-01-30 19:32 0000 1.33 KB Details
nxserver-freeedition-2.1.0.ebuild nxserver-freeedition-2.1.0.ebuild text/plain Bernard Cafarelli 2007-01-30 19:33 0000 1.86 KB Details
nxserver-2.1.0-init nxserver-2.1.0-init text/plain Bernard Cafarelli 2007-01-30 19:33 0000 580 bytes Details
nxserver-2.1.0-setup.patch nxserver-2.1.0-setup.patch text/plain Bernard Cafarelli 2007-01-30 19:33 0000 1.88 KB Details
nxclient-2.1.0.ebuild nxclient-2.1.0.ebuild text/plain Bernard Cafarelli 2007-02-02 12:43 0000 1.78 KB Details
nxclient-2.1.0.ebuild nxclient-2.1.0.ebuild text/plain Bernard Cafarelli 2007-02-02 15:43 0000 1.79 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 153866 depends on: Show dependency tree
Show dependency graph
Bug 153866 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-02 14:09 0000
Will a ebuild of NoMachines NX Server Free Edition be made available in
portage?  The current version is 2.1.0-9 and is available at
http://www.nomachine.com/download-package.php?Prod_Id=2

------- Comment #1 From Stuart Herbert (RETIRED) 2006-11-04 17:34:42 0000 -------
Hi,

Yes, this is on my TODO list.

Best regards,
Stu

------- Comment #2 From Stuart Herbert (RETIRED) 2006-11-13 00:59:03 0000 -------
Hi,

There is an ebuild for NX Server Free Edition in the Gentoo NX overlay. 
Unfortunately, it doesn't work, due to a problem w/ the license file for
nxnode.  I'm talking to my NoMachine contact about this; hopefully we'll have a
solution soon.

Best regards,
Stu

------- Comment #3 From JPD 2006-11-20 12:54:47 0000 -------
Stu> I would be happy to test this when you sort out the problem your working
on
Cheers, JPD

------- Comment #4 From Jason Warner 2006-11-25 15:54:26 0000 -------
Thanks Stu.  Fyi...Jake1981 posted that a new version resolves the licensing
issue.  He also posted a fix regarding a font issue with Xorg > 7.  Hope this
helps for the official ebuild.

http://forums.gentoo.org/viewtopic.php?p=3739188#3739188

------- Comment #5 From Elfyn McBratney (beu) (RETIRED) 2006-12-03 08:53:14 0000 -------
Changing bug state.

------- Comment #6 From Bernard Cafarelli 2006-12-19 02:59:58 0000 -------
Here is a patch to the current nx overlay, that fixes most of the problems.

The problem was: nxnode needs to install its license file (node.lic), and needs
to install it BEFORE the nxserver install (which will edit the node license
file to Unlimited in the install process). So I updated the nxnode ebuild to
install correctly its license file. I also fixed the nxsensor init script (some
tests were incorrect if you had default values in node.cfg, which resulted in
the NX_SENSOR_HOST error). I also fixed the ebuilds to provide amd64 support
(plus a syntax fix for latest ~arch portage)

The NoMachine faq is here:
http://www.nomachine.com/ar/view.php?ar_id=AR08D00411

------- Comment #7 From Bernard Cafarelli 2006-12-19 03:00:59 0000 -------
Created an attachment (id=104348) [edit]
Patch to current NX overlay (as of 19/12/2006)

------- Comment #8 From tuXXer 2007-01-05 03:47:39 0000 -------
My two cents about the current ebuild.

Maybe it is suitable to use native calls in the restart function of the init
script:
restart() {
    svc_stop
    svc_start
    eend 0
}

Furthermore the X-Server didn't start, because the X libraries of the Free
Edition are linked against /usr/X11R6/lib/X11/fonts, but the font path in X.org
>7.0 is /usr/share/fonts. Maybe it is a good idea to create a symlink from
/usr/lib/X11/fonts to /usr/share/fonts

------- Comment #9 From Bernard Cafarelli 2007-01-05 04:19:46 0000 -------
> Furthermore the X-Server didn't start, because the X libraries of the Free
> Edition are linked against /usr/X11R6/lib/X11/fonts, but the font path in X.org
> >7.0 is /usr/share/fonts. Maybe it is a good idea to create a symlink from
> /usr/lib/X11/fonts to /usr/share/fonts

Yes, I added that a short time after posting my update. Something like this in
pkg_postinst() works  fine here:
        # Fonts link on modular X
        if has_version '>=x11-base/xorg-x11-7.0' && ! [ -e /usr/lib/X11/fonts
];
        then
                ln -s /usr/share/fonts /usr/lib/X11/fonts
        fi

------- Comment #10 From Philipp Riegger 2007-01-10 15:21:20 0000 -------
when i tried to install nxnode i got the following error:

!!! Invalid or corrupt dependency specification: 

"invalid atom: '!<=net-misc/nxserver-personal-2.0.99*'"

('ebuild', '/', 'net-misc/nxnode-2.1.0', 'merge')

!net-misc/nx-x11 !net-misc/nx-x11-bin !net-misc/nxcomp !net-misc/nxproxy
!<=net-misc/nxserver-personal-2.0.99* !<=net-misc/nxserver-business-2.0.99*
!<=net-misc/nxserver-enterprise-2.0.99* !net-misc/nxserver-freenx

This package can not be installed. Please notify the
'net-misc/nxnode-2.1.0' package maintainer about this problem.


I'm using latest ~x86 portage.

------- Comment #11 From Bernard Cafarelli 2007-01-10 15:41:36 0000 -------
Use the patch I attached to this bugreport on your copy of NX overlay, this is
one of thes fixes it includes (see comment #6). You can also grab the already
patched ebuilds from my overlay:
https://cafarelli.fr/svn/voyageur-overlay

------- Comment #12 From Philipp Riegger 2007-01-11 10:54:53 0000 -------
I used the patched overlay and compiling and installing worked. I got some QA
errors:

QA Notice: the following files contain insecure RUNPATH's
 Please file a bug about this at http://bugs.gentoo.org/
 with the maintaining herd of the package.
 usr/NX/lib/perl/SDBM_File.so
 usr/NX/lib/perl/SysV.so
 usr/NX/lib/perl/Fcntl.so
 usr/NX/lib/perl/Dumper.so
 usr/NX/lib/perl/DBI.so
 usr/NX/lib/perl/SQLite.so
 usr/NX/lib/perl/HiRes.so
^G
Auto fixing rpaths for  usr/NX/lib/perl/SDBM_File.so
 usr/NX/lib/perl/SysV.so
 usr/NX/lib/perl/Fcntl.so
 usr/NX/lib/perl/Dumper.so
 usr/NX/lib/perl/DBI.so
 usr/NX/lib/perl/SQLite.so
 usr/NX/lib/perl/HiRes.so

but you might already know them. When i try to run nxsensor i get the following
error:

chris init.d # ./nxsensor start
 * Starting nxsensor ...
/usr/NX/bin/nxsensor: error while loading shared libraries: libglib-1.2.so.0:
cannot open shared object file: No such file or directory                   [
!! ]

I'll try to install glib and then run it again. This might be a missing
dependancy.

------- Comment #13 From Bernard Cafarelli 2007-01-11 13:26:54 0000 -------
Yes, there are still a few problems in the ebuilds, as those QA errors, add
some blockers to other NX servers, ... but the list is getting shorter :)

And indeed nxsensor depends on glib 1.2... I updated the ebuild in my overlay
to fix this, and also:
* Bumped to latest Nomachine's releases
* No need for the fonts link anymore!
* Updated dependencies (mostly for amd64)
* License files are not overwritten
* Nomachine's install scripts are ran only when no configuration is found 
  (else update scripts are ran)

Note that updating still does not work every time, the easiest way is to first
remove nxnode and nxserver-freeedition from the system before emerge

I'll attach the current ebuilds here too after some other tests

------- Comment #14 From Bernard Cafarelli 2007-01-11 14:19:53 0000 -------
Created an attachment (id=106564) [edit]
Tarball of nxclient,nxnode,nxserver-freeedition

This tarball has all the fixes already made (init scripts, version bumps,
ebuild fixes, ...)

------- Comment #15 From Bernard Cafarelli 2007-01-16 09:56:51 0000 -------
I asked about these QA warnings on #gentoo-security, the workaround for now
would be to host the fixed files and replace the faulty ones in the unpack
process. The files are fixed with either 'chrpath -d' or 'scanelf -BXr'

I also notified upstream about this, they said they will take a look at it (hum
just realized I only spoke about nxnode files, nxserver also has some)

------- Comment #16 From Michiel de Bruijne 2007-01-17 21:52:16 0000 -------
Hi Bernard,

Thanks for the tarball, the first test seems positive. The first thing I
noticed though is that the desktop files are not installed so there are no
items in the start menu (e.g. nxclient).

------- Comment #17 From Bernard Cafarelli 2007-01-19 16:28:38 0000 -------
(In reply to comment #16)
Indeed, nxclient does not install a desktop entry (or a pixmap in the right
path either). A make_desktop_entry line will do fine, I think (looks like older
portage ebuilds don't have this entry either).

------- Comment #18 From Bernard Cafarelli 2007-01-30 19:26:24 0000 -------
OK, I have upgrades running smoothly now (no more problems with the license
files, no need to unmerge/re-emerge anymore). I'll attach the updated files
(including latest security fix from nomachine), the lazy people can directly
grab my overlay ;)

------- Comment #19 From Bernard Cafarelli 2007-01-30 19:31:06 0000 -------
Created an attachment (id=108659) [edit]
nxclient-2.1.0.ebuild

------- Comment #20 From Bernard Cafarelli 2007-01-30 19:32:08 0000 -------
Created an attachment (id=108660) [edit]
nxwrapper

Common to the 3 ebuilds

------- Comment #21 From Bernard Cafarelli 2007-01-30 19:32:31 0000 -------
Created an attachment (id=108662) [edit]
nxnode-2.1.0.ebuild

------- Comment #22 From Bernard Cafarelli 2007-01-30 19:32:44 0000 -------
Created an attachment (id=108664) [edit]
nxnode-2.1.0-init

------- Comment #23 From Bernard Cafarelli 2007-01-30 19:32:54 0000 -------
Created an attachment (id=108665) [edit]
nxnode-2.1.0-setup.patch

------- Comment #24 From Bernard Cafarelli 2007-01-30 19:33:21 0000 -------
Created an attachment (id=108666) [edit]
nxserver-freeedition-2.1.0.ebuild

------- Comment #25 From Bernard Cafarelli 2007-01-30 19:33:36 0000 -------
Created an attachment (id=108668) [edit]
nxserver-2.1.0-init

------- Comment #26 From Bernard Cafarelli 2007-01-30 19:33:55 0000 -------
Created an attachment (id=108669) [edit]
nxserver-2.1.0-setup.patch

------- Comment #27 From Bernard Cafarelli 2007-02-02 12:43:05 0000 -------
Created an attachment (id=108927) [edit]
nxclient-2.1.0.ebuild

Updated nxclient: added icons and desktop entries (same entries as nomachine's
rpm: client, wizard and sessions admin)

------- Comment #28 From Bernard Cafarelli 2007-02-02 15:43:05 0000 -------
Created an attachment (id=108937) [edit]
nxclient-2.1.0.ebuild

Replaced the nxwrapper mechanism with make_wrapper

------- Comment #29 From Bernard Cafarelli 2007-03-21 12:56:39 0000 -------
*** Bug 137797 has been marked as a duplicate of this bug. ***

------- Comment #30 From Bernard Cafarelli 2007-03-30 16:16:25 0000 -------
Added to CVS

First Last Prev Next    No search results available      Search page      Enter new bug