Re: branch core-updates updated: packages: Fix 'base32' used before definition warning.

2021-01-11 Thread Ludovic Courtès
Hi Maxim,

guix-comm...@gnu.org skribis:

> commit 31ebecf73dadb51ccc72053f54dee36c93a2d0ab
> Author: Maxim Cournoyer 
> AuthorDate: Sun Jan 10 08:42:42 2021 -0500
>
> packages: Fix 'base32' used before definition warning.
> 
> Before this change, compiling the module would emit the following message:
> "guix/packages.scm:213:25: warning: macro `base32' used before 
> definition".
> 
> * guix/packages.scm (define-compile-time-decoder)
> (base32, base64): Move definitions to the top of the module.

To avoid merge conflicts down the road, could you apply it to ‘master’
as well?  (It’s fine to have it on ‘master’ as it doesn’t trigger any
rebuild.)

Thanks,
Ludo’.



Re: branch core-updates updated: packages: Fix 'base32' used before definition warning.

2021-01-11 Thread Maxim Cournoyer
Hi Ludovic!

Ludovic Courtès  writes:

> Hi Maxim,
>
> guix-comm...@gnu.org skribis:
>
>> commit 31ebecf73dadb51ccc72053f54dee36c93a2d0ab
>> Author: Maxim Cournoyer 
>> AuthorDate: Sun Jan 10 08:42:42 2021 -0500
>>
>> packages: Fix 'base32' used before definition warning.
>>
>> Before this change, compiling the module would emit the following 
>> message:
>> "guix/packages.scm:213:25: warning: macro `base32' used before 
>> definition".
>>
>> * guix/packages.scm (define-compile-time-decoder)
>> (base32, base64): Move definitions to the top of the module.
>
> To avoid merge conflicts down the road, could you apply it to ‘master’
> as well?  (It’s fine to have it on ‘master’ as it doesn’t trigger any
> rebuild.)

Thanks for letting me know; I was under the impression that the
guix/packages.scm module as a whole would be used in the computation of
any package's derivation hash.  I'm happy to learn it's actually smarter
than this :-).

Cherry-picked to master with commit
8152fd1af551f4bcec2ef59243264c10ff48daea.

Thank you,

Maxim



Commit Access to Emacs-Guix

2021-01-11 Thread John Soo
Hello Guix,

I have taken up maintainership of the new home of Emacs-Guix on
Savannah.  This message is signed with the key I will be using to sign
commits on Emacs-Guix.

Thank you!

John


signature.asc
Description: PGP signature


Re: December 2020 (old) bugs squashing!

2021-01-11 Thread zimoun
Hi Maxim,

On Sun, 10 Jan 2021 at 22:06, Maxim Cournoyer  wrote:

> Eh, 2020 is behind us and I don't think I managed to close much bugs in
> last December; it's a priority I'll try to keep up with in 2021.  Let's
> bring the number of issues down to something we can fit in our head more
> easily!

Yeah, with the Chris’ initiative about patches, we should be able to
significantly down the number of items… well, even if the number of new
issues and new patches increases faster than we are able to close old
ones. Sisyphean task? ;-)

Personally, I am trying to deal with one old items per day; on average.
Until “normal” social life pops up again. :-D

Cheers,
simon




Emacs-Guix repository location moved to Savannah

2021-01-11 Thread John Soo
Hi Guix!

Emacs-Guix has a new home!  I just pushed
a42f66cb40a9e60611f429a403b08dbed29bae02 to Emacs-Guix on Savannah.

My first order of business will be fixing the broken subcommands.  I
don't use many of them, though.  If you have a command you want fixed,
please let me know and I will priortize it.

What do you think about having conversations about Emacs-Guix on
guix-devel?

Kindly,

John



Re: New emacs-guix location

2021-01-11 Thread John Soo
Hi Alex!


Alex Kost  writes:

> Hello, I am fine, thanks!

I hope you are still well!

>
>> I volunteered to maintain some version of
>> emacs-guix recently. How do you feel about a fork moving to Savannah?
>
> You (and all the Guix people) are free to do whatever you think is
> appropriate.  Emacs-Guix is a free software after all.
>
> So if you will maintain the "official" (used by Guix) version of
> Emacs-Guix at Savannah, I will only be happy that I don't have this
> burden anymore.

I just pushed to savannah, so consider yourself unburdened :) Thank you
for your work and maintainership.

> As for me, I will continue to use my version of Emacs-Guix and to adjust
> it for my needs.

Sounds good :)

> And thank you for your latest commits that fixed Emacs-Guix for the
> current versions of Guix and Geiser!

My pleasure.

Kindest wishes,

John



Re: Can't develop on foreign distro - core dump linking error

2021-01-11 Thread zimoun
Hi Hartmut,

On Sat, 02 Jan 2021 at 11:00, Hartmut Goebel  
wrote:

> guix package --manifest=$PWD/develop-profile.scm
> --profile=$PWD/.develop-profile
> active this profile
> make distclean ; bootstrap ; ./configure ; make

What does $PWD/develop-profile.scm contain?  Other said, does it work
when using the usual:

  guix environment guix
  ./bootstrap
  ./configure --localstatedir=/var/
  make

?

Hope that helps,
simon



Re: guix build -d with a target causes many builds

2021-01-11 Thread Chris Marusich
Hi Chris,

Christopher Baines  writes:

