From unknown Sat Sep 06 01:11:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59355 <59355@debbugs.gnu.org> To: bug#59355 <59355@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add dataparksearch. Reply-To: bug#59355 <59355@debbugs.gnu.org> Date: Sat, 06 Sep 2025 08:11:59 +0000 retitle 59355 [PATCH] gnu: Add dataparksearch. reassign 59355 guix-patches submitter 59355 Adam Faiz severity 59355 normal tag 59355 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 18 06:17:46 2022 Received: (at submit) by debbugs.gnu.org; 18 Nov 2022 11:17:46 +0000 Received: from localhost ([127.0.0.1]:35412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovzNR-0001Sv-PK for submit@debbugs.gnu.org; Fri, 18 Nov 2022 06:17:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:60718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovzNN-0001Sj-8A for submit@debbugs.gnu.org; Fri, 18 Nov 2022 06:17:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovzNN-0000PB-3I for guix-patches@gnu.org; Fri, 18 Nov 2022 06:17:41 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovzNI-000057-JW for guix-patches@gnu.org; Fri, 18 Nov 2022 06:17:40 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E152740E24 for ; Fri, 18 Nov 2022 12:17:32 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NUjorj4Ihovm for ; Fri, 18 Nov 2022 12:17:31 +0100 (CET) Message-ID: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1668770251; bh=5ewezD5wXwWu824AvrPdD4CahvtxVPwJJE22aRlREew=; h=Date:To:From:Subject:From; b=FHzaSJOMHL9GIAL2cj1S8sX38Ym3IERCxSpber6sXwfrPAoJVmIfQ2EQO3K+pN7JG XE4yni7TGoyWiGIlkF4Nhagb/EKfVDtQZYOXLeGHIA0DWjnS2l90Yzml+0ypWFHTyW zXe5rIPdoumZtOlChZQmN+w9cNsjzd2fw6wjsh6PFV+GraCNE8nr0194I+FR47edYr tJAeaG/4g2euWJty33opzvRh5SsvnpvGQmPSS+N2GFm9nwpNbpmSqEtRDydcJR07z5 xyBKM2O19PMh+jCtt68Ay7JELHws+kG0ADMqKTZ4iW17ti4twUcHzC8x+tFyiTvO+c lbpCqu9+F80Zw== Date: Fri, 18 Nov 2022 19:17:27 +0800 MIME-Version: 1.0 Content-Language: en-US To: guix-patches@gnu.org From: Adam Faiz Subject: [PATCH] gnu: Add dataparksearch. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From 39b9fb1e69fb61acdadb697690becb908d99c607 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Fri, 18 Nov 2022 08:55:02 +0800 Subject: [PATCH] gnu: Add dataparksearch. * gnu/packages/search.scm (dataparksearch): New variable. --- gnu/packages/search.scm | 61 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 27dc9cd02e..db3ca59137 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -40,6 +40,7 @@ (define-module (gnu packages search) #:use-module (guix build-system python) #:use-module (guix build-system meson) #:use-module (gnu packages) + #:use-module (gnu packages adns) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -51,6 +52,7 @@ (define-module (gnu packages search) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) + #:use-module (gnu packages gnunet) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) @@ -67,6 +69,7 @@ (define-module (gnu packages search) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) #:use-module (gnu packages time) + #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) @@ -729,4 +732,62 @@ (define-public ugrep formats.") (license license:bsd-3))) +(define-public dataparksearch + (package + (name "dataparksearch") + (version "4.54-2016-12-03") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Maxime2/dataparksearch") + (commit version))) + (sha256 + (base32 "1g5kxw2d8jbc1h9yyy0xpnd3gkscj5a32k6hk3brvdwcbsnjbgyg")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each delete-file-recursively '("config.sub" + "config.guess" + "configure" + "Makefile.in" + "missing" + "depcomp" + "ltmain.sh" + "compile" + )))) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs + (list pkg-config automake autoconf libtool openjade)) + (inputs + (list mbedtls-apache zlib postgresql aspell c-ares libextractor)) + (arguments + (list #:configure-flags + #~(list "--disable-syslog" + "--with-gnu-ld" + "--with-extra-charsets=all" + (string-append "--with-pgsql=" #$(this-package-input "postgresql"))) + #:make-flags + #~(list "DPS_TEST_DBADDR=postgresql://localhost/tmp/postgresql/") + #:phases + #~(modify-phases %standard-phases + (add-before 'bootstrap 'fix-configure + (lambda _ + (substitute* "configure.ac" + (("MY_DIRS=\"/usr/local/include") + (string-append "MY_DIRS=\"" #$(this-package-input "aspell") "/include")) + (("MY_DIRS=\"/usr/lib") + (string-append "MY_DIRS=\"" #$(this-package-input "aspell") "/lib")))))))) + (synopsis "Libre, feature rich search engine") + (description + "Dataparksearch is a full featured web search engine. +It has support for http, https, ftp (passive mode), nntp and news URL schemes, and +other URL schemes with external parsers. +It can tweak URLs with session IDs and other weird formats, +including some JavaScript link decoding. +Options to query with all words, all words near to each others, any words, or Boolean queries. +A subset of VQL (Verity Query Language) is supported.") + (home-page "https://www.dataparksearch.org/ ") + (license license:gpl3+))) + ;;; search.scm ends here -- 2.38.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 20:44:08 2023 Received: (at submit) by debbugs.gnu.org; 18 Feb 2023 01:44:08 +0000 Received: from localhost ([127.0.0.1]:42025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTCGm-0001D1-2I for submit@debbugs.gnu.org; Fri, 17 Feb 2023 20:44:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:45564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTCGj-0001Cq-SJ for submit@debbugs.gnu.org; Fri, 17 Feb 2023 20:44:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTCGj-0003tj-GY for guix-patches@gnu.org; Fri, 17 Feb 2023 20:44:05 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTCGh-0004jN-F2 for guix-patches@gnu.org; Fri, 17 Feb 2023 20:44:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=Ry75VHXy2v0lU t+0SwOpiFD6Fims72dbpebRcFE2jM0=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=UqpHGfQxqyhou+G6sSfBkJ7vqdi2sje+WOikRn 2hlWf3jxbxdLNjGzxtNk+S8qIinUFCjaHpzjDdpGHgo48B/Z+oYgyWXbFiY04QhgcUPH4K kbLMekw3uYIkk2M7pE2mWlvQ2ZyIhcSc1B/1ITb/v9seAwHz1/iuWycrwRD8nUo/vHdSLO Xp6Urk6i1zHcPfT8Tn88z0Cqcg2r8UGuITuH3OG/I5urpEPsK1Hi0BurGaZZ4F+WzzitUm e90XWBWbzIHbV9CAvbs67+IhWgNcvJQKoM+PuaYzQ7cqzFdJ0KAM/f2/Ckg5XpG3pOVEyQ ULFh+AcuYbpKIuycQCtjQYgQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 380b3588 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 18 Feb 2023 01:43:55 +0000 (UTC) References: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> From: Tobias Geerinckx-Rice To: Adam Faiz Subject: Re: [bug#59355] [PATCH] gnu: Add dataparksearch. Date: Sat, 18 Feb 2023 01:13:24 +0100 In-reply-to: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87y1ovbvfd.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 59355@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Adam, Adam Faiz via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A > * gnu/packages/search.scm (dataparksearch): New variable. Thanks! I've applied the patch locally but stopped short of=20 pushing. I have several questions and [notes]: > +(define-public dataparksearch > + (package > + (name "dataparksearch") > + (version "4.54-2016-12-03") I don't think this tag is anything special compared to other=20 commits. Is it? There are many more recent commits, up to 2022. If the argument=20 is =E2=80=984.53 is ancient=E2=80=99 (it is!), should we just package the l= atest=20 commit? Would the latest release (4.53) instead still be useful today? > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url=20 > "https://github.com/Maxime2/dataparksearch") > + (commit version))) > + (sha256 > + (base32 > "1g5kxw2d8jbc1h9yyy0xpnd3gkscj5a32k6hk3brvdwcbsnjbgyg")) > + (modules '((guix build utils))) > + (snippet > + #~(begin > + (for-each delete-file-recursively=20 > '("config.sub" > +=20 > "config.guess" > +=20 > "configure" [All checked into Git. Nice. This snippet is =E2=80=98ugly=E2=80=99 becau= se it=20 addresses an ugly problem. I think I'll keep it but add an=20 apologetic comment.] > +=20 > "Makefile.in" > +=20 > "missing" > +=20 > "depcomp" > +=20 > "ltmain.sh" > +=20 > "compile" > + )))) [We don't dangle brackets like this but keep them on the previous=20 line.] > + (file-name (git-file-name name version)))) > + (build-system gnu-build-system) > + (native-inputs > + (list pkg-config automake autoconf libtool openjade)) > + (inputs > + (list mbedtls-apache zlib postgresql aspell c-ares=20 > libextractor)) [For consistency with other packages, I've moved the =E2=80=A6inputs below= =20 the arguments field.] > + (list #:configure-flags > + #~(list "--disable-syslog" Is this not useful? If not, could you provide a short comment=20 explaining why? > + "--with-gnu-ld" And here? > + (add-before 'bootstrap 'fix-configure > + (lambda _ > + (substitute* "configure.ac" > + (("MY_DIRS=3D\"/usr/local/include") > + (string-append "MY_DIRS=3D\"" > #$(this-package-input "aspell") "/include")) > + (("MY_DIRS=3D\"/usr/lib") > + (string-append "MY_DIRS=3D\"" > #$(this-package-input "aspell") "/lib")))))))) Why not use --with-aspell=3D=E2=80=A6 as you did for Postgres? > + (synopsis "Libre, feature rich search engine") [We don't need to include =E2=80=98libre=E2=80=99 (or =E2=80=98Free=E2=80= =99, =E2=80=98open-source=E2=80=99, =E2=80=A6) in=20 descriptions: there's no other software in Guix. \o/ ] > + (description > + "Dataparksearch is a full featured web search engine. > +It has support for http, https, ftp (passive mode), nntp and=20 > news URL > schemes, and > +other URL schemes with external parsers. > +It can tweak URLs with session IDs and other weird formats, > +including some JavaScript link decoding. > +Options to query with all words, all words near to each others,=20 > any > words, or Boolean queries. > +A subset of VQL (Verity Query Language) is supported.") > + (home-page "https://www.dataparksearch.org/ ") [Extra trailing =E2=80=98 =E2=80=99 removed.] > + (license license:gpl3+))) Why GPL3+? [I was unable to get this package to build reproducibly, although=20 I tried only disabling #:parallel-build?.] Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY/AtJg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15g+wA/RYqRuVZpVxRXQJlUIBjnggIUnxHRNfo5cADuy3H GVlLAQDTmXjKxa0wanweimNFqLDBU6l8dKgQa9HfA3FFXG4rDQ== =xAw1 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 06:37:39 2023 Received: (at 59355) by debbugs.gnu.org; 18 Feb 2023 11:37:39 +0000 Received: from localhost ([127.0.0.1]:42655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTLX8-00011K-GA for submit@debbugs.gnu.org; Sat, 18 Feb 2023 06:37:38 -0500 Received: from knopi.disroot.org ([178.21.23.139]:57942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTLX5-000118-4x for 59355@debbugs.gnu.org; Sat, 18 Feb 2023 06:37:37 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B47D644543; Sat, 18 Feb 2023 12:37:33 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqTj8HpgKge0; Sat, 18 Feb 2023 12:37:32 +0100 (CET) Message-ID: <036888fe-5347-755f-1ae3-121197d828c2@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1676720252; bh=UA+GF2xNfplLjgUqMwC4ZrmcEH6Vr+g1Oljbl9jCy7Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=KFyjRoGa9PS7Og9gB7x9LGRKVPku6IfoF5W/+Ev6UJ7r42bd1Efi7M/iAfrBtPbfJ X/AGkVP1fOi0igBf7VGsqfE+3GLHcsBzUgcVjCMbADG+zDoUFMjaoUnsGiG1HXLtzy h+qTQzoQWH3ZORrqzFKQnXi3cEXkD89ipU+BaNVjaQUMPOCFxARgQlR9Cc3pW9WNHb 3Qch5Qt8VvDdlQ3vdCl74ViYE66LJ4St2h5qvzMge95ELSJ4jLClePVwErS1T/SMKf zE+mpUzpN4HPtxZkWlVrMIV738ROsP6vjLAxF5GjJ4JHymLMWIkdyqI7I44ZfRuy0t dy17q0k+Ay6Ag== Date: Sat, 18 Feb 2023 19:37:27 +0800 MIME-Version: 1.0 Subject: Re: [bug#59355] [PATCH] gnu: Add dataparksearch. To: Tobias Geerinckx-Rice References: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> <87y1ovbvfd.fsf@nckx> Content-Language: en-US From: Adam Faiz In-Reply-To: <87y1ovbvfd.fsf@nckx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59355 Cc: 59355@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2/18/23 08:13, Tobias Geerinckx-Rice wrote: > Hi Adam, > > Adam Faiz via Guix-patches via 写道: >> * gnu/packages/search.scm (dataparksearch): New variable. > > Thanks!  I've applied the patch locally but stopped short of pushing.  I > have several questions and [notes]: > >> +(define-public dataparksearch >> +  (package >> +    (name "dataparksearch") >> +    (version "4.54-2016-12-03") > > I don't think this tag is anything special compared to other commits. > Is it? > > There are many more recent commits, up to 2022.  If the argument is > ‘4.53 is ancient’ (it is!), should we just package the latest commit? > Would the latest release (4.53) instead still be useful today? Not really, I think it's best to package the latest commit. >> +    (source (origin >> +              (method git-fetch) >> +              (uri (git-reference >> +                    (url "https://github.com/Maxime2/dataparksearch") >> +                    (commit version))) >> +              (sha256 >> +               (base32 >> "1g5kxw2d8jbc1h9yyy0xpnd3gkscj5a32k6hk3brvdwcbsnjbgyg")) >> +              (modules '((guix build utils))) >> +              (snippet >> +               #~(begin >> +                   (for-each delete-file-recursively '("config.sub" >> + "config.guess" >> + "configure" > > [All checked into Git.  Nice.  This snippet is ‘ugly’ because it > addresses an ugly problem.  I think I'll keep it but add an apologetic > comment.] Sure. >> + "Makefile.in" >> + "missing" >> + "depcomp" >> + "ltmain.sh" >> + "compile" >> +                                                       )))) > > [We don't dangle brackets like this but keep them on the previous line.] I dangled the brackets because I can't keep track of the brackets when I was working on the package. It's about time I try out paredit or some solution that colours each bracket. >> +              (file-name (git-file-name name version)))) >> +    (build-system gnu-build-system) >> +    (native-inputs >> +     (list pkg-config automake autoconf libtool openjade)) >> +    (inputs >> +     (list mbedtls-apache zlib postgresql aspell c-ares libextractor > [For consistency with other packages, I've moved the …inputs below the > arguments field.] Alright, my logic was to specify the inputs used before running the build commands since that's the normal flow for a packager. > >> +     (list #:configure-flags >> +           #~(list "--disable-syslog" > > Is this not useful?  If not, could you provide a short comment > explaining why? It's useful for people who use syslog, but syslog itself is suboptimal for its purpose. More info can be found here: http://skarnet.org/software/s6/s6-log.html#diesyslogdiedie Since the Shepherd (and other init systems) can keep the log output of the services it supervises, I was hoping that could be used instead. >> +                   "--with-gnu-ld" > > And here? That's unnecessary, I just wanted to try it out for fun. > >> +               (add-before 'bootstrap 'fix-configure >> +                 (lambda _ >> +                   (substitute* "configure.ac" >> +                     (("MY_DIRS=\"/usr/local/include") >> +                      (string-append "MY_DIRS=\"" >> #$(this-package-input "aspell") "/include")) >> +                     (("MY_DIRS=\"/usr/lib") >> +                      (string-append "MY_DIRS=\"" >> #$(this-package-input "aspell") "/lib")))))))) > > Why not use --with-aspell=… as you did for Postgres? It's not available in 4.53, which is another reason why the latest commit should be used. >> +    (license license:gpl3+))) > > Why GPL3+? It was a mistake. > [I was unable to get this package to build reproducibly, although I > tried only disabling #:parallel-build?.] I'll send an updated patch which fixes the issues you mentioned. > Kind regards, > > T G-R From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 19:29:57 2023 Received: (at 59355) by debbugs.gnu.org; 19 Feb 2023 00:29:57 +0000 Received: from localhost ([127.0.0.1]:45223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTXaW-0007mW-Tg for submit@debbugs.gnu.org; Sat, 18 Feb 2023 19:29:57 -0500 Received: from knopi.disroot.org ([178.21.23.139]:35380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTXaU-0007mL-NE for 59355@debbugs.gnu.org; Sat, 18 Feb 2023 19:29:56 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DBB5E44562; Sun, 19 Feb 2023 01:29:52 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MlvJGr1ZSW_d; Sun, 19 Feb 2023 01:29:51 +0100 (CET) Message-ID: <62129599-010b-9ca4-e254-167b2980699e@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1676766591; bh=V+k+DIMNbDL3Yaly7WDGn51fE4UKoM9agHWxfiz8K2Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=NtiT4WS8SESFxiWaXY+t6oALeziHcPL1j1ZKdFMjKheK/8YjuXQYjTzxu764Uvmz/ C+EOPMIP9nAHO/usd0TPeoCZ/EuZHe1n0P3AdbYjzvVFPlBUc1gHpyNqz8J6RIrOrW 1GpeKqQhGOg30wpqWUxKD1AlP30sjCmjvG6DMuYZ0Zx7UacEAsZKyNaqvqyNLaaALZ xLKPKAFApEgAHIQRmu1Sgayirmb/PHbHZthsm2Zrku1IWRgkzYgBK2FcDo7vzMGJ3W +q/GsQJMQ5/u0f4clR3tsE0eu25buKA8A0sqW9c0PeC7rcBpJCYDkKW9JXDx5XazmS iP9BFLv565zkg== Date: Sun, 19 Feb 2023 08:29:44 +0800 MIME-Version: 1.0 Subject: [PATCH v1] gnu: Add dataparksearch. To: Tobias Geerinckx-Rice References: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> <87y1ovbvfd.fsf@nckx> Content-Language: en-US From: Adam Faiz In-Reply-To: <87y1ovbvfd.fsf@nckx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59355 Cc: 59355@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From 10067c9599d06ea2518b0adb561eaf2f825ae1a5 Mon Sep 17 00:00:00 2001 Message-Id: <10067c9599d06ea2518b0adb561eaf2f825ae1a5.1676766217.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Fri, 18 Nov 2022 08:55:02 +0800 Subject: [PATCH 1/6] gnu: Add dataparksearch. * gnu/packages/search.scm (dataparksearch): New variable. --- gnu/packages/search.scm | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index fe69fd3775..262f63821d 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -40,6 +40,7 @@ (define-module (gnu packages search) #:use-module (guix build-system python) #:use-module (guix build-system meson) #:use-module (gnu packages) + #:use-module (gnu packages adns) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -51,6 +52,7 @@ (define-module (gnu packages search) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) + #:use-module (gnu packages gnunet) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) @@ -67,6 +69,7 @@ (define-module (gnu packages search) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) #:use-module (gnu packages time) + #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) @@ -328,6 +331,58 @@ (define-public bool for parsing HTML files.") (license license:gpl3+))) +(define-public dataparksearch + (let ((commit "8efa28f31ce1273c0556fd5c7e06abe955197a69") + (revision "0")) + (package + (name "dataparksearch") + (version (string-append "4.54" revision "." (string-take commit 7) )) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Maxime2/dataparksearch") + (commit commit))) + (sha256 + (base32 "01z7s3ws5px2p9brzrq9j41jbdh1cvj8n8y3ghx45gfv1n319ipg")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each delete-file '("config.sub" + "config.guess" + "configure" + "Makefile.in" + "missing" + "depcomp" + "ltmain.sh" + "compile")))) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--disable-syslog" + "--with-extra-charsets=all" + (string-append "--with-aspell=" + #$(this-package-input "aspell")) + (string-append "--with-pgsql=" + #$(this-package-input "postgresql"))) + #:make-flags + #~(list "DPS_TEST_DBADDR=postgresql://localhost/tmp/postgresql/"))) + (native-inputs + (list pkg-config automake autoconf libtool openjade)) + (inputs + (list mbedtls-apache zlib postgresql aspell c-ares libextractor)) + (synopsis "Feature rich search engine") + (description + "Dataparksearch is a full featured web search engine. +It has support for http, https, ftp (passive mode), nntp and news URL schemes, and +other URL schemes with external parsers. +It can tweak URLs with session IDs and other weird formats, +including some JavaScript link decoding. +Options to query with all words, all words near to each others, any words, or Boolean queries. +A subset of VQL (Verity Query Language) is supported.") + (home-page "https://www.dataparksearch.org/") + (license license:gpl2+)))) + (define-public fsearch (package (name "fsearch") base-commit: 08edbd2535ae622d319a51e6f877d23d75dc24f3 prerequisite-patch-id: 66a677452cec5da7e4db37327b344d02556968f6 prerequisite-patch-id: e13c3b4b4ed06ce521ff679ec64e3cd816183388 prerequisite-patch-id: 1eb4d567a14802495169b3e400e02de0b4941729 -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 06:03:55 2023 Received: (at submit) by debbugs.gnu.org; 22 Apr 2023 10:03:55 +0000 Received: from localhost ([127.0.0.1]:41843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqA5z-0002SJ-7o for submit@debbugs.gnu.org; Sat, 22 Apr 2023 06:03:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:46394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqA5v-0002S8-Cx for submit@debbugs.gnu.org; Sat, 22 Apr 2023 06:03:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqA5u-0003nr-QH for guix-patches@gnu.org; Sat, 22 Apr 2023 06:03:50 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqA5q-0000gZ-QI for guix-patches@gnu.org; Sat, 22 Apr 2023 06:03:49 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 49C8E20008; Sat, 22 Apr 2023 10:03:42 +0000 (UTC) From: Nicolas Goaziou To: Adam Faiz via Guix-patches via Subject: Re: [bug#59355] [PATCH v1] gnu: Add dataparksearch. In-Reply-To: <62129599-010b-9ca4-e254-167b2980699e@disroot.org> (Adam Faiz via Guix-patches via's message of "Sun, 19 Feb 2023 08:29:44 +0800") References: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> <87y1ovbvfd.fsf@nckx> <62129599-010b-9ca4-e254-167b2980699e@disroot.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Date: Sat, 22 Apr 2023 12:03:41 +0200 Message-ID: <878rek2pz6.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 59355-done@debbugs.gnu.org, Tobias Geerinckx-Rice , Adam Faiz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Adam Faiz via Guix-patches via writes: > From 10067c9599d06ea2518b0adb561eaf2f825ae1a5 Mon Sep 17 00:00:00 2001 > Message-Id: > <10067c9599d06ea2518b0adb561eaf2f825ae1a5.1676766217.git.adam.faiz@disroot.org> > From: AwesomeAdam54321 > Date: Fri, 18 Nov 2022 08:55:02 +0800 > Subject: [PATCH 1/6] gnu: Add dataparksearch. Thank you. I removed ""--disable-syslog" since there was no clear consensus about it (we can always add it again later, of course), reordered inputs alphabetically, fixed indentation, added a copyright line for you in the module and applied your patch. Regards, -- Nicolas Goaziou From unknown Sat Sep 06 01:11:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 May 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator