unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62199] [PATCH] gnu: Add emacs-fdroid.
@ 2023-03-15 12:14 conses
  2023-03-20 22:54 ` Sergey Trofimov
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: conses @ 2023-03-15 12:14 UTC (permalink / raw)
  To: 62199; +Cc: contact

* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3c067fe16c..ce5aa10a05 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6070,6 +6070,27 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




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

* [bug#62199] [PATCH] gnu: Add emacs-fdroid.
  2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
@ 2023-03-20 22:54 ` Sergey Trofimov
  2023-03-21  7:50   ` conses
  2023-03-21  7:47 ` [bug#62199] [PATCH v2] " conses
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 25+ messages in thread
From: Sergey Trofimov @ 2023-03-20 22:54 UTC (permalink / raw)
  To: contact; +Cc: 62199


Hi conses,
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url 
> "https://git.sr.ht/~conses/fdroid.el";)
> +                    (commit version)))

you have extra `;` in url. The same typo in `(home-page ...)`.
Also, as the package depends on fdroidcl being present, maybe it 
should be added to `propagated-inputs`?




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

* [bug#62199] [PATCH v2] gnu: Add emacs-fdroid.
  2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
  2023-03-20 22:54 ` Sergey Trofimov
@ 2023-03-21  7:47 ` conses
  2023-03-21  9:24 ` [bug#62199] [PATCH v3] " conses
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 25+ messages in thread
From: conses @ 2023-03-21  7:47 UTC (permalink / raw)
  To: Sergey Trofimov; +Cc: contact, 62199

* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..5ac1cefc13 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -157,6 +157,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6137,6 +6138,28 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (inputs (list fdroidcl))
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




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

* [bug#62199] [PATCH] gnu: Add emacs-fdroid.
  2023-03-20 22:54 ` Sergey Trofimov
@ 2023-03-21  7:50   ` conses
  2023-03-21  8:21     ` Sergey Trofimov
  0 siblings, 1 reply; 25+ messages in thread
From: conses @ 2023-03-21  7:50 UTC (permalink / raw)
  To: Sergey Trofimov; +Cc: contact, 62199

Sergey Trofimov <sarg@sarg.org.ru> writes:

> Hi conses,

Hi Sergey,

>> +              (method git-fetch)
>> +              (uri (git-reference
>> +                    (url "https://git.sr.ht/~conses/fdroid.el";)
>> +                    (commit version)))
>
> you have extra `;` in url. The same typo in `(home-page ...)`.
> Also, as the package depends on fdroidcl being present, maybe it
> should be added to `propagated-inputs`?
>

I personally can't see that typo on my end.  I also double-checked in
mumi <https://issues.guix.gnu.org/62199> and everything seems to be
alright syntax-wise.  Nevertheless, I've added fdroidcl as an input.

Thank you for having a look!

-- 
Best regards,
conses




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

* [bug#62199] [PATCH] gnu: Add emacs-fdroid.
  2023-03-21  7:50   ` conses
@ 2023-03-21  8:21     ` Sergey Trofimov
  2023-03-21  8:55       ` Sergey Trofimov
  2023-03-21  9:02       ` Nicolas Goaziou
  0 siblings, 2 replies; 25+ messages in thread
From: Sergey Trofimov @ 2023-03-21  8:21 UTC (permalink / raw)
  To: conses; +Cc: 62199


Hi conses,

conses <contact@conses.eu> writes:
> [...]
>
> I personally can't see that typo on my end.  I also 
> double-checked in
> mumi <https://issues.guix.gnu.org/62199> and everything seems to 
> be
> alright syntax-wise.

Yeah, some glitch happened on my end. I don't see it anymore in 
`debbugs` interface.

> Nevertheless, I've added fdroidcl as an input.

Shouldn't it be a `propagated-input`? It's not a build dependency, 
but rather a runtime one.




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

* [bug#62199] [PATCH] gnu: Add emacs-fdroid.
  2023-03-21  8:21     ` Sergey Trofimov
@ 2023-03-21  8:55       ` Sergey Trofimov
  2023-03-21  9:02       ` Nicolas Goaziou
  1 sibling, 0 replies; 25+ messages in thread
From: Sergey Trofimov @ 2023-03-21  8:55 UTC (permalink / raw)
  To: conses; +Cc: 62199


Hi again,

>> I personally can't see that typo on my end.  I also 
>> double-checked in
>> mumi <https://issues.guix.gnu.org/62199> and everything seems 
>> to be
>> alright syntax-wise.
>
> Yeah, some glitch happened on my end. I don't see it anymore in 
> `debbugs`
> interface.

Actually, this `;` is visible here: 
https://lists.gnu.org/archive/html/guix-patches/2023-03/msg01008.html
Clearly a bug in this interface.




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

* [bug#62199] [PATCH] gnu: Add emacs-fdroid.
  2023-03-21  8:21     ` Sergey Trofimov
  2023-03-21  8:55       ` Sergey Trofimov
@ 2023-03-21  9:02       ` Nicolas Goaziou
  1 sibling, 0 replies; 25+ messages in thread
From: Nicolas Goaziou @ 2023-03-21  9:02 UTC (permalink / raw)
  To: Sergey Trofimov; +Cc: conses, 62199

Hello,

Sergey Trofimov <sarg@sarg.org.ru> writes:


> conses <contact@conses.eu> writes:

>> Nevertheless, I've added fdroidcl as an input.
>
> Shouldn't it be a `propagated-input`? It's not a build dependency, but
> rather a runtime one.

No, `inputs' is fine, but a phase should point `fdroid-program' variable
to the correct executable, thus avoiding propagation.

Regards,
-- 
Nicolas Goaziou




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

* [bug#62199] [PATCH v3] gnu: Add emacs-fdroid.
  2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
  2023-03-20 22:54 ` Sergey Trofimov
  2023-03-21  7:47 ` [bug#62199] [PATCH v2] " conses
@ 2023-03-21  9:24 ` conses
  2023-03-21  9:30   ` Nicolas Goaziou
  2023-03-21 10:41 ` [bug#62199] [PATCH v4] " conses
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 25+ messages in thread
From: conses @ 2023-03-21  9:24 UTC (permalink / raw)
  To: 62199; +Cc: contact, Sergey Trofimov, Nicolas Goaziou

* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..1cc8074fca 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -157,6 +157,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6137,6 +6138,37 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda _
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (string-append #$(this-package-input "fdroidcl")
+                                         "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




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

* [bug#62199] [PATCH v3] gnu: Add emacs-fdroid.
  2023-03-21  9:24 ` [bug#62199] [PATCH v3] " conses
@ 2023-03-21  9:30   ` Nicolas Goaziou
  0 siblings, 0 replies; 25+ messages in thread
From: Nicolas Goaziou @ 2023-03-21  9:30 UTC (permalink / raw)
  To: conses; +Cc: 62199, Sergey Trofimov

conses <contact@conses.eu> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.

> +      #:phases #~(modify-phases %standard-phases
> +                   (add-after 'unpack 'patch-file-name
> +                     (lambda _
> +                       (emacs-substitute-variables "fdroid.el"
> +                         ("fdroid-program"
> +                          (string-append #$(this-package-input "fdroidcl")
> +                                         "/bin/fdroidcl"))))))))

Thanks.

I suggest to use `search-input-file' instead of of `this-package-input'
as it can find errors in the executable name at build time (e.g., if it
ever changes). It is also shorter.

Could you provide another update?

Otherwise, LGTM.

Regards,




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

* [bug#62199] [PATCH v4] gnu: Add emacs-fdroid.
  2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
                   ` (2 preceding siblings ...)
  2023-03-21  9:24 ` [bug#62199] [PATCH v3] " conses
@ 2023-03-21 10:41 ` conses
  2023-03-24  9:19   ` Nicolas Goaziou via Guix-patches
  2023-06-08 19:10 ` [bug#62199] [PATCH v5] " Miguel Ángel Moreno
  2024-02-11 20:38 ` [bug#62199] [PATCH v6] " Miguel Ángel Moreno
  5 siblings, 1 reply; 25+ messages in thread
From: conses @ 2023-03-21 10:41 UTC (permalink / raw)
  To: 62199; +Cc: contact, Sergey Trofimov, Nicolas Goaziou

* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b1f72ee009..7b625a67b3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -157,6 +157,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6137,6 +6138,36 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~conses/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (search-input-file inputs "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://git.sr.ht/~conses/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.39.1



-- 
Best regards,
conses




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

* [bug#62199] [PATCH v4] gnu: Add emacs-fdroid.
  2023-03-21 10:41 ` [bug#62199] [PATCH v4] " conses
@ 2023-03-24  9:19   ` Nicolas Goaziou via Guix-patches
  2023-06-08 19:12     ` Miguel Ángel Moreno
  0 siblings, 1 reply; 25+ messages in thread
From: Nicolas Goaziou via Guix-patches @ 2023-03-24  9:19 UTC (permalink / raw)
  To: conses; +Cc: 62199, Sergey Trofimov

Hello,

conses <contact@conses.eu> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.

[...]

> +  #:use-module (gnu packages android)

I cannot build this package. In particular, the line above seems to
generate a backtrace. It may not be related to your patch, though.

Can you reproduce this?

Regards,
-- 
Nicolas Goaziou




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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
                   ` (3 preceding siblings ...)
  2023-03-21 10:41 ` [bug#62199] [PATCH v4] " conses
@ 2023-06-08 19:10 ` Miguel Ángel Moreno
  2023-06-10 19:43   ` Nicolas Goaziou
  2024-02-11 20:38 ` [bug#62199] [PATCH v6] " Miguel Ángel Moreno
  5 siblings, 1 reply; 25+ messages in thread
From: Miguel Ángel Moreno @ 2023-06-08 19:10 UTC (permalink / raw)
  To: 62199; +Cc: me

* gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
---
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cad9819a5e..4dff0f85d9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages android)
   #:use-module (gnu packages aspell)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages bash)
@@ -6288,6 +6289,36 @@ (define-public emacs-fd
 result.")
     (license license:gpl3+)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.mianmoreno.com/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (search-input-file inputs "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://git.mianmoreno.com/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-ripgrep
   (package
     (name "emacs-ripgrep")
-- 
2.40.1

-- 
Best regards,
Miguel Ángel Moreno




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

* [bug#62199] [PATCH v4] gnu: Add emacs-fdroid.
  2023-03-24  9:19   ` Nicolas Goaziou via Guix-patches
@ 2023-06-08 19:12     ` Miguel Ángel Moreno
  0 siblings, 0 replies; 25+ messages in thread
From: Miguel Ángel Moreno @ 2023-06-08 19:12 UTC (permalink / raw)
  To: 62199

On 2023-03-24 10:19, Nicolas Goaziou wrote:

> Hello,
>
> conses <contact@conses.eu> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>
> [...]
>
>> +  #:use-module (gnu packages android)
>
> I cannot build this package. In particular, the line above seems to
> generate a backtrace. It may not be related to your patch, though.
>
> Can you reproduce this?
>

I used to have this problem not so long ago too, but it seems to have
been fixed, as the package builds successfully now.

-- 
Best regards,
Miguel Ángel Moreno




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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-06-08 19:10 ` [bug#62199] [PATCH v5] " Miguel Ángel Moreno
@ 2023-06-10 19:43   ` Nicolas Goaziou
  2023-06-13 10:50     ` Andrew Tropin
  2023-06-21  9:59     ` Miguel Ángel Moreno
  0 siblings, 2 replies; 25+ messages in thread
From: Nicolas Goaziou @ 2023-06-10 19:43 UTC (permalink / raw)
  To: Miguel Ángel Moreno; +Cc: 62199

Hello,

Miguel Ángel Moreno <me@mianmoreno.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index cad9819a5e..4dff0f85d9 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>    #:use-module (guix build-system trivial)
>    #:use-module (gnu packages)
>    #:use-module (gnu packages admin)
> +  #:use-module (gnu packages android)

I still get an error with this line. Maybe someone else can test it too.

Regards,
-- 
Nicolas Goaziou




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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-06-10 19:43   ` Nicolas Goaziou
@ 2023-06-13 10:50     ` Andrew Tropin
  2023-06-21  9:59     ` Miguel Ángel Moreno
  1 sibling, 0 replies; 25+ messages in thread
From: Andrew Tropin @ 2023-06-13 10:50 UTC (permalink / raw)
  To: Nicolas Goaziou, Miguel Ángel Moreno; +Cc: 62199

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

On 2023-06-10 21:43, Nicolas Goaziou wrote:

> Hello,
>
> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>> ---
>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>>
>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>> index cad9819a5e..4dff0f85d9 100644
>> --- a/gnu/packages/emacs-xyz.scm
>> +++ b/gnu/packages/emacs-xyz.scm
>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>    #:use-module (guix build-system trivial)
>>    #:use-module (gnu packages)
>>    #:use-module (gnu packages admin)
>> +  #:use-module (gnu packages android)
>
> I still get an error with this line. Maybe someone else can test it too.

Can confirm, get this error too.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-06-10 19:43   ` Nicolas Goaziou
  2023-06-13 10:50     ` Andrew Tropin
@ 2023-06-21  9:59     ` Miguel Ángel Moreno
  2023-08-20 17:40       ` Miguel Ángel Moreno
  1 sibling, 1 reply; 25+ messages in thread
From: Miguel Ángel Moreno @ 2023-06-21  9:59 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 62199, Ludovic Courtès, Andrew Tropin

On 2023-06-10 21:43, Nicolas Goaziou wrote:

> Hello,
>
> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>
>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>> ---
>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>>
>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>> index cad9819a5e..4dff0f85d9 100644
>> --- a/gnu/packages/emacs-xyz.scm
>> +++ b/gnu/packages/emacs-xyz.scm
>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>    #:use-module (guix build-system trivial)
>>    #:use-module (gnu packages)
>>    #:use-module (gnu packages admin)
>> +  #:use-module (gnu packages android)
>
> I still get an error with this line. Maybe someone else can test it too.
>
> Regards,

Hi Nicolas,

I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
think we can proceed without the fdroidcl input in case the package
build keeps failing?

-- 
Best regards,
Miguel Ángel Moreno




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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-06-21  9:59     ` Miguel Ángel Moreno
@ 2023-08-20 17:40       ` Miguel Ángel Moreno
  2023-08-24 13:58         ` Andrew Tropin
  0 siblings, 1 reply; 25+ messages in thread
From: Miguel Ángel Moreno @ 2023-08-20 17:40 UTC (permalink / raw)
  To: 62199; +Cc: Ludovic Courtès, Nicolas Goaziou, Andrew Tropin

On 2023-06-21 11:59, Miguel Ángel Moreno wrote:

> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>
>> Hello,
>>
>> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>>
>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>> ---
>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>  1 file changed, 31 insertions(+)
>>>
>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>> index cad9819a5e..4dff0f85d9 100644
>>> --- a/gnu/packages/emacs-xyz.scm
>>> +++ b/gnu/packages/emacs-xyz.scm
>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>    #:use-module (guix build-system trivial)
>>>    #:use-module (gnu packages)
>>>    #:use-module (gnu packages admin)
>>> +  #:use-module (gnu packages android)
>>
>> I still get an error with this line. Maybe someone else can test it too.
>>
>> Regards,
>
> Hi Nicolas,
>
> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
> think we can proceed without the fdroidcl input in case the package
> build keeps failing?

Hi,

Friendly ping on this issue.  The package still builds successfully for
me at the latest Guix checkout.  Could you test it again, please?

-- 
Best regards,
Miguel Ángel Moreno




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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-08-20 17:40       ` Miguel Ángel Moreno
@ 2023-08-24 13:58         ` Andrew Tropin
  2023-08-26 16:10           ` Miguel Ángel Moreno
  0 siblings, 1 reply; 25+ messages in thread
From: Andrew Tropin @ 2023-08-24 13:58 UTC (permalink / raw)
  To: Miguel Ángel Moreno, 62199; +Cc: Ludovic Courtès, Nicolas Goaziou

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

On 2023-08-20 19:40, Miguel Ángel Moreno wrote:

> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>
>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>
>>> Hello,
>>>
>>> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>>>
>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>> ---
>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>  1 file changed, 31 insertions(+)
>>>>
>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>> index cad9819a5e..4dff0f85d9 100644
>>>> --- a/gnu/packages/emacs-xyz.scm
>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>    #:use-module (guix build-system trivial)
>>>>    #:use-module (gnu packages)
>>>>    #:use-module (gnu packages admin)
>>>> +  #:use-module (gnu packages android)
>>>
>>> I still get an error with this line. Maybe someone else can test it too.
>>>
>>> Regards,
>>
>> Hi Nicolas,
>>
>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>> think we can proceed without the fdroidcl input in case the package
>> build keeps failing?
>
> Hi,
>
> Friendly ping on this issue.  The package still builds successfully for
> me at the latest Guix checkout.  Could you test it again, please?

Still fails with:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix build emacs-fdroid
;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
;;;       newer than compiled /home/bob/work/gnu/guix/guix/download.go
;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/guix/download.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/linux.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/linux.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/tex.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/tex.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/qt.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/qt.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/qt.scm.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/geo.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/geo.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/video.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/video.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/video.scm.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/disk.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/disk.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/emacs-xyz.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/python-crypto.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/python-crypto.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/games.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/games.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/image-viewers.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/image-viewers.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/ibus.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/ibus.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/package-management.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/package-management.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/terminals.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/terminals.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/scheme.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/scheme.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/lisp-xyz.go
error: googletest: unbound variable
hint: Did you forget a `use-modules' form?

error: bzip2: unbound variable
hint: Did you forget a `use-modules' form?

error: cross-gcc: unbound variable
hint: Did you forget `(use-modules (gnu packages cross-base))'?

error: dfu-util: unbound variable
hint: Did you forget a `use-modules' form?

error: gnutls: unbound variable
hint: Did you forget a `use-modules' form?

error: tcc: unbound variable
hint: Did you forget a `use-modules' form?

error: opus: unbound variable
hint: Did you forget a `use-modules' form?

error: gnu-make: unbound variable
hint: Did you forget a `use-modules' form?

;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/fcitx5.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/fcitx5.go
error: cross-binutils: unbound variable
hint: Did you forget `(use-modules (gnu packages cross-base))'?

;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/irc.go
;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/irc.go
error: ffmpeg: unbound variable
hint: Did you forget a `use-modules' form?

Throw to key `unbound-variable' with args `("resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f)'.
Backtrace:
In guix/store.scm:
   659:37 19 (thunk)
   1298:8 18 (call-with-build-handler #<procedure 7feeff0fb8d0 at g…> …)
In guix/scripts/build.scm:
    584:2 17 (_)
In srfi/srfi-1.scm:
   673:15 16 (append-map _ _ . _)
   586:17 15 (map1 ((argument . "emacs-fdroid") (build-mode . 0) # …))
In guix/scripts/build.scm:
   604:31 14 (_ _)
In gnu/packages.scm:
    485:2 13 (%find-package "emacs-fdroid" "emacs-fdroid" #f)
    365:6 12 (find-best-packages-by-name _ _)
   295:56 11 (_ "emacs-fdroid" _)
In unknown file:
          10 (force #<promise #<procedure 7fef05e4e2e0 at gnu/packag…>)
In gnu/packages.scm:
   242:33  9 (fold-packages #<procedure 7feefe5845f0 at gnu/package…> …)
In guix/discovery.scm:
   158:11  8 (all-modules _ #:warn _)
In srfi/srfi-1.scm:
   460:18  7 (fold #<procedure 7feeff0b7c60 at guix/discovery.scm:1…> …)
In guix/discovery.scm:
   148:19  6 (_ _ ())
    115:5  5 (scheme-modules _ _ #:warn _)
In srfi/srfi-1.scm:
   691:23  4 (filter-map #<procedure 7feeff0b7b00 at guix/discove…> . #)
In guix/discovery.scm:
   123:24  3 (_ . _)
In guix/ui.scm:
    357:2  2 (report-unbound-variable-error _ #:frame _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" (unbound-variable "resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f))'.

Compilation exited abnormally with code 1 at Thu Aug 24 17:55:13
--8<---------------cut here---------------end--------------->8---

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-08-24 13:58         ` Andrew Tropin
@ 2023-08-26 16:10           ` Miguel Ángel Moreno
  2023-08-28  3:44             ` Andrew Tropin
  0 siblings, 1 reply; 25+ messages in thread
From: Miguel Ángel Moreno @ 2023-08-26 16:10 UTC (permalink / raw)
  To: 62199; +Cc: Ludovic Courtès, Nicolas Goaziou, Andrew Tropin

On 2023-08-24 17:58, Andrew Tropin wrote:

> On 2023-08-20 19:40, Miguel Ángel Moreno wrote:
>
>> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>>
>>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>>
>>>> Hello,
>>>>
>>>> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>>>>
>>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>>> ---
>>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>>  1 file changed, 31 insertions(+)
>>>>>
>>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>>> index cad9819a5e..4dff0f85d9 100644
>>>>> --- a/gnu/packages/emacs-xyz.scm
>>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>>    #:use-module (guix build-system trivial)
>>>>>    #:use-module (gnu packages)
>>>>>    #:use-module (gnu packages admin)
>>>>> +  #:use-module (gnu packages android)
>>>>
>>>> I still get an error with this line. Maybe someone else can test it too.
>>>>
>>>> Regards,
>>>
>>> Hi Nicolas,
>>>
>>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>>> think we can proceed without the fdroidcl input in case the package
>>> build keeps failing?
>>
>> Hi,
>>
>> Friendly ping on this issue.  The package still builds successfully for
>> me at the latest Guix checkout.  Could you test it again, please?
>
> Still fails with:
>

Thanks for the heads up.  It seems like the googletest package is the
culprit of this issue.  As I alluded to earlier, can we proceed without
the fdroidcl input in that case?  Given as it's been almost 6 months
since this issue was raised.

> ./pre-inst-env guix build emacs-fdroid
> ;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/guix/download.go
> ;;; note: source file /home/bob/work/gnu/guix/guix/download.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/guix/download.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/linux.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/linux.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/linux.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/tex.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/tex.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/tex.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/qt.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/qt.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/qt.scm
> ;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/qt.scm.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/geo.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/geo.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/geo.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/video.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/video.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/video.scm
> ;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/video.scm.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/disk.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/disk.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/disk.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/emacs-xyz.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm
> ;;;       newer than compiled /home/bob/.cache/guile/ccache/3.0-LE-8-4.6/home/bob/work/gnu/guix/gnu/packages/emacs-xyz.scm.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/python-crypto.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/python-crypto.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/python-crypto.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/games.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/games.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/games.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/image-viewers.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/image-viewers.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/image-viewers.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/ibus.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/ibus.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/ibus.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/package-management.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/package-management.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/package-management.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/terminals.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/terminals.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/terminals.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/scheme.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/scheme.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/scheme.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/lisp-xyz.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/lisp-xyz.go
> error: googletest: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: bzip2: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: cross-gcc: unbound variable
> hint: Did you forget `(use-modules (gnu packages cross-base))'?
>
> error: dfu-util: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: gnutls: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: tcc: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: opus: unbound variable
> hint: Did you forget a `use-modules' form?
>
> error: gnu-make: unbound variable
> hint: Did you forget a `use-modules' form?
>
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/fcitx5.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/fcitx5.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/fcitx5.go
> error: cross-binutils: unbound variable
> hint: Did you forget `(use-modules (gnu packages cross-base))'?
>
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
> ;;;       newer than compiled /home/bob/work/gnu/guix/gnu/packages/irc.go
> ;;; note: source file /home/bob/work/gnu/guix/gnu/packages/irc.scm
> ;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/irc.go
> error: ffmpeg: unbound variable
> hint: Did you forget a `use-modules' form?
>
> Throw to key `unbound-variable' with args `("resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f)'.
> Backtrace:
> In guix/store.scm:
>    659:37 19 (thunk)
>    1298:8 18 (call-with-build-handler #<procedure 7feeff0fb8d0 at g…> …)
> In guix/scripts/build.scm:
>     584:2 17 (_)
> In srfi/srfi-1.scm:
>    673:15 16 (append-map _ _ . _)
>    586:17 15 (map1 ((argument . "emacs-fdroid") (build-mode . 0) # …))
> In guix/scripts/build.scm:
>    604:31 14 (_ _)
> In gnu/packages.scm:
>     485:2 13 (%find-package "emacs-fdroid" "emacs-fdroid" #f)
>     365:6 12 (find-best-packages-by-name _ _)
>    295:56 11 (_ "emacs-fdroid" _)
> In unknown file:
>           10 (force #<promise #<procedure 7fef05e4e2e0 at gnu/packag…>)
> In gnu/packages.scm:
>    242:33  9 (fold-packages #<procedure 7feefe5845f0 at gnu/package…> …)
> In guix/discovery.scm:
>    158:11  8 (all-modules _ #:warn _)
> In srfi/srfi-1.scm:
>    460:18  7 (fold #<procedure 7feeff0b7c60 at guix/discovery.scm:1…> …)
> In guix/discovery.scm:
>    148:19  6 (_ _ ())
>     115:5  5 (scheme-modules _ _ #:warn _)
> In srfi/srfi-1.scm:
>    691:23  4 (filter-map #<procedure 7feeff0b7b00 at guix/discove…> . #)
> In guix/discovery.scm:
>    123:24  3 (_ . _)
> In guix/ui.scm:
>     357:2  2 (report-unbound-variable-error _ #:frame _)
> In ice-9/boot-9.scm:
>   1685:16  1 (raise-exception _ #:continuable? _)
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Throw to key `match-error' with args `("match" "no matching pattern" (unbound-variable "resolve-interface" "no binding `~A' in module ~A" (shared-mime-info (gnu packages gnome)) #f))'.
>
> Compilation exited abnormally with code 1 at Thu Aug 24 17:55:13
<#secure method=pgpmime mode=sign>

-- 
Best regards,
Miguel Ángel Moreno




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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-08-26 16:10           ` Miguel Ángel Moreno
@ 2023-08-28  3:44             ` Andrew Tropin
  2023-08-28  3:46               ` Andrew Tropin
  0 siblings, 1 reply; 25+ messages in thread
From: Andrew Tropin @ 2023-08-28  3:44 UTC (permalink / raw)
  To: Miguel Ángel Moreno, 62199; +Cc: Ludovic Courtès, Nicolas Goaziou

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

On 2023-08-26 18:10, Miguel Ángel Moreno wrote:

> On 2023-08-24 17:58, Andrew Tropin wrote:
>
>> On 2023-08-20 19:40, Miguel Ángel Moreno wrote:
>>
>>> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>>>
>>>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>>>>>
>>>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>>>> ---
>>>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>>>  1 file changed, 31 insertions(+)
>>>>>>
>>>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>>>> index cad9819a5e..4dff0f85d9 100644
>>>>>> --- a/gnu/packages/emacs-xyz.scm
>>>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>>>    #:use-module (guix build-system trivial)
>>>>>>    #:use-module (gnu packages)
>>>>>>    #:use-module (gnu packages admin)
>>>>>> +  #:use-module (gnu packages android)
>>>>>
>>>>> I still get an error with this line. Maybe someone else can test it too.
>>>>>
>>>>> Regards,
>>>>
>>>> Hi Nicolas,
>>>>
>>>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>>>> think we can proceed without the fdroidcl input in case the package
>>>> build keeps failing?
>>>
>>> Hi,
>>>
>>> Friendly ping on this issue.  The package still builds successfully for
>>> me at the latest Guix checkout.  Could you test it again, please?
>>
>> Still fails with:
>>
>
> Thanks for the heads up.  It seems like the googletest package is the
> culprit of this issue.  As I alluded to earlier, can we proceed without
> the fdroidcl input in that case?  Given as it's been almost 6 months
> since this issue was raised.

Seems as a reasonable option for me.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-08-28  3:44             ` Andrew Tropin
@ 2023-08-28  3:46               ` Andrew Tropin
  2023-08-28 19:42                 ` Liliana Marie Prikler
  0 siblings, 1 reply; 25+ messages in thread
From: Andrew Tropin @ 2023-08-28  3:46 UTC (permalink / raw)
  To: Miguel Ángel Moreno, 62199
  Cc: Ludovic Courtès, Liliana Marie Prikler, Nicolas Goaziou

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

On 2023-08-28 07:44, Andrew Tropin wrote:

> On 2023-08-26 18:10, Miguel Ángel Moreno wrote:
>
>> On 2023-08-24 17:58, Andrew Tropin wrote:
>>
>>> On 2023-08-20 19:40, Miguel Ángel Moreno wrote:
>>>
>>>> On 2023-06-21 11:59, Miguel Ángel Moreno wrote:
>>>>
>>>>> On 2023-06-10 21:43, Nicolas Goaziou wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> Miguel Ángel Moreno <me@mianmoreno.com> writes:
>>>>>>
>>>>>>> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
>>>>>>> ---
>>>>>>>  gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
>>>>>>>  1 file changed, 31 insertions(+)
>>>>>>>
>>>>>>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
>>>>>>> index cad9819a5e..4dff0f85d9 100644
>>>>>>> --- a/gnu/packages/emacs-xyz.scm
>>>>>>> +++ b/gnu/packages/emacs-xyz.scm
>>>>>>> @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz)
>>>>>>>    #:use-module (guix build-system trivial)
>>>>>>>    #:use-module (gnu packages)
>>>>>>>    #:use-module (gnu packages admin)
>>>>>>> +  #:use-module (gnu packages android)
>>>>>>
>>>>>> I still get an error with this line. Maybe someone else can test it too.
>>>>>>
>>>>>> Regards,
>>>>>
>>>>> Hi Nicolas,
>>>>>
>>>>> I'm Cc'ing Ludovic, who might be able to test this.  At any rate, do you
>>>>> think we can proceed without the fdroidcl input in case the package
>>>>> build keeps failing?
>>>>
>>>> Hi,
>>>>
>>>> Friendly ping on this issue.  The package still builds successfully for
>>>> me at the latest Guix checkout.  Could you test it again, please?
>>>
>>> Still fails with:
>>>
>>
>> Thanks for the heads up.  It seems like the googletest package is the
>> culprit of this issue.  As I alluded to earlier, can we proceed without
>> the fdroidcl input in that case?  Given as it's been almost 6 months
>> since this issue was raised.
>
> Seems as a reasonable option for me.

Added Liliana to Cc.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-08-28  3:46               ` Andrew Tropin
@ 2023-08-28 19:42                 ` Liliana Marie Prikler
  2024-02-11 20:41                   ` Miguel Ángel Moreno
  0 siblings, 1 reply; 25+ messages in thread
From: Liliana Marie Prikler @ 2023-08-28 19:42 UTC (permalink / raw)
  To: Andrew Tropin, Miguel Ángel Moreno, 62199
  Cc: Ludovic Courtès, Nicolas Goaziou

Am Montag, dem 28.08.2023 um 07:46 +0400 schrieb Andrew Tropin:
> On 2023-08-28 07:44, Andrew Tropin wrote:
> 
> > On 2023-08-26 18:10, Miguel Ángel Moreno wrote:
> > > Thanks for the heads up.  It seems like the googletest package is
> > > the culprit of this issue.  As I alluded to earlier, can we
> > > proceed without the fdroidcl input in that case?  Given as it's
> > > been almost 6 months since this issue was raised.
> > 
> > Seems as a reasonable option for me.
> 
> Added Liliana to Cc.
I mean, if emacs-xyz doesn't work, you could try moving the package to
(gnu packages android).  More importantly, the home-page and origin URL
appear to be dead from my end, so they need updating :(

As for the package itself, I'd prefer if it was working out of the box,
but I'm willing to commit v1 if we're sure that we've exhausted all
other reasonable options.

Cheers




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

* [bug#62199] [PATCH v6] gnu: Add emacs-fdroid.
  2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
                   ` (4 preceding siblings ...)
  2023-06-08 19:10 ` [bug#62199] [PATCH v5] " Miguel Ángel Moreno
@ 2024-02-11 20:38 ` Miguel Ángel Moreno
  2024-02-18 14:57   ` bug#62199: " Ludovic Courtès
  5 siblings, 1 reply; 25+ messages in thread
From: Miguel Ángel Moreno @ 2024-02-11 20:38 UTC (permalink / raw)
  To: 62199; +Cc: mail

* gnu/packages/android.scm (emacs-fdroid): New variable.

Change-Id: I68358b5490406aa6ee24391bee6e69bebc574d96
---
 gnu/packages/android.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 32c295f9e4..a03df8f24e 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages android)
   #:use-module (guix git-download)
   #:use-module (guix build-system android-ndk)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system emacs)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
@@ -1224,6 +1225,36 @@ (define-public fdroidcl
     (home-page "https://github.com/mvdan/fdroidcl")
     (license license:bsd-3)))
 
+(define-public emacs-fdroid
+  (package
+    (name "emacs-fdroid")
+    (version "0.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/migalmoreno/fdroid.el")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1gv4kfir12bbi17cm5hpx197m8dbw1xwqp0z6qb3vc0fdnyis35j"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-file-name
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (emacs-substitute-variables "fdroid.el"
+                         ("fdroid-program"
+                          (search-input-file inputs "/bin/fdroidcl"))))))))
+    (inputs (list fdroidcl))
+    (home-page "https://github.com/migalmoreno/fdroid.el")
+    (synopsis "Manage F-Droid packages from Emacs")
+    (description "This package is an Emacs interface to F-Droid.  Its purpose
+is to aid in the management of F-Droid packages for an Android device or an
+emulator inside the comfort of Emacs.")
+    (license license:gpl3+)))
+
 (define-public enjarify
   (package
     (name "enjarify")

base-commit: 6f78803b01d416ab421ba860751b764b9e4f33db
-- 
2.41.0



-- 
Best regards,
Miguel Ángel Moreno

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

* [bug#62199] [PATCH v5] gnu: Add emacs-fdroid.
  2023-08-28 19:42                 ` Liliana Marie Prikler
@ 2024-02-11 20:41                   ` Miguel Ángel Moreno
  0 siblings, 0 replies; 25+ messages in thread
From: Miguel Ángel Moreno @ 2024-02-11 20:41 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: mail, 62199, Ludovic Courtès, Andrew Tropin

On 2023-08-28 21:42, Liliana Marie Prikler wrote:

> Am Montag, dem 28.08.2023 um 07:46 +0400 schrieb Andrew Tropin:
>> On 2023-08-28 07:44, Andrew Tropin wrote:
>> 
>> > On 2023-08-26 18:10, Miguel Ángel Moreno wrote:
>> > > Thanks for the heads up.  It seems like the googletest package is
>> > > the culprit of this issue.  As I alluded to earlier, can we
>> > > proceed without the fdroidcl input in that case?  Given as it's
>> > > been almost 6 months since this issue was raised.
>> > 
>> > Seems as a reasonable option for me.
>> 
>> Added Liliana to Cc.
> I mean, if emacs-xyz doesn't work, you could try moving the package to
> (gnu packages android).  More importantly, the home-page and origin URL
> appear to be dead from my end, so they need updating :(
>
> As for the package itself, I'd prefer if it was working out of the box,
> but I'm willing to commit v1 if we're sure that we've exhausted all
> other reasonable options.
>
> Cheers

Hi,

Since the package still didn't build with v5, I sent a v6 with your
proposed solution, included it in (gnu packages android) and amended the
source and home-page.  It now builds fine for me, even with the froidcl
input.

-- 
Best regards,
Miguel Ángel Moreno

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

* bug#62199: [PATCH v6] gnu: Add emacs-fdroid.
  2024-02-11 20:38 ` [bug#62199] [PATCH v6] " Miguel Ángel Moreno
@ 2024-02-18 14:57   ` Ludovic Courtès
  0 siblings, 0 replies; 25+ messages in thread
From: Ludovic Courtès @ 2024-02-18 14:57 UTC (permalink / raw)
  To: Miguel Ángel Moreno; +Cc: 62199-done

Hi,

Miguel Ángel Moreno <mail@migalmoreno.com> skribis:

> * gnu/packages/android.scm (emacs-fdroid): New variable.
>
> Change-Id: I68358b5490406aa6ee24391bee6e69bebc574d96

Applied, thanks!

Ludo’.




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

end of thread, other threads:[~2024-02-18 14:58 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 12:14 [bug#62199] [PATCH] gnu: Add emacs-fdroid conses
2023-03-20 22:54 ` Sergey Trofimov
2023-03-21  7:50   ` conses
2023-03-21  8:21     ` Sergey Trofimov
2023-03-21  8:55       ` Sergey Trofimov
2023-03-21  9:02       ` Nicolas Goaziou
2023-03-21  7:47 ` [bug#62199] [PATCH v2] " conses
2023-03-21  9:24 ` [bug#62199] [PATCH v3] " conses
2023-03-21  9:30   ` Nicolas Goaziou
2023-03-21 10:41 ` [bug#62199] [PATCH v4] " conses
2023-03-24  9:19   ` Nicolas Goaziou via Guix-patches
2023-06-08 19:12     ` Miguel Ángel Moreno
2023-06-08 19:10 ` [bug#62199] [PATCH v5] " Miguel Ángel Moreno
2023-06-10 19:43   ` Nicolas Goaziou
2023-06-13 10:50     ` Andrew Tropin
2023-06-21  9:59     ` Miguel Ángel Moreno
2023-08-20 17:40       ` Miguel Ángel Moreno
2023-08-24 13:58         ` Andrew Tropin
2023-08-26 16:10           ` Miguel Ángel Moreno
2023-08-28  3:44             ` Andrew Tropin
2023-08-28  3:46               ` Andrew Tropin
2023-08-28 19:42                 ` Liliana Marie Prikler
2024-02-11 20:41                   ` Miguel Ángel Moreno
2024-02-11 20:38 ` [bug#62199] [PATCH v6] " Miguel Ángel Moreno
2024-02-18 14:57   ` bug#62199: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).