> Grafts.
>
> → guix build --no-grafts -d --target=powerpc64-linux-gnu -e '(@@ (gnu 
> packages make-bootstrap) %gcc-static)'
> /gnu/store/i5wn3xl6p0zw1vglscgk0bs9dwc6hdh6-gcc-static-5.5.0.drv
>
> They're on by default, so when you use -d without --no-grafts, I believe
> you're actually getting the derivation that does the grafting, rather
> than the derivation for the package build.

Grafts!  I should have known.  That makes more sense.  Thank you!

-- 
Chris


signature.asc
Description: PGP signature


Re: Emacs-Guix repository location moved to Savannah

2021-01-11 Thread Ryan Prior
On January 11, 2021, John Soo  wrote:
> Hi Guix!
>
> Emacs-Guix has a new home! I just pushed
> a42f66cb40a9e60611f429a403b08dbed29bae02 to Emacs-Guix on Savannah.

Thanks and congrats!

> If you have a command you want fixed, please let me know and I will
> priortize it.

How do you feel about removing commands that nobody feels like fixing?
It might help Emacs-Guix build a reputation for reliability.

> What do you think about having conversations about Emacs-Guix on guix-
> devel?

I think it's a good idea. Conversing regularly on this list will keep
people abreast of what state things are in. Moving conversation to a
dedicated channel likely means nobody would read, which disincentivizes
writing. If discussion on this list reaches a level of volume where it's
annoying, that's the signal to explore alternate channels.


Re: [Telegram-Desktop]: Help with packaging

2021-01-11 Thread Raghav Gururajan

Hello Guix!

Currently, while building tdesktop, I get this error 
(https://paste.debian.net/plain/1180757).


New diff file is attached with this email, which is to be applied on top 
off master (efa773f94a18b40f2c63795f364ae87dade76f60).


Any ideas on how to rectify this error?

Regards,
RG.
diff --git a/gnu/local.mk b/gnu/local.mk
index 1151d4642e..788f1d736e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -534,6 +534,7 @@ GNU_SYSTEM_MODULES =\
   %D%/packages/task-management.scm		\
   %D%/packages/tbb.scm\
   %D%/packages/tcl.scm\
+  %D%/packages/telegram.scm \
   %D%/packages/telephony.scm			\
   %D%/packages/terminals.scm			\
   %D%/packages/terraform.scm			\
@@ -1124,6 +1125,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/grub-efi-fat-serial-number.patch		\
   %D%/packages/patches/grub-setup-root.patch			\
   %D%/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch \
+  %D%/packages/patches/gsl-gtest.patch\
   %D%/packages/patches/gspell-dash-test.patch			\
   %D%/packages/patches/guile-1.8-cpp-4.5.patch			\
   %D%/packages/patches/guile-2.2-skip-oom-test.patch\
@@ -1288,8 +1290,7 @@ dist_patch_DATA =		\
   %D%/packages/patches/libqalculate-3.8.0-libcurl-ssl-fix.patch	\
   %D%/packages/patches/libquicktime-ffmpeg.patch 		\
   %D%/packages/patches/libtar-CVE-2013-4420.patch 		\
-  %D%/packages/patches/libtgvoip-disable-sse2.patch 		\
-  %D%/packages/patches/libtgvoip-disable-webrtc.patch 		\
+  %D%/packages/patches/libtgvoip-pkgconfig.patch \
   %D%/packages/patches/libtheora-config-guess.patch		\
   %D%/packages/patches/libtirpc-hurd.patch			\
   %D%/packages/patches/libtirpc-hurd-client.patch		\
diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 56b32792fe..ab74650066 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -31,6 +31,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix utils)
   #:use-module (guix deprecation)
   #:use-module (guix build-system gnu)
@@ -43,6 +44,7 @@
   #:use-module (gnu packages curl)
   #:use-module (gnu packages file)
   #:use-module (gnu packages hurd)
+  #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages serialization)
@@ -52,6 +54,33 @@
   #:use-module (ice-9 match)
   #:use-module (srfi srfi-1))
 
+(define-public cmake-shared
+  (package
+(name "cmake-shared")
+(version "1.1.0")
+(source
+ (origin
+   (method git-fetch)
+   (uri
+(git-reference
+ (url "https://github.com/lirios/cmake-shared.git";)
+ (commit
+  (string-append "v" version
+   (file-name
+(git-file-name name version))
+   (sha256
+(base32 "1srd3jmlalf0szgyp88ymhbnwds4qiywmf8lq1pif9g8irjjhdry"
+(build-system cmake-build-system)
+(arguments
+ `(#:tests? #f)); No target
+(native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+(synopsis "Shared CMake functions and macros")
+(description "CMake-Shared are shared functions and macros for projects
+using the CMake build system.")
+(home-page "https://github.com/lirios/cmake-shared/";)
+(license license:bsd-3)))
+
 ;;; Build phases shared between 'cmake-bootstrap' and the later variants
 ;;; that use cmake-build-system.
 (define %common-build-phases
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 45d3faeafb..4295e6cc3d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -39,16 +39,19 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages c)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages code)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
+  #:use-module (gnu packages documentation)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libunwind)
@@ -63,6 +66,96 @@
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web))
 
+(define-public rlottie
+  (package
+(name "rlottie")
+(version "0.2")
+(source
+ (origin
+   (method git-fetch)
+   (uri
+(git-reference
+ (url "https://github.com/Samsung/rlottie.git";)
+ (commit
+  (string-append "v" version
+   (file-name
+(git-file-name name version))
+   (sha256
+(base32 "10bxr1zf9wxl55d4cw2j02r6sgqln7mbxplhhfvhw0z92fi40kr3