GNU bug report logs -
#54078
[PATCH] gnu: add libaml, libneatvnc, and wayvnc
Previous Next
Reported by: kitzman <kitzman <at> disroot.org>
Date: Sun, 20 Feb 2022 21:52:01 UTC
Severity: normal
Tags: patch
Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54078 in the body.
You can then email your comments to 54078 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Sun, 20 Feb 2022 21:52:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
kitzman <kitzman <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 20 Feb 2022 21:52:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have attached a patch for the following packages:
- gnu/packages/linux.scm:8818 libaml
- gnu/packages/vnc.scm:361 libneatvnc
- gnu/packages/vnc.scm:384 wayvnc
The libraries/software are created by a single person, with
dependents/dependencies which are also created by them. I can
split this into a patch set if deemed more appropriate.
[0001-gnu-add-libaml-libneatvnc-and-wayvnc.patch (text/x-diff, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Mon, 21 Feb 2022 08:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54078 <at> debbugs.gnu.org (full text, mbox):
I was missing some imports in gnu/packages/vnc.scm.
With this occasion I have also split my commit in three different ones.
kitzman <kitzman <at> disroot.org> writes:
> I have attached a patch for the following packages:
> - gnu/packages/linux.scm:8818 libaml
> - gnu/packages/vnc.scm:361 libneatvnc
> - gnu/packages/vnc.scm:384 wayvnc
>
> The libraries/software are created by a single person, with
> dependents/dependencies which are also created by them. I can
> split this into a patch set if deemed more appropriate.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Mon, 21 Feb 2022 08:09:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have attached a patch for libaml:
gnu/packages/linux.scm:8818 libaml
[0001-gnu-add-libaml.patch (text/x-diff, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Mon, 21 Feb 2022 08:11:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have attached a patch for libneatvnc:
gnu/packages/vnc.scm:361 libneatvnc
[0002-gnu-add-libneatvnc.patch (text/x-diff, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Mon, 21 Feb 2022 08:12:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have attached the final patch in this series: wayvnc.
gnu/packages/vnc.scm:384 wayvnc
[0003-gnu-add-wayvnc.patch (text/x-diff, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Mon, 21 Feb 2022 13:13:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
kitzman via Guix-patches via schreef op ma 21-02-2022 om 10:09 [+0200]:
> + (synopsis "Another/Andri's Main Loop")
What's up with the capitalisation? In most situations, only the first
letter of a sentence (*) is capitalised, as in
(synopsis of 'texmacs')
Editing platform with special features for scientists
(*) It's not a complete sentence but AFAIK the same capitalisation
rules hold.
> + (description "Portable and simple main loop implementation.")
This is not very descriptive, perhaps you an write a bit about what
it supports (file descriptor readability/writability, signal handlers,
timers, ...)?
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Mon, 21 Feb 2022 13:23:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
kitzman via Guix-patches via schreef op ma 21-02-2022 om 10:11 [+0200]:
> + (native-inputs
> + (list pkg-config libdrm))
Looking at 'src/tight.c', 'libdrm' looks like a regular input to me,
not a native-input. It needs to be in inputs, otherwise the cross-
compiler won't find libdrm's header when src/tight.c is being cross-
compiled.
> + (propagated-inputs
> + (list libglvnd libxkbcommon pixman libaml gnutls libjpeg-turbo
> zlib))
Is propagation necessary here? Would regular inputs suffice?
(Propagation can cause propagation conflicts and other issues.)
> + (home-page "https://github.com/any1/neatvnc")
> + (synopsis "VNC server library that's intended to be fast and
> neat")
> + (description "This is a liberally licensed VNC server library
> that's intended to be fast and neat.")
‘Liberally licensed’: the package definition has a 'license' field
that should be sufficient for the user to determine if they like the
license or not. Also, please keep the descriptions descriptive, no
marketing phrases ‘liberal’, ‘fast, and ‘neat’ (from (guix)Synopses and
Descriptions):
Please avoid marketing phrases such as “world-leading”,
“industrial-strength”, and “next-generation”, and avoid superlatives
like “the most advanced”—they are not helpful to users looking for a
package and may even sound suspicious. Instead, try to be factual,
mentioning use cases and features.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 17:49:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Dear Maxime,
Thank you for reviewing.
[0001-gnu-add-libaml.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
I have attached here the fixed patch for libaml. The rest of the patches
are going to be part of the new series.
Kind regards,
Kitzman
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 17:59:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
kitzman schreef op wo 23-02-2022 om 19:50 [+0200]:
> + (description "The @code{aml} library provides an event loop for
> C, for Linux,
According to the README, it has portability as a goal.
Looking at src/kqueue.c, it supports some BSDs.
Looking at posix.c, it should support anything POSIX-like
(and hence, the Hurd).
As such, I don't think the qualifier 'for Linux' is very meaningful
here.
> +with the following features:
> +@enumerate
> +@item fd event handlers
‘(guix)Synopses and Descriptions’ recommends avoiding acronyms:
[...] Use full sentences, and avoid using acronyms without first
introducing them. [...]
‘@item file descriptor event handlers’ would be more explicit and
avoids the 'fd' acronym.
Otherwise, the description looks nice to me.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 18:50:01 GMT)
Full text and
rfc822 format available.
Message #32 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-add-libaml.patch (text/x-diff, attachment)]
From ac8f0bdbc92a834bbc96b3e676cc58059afc3633 Mon Sep 17 00:00:00 2001
From: kitzman <kitzman <at> disroot.org>
Date: Wed, 23 Feb 2022 20:41:17 +0200
Subject: [PATCH 1/3] gnu: add libaml
---
gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1c514c3cec..27c54f90b0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8814,3 +8814,33 @@ (define-public libgpiod
(license (list license:lgpl2.1+ ;; libgpiod
license:gpl2+ ;; gpio-tools
license:lgpl3+)))) ;; C++ bindings
+
+(define-public libaml
+ (package
+ (name "libaml")
+ (version "0.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/any1/aml")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "aml" (string-append "v" version)))
+ (sha256
+ (base32
+ "0mxmzlhiv88hm4sf8kyawyrml8qy1xis019hdyb5skl9g95z9yyf"))))
+ (build-system meson-build-system)
+ (native-inputs
+ (list pkg-config))
+ (home-page "https://github.com/any1/aml")
+ (synopsis "Another/Andri's main loop")
+ (description "The @code{aml} library provides a portable event loop for C,
+with the following features:
+@enumerate
+@item file descriptor event handlers
+@item timers and tickers
+@item signal handlers
+@item idle dispatch callbacks
+@item thread pool support
+@end enumerate
+")
+ (license license:isc)))
--
2.32.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 18:57:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Dear Maxime,
> Is propagation necessary here? Would regular inputs suffice?
> (Propagation can cause propagation conflicts and other issues.)
That is true, the inputs were wrong.
> ‘Liberally licensed’: the package definition has a 'license' field
> that should be sufficient for the user to determine if they like the
> license or not. Also, please keep the descriptions descriptive, no
> marketing phrases ‘liberal’, ‘fast, and ‘neat’
Instead of copying the repo's description, now there are some
functionalities of the library. However, it is unknown if they work with
all clients. Do you think it's worth mentioning?
[0002-gnu-add-libneatvnc.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
Kind regards,
Kitzman
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 19:16:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
kitzman schreef op wo 23-02-2022 om 20:57 [+0200]:
> Instead of copying the repo's description, now there are some
> functionalities of the library. However, it is unknown if they work
> with
> all clients. Do you think it's worth mentioning?
Different interpretations of the specifications and bugs causing
server-client incompatibilities, and clients not making use of all the
features offered by the server, is always possible. As such, I don't
think documenting incompatibilities in the description of servers is
very meaningful (YMMV; I would accept a description mentioning
incompatibilities FWIW).
It might be interesting to document these features (or lack of
features) in the descriptions of the clients though. E.g., encryption
can be very important, so if a client doesn't support that, that might
be good to mention in the description of the package of the client.
SSH tunneling does not seem to be ‘core’ functionality of VNC but
rather an extra, so that also seems useful to document in the client.
(TBC, this is only superficial review, and I'm not a committer.)
Greetings,
Maxime
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 21:02:02 GMT)
Full text and
rfc822 format available.
Message #41 received at 54078 <at> debbugs.gnu.org (full text, mbox):
Dear Maxime,
> I don't
> think documenting incompatibilities in the description of servers is
> very meaningful (YMMV; I would accept a description mentioning
> incompatibilities FWIW).
From my perspective, these incompatibilities can be found anyway in the
README, plus it is unknown if some clients go well with the server -
thus one can always try, and maybe open an issue if there's a
problem. So I will leave that out for now.
> (TBC, this is only superficial review, and I'm not a committer.)
Thank you, the problem with the inputs was really bad and the
descriptions now do justice to the server and libs. It will make the
rest of the process much easier.
Kind regards,
Kitzman
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Wed, 23 Feb 2022 21:04:01 GMT)
Full text and
rfc822 format available.
Message #44 received at 54078 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I have attached here an updated version of the wayvnc package,
corresponding to the latest 1/3 and 2/3 patches.
[0003-gnu-add-wayvnc.patch (text/x-diff, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#54078
; Package
guix-patches
.
(Tue, 30 Jul 2024 10:00:02 GMT)
Full text and
rfc822 format available.
Message #47 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
kitzman via Guix-patches via <guix-patches <at> gnu.org> writes:
> I have attached a patch for the following packages:
> - gnu/packages/linux.scm:8818 libaml
> - gnu/packages/vnc.scm:361 libneatvnc
> - gnu/packages/vnc.scm:384 wayvnc
>
> The libraries/software are created by a single person, with
> dependents/dependencies which are also created by them. I can
> split this into a patch set if deemed more appropriate.
>
> [2. patch for libaml, libneatvnc, and wayvnc --- text/x-diff; 0001-gnu-add-libaml-libneatvnc-and-wayvnc.patch]...
hello, i adjust your patch and pushed.
LIBAML rename to AML
LIBNEATVNC rename to NEATVNC.
Use the correct file-name
Move AML definition to gnu/packages/c.scm
Update to latest version
Fix WAYVNC cross-compiling.
Adjust WAYVNC's description.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
:
You have taken responsibility.
(Tue, 30 Jul 2024 10:00:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
kitzman <kitzman <at> disroot.org>
:
bug acknowledged by developer.
(Tue, 30 Jul 2024 10:00:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 27 Aug 2024 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 255 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.