Staging freeze!

2020-05-22 Thread Marius Bakke
Guix,

The 'staging' branch has seen plenty of changes recently and is now
"frozen".

Changes in the current iteration include Mesa 20.0.7, Rust 1.39 as the
default Rust compiler, Qt 5.14.2, KDE Frameworks 5.70, updates and
overhaul of all Vulkan packages, and lots of other minor changes.

Testers wanted!


signature.asc
Description: PGP signature


Re: Updating the “pre-push” Git hook

2020-05-22 Thread Leo Famulari
On Fri, May 22, 2020 at 10:44:48PM +0200, Ludovic Courtès wrote:
> Hello Guix!
> 
> I think we should change our pre-push hook as shown below.
> 
> Thoughts?

Is it fast? :)



Updating the “pre-push” Git hook

2020-05-22 Thread Ludovic Courtès
Hello Guix!

I think we should change our pre-push hook as shown below.

Thoughts?

Thanks,
Ludo’.

diff --git a/etc/git/pre-push b/etc/git/pre-push
index 9206a2dfe5..415345fc75 100755
--- a/etc/git/pre-push
+++ b/etc/git/pre-push
@@ -1,7 +1,8 @@
 #!/bin/sh
 
 # This hook script prevents the user from pushing to Savannah if any of the new
-# commits' OpenPGP signatures cannot be verified.
+# commits' OpenPGP signatures cannot be verified, or if a commit is signed
+# with an unauthorized key.
 
 # Called by "git push" after it has checked the remote status, but before
 # anything has been pushed.  If this script exits with a non-zero status nothing
@@ -19,51 +20,13 @@
 #
 #  
 
-z40=
-
 # Only use the hook when pushing to Savannah.
 case "$2" in
-*git.sv.gnu.org*)
-	break
+*.gnu.org*)
+	exec make authenticate check-channel-news
+	exit 127
 	;;
-*)
+*)
 	exit 0
 	;;
 esac
-
-while read local_ref local_sha remote_ref remote_sha
-do
-	if [ "$local_sha" = $z40 ]
-	then
-		# Handle delete
-		:
-	else
-		if [ "$remote_sha" = $z40 ]
-		then
-			# We are pushing a new branch. To prevent wasting too
-			# much time for this relatively rare case, we examine
-			# all commits since the first signed commit, rather than
-			# the full history. This check *will* fail, and the user
-			# will need to temporarily disable the hook to push the
-			# new branch.
-			range="e3d0fcbf7e55e8cbe8d0a1c5a24d73f341d7243b..$local_sha"
-		else
-			# Update to existing branch, examine new commits
-			range="$remote_sha..$local_sha"
-		fi
-
-		# Verify the signatures of all commits being pushed.
-		ret=0
-		for commit in $(git rev-list $range)
-		do
-			if ! git verify-commit $commit >/dev/null 2>&1
-			then
-printf "%s failed signature check\n" $commit
-ret=1
-			fi
-		done
-		exit $ret
-	fi
-done
-
-exit 0


Re: Release Guix 1.1.1?

2020-05-22 Thread Mathieu Othacehe


Hello Marius,

> What do y'all think about targeting a 1.1.1 release a few weeks from
> now?
>
> Any milestones we should try to complete before an eventual release?

This seems like a very good idea. It would be good if this release could
include:

* A new shepherd release fixing this bug[1].

* A Cuirass update allowing to download disk-images built on top of
  master[2].

I plan to work on the second point next week.

Thanks,

Mathieu

[1]: https://issues.guix.gnu.org/40981.
[2]: https://lists.gnu.org/archive/html/guix-patches/2020-05/msg1.html



Re: Jami bug investigation #2

2020-05-22 Thread Jan
On Fri, 22 May 2020 11:07:34 +0200
Pierre Neidhardt  wrote:

> Please share the recipe, this will help :)
> 

Okay, here it is
https://gitlab.com/kromka_chleba/jami-package-and-other-things-for-guix/-/commits/wip-jami-from-git/
or just clone it from
https://gitlab.com/kromka_chleba/jami-package-and-other-things-for-guix.git
and go to the "wip-jami-from-git" branch.

Thanks for checking it.


Jan Wielkiewicz



Re: Jami bug investigation #2

2020-05-22 Thread Jan
On Fri, 22 May 2020 11:07:34 +0200
Pierre Neidhardt  wrote:

> When do you apply patches?
> If in (source ...), those patches are possibly applied before you make
> the repository writable.
The patches are applied by the jami-apply-dependency-patches procedure
which is used in the modify-phases field. I even make sure the phases
run in order by using "add-after 'unpack 'make-git-checkout-writable"
and then "add-after 'make-git-checkout-writable 'apply-patches".

> Please share the recipe, this will help :)
> 

I'll post the code in my repo later this day - the change allowing Jami
to be built from git is 5 fat commits already.



Jan Wielkiewicz



Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-22 Thread Raghav Gururajan
Hello Guix!

The work chart for GNOME will be
https://calc.disroot.org/2nu6mpf88ynq.html

I am in the process of updating it. I have also packaged some missing
packages, which I attached them with this email. They will be reviewed
and merged by Danny.

There will be a dedicated branch created on guix's git for this project.
Most probably, the branch name will be wip-desktop.

