From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwosT-0006FV-Vl for guix-patches@gnu.org; Thu, 21 Feb 2019 08:59:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwosS-0005n6-6c for guix-patches@gnu.org; Thu, 21 Feb 2019 08:59:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwosQ-0005eP-3A for guix-patches@gnu.org; Thu, 21 Feb 2019 08:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwosP-0001a1-RO for guix-patches@gnu.org; Thu, 21 Feb 2019 08:59:01 -0500 Subject: [bug#34572] Add Drawpile Resent-Message-ID: From: Tobias Geerinckx-Rice References: <878sya5g45.fsf@elephly.net> In-reply-to: Date: Thu, 21 Feb 2019 14:58:33 +0100 Message-ID: <87va1dutti.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; format=flowed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: pkill9@runbox.com Cc: 34572 <34572@debbugs.gnu.org> Pkill -9, Thanks for this patch, and your many others. pkill9 wrote: > + #:use-module (gnu packages crypto) ; libsodium > + #:use-module (gnu packages gnunet) ; libmicrohttpd In my experience, what little value such comments add is quickly lost. Anyone adding new inputs will not update (or even notice) them. > + ("giflib" ,giflib) ; optional > + ("kdnssd" ,kdnssd) ; optional > + ("miniupnpc" ,miniupnpc) ; optional > + ("libmicrohttpd" ,libmicrohttpd) ; optional > + ("libsodium" ,libsodium))) ; optional Same here: nothing wrong with these, I guess, but *many* package dependencies are optionally detected at build time and this isn't usually pointed out unless there's something more interesting going on. > + (arguments > + `(#:configure-flags > + (list "-DTESTS=on" ; build unit tests. General remark: no full stop after inline comments. ;; Foo bar. (foo bar) ; foo bar > + "-DTOOLS=on" ; build dprec2txt command line tool. > + (string-append "-DLIBQTCOLORWIDGETS_LIBRARY=" > + (assoc-ref %build-inputs > "qtcolorwidgets") > + > "/lib/libQtColorWidgets-Qt52.so")))) What about using FIND-FILES "\*.so$" here instead of hard-coding "52"? Overkill? Kind regards, T G-R