GNU bug report logs - #35156
[PATCH] Add htttrack

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Fri, 5 Apr 2019 12:16:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 35156 in the body.
You can then email your comments to 35156 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Fri, 05 Apr 2019 12:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 05 Apr 2019 12:16:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add htttrack
Date: Fri, 05 Apr 2019 14:14:48 +0200
[Message part 1 (text/plain, inline)]
Hello,

The following patch adds HTTrack offline website browser.

Feedback welcome.

Regards,

-- 
Nicolas Goaziou
[0001-gnu-Add-httrack.patch (text/x-diff, inline)]
From 9ce157feeb529e2bfaa82a357288311093dfa2c4 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Fri, 5 Apr 2019 14:12:48 +0200
Subject: [PATCH] gnu: Add httrack.

* gnu/packages/web.scm (httrack): New variable.
---
 gnu/packages/web.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e84b42358c..c19e49b5f5 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2018 Gábor Boskovits <boskovits <at> gmail.com>
 ;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
 ;;; Copyright © 2018 Alex Vong <alexvong1995 <at> gmail.com>
+;;; Copyright © 2019 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6430,3 +6431,35 @@ compressed JSON header blocks.
 provided by Guix.  The list of packages is searchable and provides
 instructions on how to use Guix in a shared HPC environment.")
       (license l:agpl3+))))
+
+(define-public httrack
+  (package
+    (name "httrack")
+    (version "3.48.21")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/xroche/httrack.git")
+                    (commit version)
+                    (recursive? #t)))   ;for "coucal" submodule
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0cn4h7bzvp2mf5id229cgb101cqmwycc1nkd1n91c69akzivdhl2"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libressl" ,libressl)
+       ("zlib" ,zlib)))
+    (home-page "https://www.httrack.com/")
+    (synopsis "Easy-to-use offline browser utility")
+    (description "HTTrack allows you to download a World Wide Web site from
+the Internet to a local directory, building recursively all directories,
+getting HTML, images, and other files from the server to your computer.
+
+HTTrack arranges the original site's relative link-structure.  Simply open
+a page of the ``mirrored'' website in your browser, and you can browse the
+site from link to link, as if you were viewing it online.  HTTrack can also
+update an existing mirrored site, and resume interrupted downloads.
+
+HTTrack is fully configurable, and has an integrated help system.")
+    (license license:gpl3+)))
-- 
2.21.0


Information forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Fri, 05 Apr 2019 12:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 35156 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 35156 <at> debbugs.gnu.org
Subject: Followup: Update to 3.49.2
Date: Fri, 05 Apr 2019 14:39:23 +0200
[Message part 1 (text/plain, inline)]
This is an update to the latest 3.49.2, which is not tagged as a new
release in the repository !

[0001-gnu-Add-httrack.patch (text/x-diff, inline)]
From e0d495da8aeab8e0b6d37475af821455e1a1a249 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Fri, 5 Apr 2019 14:12:48 +0200
Subject: [PATCH] gnu: Add httrack.

* gnu/packages/web.scm (httrack): New variable.
---
 gnu/packages/web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e84b42358c..d6f15d5154 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2018 Gábor Boskovits <boskovits <at> gmail.com>
 ;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
 ;;; Copyright © 2018 Alex Vong <alexvong1995 <at> gmail.com>
+;;; Copyright © 2019 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6430,3 +6431,32 @@ compressed JSON header blocks.
 provided by Guix.  The list of packages is searchable and provides
 instructions on how to use Guix in a shared HPC environment.")
       (license l:agpl3+))))
+
+(define-public httrack
+  (package
+    (name "httrack")
+    (version "3.49.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://mirror.httrack.com/historical/"
+                                  "httrack-" version ".tar.gz"))
+              (sha256
+               (base32
+                "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libressl" ,libressl)
+       ("zlib" ,zlib)))
+    (home-page "https://www.httrack.com/")
+    (synopsis "Easy-to-use offline browser utility")
+    (description "HTTrack allows you to download a World Wide Web site from
+the Internet to a local directory, building recursively all directories,
+getting HTML, images, and other files from the server to your computer.
+
+HTTrack arranges the original site's relative link-structure.  Simply open
+a page of the ``mirrored'' website in your browser, and you can browse the
+site from link to link, as if you were viewing it online.  HTTrack can also
+update an existing mirrored site, and resume interrupted downloads.
+
+HTTrack is fully configurable, and has an integrated help system.")
+    (license license:gpl3+)))
-- 
2.21.0


