***drewc_ is now known as drewc
<Jookia>So I hosted a Mumble server + game of freedoom with a friend and it worked fine <Jookia>davexunit: you may interested in that ^ (played a game of freedoom using mumble on guix as both client and server), it's not packaged yet but it's usable ***vasile_ is now known as vasile
<lfam>Thanks to whoever convinced GNOME to not ask for root's password when changing the backlight <rekado>sneek later tell fps I'm currently working on packaging beast and rapicorn. <rekado>upstream finally got rid of the bundled copy of librsvg, so packaging rapicorn got a lot easier. <rekado>only the documentation fails to build right now. <rekado>I think I can prepare a patch by the end of this week. <efraim>now I have to get the hang of using it <iyzsong>dose some thing wrong with our hydra? no job is running.. <iyzsong>ok, last evalution is from 4.10 'gnu:master', I guess it's fine. but 'gnome-updates' haven't start since 4.9, it get 'timeout' :( <ng0>gentoo work almost done, I may be able to pickup guix this week again <ng0>that was one awful weekend of compiling and fixing <phant0mas> (("#!/bin/sh") (string-append "#!" (which "sh")))) <krl>trying to decide if i should try out nix or guix, what is the difference in maturity etc? <taylan>krl: Nix is on version 1.11, and NixOS on 16.03. Guix and GuixSD are on version 0.10.0. Guix is pretty stable already, but it might miss some features you want/need. <krl>i really do like the free software only policy <catonano>@krl also, guix is integrated with emacs, you have a sort of emacs based dashboard. AND you deal with it in scheme rather than in the nix language. Overall it's more usable. To me that's a huge bonus. But admittedly I don't do anything serious, I don't deploy anything anywhere, I'm just getting my feet wet <krl>oh, that's pretty rad, didn't know it had emacs bindings <phant0mas>wait, we first need to make sure it works with avr-libc <davexunit>phant0mas: yeah I have some firmware to build <davexunit>my controller project has enough other issues <davexunit>I've tried and failed many times to make an adapter for the ribbon cable <davexunit>I think the only way to do it right is to buy some copper clad board and some etching solution and actually print a board myself. <phant0mas>the chemicals to remove the extra copper are dangerous <davexunit>yes that makes me a bit hesitant to go this route <davexunit>but using copper tape clearly isn't cutting it. <phant0mas>well the copper board will certainly be more elegant <davexunit>configure: error: cannot compute suffix of object files: cannot compile <davexunit>avr-gcc does indeed have all 16 libgcc.a files now, though <rekado>not harmless, but at least you won't need to dispose of it at all (just top it up) <phant0mas>and someone at comments says it can create explosives if mixed <davexunit>need to do my research before trying either approach <davexunit>phant0mas: acetone peroxide is what terrorists build explosives from <phant0mas>I prefer staying away from things that include "unstable" and "explosive" in the same sentence <rekado>acetone is not used in the etchant. <davexunit>rekado: okay, I see that now as I read more of the steps <davexunit>I'd need some really safe containers to store this stuff in. <davexunit>rekado: thanks for this, though. it seems much better than the normal method. <davexunit>I certainly want to be conscious of the impacts of making a hazardous chemical, and greatly reducing waste in the first place is good. <davexunit>phant0mas: did you see the test program that failed to compile in avr-libc's config.log? <davexunit>I can reproduce the failure with 'guix environment' <davexunit>phant0mas: a search suggests that the build is using the wrong assembler <davexunit>the host system's assembler, and not the avr one. <davexunit>avr-libc compiled fine before this multilib fix <iyzsong>oops, someone have restart the 'gnome-updates' jobset (thanks!), but it still get the 'timeout' error :-( <davexunit>phant0mas: oops, my avr-libc fails even without the genmultilib patch <davexunit>I guess I should use modify-keyword-arguments or whatever <phant0mas>everything else is much more interesting than work.. <davexunit>rekado: the more I read this instructable, the more I feel it is the right way to go. <davexunit>is there any software in guix for designing circuit boards? <davexunit>or is there any software I should package for this purpose? <fps>hmm, how can i add a bootstrap step to the gnu-build-system? <sneek>Welcome back fps, you have 1 message. <sneek>fps, rekado says: I'm currently working on packaging beast and rapicorn. <fps>sneek: later tell rekado: ok <magnicida>I wonder if anyone else ever tried to install guix on macosx (I know, that's evil }:-) <davexunit>magnicida: the issue there would be porting the bootstrap binaries <davexunit>each new OS + processor architecture combination requires porting effort <magnicida>hmmm, could it not bootstrap from a local installation of gcc, bash and friends? <magnicida>I see, I was unaware that Guix bootstraps from a predefined set of binaries, I should go back and rtfm <davexunit>yes, there's a carefully selected set of binaries that are used, and they are identified by their sha256 hashes <davexunit>if you used any other bootstrap binaries, it would change the hashes of everything built with them <davexunit>effectively creating an entire new distribution, since our build farm wouldn't be able to provide binaries for any of the package builds. <magnicida>yeah, i was not considering reusing any binaries ofc <magnicida>just installing guix on mac, building everything from source <davexunit>this was under the assumption that we provided OSX binaries in the first place <davexunit>magnicida: it could be done. the manual documents how to compile the bootstrap binaries for a new platform. <davexunit>if you're really interested, you just might be able to get GNU hello to compile. <keverets>I'm curious to see the result... I'd like an alternative for the Mac users around here that are using homebrew <magnicida>I am very interested in using Guix for managing development dependencies and environments, I use GNU/Linux 99% of the time but there is this piece of software that I need to build on a Mac and it would be great to translate the Guix workflow there <davexunit>keverets: Nix can be used instead of Homebrew. <magnicida>since it's only about dev environment, the Linux related parts of Guix or binaries are not so important <davexunit>magnicida: the other important part of porting is discovering assumptions that were made about what the host OS supports. ;) <magnicida>I'm trying now ./configure --with-courage on Mac just to see what happens :/ <davexunit>it would be nice if Guix could be used, too. <rekado>davexunit I second the recommendation of geda-gaf and pck <rekado>they can also be extended with scheme <davexunit>pbc? doesn't look like we have a package for that <rekado>geda-gaf provides gschem, which you'd use for creating the schematics. Then use gschem2pcb (I think) to use with pcb. <davexunit>I might be able to save my crazy controller hacking project with this <Jookia>i've been following that project on gnu social, its interesting to hear about <davexunit>I just ordered some cheap copper clad boards from ebay <davexunit>I have access to a laser printer at my office for printing the pcb designs <davexunit>if I can get it all to work this will be quite the hack. though the reaction I expect from sharing it will be "what's the point?" <davexunit>rekado: I think that I might be able to make due with just pcb. the board itself will be very simple, but the contacts must be placed precisely in order to make the correct adapter. <fps>rekado: yo, how far have you got with beastbse/rapicorn? <fps>the 16.0.0 tarball of rapicorn from github doesn't have configure, so i try to run ./autogen.sh before 'configure <davexunit>fps: should be (zero? (system* "sh" "autogen.sh")) <rekado>fps: rapicorn fails to build its html docs. <rekado>I used a git checkout, first commit that removed librsvg <rekado>at that time there hadn't been a new release yet. <fps>configure.ac:524: error: possibly undefined macro: AC_PYTHON_DEVEL <rekado>needs autoconf-archive, which I already packaged. <rekado>I should send this and libpng12 to the MLL. <fps>i have done libpng12, too ;) but without inheriting libpng cause i was impatient <rekado>just needed to update the hash and version afair <fps>i also contacted the author, he might do a proper release tarball with ./configure soon <fps>rekado: yep, i just copied libpng over and changed the version ;) <davexunit>ACTION just noticed that the CSS for the manual is much improved <janneke>now if only web browsers would bind space bar and other keys like info does <davexunit>I think some people are working on an online info reader <janneke>i think html has concepts of <link prev/next/up> .. but those are not being used by documentation generators (texi2html) and not by browsers <taylan>whoops, manual is giving me 404 on many links <taylan>(I have some common gnu.org dir structure memorized so I typed it manually into my browser :P) <ng0>irc is not a whois client. <davexunit>mck: rekado is a robot designed to eliminate proprietary bioinformatics software ***joachifm is now known as Guest17526
<rekado>fps: html docs build now, but some tests fail for rapicorn. <rekado>"grep: support for the -P option is not compiled into this --disable-perl-regexp binary" <rekado>that's needed by the test suite. <kyamashita>Trying to package Red Eclipse, SDL_mixer.h isn't being found... <bavier>kyamashita: most likely the package doesn't use sdl_mixer's pkg-config file <Jookia>kyamashita: You need to use sdl-union <Jookia>kyamashita: If it uses cmake or sdl-config, you also need to patch that (I have a diff you can use) <davexunit>kyamashita: it's a combination of SDL and all its helper libraries <davexunit>into a file system tree that the sdl-config program is happy with <Jookia>But you need to patch sdl-config <davexunit>I've written several packages that use SDL without needing such a patch <davexunit>so try what's there first. if it doesn't work then we'll see if the patch will helps. <Jookia>do they use sdl-config to find SDL? <kyamashita>It seems like it. I'm seeing "sdl-config --libs" and "sdl-config --cflags". <kyamashita>It looks like "sdl-config --libs" provides the SDL libraries as arguments in the list. <davexunit>that's why I wrote sdl-union in the first place <janneke>/me sees: i686-w64-mingw32-ar: `u' modifier ignored since `D' is the default (see `U') <kyamashita>There's no sdl-union package though. What am I looking for? <davexunit>to use it in a module outside of (gnu packages sdl), use (@@ (gnu packages sdl) sdl-union) to refer to it <alezost>kyamashita: davexunit: it is exported and it is a procedure <alezost>kyamashita: look for example at 'manaplus' package <davexunit>alezost: ah, indeed. that has changed since I wrote it. <alezost>davexunit: yeah, actually I changed it in commit 40e9466 :-) <kyamashita>Unless I'm just calling the procedure incorrectly <davexunit>Jookia: now would be the time to share your patch. have you submitted it to us, btw? <kyamashita>sdl-union didn't need the extra arguments I provided it, I guess. <kyamashita>It made it past the problem file, I'm still waiting for a full build. <kyamashita>Now it says that it cannot produce an output path... <kyamashita>I *did* delete the install routine... Let me see if shifting things around can change that. <davexunit>kyamashita: that means that the build didn't actually install anything <kyamashita>The Red Eclipse wiki wants the user to run "make -C src install" to install Red Eclipse. <davexunit>(zero? (system* "make" "-C" "src" "install")) <davexunit>see the 'install' procedure implementation in (guix build gnu-build-system) <davexunit>the 'zero?' is used to test if the program completed successfully <davexunit>build phases return #t if they succeeded, otherwise guix considers them failures. <kyamashita>BTW, is there a decent Guile tutorial around for LISP newbies? Or should I start out with something like SICP? <davexunit>kyamashita: SICP is a great book to learn about programming that just happens to use Scheme, so I wouldn't recommend for the sole purpose of picking up Scheme. <janneke>how do i create an enviroment/set-up all the paths for a cross-built package? <janneke>i cannot get enviroment --system to do what i want <davexunit>only AVR stuff which is a much different story than other cross-building toolchains AFAICT <kyamashita>Okay, so now I'm getting "no rule to make target 'install'". <dirtyhelm>Insane question, is anyone playing around with getting Guix on the Hurd? <kyamashita>Slides can be found there, I'm not so sure about the video. <dirtyhelm>Thanks, thats exactly what I was looking for. Very exciting! <kyamashita>Indeed! It would be cool to be able to easily switch between a Hurd and a Linux-libre kernel. <davexunit>rekado: I'm finding geda to be pretty nice to use <davexunit>kicad seems to get all the attention, from what I'm reading. <mog>geda is awesome project <mog>but is very slow in dev time lately <mog>ACTION picked geda 5 years ago though so im locked in <mog>geda is very well suited to makefiles and segmented work <mog>which is why i love it <Jookia>Is Xfce menu updating unimplemented? <suitsmeveryfine>Hi! I'm preparing a package here. When I run guix lint it complains like this: tabulation on line n. Can I disregard this? I've used the official indentation rules in the Guix Guile mode and they do mix spaces and tabs. ***Basstard1 is now known as Basstard`
<janneke>phant0mas: guile.exe links, sent you an email, lots of cleanups todo <rekado>suitsmeveryfine: what makes you say that the official indentation rules mix spaces and tabs? <suitsmeveryfine>I was suggested to use the Scheme Guix Guile mode and use C-M-a + C-M-q to apply the correct indentation. <davexunit>suitsmeveryfine: guix has .dir-locals disables the use of tabs for indentation <davexunit>guix has a .dir-locals file in the root of the source tree which disables the use of tabs for indentation <suitsmeveryfine>davexunit: does this mean that I don't need to worry about the lint error? <davexunit>but also, the .dir-locals.el file also sets this <davexunit>so you must have answered "no" to some prompt that asked to use those settings <suitsmeveryfine>'The local variables list in "..." contains values that may not be safe' <davexunit>the style guides I follow for other languages are much longer <ijp>the scheme style guide is essentially: whatever emacs does, mostly <suitsmeveryfine>Not just the style guidelines but the requirements on reproducability, licenses and so on <davexunit>suitsmeveryfine: yeah, I guess we're pretty strict around here. ;) <davexunit>hopefully not too strict. I like to think we maintain a high quality system this way. <suitsmeveryfine>I'm not sure if I'll ever do another package after this one though ;D <suitsmeveryfine>Yes it was a lot of work, but I'm sure it will be less work next time <suitsmeveryfine>For this package I had to modify the sources to remove non-free code, disable parts of the gnu build system and manually add certain configure flags <davexunit>part of that difficulty comes from the software itself having a less-than-ideal build system. <davexunit>did you use the #:configure-flags argument to specify the extra flags? <suitsmeveryfine>No, I cannot do that since I need to bypass the whole configure section <suitsmeveryfine>Actually, the package only complained about one flag that was set automatically by the gnu build system <suitsmeveryfine>I asked here if there was a way just to remove that flag (`--enable-fast-install`), but apparently not <suitsmeveryfine>The last time I tried to build Emacs I saw that it warned about this particular flag, but it was just a warning and not a build error in this case <davexunit>software that uses the GNU autotools don't break when given that standard flag <davexunit>looks like the configure script you had was hand-written or something <davexunit>when software sticks with the autotools, things are typically easier to deal with. <suitsmeveryfine>I've also had to disable a particular feature of the software because the configure script looked for a particular dependency at a pre-defined place <suitsmeveryfine>After I was done I had a look at the Nix project's package definition and saw that they had done the same. <lfam>paroneayea: I'm build xscreensaver now. What DE did you test it on? GNOME? <davexunit>hmm, sch2pcb always says "No elements found, so nothing to do." <lfam>suitsmeveryfine: That's not an atypical size. It's always fun to read the list and wonder, "How does *that* get used?!" <suitsmeveryfine>Yes, but does this mean that I don't need to select all of them explicitly as dependencies (inputs)? <lfam>The size profile is a crude representation of the full graph. For example, you definitely wouldn't need to add bash-static to the openttd package definition. <suitsmeveryfine>OK, but what about mesa? I see that certain games add it as an input but I haven't <lfam>I don't know the opentdd package definition. But most of those dependencies are probably lower in the graph. That is, they are not referred to directly by opentdd. <lfam>Does your package work for you? <lfam>Try doing `guix graph opentdd | dot -Tsvg > graph.svg` <lfam>And inspecting the result in some image viewer <lfam>You can also use the `guix gc --r*` tools to inspect the web of references from "close-up" <lfam>Well, most likely you'll need `./pre-inst-env guix graph ...` <lfam>If that's how you're doing things <lfam>Is that how you're building your package? <lfam>Right, I don't even know what the package is named