unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: add kicad
Date: Mon, 23 May 2016 00:13:19 -0400	[thread overview]
Message-ID: <20160523041319.GA10803@jasmine> (raw)
In-Reply-To: <20160215084046.62d5307a@scratchpost.org>

On Mon, Feb 15, 2016 at 08:40:46AM +0100, Danny Milosavljevic wrote:
> this patch adds kicad, an electronics design automation tool, to "engineering.scm".

Cool, I would really like to offer KiCad in Guix. This fell through the
cracks but I'd like to resurrect it!

Danny, are you still interested in working on it? Here are some
comments...

> +(define-public kicad

> +              (uri (string-append
> +                   "https://launchpad.net/kicad/4.0/kicad-"
> +                   version
> +                   "/+download/kicad-"
> +                   version
> +                   ".tar.xz"))

It seems they changed the URL format. This works for me now:
https://launchpad.net/kicad/4.0/4.0.2/+download/kicad-4.0.2.tar.xz

Also, the quoted URL string should start on the same line as
string-append.

> +   (arguments
> +    '(#:tests? #f ; TODO re-enable

Do you remember the state of the tests? Was it just a few that failed?

> +      #:configure-flags

I noticed on the KiCad download page [0] some instructions to set the
version string, and other useful build-time configurations. Do you think
it would be appropriate to apply them?

------
For the moment you are supposed to use the following options to set the
version string:

-DKICAD_REPO_NAME=stable -DKICAD_BUILD_VERSION=4.0.2

And you encouraged to enable the python scripting, even though it is not
enabled by default with the following additional Cmake options.

-DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
------

> +     (list "-DKICAD_SKIP_BOOST=ON" ; use system boost; otherwise, it tries to download one and fails.
> +     ; TODO -DCMAKE_BUILD_TYPE=Release
> +     ; TODO -DOPENSSL_ROOT_DIR=...
> +     ; TODO -DCMAKE_PREFIX_PATH=...
> +     ; TODO -DCMAKE_INSTALL_PREFIX=...
> +     ; TODO -DDEFAULT_INSTALL_PATH=...
> +     ; TODO -DKICAD_SCRIPTING=ON
> +     ; TODO -DKICAD_SCRIPTING_MODULES=ON
> +     ; TODO -DKICAD_SCRIPTING_WXPYTHON=ON

What features are missing without them? What is OpenSSL / TLS support
used for?

> +   ; TODO optional doxygen for source docs

Do we just need to add doxygen to native-inputs?

> +   (inputs
[...]
> +       ("libressl" ,libressl)

Unusual choice but I don't object to it. This would be the first package
to refer to libressl in our tree.

> +   (description "Electronics Design Automation Suite")

This should be more descriptive in the final patch.

> +; TODO extra options for Python (which) and for version.

Ah, I see you noticed the text on the download page :)

> +; TODO kicad-doc, kicad-library, kicad-footprints

Do we need to add the library and footprints at the same time as KiCad
itself, or can they come later?

We should try to offer the docs from the start.

[0]
http://kicad-pcb.org/download/source/

  parent reply	other threads:[~2016-05-23  4:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15  7:40 [PATCH] gnu: add kicad Danny Milosavljevic
2016-02-15 11:35 ` Ben Woodcroft
2016-05-23  4:13 ` Leo Famulari [this message]
2016-07-07  0:22   ` Stuck on KiCad dependency wxPython Leo Famulari
2016-07-07  6:31     ` Efraim Flashner
2016-07-08  0:51       ` Leo Famulari
2016-07-08 10:15         ` Ricardo Wurmus
2016-07-12  9:24           ` Ludovic Courtès
2016-09-22  8:27         ` Danny Milosavljevic
2016-09-22  8:45           ` Danny Milosavljevic
2016-09-22  9:26             ` python-build-system: Allow build flags Danny Milosavljevic
2016-09-22 10:43             ` [PATCH] guix: python-build-system: Honor configure-flags also when building Danny Milosavljevic
2016-09-22  9:10           ` Stuck on KiCad dependency wxPython Danny Milosavljevic
2016-09-30  0:51             ` Theodoros Foradis
2016-09-30  7:09               ` Danny Milosavljevic
2016-08-03 23:54   ` [PATCH] gnu: add kicad Danny Milosavljevic
2016-08-04  8:31     ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160523041319.GA10803@jasmine \
    --to=leo@famulari.name \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).