From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 13:53:32 2020 Received: (at submit) by debbugs.gnu.org; 8 Aug 2020 17:53:32 +0000 Received: from localhost ([127.0.0.1]:59562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4T2C-00008d-3j for submit@debbugs.gnu.org; Sat, 08 Aug 2020 13:53:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:42760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4T2A-00008V-2c for submit@debbugs.gnu.org; Sat, 08 Aug 2020 13:53:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4T29-0000ut-Qj for guix-patches@gnu.org; Sat, 08 Aug 2020 13:53:29 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:36256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4T27-0003k3-NB for guix-patches@gnu.org; Sat, 08 Aug 2020 13:53:29 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1k4T21-0006Nh-5J; Sat, 08 Aug 2020 19:53:21 +0200 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1k4T1z-00059T-Bk; Sat, 08 Aug 2020 19:53:20 +0200 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH] gnu: Add rttr. Date: Sat, 8 Aug 2020 19:53:20 +0200 Message-Id: <20200808175320.12200-1-mike@rohleder.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1596909207;f725a6d5; X-HE-SMSGID: 1k4T21-0006Nh-5J Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/08 13:53:21 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Michael Rohleder 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: -3.3 (---) * gnu/packages/cpp.scm (rttr): New variable. --- A newer version of kdenlive needs this. gnu/packages/cpp.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 5e83bb69f6..9ff4dc864b 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Marius Bakke +;;; Copyright © 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -82,7 +83,35 @@ strings, configuration, bit streams, threading, translation, and cross-platform operating system functions.") (license license:zlib))) +(define-public rttr + (package + (name "rttr") + (version "0.9.6") + (home-page "https://github.com/rttrorg/rttr/") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (sha256 + (base32 "1yxad8sj40wi75hny8w6imrsx8wjasjmsipnlq559n4b6kl84ijp")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; TODO + #:configure-flags + '("-DBUILD_UNIT_TESTS=OFF" + "-DBUILD_DOCUMENTATION=OFF"))) + (native-inputs `(("pkg-config" ,pkg-config))) + (synopsis "C++ Reflection Library") + (description + "RTTR stands for Run Time Type Reflection. It describes the ability of a +computer program to introspect and modify an object at runtime. It is also the +name of the library itself, which is written in C++ and released as open +source library.") + (license license:expat))) + (define-public rct (let* ((commit "b3e6f41d9844ef64420e628e0c65ed98278a843a") (revision "2")) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 05:34:42 2020 Received: (at 42767) by debbugs.gnu.org; 10 Aug 2020 09:34:43 +0000 Received: from localhost ([127.0.0.1]:34391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k54CY-0000Yg-Ke for submit@debbugs.gnu.org; Mon, 10 Aug 2020 05:34:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k54CX-0000YR-FD for 42767@debbugs.gnu.org; Mon, 10 Aug 2020 05:34:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46391) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k54CR-0001CY-B9; Mon, 10 Aug 2020 05:34:35 -0400 Received: from [2a01:e0a:19b:d9a0:3107:b202:556:bd51] (port=46114 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k54CQ-00067F-U8; Mon, 10 Aug 2020 05:34:35 -0400 From: Mathieu Othacehe To: Michael Rohleder Subject: Re: [bug#42767] [PATCH] gnu: Add rttr. References: <20200808175320.12200-1-mike@rohleder.de> Date: Mon, 10 Aug 2020 11:34:33 +0200 In-Reply-To: <20200808175320.12200-1-mike@rohleder.de> (Michael Rohleder's message of "Sat, 8 Aug 2020 19:53:20 +0200") Message-ID: <87eeoehmja.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42767 Cc: 42767@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: -3.3 (---) Hello Michael, Thanks for this patch. Did you change something to the way you are sending patches? I have troubles to apply them, with errors such as: --8<---------------cut here---------------start------------->8--- Applying: gnu: Add rttr. Using index info to reconstruct a base tree... M gnu/packages/cpp.scm error: patch failed: gnu/packages/cpp.scm:82 error: gnu/packages/cpp.scm: patch does not apply error: Did you hand edit your patch? --8<---------------cut here---------------end--------------->8--- > + (home-page "https://github.com/rttrorg/rttr/") This field is traditionally at the end of the package definition, right before synopsis. > + (source > + '(#:tests? #f ; TODO You could elaborate on why they are not enabled. Something to fix in particular? > + #:configure-flags > + '("-DBUILD_UNIT_TESTS=OFF" > + "-DBUILD_DOCUMENTATION=OFF"))) > + (native-inputs `(("pkg-config" ,pkg-config))) > + (synopsis "C++ Reflection Library") > + (description > + "RTTR stands for Run Time Type Reflection. It describes the ability of a > +computer program to introspect and modify an object at runtime. It is also the > +name of the library itself, which is written in C++ and released as open > +source library.") There are a couple of linting warnings on this description. No need to mention that it's open source :). Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 14:20:45 2020 Received: (at 42767) by debbugs.gnu.org; 10 Aug 2020 18:20:45 +0000 Received: from localhost ([127.0.0.1]:37481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5CPd-0004r4-Cz for submit@debbugs.gnu.org; Mon, 10 Aug 2020 14:20:45 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:34736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5CPb-0004qu-WA for 42767@debbugs.gnu.org; Mon, 10 Aug 2020 14:20:44 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1k5CPZ-0004uu-J3; Mon, 10 Aug 2020 20:20:41 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k5CPW-0001XO-Vi; Mon, 10 Aug 2020 20:20:40 +0200 From: Michael Rohleder To: Mathieu Othacehe Subject: Re: [bug#42767] [PATCH] gnu: Add rttr. References: <20200808175320.12200-1-mike@rohleder.de> <87eeoehmja.fsf@gnu.org> X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Mon, 10 Aug 2020 20:19:17 +0200 In-Reply-To: <87eeoehmja.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 10 Aug 2020 11:34:33 +0200") Message-ID: <87sgcunz2y.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1597083644;06c91927; X-HE-SMSGID: 1k5CPZ-0004uu-J3 X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: 42767 Cc: 42767@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: -0.4 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Mathieu, Thank you very much for reviewing (my mess, as I was too focused on making kdenlive run...). Here is a (hopefully) better version. It includes running 528 unit_tests, except the ones for library_test.cpp where I couldn't figure out why they fail, so I substitute it away. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-rttr.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add rttr. From=2046a38e83b831cf0c5a0e31b2d905ac9d4d77a5a8 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Mon, 10 Aug 2020 20:17:07 +0200 Subject: [PATCH] gnu: Add rttr. * gnu/packages/cpp.scm (rttr): New variable. =2D-- gnu/packages/cpp.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index bf89ff12ea..8c0afe4955 100644 =2D-- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -12,6 +12,7 @@ ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 Vinicius Monego ;;; Copyright =C2=A9 2020 Marius Bakke +;;; Copyright =C2=A9 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -82,6 +83,42 @@ strings, configuration, bit streams, threading, translat= ion, and cross-platform operating system functions.") (license license:zlib))) =20 +(define-public rttr + (package + (name "rttr") + (version "0.9.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rttrorg/rttr/") + (commit (string-append "v" version)))) + (sha256 + (base32 "1yxad8sj40wi75hny8w6imrsx8wjasjmsipnlq559n4b6kl84ijp")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; no check target. Setting test-target to "unit_test" r= uns + ; it twice. + #:configure-flags + '("-DBUILD_DOCUMENTATION=3DOFF" "-DBUILD_EXAMPLES=3DOFF") + #:phases + (modify-phases %standard-phases + ;; library_test fails in chroot. + (add-after 'unpack 'skip-library-test + (lambda _ + (substitute* "src/unit_tests/unit_tests.cmake" + (("misc/library_test.cpp") "")) + #t))))) + (native-inputs `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/rttrorg/rttr/") + (synopsis "C++ Reflection Library") + (description + "RTTR stands for Run Time Type Reflection. It describes the ability = of a +computer program to introspect and modify an object at runtime. It is also +the name of the library itself, which is written in C++.") + (license license:expat))) + (define-public rct (let* ((commit "b3e6f41d9844ef64420e628e0c65ed98278a843a") (revision "2")) =2D-=20 2.28.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl8xj6UACgkQfHr/vv7y yyVDmAf7BlIG1qbPItOrNUJEZS4p2lmFq5c/GmJZzF9cSSSmN3VhavMYAFwq9yR6 kWz5cMERIee4vICqMvPBK0bMk9Vy2fcV94cB2UWFSAJIQhvjDZLV/p3IdToHHlj2 pl5boA+qQnsN4kz4+aHb2AVmpWNynTPYey8ODGpMb8es1WejJU6M1lm+YKC1aYKA DxAplcHay0Cfik01ub/j43a/q7S8c6zjlDnowi95WF/Nmn10eyFpRWnFcfdyKKkP nIQXptdeTJNPt1AVNnqo3q33s5BKoLGLzNQE4DqiBOEeD7ds0onaMtllKHa9KXds TAU+WovNSWxpdLYf7eNaSoucyg1e+g== =WsI6 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 05:01:41 2020 Received: (at 42767-done) by debbugs.gnu.org; 11 Aug 2020 09:01:41 +0000 Received: from localhost ([127.0.0.1]:38644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5QA9-0002XF-FW for submit@debbugs.gnu.org; Tue, 11 Aug 2020 05:01:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5QA8-0002X2-E5 for 42767-done@debbugs.gnu.org; Tue, 11 Aug 2020 05:01:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39318) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5QA2-0005qh-Ff; Tue, 11 Aug 2020 05:01:34 -0400 Received: from [2a01:e0a:19b:d9a0:3107:b202:556:bd51] (port=54932 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k5Q9y-0008En-JI; Tue, 11 Aug 2020 05:01:33 -0400 From: Mathieu Othacehe To: Michael Rohleder Subject: Re: [bug#42767] [PATCH] gnu: Add rttr. References: <20200808175320.12200-1-mike@rohleder.de> <87eeoehmja.fsf@gnu.org> <87sgcunz2y.fsf@rohleder.de> Date: Tue, 11 Aug 2020 11:01:28 +0200 In-Reply-To: <87sgcunz2y.fsf@rohleder.de> (Michael Rohleder's message of "Mon, 10 Aug 2020 20:19:17 +0200") Message-ID: <87wo25wo7r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42767-done Cc: 42767-done@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: -3.3 (---) Hey, > It includes running 528 unit_tests, except the ones for library_test.cpp > where I couldn't figure out why they fail, so I substitute it away. This looks fine, pushed! Thanks, Mathieu From unknown Fri Aug 15 03:56:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 08 Sep 2020 11:24:09 +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