Package for OpenCV4

2020-05-25 Thread Reza Alizadeh Majd
Hi, just started to prepare a packge for `qimgv` [1], but it has a dependency to OpenCV-4, and current available version of OpenCV in Guix repository is 3.4.3. just wanted to know, if there is a plan to upgrade OpenCV to version 4? since I had a try and it seems that OpenCV-4 needs more tasks

Re: best practise between git-fetch vs url-fetch?

2020-05-25 Thread Jack Hill
On May 25, 2020 5:17:02 PM EDT, "Ludovic Courtès" wrote: >Hi, > >Jack Hill skribis: > >> On Sun, 24 May 2020, Ludovic Courtès wrote: >> >> […] >> Another improvement we could make here is improving the message >about Software Heritage in guix lint. Most of the other messages it emits

Re: Should guix track package aliases?

2020-05-25 Thread Josh Marshall
For gadl, it was that the gal website hosting it went down. With regards to pre-commit hooks, just to make sure each commit message conforms to what is expected and is best practice for PRs and commits for the project. On Mon, May 25, 2020, 19:15 zimoun wrote: > Dear Josh, > > On Tue, 26 May

Re: Should guix track package aliases?

2020-05-25 Thread zimoun
Dear Josh, On Tue, 26 May 2020 at 00:31, Josh Marshall wrote: > I could fix up some of the new homepages. We've already seen some Gnu > related package losses like gdal. I think SWH adoption for packages may want > to be moved from as packages are added to as packages are updated -- just to

Re: Jami bug investigation #2

2020-05-25 Thread Jan
Okay, so I fixed the patching problem using "--ignore-whitespace". Jan Wielkiewicz

Re: Should guix track package aliases?

2020-05-25 Thread Josh Marshall
I could fix up some of the new homepages. We've already seen some Gnu related package losses like gdal. I think SWH adoption for packages may want to be moved from as packages are added to as packages are updated -- just to have a regular, low overhead, but still slow move to SWH. On Mon, May

Re: Providing a Guix System images catalog.

2020-05-25 Thread Ludovic Courtès
Hi, Jan Nieuwenhuizen skribis: > Mathieu Othacehe writes: > > Hello Mathieu, > >> To build a Guix System image, one needs to pick an operating system file >> and call "guix system disk-image my-os.scm" to get an image. >> >> While this works fine on desktop, this is more tricky for the embedded

Re: Updating the “pre-push” Git hook

2020-05-25 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > Ludovic Courtès writes: > >> Could you try: >> >> mv ~/.cache/guix/authentication/channels/guix{,.bak} >> time make authenticate >> mv ~/.cache/guix/authentication/channels/guix{.bak,} >> >> ? > > real 0m49.496s > user 0m43.733s > sys 0m1.658s Same

Re: Should guix track package aliases?

2020-05-25 Thread Vincent Legoll
Hello, On 25/05/2020 16:20, Josh Marshall wrote: Checking out repology.org/repository/gnuguix , it got picked up and guix looks like it is in much better shape. Yay, but we're still far from the front page's top repositories... But, to celebrate our

Re: Updating the “pre-push” Git hook

2020-05-25 Thread Ludovic Courtès
Hi! Vagrant Cascadian skribis: > On 2020-05-24, Ludovic Courtès wrote: >> Efraim Flashner skribis: >>> 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? > ... >>>

Re: Updating the “pre-push” Git hook

2020-05-25 Thread Ludovic Courtès
Efraim Flashner skribis: > I'd probably run 'guix environment guix -- git push origin master' and > view it as an additional safe guard to not push to the wrong branch or > something, similar to how I view the password on the key. I bet there's > an option to create a repo-specific alias in

Re: Can we increase the print width/column in daemon backtraces