Information forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Thu, 11 Apr 2019 11:27:02 GMT) Full text and rfc822 format available.

Message #11 received at 35156 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 35156 <at> debbugs.gnu.org
Subject: Re: [bug#35156] Followup: Update to 3.49.2
Date: Thu, 11 Apr 2019 13:26:48 +0200
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:

> From e0d495da8aeab8e0b6d37475af821455e1a1a249 Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
> Date: Fri, 5 Apr 2019 14:12:48 +0200
> Subject: [PATCH] gnu: Add httrack.
>
> * gnu/packages/web.scm (httrack): New variable.

LGTM, thanks!

Ludo'.




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 11 Apr 2019 12:07:03 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
bug acknowledged by developer. (Thu, 11 Apr 2019 12:07:03 GMT) Full text and rfc822 format available.

Message #16 received at 35156-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35156-done <at> debbugs.gnu.org
Subject: Re: [bug#35156] Followup: Update to 3.49.2
Date: Thu, 11 Apr 2019 14:06:40 +0200
Hello,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:
>
>> From e0d495da8aeab8e0b6d37475af821455e1a1a249 Mon Sep 17 00:00:00 2001
>> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
>> Date: Fri, 5 Apr 2019 14:12:48 +0200
>> Subject: [PATCH] gnu: Add httrack.
>>
>> * gnu/packages/web.scm (httrack): New variable.
>
> LGTM, thanks!


Applied as ed132a57c103a764f5831521f2ae332e5b34b762. Thank you.

Regards,

-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Thu, 11 Apr 2019 12:51:01 GMT) Full text and rfc822 format available.

Message #19 received at 35156 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: guix-patches <at> gnu.org
Cc: 35156 <at> debbugs.gnu.org
Subject: Re: [bug#35156] [PATCH] Add htttrack
Date: Thu, 11 Apr 2019 14:50:24 +0200
[Message part 1 (text/plain, inline)]
Guixen,

>  (define-module (gnu packages web)
>   #:use-module (ice-9 match)
>   #:use-module ((guix licenses) #:prefix l:)

[...]

> +    (license license:gpl3+)))

Hehe.  I guess nobody built this ;-)

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Thu, 11 Apr 2019 12:58:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Thu, 11 Apr 2019 17:44:01 GMT) Full text and rfc822 format available.

Message #25 received at 35156 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 35156 <at> debbugs.gnu.org
Subject: Re: [bug#35156] [PATCH] Add htttrack
Date: Thu, 11 Apr 2019 19:43:27 +0200
Hello,

Tobias Geerinckx-Rice <me <at> tobias.gr> writes:

> Guixen,
>
>>  (define-module (gnu packages web)
>>   #:use-module (ice-9 match)
>>   #:use-module ((guix licenses) #:prefix l:)
>
> [...]
>
>> +    (license license:gpl3+)))
>
> Hehe.  I guess nobody built this ;-)

I did, but I usually start defining packages in an incubator.scm from
GUIX_PACKAGE_PATH. It is well possible that I forgot to remove the
initial draft there after moving the package into web.scm, so I didn't
catch the mistake. I got bitten by this in the past already.

OTOH, this kind of discrepancy is... frustrating =/

Thank you for the fix.

Regards,

-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#35156; Package guix-patches. (Thu, 11 Apr 2019 19:20:01 GMT) Full text and rfc822 format available.

Message #28 received at 35156 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 35156 <at> debbugs.gnu.org
Subject: Re: [bug#35156] [PATCH] Add htttrack
Date: Thu, 11 Apr 2019 21:19:19 +0200
[Message part 1 (text/plain, inline)]
Nicolas,

You're absolutely right that

> OTOH, this kind of discrepancy is... frustrating =/

It's all very ad hoc, including the different helpful prefixes 
added by some importers but not others.

> Thank you for the fix.

Oh, no worries.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 10 May 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.