[GSoC 2020] [Proposal draft #1] Clojars importer for Guix

2020-03-26 Thread Leandro Doctors
Dear all, Below, I share my second draft. 1. Overview: still needs to be completed with material from the unfinished sections. 2. Problem Statement: fully developed, only need to add some data (you will note [the placeholders]) 3. Solution Overview: this is definitely the less developed section

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread John Soo
Hi Ricardo! I love the idea of a smoother download/review process. I think I would be happier with a curl-able endpoint to download patches from. I think it might compose with other tools a little more smoothly. Other than that, nothing really comes to my mind. I only just started using it more f

Re: Use genimage for disk-image creation.

2020-03-26 Thread Danny Milosavljevic
Hi Mathieu, from the standpoint of ARM it would be really good to be able to reuse genimage config files from buildroot. In fact, partition layout is a major pain in the ass to get right on ARM. If we want to support a large number of ARM platforms, that would mean the partitioning would be fixed

Re: Linphone

2020-03-26 Thread Raghav Gururajan
So I was able to fix all the "Qt[...].cmake not found error by adding required inputs. But during build I get lot of errors related to Qt. I am not able to understand what those are. BUILD LOG: https://bin.disroot.org/?79c1cc2131f7235f#HHS3xWeLCKd98L1fqZB6xEwnkPQWqyJXpoemhwppzRNV NEW DIFF: ht

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Christopher Baines
Ricardo Wurmus writes: > I want issues.guix.gnu.org to become more useful for all of us. It’s > easy to get lost in a deluge of bug reports and patch submissions, so > our tools should allow us to stay afloat. > > Do you use issues.guix.gnu.org? If you aren’t: what workflow do you > have to re

Re: Experiment in generating multi-layer Docker images with guix pack

2020-03-26 Thread Christopher Baines
Ludovic Courtès writes: > Christopher Baines skribis: > >> I think it could be useful to support multiple different strategies for >> generating layers for Docker images, with different trade-offs. This approach >> using two layers should make the resulting images more efficient to use in >> t

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > I don't know. It sounds like the versions of the linphone modules are not > compatible. > Please ask upstream about it (for example file a bug report with them). It appears half of the errors were related to C++ standard. When I used ("gcc" ,gcc-5) as native-inputs, the number of er

Re: Linphone

2020-03-26 Thread Danny Milosavljevic
Hi Raghav, > So I was able to fix all the "Qt[...].cmake not found error by adding > required inputs. But during build I get lot of errors related to Qt. I am not > able to understand what those are. They all contain some king of flags. I don't know. It sounds like the versions of the linphone

Re: automake-1.16.2

2020-03-26 Thread Leo Famulari
On Thu, Mar 26, 2020 at 08:06:44PM +0100, Marius Bakke wrote: > Vincent Legoll writes: > > For the tests they will be native-inputs, so only increase dependencies > > for building, is that a problem ? I would have thought that test coverage > > is more important (especially on such important packa

Re: automake-1.16.2

2020-03-26 Thread Marius Bakke
Vincent Legoll writes: >> We’d probably have to decide on a case by case basis which additional >> dependencies we’d like to add, given that Automake has a lot of >> dependents. > > For the tests they will be native-inputs, so only increase dependencies > for building, is that a problem ? I would

Re: Linphone

2020-03-26 Thread Raghav Gururajan
So I was able to fix all the "Qt[...].cmake not found error by adding required inputs. But during build I get lot of errors related to Qt. I am not able to understand what those are. They all contain some king of flags. Here is a new of my project. https://bin.disroot.org/?5c92968202a11fe5#5Tro

Re: kmscon not working on MacBook

2020-03-26 Thread pelzflorian (Florian Pelz)
On Thu, Mar 26, 2020 at 03:26:05AM +0100, Bengt Richter wrote: > On +2020-03-26 00:00:18 +0100, pelzflorian (Florian Pelz) wrote: > > on one of my computers uvesafb can only be used after „chmmod o+rw > > /dev/fb0“ which is a security issue, I suppose. > > > > Are you a member of the video group?

Re: automake-1.16.2

2020-03-26 Thread Vincent Legoll
On Thu, Mar 26, 2020 at 3:07 PM Ludovic Courtès wrote: > > Trying to update automake to the latest, I'm seeing lots > > of skipped tests because of missing native-inputs, would > > it be OK toadd those to enable more tests to be run ? > > I hadn’t seen your message and added Automake 1.16.2 in com

Re: Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
Hello Danny, Sorry for the empty email; cancel and send buttons were too close for me... On 2020-03-26 15:13, Danny Milosavljevic wrote: Hi Brice, On Thu, 26 Mar 2020 14:34:03 + Brice Waegeneire wrote: First I was expecting the packages in `kernel-loadable-modules' to use the `kernel' f

Re: Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
On 2020-03-26 15:13, Danny Milosavljevic wrote: Hi Brice, On Thu, 26 Mar 2020 14:34:03 + Brice Waegeneire wrote: First I was expecting the packages in `kernel-loadable-modules' to use the `kernel' field as their kernel input or to have a simple procedure to do so. Otherwise you get a “Sp

Re: Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Danny Milosavljevic
Hi Brice, On Thu, 26 Mar 2020 14:34:03 + Brice Waegeneire wrote: > First I was expecting the packages in `kernel-loadable-modules' to use > the > `kernel' field as their kernel input or to have a simple procedure to do > so. Otherwise you get a “Specified Linux kernel and Linux kernel modul

Enhancing `modify-services' to support name in addition to type

2020-03-26 Thread Brice Waegeneire
Hello, I was thinking of improving `modify-services' by adding the ability to specify a service to modify based on it's name and not just it's type. This would allow us to modify singleton services like the ones returned by `simple-service'. I'm not sure if that's a good idea, that's why I pre

Re: Use genimage for disk-image creation.

2020-03-26 Thread Vincent Legoll
> I’m completely sold to the idea. :-) Yep, LGTM too > Apparently ‘genimage’ supports many file systems, including ext[234] and > ISO9660, which are the two formats we support via ‘--file-system-type’. > It does not support Btrfs, but ‘guix system disk-image’ doesn’t support > it either so far.

Re: Hi, I was able to do basic build and install of XChat IRC Client

2020-03-26 Thread R Veera Kumar
On Wed, Mar 25, 2020 at 10:09:27PM -0500, LaFreniere, Joseph wrote: > > Veera writes: > > > I have successfully done a basic build and install of XChat IRC Client. > > From what I can tell [0], the latest commit to XChat was in 2011. Is this > the software you packaged, or did you perhaps inten

Issues and improvement for `kernel-loadable-modules'

2020-03-26 Thread Brice Waegeneire
Hello Guix, Thanks to Danny's work in[0] we have, since a few days, a way for packages to provide Linux modules in the system profile. I have been waiting for such a feature since I packaged `ddcci-driver-linux', which was kind of useless without it. Using the new field `kernel-loadable-modules

Re: Plan for a release!

2020-03-26 Thread Ludovic Courtès
Vincent Legoll skribis: > On Thu, Mar 26, 2020 at 12:55 PM Ludovic Courtès wrote: >> Another approach would be to do like ‘guix system vm’, which is to share >> the store with the host. But then we would need a way to be able to run >> a daemon in the guest and have its build results overlaid o

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > I tried > > (arguments > `(#:configure-flags > (list "-DENABLE_DBUS=YES" > "-DENABLE_UPDATE_CHECK=YES") > #:phases > (modify-phases %standard-phases > (add-after 'unpack 'patch > (lambda _ > (substitute* "CMakeLists.txt" > (("find_package[(]BcToolbox REQUIRED[)]") > "find_package(bcto

Re: Cannot build guix from git due to .po file errors

2020-03-26 Thread Ludovic Courtès
Hi Vagrant, Vagrant Cascadian skribis: > e...@boldquot.po:4591: format specifications in 'msgstr[0]' are not a > subset of those in 'msgid_plural' > /gnu/store/p50cw1g05g566bkbr6ylcibqffhha8w4-profile/bin/msgfmt: found 1 > fatal error What’s the message on that line? I haven’t hit the problem

Re: Use genimage for disk-image creation.

2020-03-26 Thread Ludovic Courtès
Hi Mathieu! Mathieu Othacehe skribis: > Let say I want to create a disk-image with one ext4 partition starting > at offset 10M. I can write the following genimage config file: > > image system { > hdimage {} > > partition rootfs { > partition-type = 0x83 >

Re: Linphone

2020-03-26 Thread Danny Milosavljevic
Hi Raghav, I tried (arguments `(#:configure-flags (list "-DENABLE_DBUS=YES" "-DENABLE_UPDATE_CHECK=YES") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch (lambda _ (substitute* "CMakeLists.txt"

Re: automake-1.16.2

2020-03-26 Thread Ludovic Courtès
Hi! Vincent Legoll skribis: > Trying to update automake to the latest, I'm seeing lots > of skipped tests because of missing native-inputs, would > it be OK toadd those to enable more tests to be run ? I hadn’t seen your message and added Automake 1.16.2 in commit 72a5cc53586080e75ae4ee80f3a246

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Ricardo! > Does bctoolbox install a pc file? bctoolbox source tarball does have bctoolbox.pc.in file. But adding pkg-config as native-inputs for linphone-desktop did not work. Should I be doing adding something else?

Re: Linphone

2020-03-26 Thread Ricardo Wurmus
Raghav Gururajan writes: > Hi Ricardo! > >> Please try adding pkg-config to the native-inputs. > > I tried it, but didn't work. > >> If this still doesn’t work check the output of bctoolbox: does it >> install a pkg-config file? If it does: does the file mention any >> libraries that must be

Re: Hi, I was able to do basic build and install of XChat IRC Client

2020-03-26 Thread LaFreniere, Joseph
Veera writes: I have successfully done a basic build and install of XChat IRC Client. From what I can tell [0], the latest commit to XChat was in 2011. Is this the software you packaged, or did you perhaps intend to refer to HexChat [1], a maintained fork? I had chat about this in #Gui

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > ... and I checked ./cmake/BcToolboxConfig.cmake.in in bctoolbox and that does > look okay. > > But they have a renamer in CMakeLists.txt and that checks > > set(EXPORT_TARGETS_NAME "bctoolbox") > > So probably you could specify that one. No idea why it exists and is different > fro

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Danny! > So I checked that directory and it indeed does not have that file. > > But it does have > /gnu/store/m92m6bg0xcl28djxg8h97sszf3gdl42r-bctoolbox-4.3.1/share/bctoolbox/cmake/bctoolboxConfig.cm > ke > -- note the different case of the name. Thanks so much for spotting this. > So I'd sa

Re: Plan for a release!

2020-03-26 Thread Vincent Legoll
On Thu, Mar 26, 2020 at 12:55 PM Ludovic Courtès wrote: > Another approach would be to do like ‘guix system vm’, which is to share > the store with the host. But then we would need a way to be able to run > a daemon in the guest and have its build results overlaid on top of the > host-provided st

Re: Linphone

2020-03-26 Thread Raghav Gururajan
Hi Ricardo! > Please try adding pkg-config to the native-inputs. I tried it, but didn't work. > If this still doesn’t work check the output of bctoolbox: does it > install a pkg-config file? If it does: does the file mention any > libraries that must be propagated? I believe the build script d

Re: Frequent locales problems for new users

2020-03-26 Thread Ludovic Courtès
Hi, Leo Famulari skribis: > On Sat, Mar 21, 2020 at 04:37:05PM +0100, Ludovic Courtès wrote: >> Thoughts? How do other distros deal with this? Are we missing some >> trick to compress locale data? > > I noticed that downloading glibc-locales, it's 10.8 MiB. On disk, the > store item is ~220 Mi

Re: Experiment in generating multi-layer Docker images with guix pack

2020-03-26 Thread Ludovic Courtès
Hello Chris, Christopher Baines skribis: > These patches are very rough, and not ready, but do at least work in some > limited capacity. I've been testing with the following commands: > > guix pack --format=docker guile@2.2.6 > guix pack --format=docker guile@2.2.7 > > With the previous Dock

Re: Plan for a release!

2020-03-26 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: >> Yes: you need to have ‘installation-os-for-gui-tests’ (or preferably a >> variant thereof) include all the services/packages needed for the target >> config. >> >> In the manual installation tests we use ‘define-os-with-source’ to both >> embed the target OS and

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Ricardo Wurmus
Vincent Legoll writes: > filtering by severity maybe be of use (low, easy for newcomers, etc.) This already works for all severities that Debbugs supports. For example: https://issues.guix.gnu.org/search?query=severity%3Aserious+is%3Aopen (28211 is included because of a bug: the issue h

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Vincent Legoll
filtering by severity maybe be of use (low, easy for newcomers, etc.) -- Vincent Legoll

Re: Use genimage for disk-image creation.

2020-03-26 Thread Efraim Flashner
On Thu, Mar 26, 2020 at 10:55:04AM +0100, Vincent Legoll wrote: > FYI, I'm investigating the test suite failures for the newer > releases of genimage (v11 (+1 FAIL) & v12 (+2 FAIL))... > > I think I'll report / PR them upstream before updating > guix's version, to avoid unnecessary churn. > I fo

Re: Use genimage for disk-image creation.

2020-03-26 Thread Vincent Legoll
FYI, I'm investigating the test suite failures for the newer releases of genimage (v11 (+1 FAIL) & v12 (+2 FAIL))... I think I'll report / PR them upstream before updating guix's version, to avoid unnecessary churn. -- Vincent Legoll

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Vincent Legoll
Looks like the "is:Done" bug is not a bug, but a case-sensitivity issue on my side... -- Vincent Legoll

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Vincent Legoll
Another idea: Detect applied patches (idependently of the Done issue status) because an issue may have more than one patch, or patch revisions, and all may not be applicable / applied, etc. -- Vincent Legoll

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Vincent Legoll
Hello, On Thu, Mar 26, 2020 at 9:49 AM Ricardo Wurmus wrote: > > Hello Guix! > > I want issues.guix.gnu.org to become more useful for all of us. Yes, that is a nice goal, I have a few ideas. > If you do use it: what features do you think are missing? * I'd like to have a way to reverse the ord

Re: Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Arun Isaac
> Personally, I’d wish for a more streamlined workflow to download and > apply patch sets. I don’t want to click on each “download” link in the > web interface. Instead I would like to run something like > > ./etc/review 12345 > > which would fetch the patches in issue 12345 and apply them t

Re: Outreachy Applicant - Guix Data Service

2020-03-26 Thread Christopher Baines
Christopher Baines writes: > Daniela Lura writes: >> In addition to that, I noticed that when I go to >> http://localhost:/revision/554f5b62805b900a9e4e320c800c13557b7e/system-tests >> I >> don't get any data in the name, description, location, derivation and >> build status fields ev

Brainstorming features for issues.guix.gnu.org

2020-03-26 Thread Ricardo Wurmus
Hello Guix! I want issues.guix.gnu.org to become more useful for all of us. It’s easy to get lost in a deluge of bug reports and patch submissions, so our tools should allow us to stay afloat. Do you use issues.guix.gnu.org? If you aren’t: what workflow do you have to review patch submissions?