2020-05-25 Thread Ludovic Courtès
Hi, Pierre Neidhardt skribis: > The COLUMN environment option (set in root's .bash_profile) does not > extend the print width of backtraces when running `guix build`. I understand, but which backtraces are we talking about? COLUMNS only helps if you wish to debug ‘guix build’ itself. It

Re: “guix --help” should point to https://guix.gnu.org/help/

2020-05-25 Thread Ludovic Courtès
Hi, zimoun skribis: > On Sun, 24 May 2020 at 23:10, Ludovic Courtès wrote: > >> This is harsh, maybe unnecessarily so, but still a very valid criticism >> of that page. I guess that page was created with good intentions, but >> it’s pretty much useless indeed. :-/ > > I am sorry if I have

Re: MIPS support

2020-05-25 Thread Ludovic Courtès
Hi, Efraim Flashner skribis: > Here's a first draft at removing mips64el-linux support from the > documentation. I've left it as a supported system in (gnu ci), in (guix > packages) and in the tests. I changed the text where we mention that we > support mips64el-linux as an architecture, and

Re: best practise between git-fetch vs url-fetch?

2020-05-25 Thread Ludovic Courtès
Hi, Jack Hill skribis: > On Sun, 24 May 2020, Ludovic Courtès wrote: > > […] > >>> Another improvement we could make here is improving the message about >>> Software Heritage in guix lint. Most of the other messages it emits >>> are things that the author of a package should consider improving.

Re: Providing a Guix System images catalog.

2020-05-25 Thread Jan Nieuwenhuizen
Mathieu Othacehe writes: Hello Mathieu, > To build a Guix System image, one needs to pick an operating system file > and call "guix system disk-image my-os.scm" to get an image. > > While this works fine on desktop, this is more tricky for the embedded > devices. Which operating system to select

Re: Updating the “pre-push” Git hook

2020-05-25 Thread Vagrant Cascadian
On 2020-05-24, Ludovic Courtès wrote: > Efraim Flashner skribis: >> 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? ... >> (ins)efraim@E5400 ~$ type -P make >> (ins)efraim@E5400

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

2020-05-25 Thread Danny Milosavljevic
Also, gnome-photos doesn't set PYTHONPATH, so it won't be able to use pygobject, right? Pushed both gnome-music and gnome-photos to wip-desktop regardless. pgpPafT_gCICy.pgp Description: OpenPGP digital signature

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

2020-05-25 Thread Danny Milosavljevic
Pushed all those to wip-desktop branch. pgpsopO9SnwLe.pgp Description: OpenPGP digital signature

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

2020-05-25 Thread Danny Milosavljevic
Hi Raghav, in malcontent, please don't do + (substitute* "libmalcontent/tests/app-filter.c" + (((string-append "g_test_add_func \\(\"/app-filter/appinfo\"," +" test_app_filter_appinfo\\);")) "")) Rather do it without string-append. If

Re: Heads-up: hard reset of the 'staging' branch

2020-05-25 Thread Marius Bakke
Marius Bakke writes: > I have pushed a 'staging2' branch where I did the following: > > 1) git rebase -i --rebase-merges 8229ce3116c1f522c7157ab2dcd50dc2d765686a~ > > 2) Moved 8229ce3116c1f522c7157ab2dcd50dc2d765686a after > f00270d35a6ca814903a9392caedc29d44959088 (the first merge that

Heads-up: hard reset of the 'staging' branch

2020-05-25 Thread Marius Bakke
Guix, I have good news and bad news. The good news is that the new commit verification infrastructure works great. 'make authenticate' will verify that all commits were signed by a key that was authorized by .guix-authorizations at that point in time. The bad news is that we need to ensure

Re: Can we increase the print width/column in daemon backtraces

2020-05-25 Thread Marius Bakke
Pierre Neidhardt writes: > Ludovic Courtès writes: > >> Users are not supposed to see backtraces coming from the daemon or its >> helpers (‘guix substitute’, ‘guix offload’, etc.). > > How are we supposed to debug Guix daemon errors? You can run it directly from a shell, and/or attach a

Providing a Guix System images catalog.

2020-05-25 Thread Mathieu Othacehe
Hello, To build a Guix System image, one needs to pick an operating system file and call "guix system disk-image my-os.scm" to get an image. While this works fine on desktop, this is more tricky for the embedded devices. Which operating system to select in "examples" folder? What's the

[PATCH] Begin tuning db-get-builds for performance

2020-05-25 Thread Christopher Baines
Now that I actually have some experience using SQLite from writing the Guix Build Coordinator, I can actually see potential ways to improve bits of Cuirass. The intention here is to start to address the performance of db-get-builds, which I think can be quite slow. This commit does several

Re: Should guix track package aliases?

2020-05-25 Thread Josh Marshall
Checking out repology.org/repository/gnuguix , it got picked up and guix looks like it is in much better shape. On Mon, May 25, 2020, 08:04 Nicolò Balzarotti wrote: > > Hello everybody, > It has been fixed today > https://issues.guix.gnu.org/issue/37207 > > Repology data is now updated > >

Re: [PATCH] cuirass: Perform some database "optimization" at startup.

2020-05-25 Thread Christopher Baines
Danny Milosavljevic writes: > the docs at https://www.sqlite.org/pragma.html#pragma_optimize suggest to run > "PRAGMA optimize" at the end of the connection, or periodically--not at the > beginning. > > That makes sense since it has to be able to see which queries are emitted > in order to know

Re: Should guix track package aliases?

2020-05-25 Thread Nicolò Balzarotti
Hello everybody, It has been fixed today https://issues.guix.gnu.org/issue/37207 Repology data is now updated Nicolò Josh Marshall writes: > Hi Zimoun, > > The HTTP headers of the page indicate that the file hasn't changed since > 1970. This is a bug. That incorrect date breaks

Re: Should guix track package aliases?

2020-05-25 Thread Josh Marshall
Hi Zimoun, The HTTP headers of the page indicate that the file hasn't changed since 1970. This is a bug. That incorrect date breaks repology.org trying to track guix packages. On Mon, May 25, 2020, 06:42 zimoun wrote: > Dear Josh, > > On Sun, 24 May 2020 at 21:26, Josh Marshall > wrote: > >

Re: Can we increase the print width/column in daemon backtraces

2020-05-25 Thread Pierre Neidhardt
Ludovic Courtès writes: > Users are not supposed to see backtraces coming from the daemon or its > helpers (‘guix substitute’, ‘guix offload’, etc.). How are we supposed to debug Guix daemon errors? -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: Can we increase the print width/column in daemon backtraces

2020-05-25 Thread Pierre Neidhardt
Tobias Geerinckx-Rice writes: > Nor should it[0]. What you describe sounds like a convenient bug > being fixed(?). Was this on Guix System or a foreign > distribution? Guix System. -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: [PATCH] cuirass: Perform some database "optimization" at startup.

2020-05-25 Thread Danny Milosavljevic
Hi Chris, the docs at https://www.sqlite.org/pragma.html#pragma_optimize suggest to run "PRAGMA optimize" at the end of the connection, or periodically--not at the beginning. That makes sense since it has to be able to see which queries are emitted in order to know what to optimize. Also, docs

Re: Should guix track package aliases?

2020-05-25 Thread zimoun
Dear Josh, On Sun, 24 May 2020 at 21:26, Josh Marshall wrote: > > Checking http://guix.gnu.org/packages.json again, it seems like the > server changes to not misrepresent dates have not been applied yet. > Can someone get in and do that? I am not sure to understand what you mean and what you

[PATCH] cuirass: Perform some database "optimization" at startup.

2020-05-25 Thread Christopher Baines
Add a "optimize" step that occurs when starting up the main Curiass process. Currently this does two things, but could be extended to do more. The "PRAGMA optimize;" command prompts SQLite to ANALYZE tables where that might help. The "PRAGMA wal_checkpoint(TRUNCATE);" command has SQLite process

Re: Exact same 'call-with-temporary-directory' defined twice?

2020-05-25 Thread zimoun
Hi Ludo, On Sun, 24 May 2020 at 22:59, Ludovic Courtès wrote: > Regarding (1): a statically-linked Guile cannot call ‘dynamic-link’ to > access libc symbols, so it cannot use FFI bindings to libc such as those > in (guix build syscalls). Thank you for the explanations. It helps. :-) Cheers,

