Subject: bug#77689: closed (Re: [bug#77689] [PATCH] gnu: libfilezilla: Update source origin.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 06 May 2025 10:32:04 +0000

Your bug report

#77689: [PATCH] gnu: libfilezilla: Update source origin.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77689: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77689
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#77689] [PATCH] gnu: libfilezilla: Update source origin.
From: Ludovic Courtès <[email-masked]>
To: Ada Stevenson <[email-masked]>
Cc: [email-masked]
Date: Tue, 06 May 2025 12:07:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Ada Stevenson <[email-masked]> writes:

> * gnu/packages/ftp.scm (gnu): (libfilezilla): Update source origin.
> [source]: Replace `url-fetch` with `svn-fetch`.
> [native-inputs]: Add `automake`, `autoconf` and `libtool`.

[...]

> +      (native-inputs
> +       (list
> +        cppunit
> +        gettext-minimal

I tweaked the formatting here and applied it.

Thanks!

Ludo’.

Subject: [PATCH] gnu: libfilezilla: Update source origin.
From: Ada Stevenson <[email-masked]>
To: [email-masked]
Cc: Ada Stevenson <[email-masked]>
Date: Thu, 10 Apr 2025 14:50:59 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ftp.scm (gnu): (libfilezilla): Update source origin.
[source]: Replace `url-fetch` with `svn-fetch`.
[native-inputs]: Add `automake`, `autoconf` and `libtool`.
---
 gnu/packages/ftp.scm | 55 ++++++++++++++++++++++++++------------------
 1 file changed, 33 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 2df6797c42..01b16d2ff1 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -29,6 +29,7 @@ (define-module (gnu packages ftp)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
+  #:use-module (guix svn-download)
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (gnu packages)
@@ -203,28 +204,38 @@ (define-public weex
     (license gpl2+)))
 
 (define-public libfilezilla
-  (package
-    (name "libfilezilla")
-    (version "0.39.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://download.filezilla-project.org/"
-                           "libfilezilla/libfilezilla-" version ".tar.bz2"))
-       (sha256
-        (base32 "1x2rixppmvdpn9m01hmh3yqzpczxbkw301hx27n5bfq0dbnx9aar"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:configure-flags
+  (let ((revision 10763))
+    (package
+      (name "libfilezilla")
+      (version "0.39.2")
+      (source
+       (origin
+         (method svn-fetch)
+         (uri (svn-reference
+               (url "https://svn.filezilla-project.org/svn/libfilezilla/trunk")
+               (revision revision)))
+         (file-name (string-append name "-" version "-" (number->string revision)))
+         (sha256
+          (base32 "0x7lx8474xcqgp181kg8bw5c10nxd19hw8lhxa5fkry50mfqyzmj"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:configure-flags
        (list "--disable-static")))
-    (native-inputs
-     (list cppunit gettext-minimal libxcrypt pkg-config))
-    (inputs
-     (list gnutls nettle))
-    (home-page "https://lib.filezilla-project.org")
-    (synopsis "Cross-platform C++ library used by Filezilla client")
-    (description
-     "This package provides some basic functionality to build high-performing,
+      (native-inputs
+       (list
+        cppunit
+        gettext-minimal
+        libxcrypt
+        pkg-config
+        autoconf
+        automake
+        libtool))
+      (inputs
+       (list gnutls nettle))
+      (home-page "https://lib.filezilla-project.org")
+      (synopsis "Cross-platform C++ library used by Filezilla client")
+      (description
+       "This package provides some basic functionality to build high-performing,
 platform-independent programs.
 
 Some of the highlights include:
@@ -240,7 +251,7 @@ (define-public libfilezilla
 Simple process handling for spawning child processes with redirected input and
 output.
 @end itemize\n")
-    (license gpl2+)))
+      (license gpl2+))))
 
 (define-public filezilla
   (package
-- 
2.49.0