Regards,
RG.
From 1032894b14ca67079365f8749206158629fe8cca Mon Sep 17 00:00:00 2001
From: Raghav Gururajan 
Date: Thu, 21 May 2020 05:26:27 -0400
Subject: [PATCH 1/6] gnu: Add krb5-auth-dialog.

* gnu/packages/gnome.scm (krb5-auth-dialog): New variable.
---
 gnu/packages/gnome.scm | 33 +
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 092f9fcb00..9c329e1a33 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -253,6 +253,39 @@ Desktop.  It is designed to be as simple as possible and has some unique
 features to enable users to create their discs easily and quickly.")
 (license license:gpl2+)))
 
+(define-public krb5-auth-dialog
+  (package
+(name "krb5-auth-dialog")
+(version "3.26.1")
+(source
+ (origin
+   (method url-fetch)
+   (uri
+(string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "1w91gsvmifqhiam3xqf88i5rk2w6qadjalmbvvamjdc37j0vdc6x"
+(build-system glib-or-gtk-build-system)
+(native-inputs
+ `(("intltool" ,intltool)
+   ("itstool" ,itstool)
+   ("libxml2" ,libxml2)
+   ("pkg-config" ,pkg-config)
+   ("python-wrapper" ,python-wrapper)))
+(inputs
+ `(("glib" ,glib)
+   ("gtk+" ,gtk+)
+   ("libnotify" ,libnotify)
+   ("mit-krb5" ,mit-krb5)
+   ("network-manager" ,network-manager)))
+(synopsis "Popup dialogs for krb5")
+(description "krb5-auth-dialog is a simple dialog that monitors Kerberos
+tickets, and pops up a dialog when they are about to expire.")
+(home-page "https://gitlab.gnome.org/GNOME/krb5-auth-dialog;)
+(license license:gpl2+)))
+
 (define-public notification-daemon
   (package
 (name "notification-daemon")
-- 
2.26.2

From b9c62cf4a650d4f39ba8eb0dae04c71d1b65 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan 
Date: Thu, 21 May 2020 07:20:47 -0400
Subject: [PATCH 2/6] gnu: Add tepl.

* gnu/packages/gnome.scm (tepl): New variable.
---
 gnu/packages/gnome.scm | 33 +
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9c329e1a33..3dcd45fb43 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -253,6 +253,39 @@ Desktop.  It is designed to be as simple as possible and has some unique
 features to enable users to create their discs easily and quickly.")
 (license license:gpl2+)))
 
+(define-public tepl
+  (package
+(name "tepl")
+(version "4.4.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri
+(string-append "mirror://gnome/sources/" name "/"
+   (version-major+minor version) "/"
+   name "-" version ".tar.xz"))
+   (sha256
+(base32
+ "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"
+(build-system glib-or-gtk-build-system)
+(arguments
+ `(#:tests? #f)); FIX-ME: Requires gvfs
+(native-inputs
+ `(("gobject-introspection" ,gobject-introspection)
+   ("pkg-config" ,pkg-config)))
+(inputs
+ `(("amtk" ,amtk)
+   ("glib" ,glib)
+   ("gtk+" ,gtk+)
+   ("gtksourceview" ,gtksourceview)
+   ("libxml2" ,libxml2)
+   ("uchardet" ,uchardet)))
+(synopsis "Text editor product line")
+(description "Tepl is a library that eases the development of
+GtkSourceView-based text editors and IDEs.")
+(home-page "https://wiki.gnome.org/Projects/Tepl;)
+(license license:lgpl2.1+)))
+
 (define-public krb5-auth-dialog
   (package
 (name "krb5-auth-dialog")
-- 
2.26.2

From df250f5ca0cc957549147e00d9e57ca521e5e1c4 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan 
Date: Thu, 21 May 2020 11:31:31 -0400
Subject: [PATCH 3/6] gnu: Add libglib-testing.

* gnu/packages/freedesktop.scm (libglib-testing): New variable.
---
 gnu/packages/freedesktop.scm | 43 
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index f00cb1e076..36d0db4fc1 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -77,6 +77,7 @@
   #:use-module (gnu packages man)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages nss)
+  #:use-module (gnu packages package-management)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
   #:use-module (gnu packages pkg-config)
@@ -94,6 +95,48 @@

Re: [OUTREACHY]: Integration of desktop environments into GNU Guix

2020-05-22 Thread Raghav Gururajan
Hello Efraim!

> Congrats again! As the unofficial Enlightenment maintainer I'm happy to
> work with you and to try to not grumble too much about changes.

Thank you! I am happy to work with you too. :-)

> I currently have efl-1.24.1 and enlightenment-0.24 sitting in a separate
> branch waiting for our heatwave to break so I can go back to my normal
> machine and test them out in person. In addition, I have a couple of EFL
> apps which I haven't pushed to Guix yet. Some of them I haven't gotten
> around to, some of them need more work. I've also previously tracked
> down some of the Moksha apps (enlightenment 0.17 fork) for consideration
> for packaging.

That's nice. We can work together to merge our works. Anyway, we have
some time to get there.

> I see Enlightenment is 4 of 4 in the desktop list and I certainly won't
> be offended if it receives less attention than the other desktop
> environments and services. It has fewer moving parts than the others.

I ordered the DE's based on shared dependencies. I personally like EFL.
It seems to be better in performance than gtk+ and qt. I am trying to
give my best to all the mentioned DE's. :-)

Regards,
RG.