Re: Can we increase the print width/column in daemon backtraces

2020-05-25 Thread Tobias Geerinckx-Rice
Hullo, Ludovic Courtès 写道: Users are not supposed to see backtraces coming from the daemon or its helpers (‘guix substitute’, ‘guix offload’, etc.). Put that in the EULA then, because those naughty users insist on doing so regularly :-) It's not clear what you're arguing for. Pierre

Re: Updating the “pre-push” Git hook

2020-05-25 Thread Ricardo Wurmus
Ludovic Courtès writes: > Could you try: > > mv ~/.cache/guix/authentication/channels/guix{,.bak} > time make authenticate > mv ~/.cache/guix/authentication/channels/guix{.bak,} > > ? real0m49.496s user0m43.733s sys 0m1.658s And then running it again:

Re: MIPS support

2020-05-25 Thread Efraim Flashner
Here's a first draft at removing mips64el-linux support from the documentation. I've left it as a supported system in (gnu ci), in (guix packages) and in the tests. I changed the text where we mention that we support mips64el-linux as an architecture, and elsewhere in the manual I've either

Re: “guix --help” should point to https://guix.gnu.org/help/

2020-05-25 Thread zimoun
Hi Ludo, On Sun, 24 May 2020 at 23:10, Ludovic Courtès wrote: > This is harsh, maybe unnecessarily so, but still a very valid criticism > of that page. I guess that page was created with good intentions, but > it’s pretty much useless indeed. :-/ I am sorry if I have been harsh and if I have

Re: “guix --help” should point to https://guix.gnu.org/help/

2020-05-25 Thread Efraim Flashner
On Sun, May 24, 2020 at 11:10:36PM +0200, Ludovic Courtès wrote: > Hi, > > zimoun skribis: > > > On Fri, 15 May 2020 at 12:20, Ricardo Wurmus wrote: > > > >> General help using GNU software: > > > > I have never read this. It is not welcoming for newcomers,