unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* VNC
@ 2019-08-14  8:04 Unknown
  2019-08-14  9:44 ` VNC Julien Lepiller
  0 siblings, 1 reply; 4+ messages in thread
From: Unknown @ 2019-08-14  8:04 UTC (permalink / raw)
  To: help-guix\@gnu.org

Is there a VNC service in guix? Doing a brief package search, I found a few clients, but no server.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: VNC
  2019-08-14  8:04 VNC Unknown
@ 2019-08-14  9:44 ` Julien Lepiller
  2019-08-14 10:44   ` VNC Todor Kondić
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Lepiller @ 2019-08-14  9:44 UTC (permalink / raw)
  To: Todor Kondić <tk.code@protonmail.com>,
	help-guix\@gnu.org

Le 14 août 2019 10:04:19 GMT+02:00, "Todor Kondić via <help-guix@gnu.org>" <null> a écrit :
>Is there a VNC service in guix? Doing a brief package search, I found a
>few clients, but no server.

Nobody seems to have worked on one yet, so no luck for you :/. Maybe others here have a workaround, or can provide more detailed guidance on how to define such a service if you're interested. I have never used VNC myself, so I'm not sure what work is still needed to get a working service definition.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: VNC
  2019-08-14  9:44 ` VNC Julien Lepiller
@ 2019-08-14 10:44   ` Todor Kondić
  0 siblings, 0 replies; 4+ messages in thread
From: Todor Kondić @ 2019-08-14 10:44 UTC (permalink / raw)
  To: help-guix\@gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, 14 August 2019 11:44, Julien Lepiller <julien@lepiller.eu> wrote:

> Le 14 août 2019 10:04:19 GMT+02:00, "Todor Kondić via help-guix@gnu.org" <null> a écrit :
>
> > Is there a VNC service in guix? Doing a brief package search, I found a
> > few clients, but no server.
>
> Nobody seems to have worked on one yet, so no luck for you :/. Maybe others here have a workaround, or can provide more detailed guidance on how to define such a service if you're interested. I have never used VNC myself, so I'm not sure what work is still needed to get a working service definition.

As it looks like virtualbox guest additions are even more difficult to get working on Guix, I would be happy to try and come up with service definition for a VNC server. TigerVNC comes to mind.

If anyone can come up with some helpful pointers (I did define a few Guix packages, but no services so far), it would be appreciated.

Cheers,

Todor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: VNC
@ 2019-08-15  8:23 Rene
  0 siblings, 0 replies; 4+ messages in thread
From: Rene @ 2019-08-15  8:23 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]


Hello,

I use x11vnc server, only as a package not as a service.

HTH!

> As it looks like virtualbox guest additions are even more difficult to get 
> working on Guix, I would be happy to try and come up with service definition 
> for a VNC server. TigerVNC comes to mind.
>
> If anyone can come up with some helpful pointers (I did define a few Guix 
> packages, but no services so far), it would be appreciated.
>
> Cheers,
>
> Todor
>



[-- Attachment #2: 0001-gnu-Add-libvncserver.patch --]
[-- Type: text/x-patch, Size: 2575 bytes --]

From 043767218b21c1823d296f7601c423e2ac50d9d0 Mon Sep 17 00:00:00 2001
From: Rene <pacoon@protonmail.com>
Date: Tue, 19 Feb 2019 10:52:11 -0600
Subject: [PATCH 1/2] gnu: Add libvncserver.

---
 gnu/packages/vnc.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 gnu/packages/vnc.scm

diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
new file mode 100644
index 000000000..3233d83cb
--- /dev/null
+++ b/gnu/packages/vnc.scm
@@ -0,0 +1,49 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Rene <ikhuuma@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages vnc)
+  #:use-module (gnu packages)
+  #:use-module (guix build-system cmake)
+  #:use-module (guix download)
+  #:use-module (guix git-download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (guix gexp)
+  #:use-module (ice-9 match)
+  #:use-module (srfi srfi-1))
+
+(define-public libvncserver
+  (package
+    (name "libvncserver")
+    (version "0.9.12")
+    (source (origin
+              (method url-fetch)
+              (uri (let ((upstream-name "LibVNCServer"))
+		     (string-append "https://github.com/LibVNC/libvncserver/archive/"
+                                    upstream-name "-" version ".tar.gz")))
+              (sha256
+               (base32
+                "0dk124x298yx5bcr4kwqh7vvqhsaxwy346ri7ir0yfdv2m7bpjrk"))))
+    (build-system cmake-build-system)
+    (home-page "https://libvnc.github.io")
+    (synopsis "Library for implement a VNC server")
+    (description "Libvncserver is a cross-platform C library that allow to
+implement a VNC server.")
+    (license license:gpl2+)
+    (properties `((upstream-name . "LibVNCServer")))))
-- 
2.20.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-Add-x11vnc.patch --]
[-- Type: text/x-patch, Size: 2500 bytes --]

From 6e8710aedaf7485a1a3721531f89ea6baeaf7d6b Mon Sep 17 00:00:00 2001
From: Rene <pacoon@protonmail.com>
Date: Tue, 19 Feb 2019 11:19:35 -0600
Subject: [PATCH 2/2] gnu: Add x11vnc.

---
 gnu/packages/vnc.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index 3233d83cb..3223dcd87 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -18,7 +18,13 @@
 
 (define-module (gnu packages vnc)
   #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages compression)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages xorg)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system gnu)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -47,3 +53,41 @@
 implement a VNC server.")
     (license license:gpl2+)
     (properties `((upstream-name . "LibVNCServer")))))
+
+(define-public x11vnc
+  (package
+    (name "x11vnc")
+    (version "0.9.16")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/LibVNC/x11vnc/archive/"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1g9jpl8i2fds5m2gn77f65inh6n718yvxs51wkwwdvi5bxgmnpl8"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; The ./configure script fails with /bin/sh and does not accept
+         ;; CONFIG_SHELL and SHELL parameters, then re-create configure script.
+         (replace 'bootstrap
+           (lambda _
+             (invoke "autoreconf" "-vfi"))))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)
+       ("zlib" ,zlib)))
+    (inputs
+     `(("libvncserver" ,libvncserver)
+       ("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxtst" ,libxtst)
+       ("openssl" ,openssl)))
+    (home-page "http://www.karlrunge.com/x11vnc/index.html")
+    (synopsis "VNC server for real X displays")
+    (description "X11vnc is a VNC (Virtual Network Computing) server, allows one
+to view remotely and interact with real X displays.  For example, a display
+corresponding to a physical monitor, keyboard, and mouse.")
+    (license license:gpl2+)))
-- 
2.20.1


[-- Attachment #4: Type: text/plain, Size: 11 bytes --]


-- 

Rene

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-15 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14  8:04 VNC Unknown
2019-08-14  9:44 ` VNC Julien Lepiller
2019-08-14 10:44   ` VNC Todor Kondić
  -- strict thread matches above, loose matches on Subject: below --
2019-08-15  8:23 VNC Rene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).