[PATCH] utfcpp v3.2.1

  • Done
  • quality assurance status badge
Details
5 participants
  • Anadon
  • Leo Famulari
  • Liliana Marie Prikler
  • Maxim Cournoyer
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Anadon
Severity
normal
A
A
Anadon wrote on 29 Mar 2022 23:48
(address . guix-patches@gnu.org)
CAFkJGRddNbOPc0UOtT6zJDVevHn4WZLwd6FLbDFRJASKmC5tYg@mail.gmail.com
Toggle diff (43 lines)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index cbc657172d..c2c1a66438 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright © 2021 Anadon <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -669,29 +670,18 @@ (define-public catdoc
(define-public utfcpp
(package
(name "utfcpp")
- (version "2.3.5")
+ (version "3.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nemtrif/utfcpp")
- (commit (string-append "v" version))))
+ (commit (string-append "v" version))
+ (recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
- "1gr98d826z6wa58r1s5i7rz7q2x3r31v7zj0pjjlrc7gfxwklr4s"))))
+ "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
(build-system cmake-build-system)
- (arguments
- `(#:out-of-source? #f
- #:phases
- (modify-phases %standard-phases
- (replace 'install ; no install target
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (include (string-append out "/include"))
- (doc (string-append out "/share/doc/" ,name)))
- (copy-recursively "source" include)
- (install-file "README.md" doc)
- #t))))))
Attachment: file
L
L
Leo Famulari wrote on 30 Mar 2022 00:10
(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)(address . 54630@debbugs.gnu.org)
YkODyOx2PxfxW1VM@jasmine.lan
On Tue, Mar 29, 2022 at 05:48:47PM -0400, Anadon wrote:
Toggle quote (6 lines)
> (define-public utfcpp
> (package
> (name "utfcpp")
> - (version "2.3.5")
> + (version "3.2.1")

Thanks!

I turned it into a Git commit (attached as a patch) and built utfcpp 3.2.1
successfully.

I noticed that at least one of the handful of packages that depend on
utfcpp, mkvtoolnix, doesn't build with this update:

------
[...]
starting phase `build'
CC lib/librmff/rmff.c
CXX src/mpegparser/MPEGVideoBuffer.cpp
CXX src/common/xml/xml.cpp
CC lib/librmff/mb_file_io.c
AR lib/librmff/librmff.a
RANLIB lib/librmff/librmff.a
CXX lib/avilib-0.6.10/xio.cpp
CXX src/mpegparser/M2VParser.cpp
CC lib/avilib-0.6.10/avimisc.c
CC lib/avilib-0.6.10/avilib.c
AR lib/avilib-0.6.10/libavi.a
RANLIB lib/avilib-0.6.10/libavi.a
CXX src/common/xml/ebml_tags_converter.cpp
CXX src/mpegparser/CircBuffer.cpp
CXX src/common/xml/ebml_segmentinfo_converter.cpp
AR src/mpegparser/libmpegparser.a
RANLIB src/mpegparser/libmpegparser.a
CXX src/common/xml/ebml_converter.cpp
CXX src/common/xml/ebml_chapters_converter.cpp
CXX src/common/tags/vorbis.cpp
CXX src/common/tags/tags.cpp
CXX src/common/strings/utf8.cpp
src/common/strings/utf8.cpp:21:10: fatal error: utf8.h: No such file or directory
21 | #include <utf8.h>
| ^~~~~~~~
compilation terminated.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "rake" arguments: ("-j" "4") exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 47.3 seconds
command "rake" "-j" "4" failed with status 1
builder for `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed with exit code 1
build of /gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv failed
View build log at '/var/log/guix/drvs/n4/jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv.gz'.
guix build: error: build of `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
------

One can check full list of packages that depend on utfcpp like this:

------
$ guix refresh --list-dependent utfcpp
Building the following 6 packages would ensure 8 dependent packages are rebuilt: emacs-flycheck-ledger@0.5 emacs-ledger-mode@4.0.0 warzone2100@4.0.1 osmium-tool@1.14.0 osm2pgsql@1.5.1 mkvtoolnix@52.0.0
------
From 076c1d163fbdb29077726a3fec8bbbec96fc4569 Mon Sep 17 00:00:00 2001
From: Anadon <joshua.r.marshall.1991@gmail.com>
Date: Tue, 29 Mar 2022 17:58:52 -0400
Subject: [PATCH] gnu: utfcpp: Update to 3.2.1.

* gnu/packages/textutils.scm (utfcpp): Update to 3.2.1.
[source]: Fetch Git submodules.
[arguments]: Remove field.

Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/textutils.scm | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index cbc657172d..c2c1a66438 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -24,6 +24,7 @@
;;; Copyright � 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright � 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright � 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright � 2021 Anadon <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -669,29 +670,18 @@ (define-public catdoc
(define-public utfcpp
(package
(name "utfcpp")
- (version "2.3.5")
+ (version "3.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nemtrif/utfcpp")
- (commit (string-append "v" version))))
+ (commit (string-append "v" version))
+ (recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
- "1gr98d826z6wa58r1s5i7rz7q2x3r31v7zj0pjjlrc7gfxwklr4s"))))
+ "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
(build-system cmake-build-system)
- (arguments
- `(#:out-of-source? #f
- #:phases
- (modify-phases %standard-phases
- (replace 'install ; no install target
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (include (string-append out "/include"))
- (doc (string-append out "/share/doc/" ,name)))
- (copy-recursively "source" include)
- (install-file "README.md" doc)
- #t))))))
(home-page "https://github.com/nemtrif/utfcpp")
(synopsis "Portable C++ library for handling UTF-8")
(description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
--
2.34.0
A
A
Anadon wrote on 31 Mar 2022 05:43
(name . Leo Famulari)(address . leo@famulari.name)(address . 54630@debbugs.gnu.org)
CAFkJGRedbdNs6ebEL=if3ZF=Asu2Yjw12HqoOQ+KgkUiM53jyA@mail.gmail.com
Updated, should be closer.

On Tue, Mar 29, 2022 at 6:10 PM Leo Famulari <leo@famulari.name> wrote:

Toggle quote (70 lines)
> On Tue, Mar 29, 2022 at 05:48:47PM -0400, Anadon wrote:
> > (define-public utfcpp
> > (package
> > (name "utfcpp")
> > - (version "2.3.5")
> > + (version "3.2.1")
>
> Thanks!
>
> I turned it into a Git commit (attached as a patch) and built utfcpp 3.2.1
> successfully.
>
> I noticed that at least one of the handful of packages that depend on
> utfcpp, mkvtoolnix, doesn't build with this update:
>
> ------
> [...]
> starting phase `build'
> CC lib/librmff/rmff.c
> CXX src/mpegparser/MPEGVideoBuffer.cpp
> CXX src/common/xml/xml.cpp
> CC lib/librmff/mb_file_io.c
> AR lib/librmff/librmff.a
> RANLIB lib/librmff/librmff.a
> CXX lib/avilib-0.6.10/xio.cpp
> CXX src/mpegparser/M2VParser.cpp
> CC lib/avilib-0.6.10/avimisc.c
> CC lib/avilib-0.6.10/avilib.c
> AR lib/avilib-0.6.10/libavi.a
> RANLIB lib/avilib-0.6.10/libavi.a
> CXX src/common/xml/ebml_tags_converter.cpp
> CXX src/mpegparser/CircBuffer.cpp
> CXX src/common/xml/ebml_segmentinfo_converter.cpp
> AR src/mpegparser/libmpegparser.a
> RANLIB src/mpegparser/libmpegparser.a
> CXX src/common/xml/ebml_converter.cpp
> CXX src/common/xml/ebml_chapters_converter.cpp
> CXX src/common/tags/vorbis.cpp
> CXX src/common/tags/tags.cpp
> CXX src/common/strings/utf8.cpp
> src/common/strings/utf8.cpp:21:10: fatal error: utf8.h: No such file or
> directory
> 21 | #include <utf8.h>
> | ^~~~~~~~
> compilation terminated.
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "rake" arguments: ("-j" "4")
> exit-status: 1 term-signal: #f stop-signal: #f>
> phase `build' failed after 47.3 seconds
> command "rake" "-j" "4" failed with status 1
> builder for
> `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
> with exit code 1
> build of /gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv
> failed
> View build log at
> '/var/log/guix/drvs/n4/jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv.gz'.
> guix build: error: build of
> `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
> ------
>
> One can check full list of packages that depend on utfcpp like this:
>
> ------
> $ guix refresh --list-dependent utfcpp
> Building the following 6 packages would ensure 8 dependent packages are
> rebuilt: emacs-flycheck-ledger@0.5 emacs-ledger-mode@4.0.0
> warzone2100@4.0.1 osmium-tool@1.14.0 osm2pgsql@1.5.1 mkvtoolnix@52.0.0
> ------
>
Attachment: file
From eb6d740795e45a2387b4d253032d7218e4e443c9 Mon Sep 17 00:00:00 2001
From: Anadon <joshua.r.marshall.1991@gmail.com>
Date: Wed, 30 Mar 2022 21:22:04 -0400
Subject: [PATCH] Updating to add utfcpp as a seperate version and to update
mkvtoolnix and warzone2100 to use the old version since they need behavior
from version 2 and not version 3.

---
gnu/packages/games.scm | 2 +-
gnu/packages/textutils.scm | 26 +++++++++++++++++++++++++-
gnu/packages/video.scm | 2 +-
3 files changed, 27 insertions(+), 3 deletions(-)

Toggle diff (79 lines)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 8cc29b3487..1c01a41ed6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5131,7 +5131,7 @@ (define-public warzone2100
("openssl" ,openssl)
("sdl2" ,sdl2)
("sqlite" ,sqlite)
- ("utfcpp" ,utfcpp)))
+ ("utfcpp" ,utfcpp-2)))
(home-page "https://wz2100.net")
(synopsis "3D Real-time strategy and real-time tactics game")
(description
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index cbc657172d..21e8d861fa 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright © 2021 Anadon <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -666,7 +667,7 @@ (define-public catdoc
@command{catppt}, which extracts data from PowerPoint presentations.")
(license license:gpl2+)))
-(define-public utfcpp
+(define-public utfcpp-2
(package
(name "utfcpp")
(version "2.3.5")
@@ -698,6 +699,29 @@ (define-public utfcpp
in a portable way.")
(license license:boost1.0)))
+(define-public utfcpp-3
+ (package
+ (name "utfcpp")
+ (version "3.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nemtrif/utfcpp")
+ (commit (string-append "v" version))
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/nemtrif/utfcpp")
+ (synopsis "Portable C++ library for handling UTF-8")
+ (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
+in a portable way.")
+ (license license:boost1.0)))
+
+(define-public utfcpp utfcpp-3)
+
(define-public dbacl
(package
(name "dbacl")
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index dc05c0a222..da383192bc 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -991,7 +991,7 @@ (define-public mkvtoolnix
pugixml
qtbase-5
qtmultimedia
- utfcpp
+ utfcpp-2
zlib))
(native-inputs
`(("docbook-xsl" ,docbook-xsl)
--
2.34.0
A
A
Anadon wrote on 2 Apr 2022 05:56
(name . Leo Famulari)(address . leo@famulari.name)(address . 54630@debbugs.gnu.org)
CAFkJGRfBjRsYdM1EKwUBAsLpXqi_+0sBAfX6pVyxX9au4yes9Q@mail.gmail.com
Can I get an update?

On Wed, Mar 30, 2022, 23:43 Anadon <joshua.r.marshall.1991@gmail.com> wrote:

Toggle quote (75 lines)
> Updated, should be closer.
>
> On Tue, Mar 29, 2022 at 6:10 PM Leo Famulari <leo@famulari.name> wrote:
>
>> On Tue, Mar 29, 2022 at 05:48:47PM -0400, Anadon wrote:
>> > (define-public utfcpp
>> > (package
>> > (name "utfcpp")
>> > - (version "2.3.5")
>> > + (version "3.2.1")
>>
>> Thanks!
>>
>> I turned it into a Git commit (attached as a patch) and built utfcpp 3.2.1
>> successfully.
>>
>> I noticed that at least one of the handful of packages that depend on
>> utfcpp, mkvtoolnix, doesn't build with this update:
>>
>> ------
>> [...]
>> starting phase `build'
>> CC lib/librmff/rmff.c
>> CXX src/mpegparser/MPEGVideoBuffer.cpp
>> CXX src/common/xml/xml.cpp
>> CC lib/librmff/mb_file_io.c
>> AR lib/librmff/librmff.a
>> RANLIB lib/librmff/librmff.a
>> CXX lib/avilib-0.6.10/xio.cpp
>> CXX src/mpegparser/M2VParser.cpp
>> CC lib/avilib-0.6.10/avimisc.c
>> CC lib/avilib-0.6.10/avilib.c
>> AR lib/avilib-0.6.10/libavi.a
>> RANLIB lib/avilib-0.6.10/libavi.a
>> CXX src/common/xml/ebml_tags_converter.cpp
>> CXX src/mpegparser/CircBuffer.cpp
>> CXX src/common/xml/ebml_segmentinfo_converter.cpp
>> AR src/mpegparser/libmpegparser.a
>> RANLIB src/mpegparser/libmpegparser.a
>> CXX src/common/xml/ebml_converter.cpp
>> CXX src/common/xml/ebml_chapters_converter.cpp
>> CXX src/common/tags/vorbis.cpp
>> CXX src/common/tags/tags.cpp
>> CXX src/common/strings/utf8.cpp
>> src/common/strings/utf8.cpp:21:10: fatal error: utf8.h: No such file or
>> directory
>> 21 | #include <utf8.h>
>> | ^~~~~~~~
>> compilation terminated.
>> error: in phase 'build': uncaught exception:
>> %exception #<&invoke-error program: "rake" arguments: ("-j" "4")
>> exit-status: 1 term-signal: #f stop-signal: #f>
>> phase `build' failed after 47.3 seconds
>> command "rake" "-j" "4" failed with status 1
>> builder for
>> `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
>> with exit code 1
>> build of
>> /gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv failed
>> View build log at
>> '/var/log/guix/drvs/n4/jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv.gz'.
>> guix build: error: build of
>> `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
>> ------
>>
>> One can check full list of packages that depend on utfcpp like this:
>>
>> ------
>> $ guix refresh --list-dependent utfcpp
>> Building the following 6 packages would ensure 8 dependent packages are
>> rebuilt: emacs-flycheck-ledger@0.5 emacs-ledger-mode@4.0.0
>> warzone2100@4.0.1 osmium-tool@1.14.0 osm2pgsql@1.5.1 mkvtoolnix@52.0.0
>> ------
>>
>
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 3 Apr 2022 00:44
Re: [PATCH] utfcpp v3.2.1
(address . 54630@debbugs.gnu.org)
3a7bb6655fcc60440e7030c5f3d5eedb@tobias.gr
Anadon,

As begun in #guix: I've applied the patch (with a few modifications) and
will build all dependents overnight.

I've changed utfcpp-2 to inherit from utfcpp and removed the indirection
(via the unused utfcpp-3) of the latter.

Whilst Guix tolerates to the point of accepting pseudonyms in copyright
statements, yours seems rather… redundant? Is there a compelling reason
not to use the name in your e-mail address? Is it also a pseudonym?

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
A
A
Anadon wrote on 9 Apr 2022 02:33
Re: [bug#54630] [PATCH] utfcpp v3.2.1
(name . Leo Famulari)(address . leo@famulari.name)(address . 54630@debbugs.gnu.org)
CAFkJGRf_wg9UOz9z0iCJ7G96NY78YdJ6qpmCKdgXhVJr4Gxx6g@mail.gmail.com
Bump

On Fri, Apr 1, 2022 at 11:56 PM Anadon <joshua.r.marshall.1991@gmail.com>
wrote:

Toggle quote (81 lines)
> Can I get an update?
>
> On Wed, Mar 30, 2022, 23:43 Anadon <joshua.r.marshall.1991@gmail.com>
> wrote:
>
>> Updated, should be closer.
>>
>> On Tue, Mar 29, 2022 at 6:10 PM Leo Famulari <leo@famulari.name> wrote:
>>
>>> On Tue, Mar 29, 2022 at 05:48:47PM -0400, Anadon wrote:
>>> > (define-public utfcpp
>>> > (package
>>> > (name "utfcpp")
>>> > - (version "2.3.5")
>>> > + (version "3.2.1")
>>>
>>> Thanks!
>>>
>>> I turned it into a Git commit (attached as a patch) and built utfcpp
>>> 3.2.1
>>> successfully.
>>>
>>> I noticed that at least one of the handful of packages that depend on
>>> utfcpp, mkvtoolnix, doesn't build with this update:
>>>
>>> ------
>>> [...]
>>> starting phase `build'
>>> CC lib/librmff/rmff.c
>>> CXX src/mpegparser/MPEGVideoBuffer.cpp
>>> CXX src/common/xml/xml.cpp
>>> CC lib/librmff/mb_file_io.c
>>> AR lib/librmff/librmff.a
>>> RANLIB lib/librmff/librmff.a
>>> CXX lib/avilib-0.6.10/xio.cpp
>>> CXX src/mpegparser/M2VParser.cpp
>>> CC lib/avilib-0.6.10/avimisc.c
>>> CC lib/avilib-0.6.10/avilib.c
>>> AR lib/avilib-0.6.10/libavi.a
>>> RANLIB lib/avilib-0.6.10/libavi.a
>>> CXX src/common/xml/ebml_tags_converter.cpp
>>> CXX src/mpegparser/CircBuffer.cpp
>>> CXX src/common/xml/ebml_segmentinfo_converter.cpp
>>> AR src/mpegparser/libmpegparser.a
>>> RANLIB src/mpegparser/libmpegparser.a
>>> CXX src/common/xml/ebml_converter.cpp
>>> CXX src/common/xml/ebml_chapters_converter.cpp
>>> CXX src/common/tags/vorbis.cpp
>>> CXX src/common/tags/tags.cpp
>>> CXX src/common/strings/utf8.cpp
>>> src/common/strings/utf8.cpp:21:10: fatal error: utf8.h: No such file or
>>> directory
>>> 21 | #include <utf8.h>
>>> | ^~~~~~~~
>>> compilation terminated.
>>> error: in phase 'build': uncaught exception:
>>> %exception #<&invoke-error program: "rake" arguments: ("-j" "4")
>>> exit-status: 1 term-signal: #f stop-signal: #f>
>>> phase `build' failed after 47.3 seconds
>>> command "rake" "-j" "4" failed with status 1
>>> builder for
>>> `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
>>> with exit code 1
>>> build of
>>> /gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv failed
>>> View build log at
>>> '/var/log/guix/drvs/n4/jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv.gz'.
>>> guix build: error: build of
>>> `/gnu/store/n4jp4915g90c0f89njnlljhfd75k5y0g-mkvtoolnix-52.0.0.drv' failed
>>> ------
>>>
>>> One can check full list of packages that depend on utfcpp like this:
>>>
>>> ------
>>> $ guix refresh --list-dependent utfcpp
>>> Building the following 6 packages would ensure 8 dependent packages are
>>> rebuilt: emacs-flycheck-ledger@0.5 emacs-ledger-mode@4.0.0
>>> warzone2100@4.0.1 osmium-tool@1.14.0 osm2pgsql@1.5.1 mkvtoolnix@52.0.0
>>> ------
>>>
>>
Attachment: file
L
L
Leo Famulari wrote on 10 Apr 2022 20:18
(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)(address . 54630@debbugs.gnu.org)
YlMfWhHBx0FM7QaA@jasmine.lan
On Fri, Apr 08, 2022 at 08:33:29PM -0400, Anadon wrote:
Toggle quote (2 lines)
> Bump

We are waiting for you to tell us, after applying this update, do all
the dependent packages still work?

You could also answer Tobias's question about naming, although remember
that you are free to use any name you choose.
A
A
Anadon wrote on 10 Apr 2022 20:56
(name . Leo Famulari)(address . leo@famulari.name)(address . 54630@debbugs.gnu.org)
CAFkJGRcY8ZFPBZxPqmEXgTW+6zQ0ZU0kaZucd9Ms8f-pb9wvBQ@mail.gmail.com
All dependant packages work based off their unit tests. I believe this is
in line with expectations; I may be mistaken.

I didn't get any notification that Tobias said anything, sorry about that.
I often change between birth name and what I've chosen. At this point,
I'll just goes with what gives me the least resistance. I can update the
patch when I'm next at a computer.

On Sun, Apr 10, 2022, 14:18 Leo Famulari <leo@famulari.name> wrote:

Toggle quote (9 lines)
> On Fri, Apr 08, 2022 at 08:33:29PM -0400, Anadon wrote:
> > Bump
>
> We are waiting for you to tell us, after applying this update, do all
> the dependent packages still work?
>
> You could also answer Tobias's question about naming, although remember
> that you are free to use any name you choose.
>
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 10 Apr 2022 22:41
(address . 54630@debbugs.gnu.org)
6E9486A3-42EB-42EE-9E2D-450F4B18004A@tobias.gr
On 10 April 2022 18:56:59 UTC, Anadon <joshua.r.marshall.1991@gmail.com> wrote:
Toggle quote (2 lines)
>I didn't get any notification that Tobias said anything, sorry about that.

Thanks for letting me know. Nothing in spam etc.? I'll check my logs.

If it's all the same to you I prefer using your real-sounding name for copyright purposes, since the 'pseudonym' doesn't seem to be doing any useful work there.



Kind regards,

T G-R

Sent on the go. Excuse or enjoy my brevity.
M
M
Maxim Cournoyer wrote on 22 May 2022 06:23
Re: bug#54630: [PATCH] utfcpp v3.2.1
(address . joshua.r.marshall.1991@gmail.com)
87leuu6vqg.fsf_-_@gmail.com
Hi Anadon,

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

Toggle quote (7 lines)
> On 10 April 2022 18:56:59 UTC, Anadon <joshua.r.marshall.1991@gmail.com> wrote:
>>I didn't get any notification that Tobias said anything, sorry about that.
>
> Thanks for letting me know. Nothing in spam etc.? I'll check my logs.
>
> If it's all the same to you I prefer using your real-sounding name for copyright purposes, since the 'pseudonym' doesn't seem to be doing any useful work there.

Gentle ping :-)

Thanks,

Maxim
M
M
Maxim Cournoyer wrote on 22 May 2022 06:31
control message for bug #54630
(address . control@debbugs.gnu.org)
87czg66vdm.fsf@gmail.com
tags 54630 + moreinfo
quit
A
A
Anadon wrote on 22 May 2022 16:46
Re: bug#54630: [PATCH] utfcpp v3.2.1
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
CAFkJGRcedXNpapigAw4wwi1+4QP4uCapt+9sn3HTGMkrMfEVOg@mail.gmail.com
Home ownership is distracting, that's for sure. I'll get back on it.

On Sun, May 22, 2022, 00:23 Maxim Cournoyer <maxim.cournoyer@gmail.com>
wrote:

Toggle quote (21 lines)
> Hi Anadon,
>
> Tobias Geerinckx-Rice <me@tobias.gr> writes:
>
> > On 10 April 2022 18:56:59 UTC, Anadon <joshua.r.marshall.1991@gmail.com>
> wrote:
> >>I didn't get any notification that Tobias said anything, sorry about
> that.
> >
> > Thanks for letting me know. Nothing in spam etc.? I'll check my logs.
> >
> > If it's all the same to you I prefer using your real-sounding name for
> copyright purposes, since the 'pseudonym' doesn't seem to be doing any
> useful work there.
>
> Gentle ping :-)
>
> Thanks,
>
> Maxim
>
Attachment: file
T
T
Tobias Geerinckx-Rice wrote on 22 May 2022 17:09
(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)
87sfp11u3v@nckx
Anadon ???
Toggle quote (3 lines)
> Home ownership is distracting, that's for sure. I'll get back
> on it.

I think the only remaining question was that of foregoing ‘Anadon’
in favour of the name in your e-mail address, assuming that's more
real.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYopSVA0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15rCoBAPEMd5cknFqFP5R8ZXmzdpt2MHiwXP8eIKR1JN3r
Duv2AP44y6IX5OtnO2Dn3FC3wqQL5NVZgO1kWjQ4QOM1JB9WBw==
=Gsb0
-----END PGP SIGNATURE-----

A
A
Anadon wrote on 22 May 2022 19:41
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
CAFkJGRfjjzHMTL73tUe_jb2BX7SrhREsn=gmEYkZ8MZiYwNQ-w@mail.gmail.com
There was also the matter of changing v2 to inherit and modify from the new
v3 and skip the mapping of utfcpp name to the utfcppv3 package.

On Sun, May 22, 2022, 11:09 Tobias Geerinckx-Rice <me@tobias.gr> wrote:

Toggle quote (12 lines)
> Anadon ???
> > Home ownership is distracting, that's for sure. I'll get back
> > on it.
>
> I think the only remaining question was that of foregoing ‘Anadon’
> in favour of the name in your e-mail address, assuming that's more
> real.
>
> Kind regards,
>
> T G-R
>
Attachment: file
A
A
Anadon wrote on 27 May 2022 05:03
[PATCH] Updating to add utfcpp as a seperate version and to update mkvtoolnix and warzone2100 to use the old version since they need behavior from version 2 and not version 3.
(address . 54630@debbugs.gnu.org)(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)
20220527030350.211135-1-joshua.r.marshall.1991@gmail.com
---
gnu/packages/games.scm | 2 +-
gnu/packages/textutils.scm | 30 ++++++++++++++++++++++++------
gnu/packages/video.scm | 2 +-
3 files changed, 26 insertions(+), 8 deletions(-)

Toggle diff (83 lines)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 8cc29b3487..1c01a41ed6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5131,7 +5131,7 @@ (define-public warzone2100
("openssl" ,openssl)
("sdl2" ,sdl2)
("sqlite" ,sqlite)
- ("utfcpp" ,utfcpp)))
+ ("utfcpp" ,utfcpp-2)))
(home-page "https://wz2100.net")
(synopsis "3D Real-time strategy and real-time tactics game")
(description
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index cbc657172d..484884160d 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright © 2021 Josh Marshall <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -668,6 +669,28 @@ (define-public catdoc
(define-public utfcpp
(package
+ (name "utfcpp")
+ (version "3.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nemtrif/utfcpp")
+ (commit (string-append "v" version))
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/nemtrif/utfcpp")
+ (synopsis "Portable C++ library for handling UTF-8")
+ (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
+in a portable way.")
+ (license license:boost1.0)))
+
+(define-public utfcpp-2
+ (package
+ (inherit utfcpp)
(name "utfcpp")
(version "2.3.5")
(source (origin
@@ -691,12 +714,7 @@ (define-public utfcpp
(doc (string-append out "/share/doc/" ,name)))
(copy-recursively "source" include)
(install-file "README.md" doc)
- #t))))))
- (home-page "https://github.com/nemtrif/utfcpp")
- (synopsis "Portable C++ library for handling UTF-8")
- (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
-in a portable way.")
- (license license:boost1.0)))
+ #t))))))))
(define-public dbacl
(package
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index dc05c0a222..da383192bc 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -991,7 +991,7 @@ (define-public mkvtoolnix
pugixml
qtbase-5
qtmultimedia
- utfcpp
+ utfcpp-2
zlib))
(native-inputs
`(("docbook-xsl" ,docbook-xsl)
--
2.34.0
A
A
Anadon wrote on 27 May 2022 05:37
(address . 54630@debbugs.gnu.org)(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)
20220527033742.217278-1-joshua.r.marshall.1991@gmail.com
---
gnu/packages/games.scm | 2 +-
gnu/packages/textutils.scm | 30 ++++++++++++++++++++++++------
gnu/packages/video.scm | 2 +-
3 files changed, 26 insertions(+), 8 deletions(-)

Toggle diff (83 lines)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 8cc29b3487..1c01a41ed6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5131,7 +5131,7 @@ (define-public warzone2100
("openssl" ,openssl)
("sdl2" ,sdl2)
("sqlite" ,sqlite)
- ("utfcpp" ,utfcpp)))
+ ("utfcpp" ,utfcpp-2)))
(home-page "https://wz2100.net")
(synopsis "3D Real-time strategy and real-time tactics game")
(description
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index cbc657172d..484884160d 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright © 2021 Josh Marshall <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -668,6 +669,28 @@ (define-public catdoc
(define-public utfcpp
(package
+ (name "utfcpp")
+ (version "3.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nemtrif/utfcpp")
+ (commit (string-append "v" version))
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/nemtrif/utfcpp")
+ (synopsis "Portable C++ library for handling UTF-8")
+ (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
+in a portable way.")
+ (license license:boost1.0)))
+
+(define-public utfcpp-2
+ (package
+ (inherit utfcpp)
(name "utfcpp")
(version "2.3.5")
(source (origin
@@ -691,12 +714,7 @@ (define-public utfcpp
(doc (string-append out "/share/doc/" ,name)))
(copy-recursively "source" include)
(install-file "README.md" doc)
- #t))))))
- (home-page "https://github.com/nemtrif/utfcpp")
- (synopsis "Portable C++ library for handling UTF-8")
- (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
-in a portable way.")
- (license license:boost1.0)))
+ #t))))))))
(define-public dbacl
(package
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index dc05c0a222..da383192bc 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -991,7 +991,7 @@ (define-public mkvtoolnix
pugixml
qtbase-5
qtmultimedia
- utfcpp
+ utfcpp-2
zlib))
(native-inputs
`(("docbook-xsl" ,docbook-xsl)
--
2.34.0
L
L
Liliana Marie Prikler wrote on 27 May 2022 08:51
f7f487e5a7973482de52952c54cfc2db940bf5b5.camel@gmail.com
Hi,

Am Donnerstag, dem 26.05.2022 um 23:03 -0400 schrieb Anadon:
Toggle quote (1 lines)
> ---
We don't do light novel title commit messages. Use a short summary,
e.g. "gnu: textutils: Update to 3.2.1", followed by an empty line
followed by a ChangeLog.

Toggle quote (15 lines)
>  gnu/packages/games.scm     |  2 +-
>  gnu/packages/textutils.scm | 30 ++++++++++++++++++++++++------
>  gnu/packages/video.scm     |  2 +-
>  3 files changed, 26 insertions(+), 8 deletions(-)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 8cc29b3487..1c01a41ed6 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -5131,7 +5131,7 @@ (define-public warzone2100
>                ("openssl" ,openssl)
>                ("sdl2" ,sdl2)
>                ("sqlite" ,sqlite)
> -              ("utfcpp" ,utfcpp)))
> +              ("utfcpp" ,utfcpp-2)))
utfcpp installs its headers in a different location. Chances are you
only need to patch warzone2100 to look them up.

Toggle quote (73 lines)
>      (home-page "https://wz2100.net")
>      (synopsis "3D Real-time strategy and real-time tactics game")
>      (description
> diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
> index cbc657172d..484884160d 100644
> --- a/gnu/packages/textutils.scm
> +++ b/gnu/packages/textutils.scm
> @@ -24,6 +24,7 @@
>  ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
>  ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
>  ;;; Copyright © 2021 Bonface Munyoki Kilyungi
> <me@bonfacemunyoki.com>
> +;;; Copyright © 2021 Josh Marshall
> <joshua.r.marshall.1991@gmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -668,6 +669,28 @@ (define-public catdoc
>  
>  (define-public utfcpp
>    (package
> +    (name "utfcpp")
> +    (version "3.2.1")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/nemtrif/utfcpp")
> +                    (commit (string-append "v" version))
> +                    (recursive? #t)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
> +    (build-system cmake-build-system)
> +    (home-page "https://github.com/nemtrif/utfcpp")
> +    (synopsis "Portable C++ library for handling UTF-8")
> +    (description "UTF8-CPP is a C++ library for handling UTF-8
> encoded text
> +in a portable way.")
> +    (license license:boost1.0)))
> +
> +(define-public utfcpp-2
> +  (package
> +    (inherit utfcpp)
>      (name "utfcpp")
>      (version "2.3.5")
>      (source (origin
> @@ -691,12 +714,7 @@ (define-public utfcpp
>                      (doc (string-append out "/share/doc/" ,name)))
>                 (copy-recursively "source" include)
>                 (install-file "README.md" doc)
> -               #t))))))
> -    (home-page "https://github.com/nemtrif/utfcpp")
> -    (synopsis "Portable C++ library for handling UTF-8")
> -    (description "UTF8-CPP is a C++ library for handling UTF-8
> encoded text
> -in a portable way.")
> -    (license license:boost1.0)))
> +               #t))))))))
>  
>  (define-public dbacl
>    (package
> diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
> index dc05c0a222..da383192bc 100644
> --- a/gnu/packages/video.scm
> +++ b/gnu/packages/video.scm
> @@ -991,7 +991,7 @@ (define-public mkvtoolnix
>             pugixml
>             qtbase-5
>             qtmultimedia
> -           utfcpp
> +           utfcpp-2
Likewise.


Cheers
A
A
Anadon wrote on 29 May 2022 19:50
Re: bug#54630: [PATCH] utfcpp v3.2.1
(address . liliana.prikler@gmail.com)
CAFkJGRchH7pFKC4R2xfGDwmHvytw1pwnvNCR1se_y6rtTxBwpQ@mail.gmail.com
I don't think messing with Warzone2100 or mkvtoolnix is the best idea.
Looking at Warzone2100, it handles pulling a specific version of utfcpp via
git submodules so I'm guessing it was packaged incorrectly in the first
place. This is also exactly the same case for mkvtoolnix. IMO, changing
those packages is out of scope, and they should have been packaged
differently in the first place to conform to their authors' expectations.

On Sun, May 22, 2022 at 1:41 PM Anadon <joshua.r.marshall.1991@gmail.com>
wrote:

Toggle quote (18 lines)
> There was also the matter of changing v2 to inherit and modify from the
> new v3 and skip the mapping of utfcpp name to the utfcppv3 package.
>
> On Sun, May 22, 2022, 11:09 Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>
>> Anadon ???
>> > Home ownership is distracting, that's for sure. I'll get back
>> > on it.
>>
>> I think the only remaining question was that of foregoing ‘Anadon’
>> in favour of the name in your e-mail address, assuming that's more
>> real.
>>
>> Kind regards,
>>
>> T G-R
>>
>
Attachment: file
L
L
Liliana Marie Prikler wrote on 29 May 2022 20:20
(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)
0c8f889dc4e3ecbce57ed4f771de6e09b30d443c.camel@gmail.com
Am Sonntag, dem 29.05.2022 um 13:50 -0400 schrieb Anadon:
Toggle quote (7 lines)
> I don't think messing with Warzone2100 or mkvtoolnix is the best
> idea.  Looking at Warzone2100, it handles pulling a specific version
> of utfcpp via git submodules so I'm guessing it was packaged
> incorrectly in the first place.  This is also exactly the same case
> for mkvtoolnix.  IMO, changing those packages is out of scope, and
> they should have been packaged differently in the first place to
> conform to their authors' expectations.
I don't think either package is incorrect as-is. Unbundling is a
feature, not a bug.
A
A
Anadon wrote on 4 Jun 2022 19:37
(name . Liliana Marie Prikler)(address . liliana.prikler@gmail.com)
CAFkJGRftEgZhmT5cqZ2MAd36roDc71LCg_H0xSoNL5KQ-P=7rQ@mail.gmail.com
I have to pull the change. I can't justify the time modifying other
packages.

On Sun, May 29, 2022 at 2:20 PM Liliana Marie Prikler <
liliana.prikler@gmail.com> wrote:

Toggle quote (11 lines)
> Am Sonntag, dem 29.05.2022 um 13:50 -0400 schrieb Anadon:
> > I don't think messing with Warzone2100 or mkvtoolnix is the best
> > idea. Looking at Warzone2100, it handles pulling a specific version
> > of utfcpp via git submodules so I'm guessing it was packaged
> > incorrectly in the first place. This is also exactly the same case
> > for mkvtoolnix. IMO, changing those packages is out of scope, and
> > they should have been packaged differently in the first place to
> > conform to their authors' expectations.
> I don't think either package is incorrect as-is. Unbundling is a
> feature, not a bug.
>
Attachment: file
M
M
Maxim Cournoyer wrote on 6 Jun 2022 16:06
(name . Anadon)(address . joshua.r.marshall.1991@gmail.com)
874k0x28et.fsf@gmail.com
Hi Anadon,

Anadon <joshua.r.marshall.1991@gmail.com> writes:

Toggle quote (3 lines)
> I have to pull the change. I can't justify the time modifying other
> packages.

OK, thanks for letting us know.

I'm closing the patch, but whoever is motivated looking into it is
welcome to do so!

Maxim
Closed
?