From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) by sourceware.org (Postfix) with ESMTPS id CC6A93861970 for ; Fri, 10 Jul 2020 01:38:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC6A93861970 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id thzQjmnj8FXePthzSjSdqh; Thu, 09 Jul 2020 19:38:14 -0600 X-Authority-Analysis: v=2.3 cv=ePaIcEh1 c=1 sm=1 tr=0 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=aBglbDSzAAAA:20 a=hF23PusoAAAA:8 a=D-hjUeOzi2gWLipTs3oA:9 a=QEXdDO2ut3YA:10 a=STbmsxK-VnoOrN7PgZM2:22 Reply-To: cygwin-apps@cygwin.com Subject: Re: [ITP] wget2 - modern fast parallel file and recursive website downloader To: cygwin-apps@cygwin.com References: <964d4d23-25d4-bbb5-b054-f4bc5afece4b@SystematicSw.ab.ca> <0a9a734c-e5f1-58a3-4947-2fef09271026@SystematicSw.ab.ca> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.ca; prefer-encrypt=mutual; keydata= mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 /lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 RSyTY8X+AQ== Organization: Systematic Software Message-ID: Date: Thu, 9 Jul 2020 19:38:12 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfKBTFNeW9gkpIT1XtSH+N1x8StAG6IsWRm5Wd6N9l+Eg0mktGHIDy0lHZWn08xUq+0ks/pnfO/6selkp4U25fkWK4dmIZxJul060TOE1f5KMiowTxWZX 6H3YfGS3tM+IzfRN+M80h0U5aMXSKK6f7JqJHihM+qqatjOB4w2n4gb3tF3mCB9AgzdT2AF1Je5iyQ== X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2020 01:38:16 -0000 On 2020-07-09 12:50, Yaakov Selkowitz wrote: > On Thu, 2020-07-09 at 20:27 +0200, Marco Atzeri via Cygwin-apps wrote: >> On 08.07.2020 22:28, Brian Inglis wrote: >>> On 2020-07-08 14:05, Brian Inglis wrote: >>>> wget2 is the successor of wget supplying a shared library API like curl to build >>>> a modern, fast, multi-threaded, parallel downloader using HTTP/2, HTTP >>>> compression and If-Modified-Since headers; see >>>> >>>> https://gitlab.com/gnuwget/wget2 >>>> >>>> It is currently available on Arch, Debian/Ubuntu, openSUSE, Slackware: >>>> see >>>> https://pkgs.org/download/wget2 >>>> >>>> I could release the package as is with an exe and dll, but it should be built as >>>> separate bin, lib, devel, doc, and debuginfo packages, which I have never done >>>> before, so could do with some advice and assistance with the apporach required, >>>> which I based on curl, but that requires no script function overrides, and I >>>> believe this one may or I need some hints. >>>> >>>> I have attached my base wget2.cygport which builds one monolithic package but >>>> contains comments for subpackage variables, plus comments showing other files >>>> which I think should be included in the subpackages, and both references to >>>> their locations in subpkg_CONTENTS and alterbative src_install script actions if >>>> cygport will not move the contents into the appropriate install directory. >>> >>> Forgot to explain I also produced a summary of the files generated and/or >>> available for packaging under the triplet directory in manifest.list to my >>> previous email. >>> >>>> I also need to understand how cyg...dll package numbering should work with this >>>> package: base zero or one and include or exclude the 2: libwget0, libwget1, >>>> libwget2_0, or libwget2_1, and how to get that generated? >>>> >>>> Any advice, assistance, help, or hints from more experienced packagers would be >>>> welcome. >>>> >>>> I can also update and release what may be the last patched version of the >>>> original wget 1.20.3 (currently 1.19.1) if Eric has no time, or ITA wget if he >>>> agrees. >>>> >>>> I could also ITA curl from Yaakov as I use that and wget a lot in scripts and >>>> cron jobs. >> >> My suggestion: >> >> this in libwget2_0 (per consistency) or libwget0 >> >> /usr/bin/cygwget-0.dll > > libwget0, based on the library name. > >> these in wget2 >> >> /usr/bin/wget2.exe >> /usr/share/doc/wget2/AUTHORS >> /usr/share/doc/wget2/COPYING >> /usr/share/doc/wget2/ChangeLog >> /usr/share/doc/wget2/NEWS >> /usr/share/doc/wget2/README >> /usr/share/locale/ca/LC_MESSAGES/wget2.mo >> /usr/share/locale/cs/LC_MESSAGES/wget2.mo >> /usr/share/locale/de/LC_MESSAGES/wget2.mo >> /usr/share/locale/eo/LC_MESSAGES/wget2.mo >> /usr/share/locale/es/LC_MESSAGES/wget2.mo >> /usr/share/locale/et/LC_MESSAGES/wget2.mo >> /usr/share/locale/fi/LC_MESSAGES/wget2.mo >> /usr/share/locale/fr/LC_MESSAGES/wget2.mo >> /usr/share/locale/ga/LC_MESSAGES/wget2.mo >> /usr/share/locale/hr/LC_MESSAGES/wget2.mo >> /usr/share/locale/hu/LC_MESSAGES/wget2.mo >> /usr/share/locale/id/LC_MESSAGES/wget2.mo >> /usr/share/locale/it/LC_MESSAGES/wget2.mo >> /usr/share/locale/ja/LC_MESSAGES/wget2.mo >> /usr/share/locale/nb/LC_MESSAGES/wget2.mo >> /usr/share/locale/nl/LC_MESSAGES/wget2.mo >> /usr/share/locale/pl/LC_MESSAGES/wget2.mo >> /usr/share/locale/pt_BR/LC_MESSAGES/wget2.mo >> /usr/share/locale/ru/LC_MESSAGES/wget2.mo >> /usr/share/locale/sk/LC_MESSAGES/wget2.mo >> /usr/share/locale/sr/LC_MESSAGES/wget2.mo >> /usr/share/locale/sv/LC_MESSAGES/wget2.mo >> /usr/share/locale/tr/LC_MESSAGES/wget2.mo >> /usr/share/locale/uk/LC_MESSAGES/wget2.mo >> /usr/share/locale/vi/LC_MESSAGES/wget2.mo >> /usr/share/locale/zh_CN/LC_MESSAGES/wget2.mo >> plus also the manual page that it is missing >> >> >> What is this ? It seems a duplicate of wget2 >> >> /usr/bin/wget2_noinstall.exe Test version - the "summary" in manifest.list excludes all the test and fuzz files. > Simply based on the name, I'm guessing it shouldn't be installed? > >> these in libwget2-devel or libwget-devel > > libwget-devel, based on the library name. > >> /usr/include/wget.h >> /usr/include/wgetver.h >> /usr/lib/libwget.dll.a >> /usr/lib/pkgconfig/libwget.pc >> /usr/share/man/man3/libwget-base64.3.gz >> /usr/share/man/man3/libwget-bitmap.3.gz >> /usr/share/man/man3/libwget-console.3.gz >> /usr/share/man/man3/libwget-dns-caching.3.gz >> /usr/share/man/man3/libwget-dns.3.gz >> /usr/share/man/man3/libwget-error.3.gz >> /usr/share/man/man3/libwget-hash.3.gz >> /usr/share/man/man3/libwget-hashmap.3.gz >> /usr/share/man/man3/libwget-io.3.gz >> /usr/share/man/man3/libwget-ip.3.gz >> /usr/share/man/man3/libwget-list.3.gz >> /usr/share/man/man3/libwget-mem.3.gz >> /usr/share/man/man3/libwget-net.3.gz >> /usr/share/man/man3/libwget-parse_atom.3.gz >> /usr/share/man/man3/libwget-parse_sitemap.3.gz >> /usr/share/man/man3/libwget-printf.3.gz >> /usr/share/man/man3/libwget-random.3.gz >> /usr/share/man/man3/libwget-robots.3.gz >> /usr/share/man/man3/libwget-stringmap.3.gz >> /usr/share/man/man3/libwget-thread.3.gz >> /usr/share/man/man3/libwget-utils.3.gz >> /usr/share/man/man3/libwget-vector.3.gz >> /usr/share/man/man3/libwget-xalloc.3.gz >> /usr/share/man/man3/libwget-xml.3.gz Thanks guys. Two points are not clear: - how do I get the library to build explicitly as cygwgetN - is it just from the package name libwgetN and cygport will DTRT or ...? - can I just add the extra files (not under inst/) to the ..._CONTENTS variable and cygport will DTRT, or do I have to add a src_install with do... script lines to move the extra files under inst/, then add the corresponding paths under inst/ to the ..._CONTENTS variables? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.]