public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: gentoo-devhelp@lists.gentoo.org
Cc: Thomas Pani <thomas.pani@gmail.com>
Subject: Re: [gentoo-devhelp] sci-libs/sympy USE flags
Date: Sat, 26 Jan 2008 13:07:27 +0300	[thread overview]
Message-ID: <1201342047.21312.135.camel@localhost> (raw)
In-Reply-To: <47970AC6.1080908@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1862 bytes --]

Generally I tend to name use flags based on features they enable instead
of dependencies they require as this better documents what feature this
use flag enables. But soon (I hope) we'll have better ways to document
USE flags so things could change in near future.


В Срд, 23/01/2008 в 10:37 +0100, Thomas Pani пишет:
> - sympy uses libxml2 and libxslt to generate MathML code. Which USE-flag
> would be more appropriate, `xslt' or `math' (or intruduce `mathml')?
> app-office/abiword-plugins and www-apps/mediawiki both use the math use
> flag to enable math rendering, but as Andrey Grozin pointed out sympy
> provides math rendering via LaTeX, mathml, TeXmacs, so using `math'
> would be ambiguous.

mathml is good choice.

> - Should there be a USE-flag that pulls in TeXmacs? If yes, which one?

If package allows to disable/enable this feature then yes. Call it USE
flag texmacs or latex as you chose.

> - Once again for plotting. Uses pyglet ([2]), which is not yet in
> portage but comes packaged with sympy. Which USE flag? Just `opengl' or
> a new  `plot' flag?

Does potting works without pyglet? Does package works without pyglet? If
this just adds opengl support for plotting then opengl is good choice of
USE flag too.


Generally I think ebuild uses USE flags only for dependencies but it
should also use them to configure package. See:

http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/configuring/index.html

"Often the configure script will try to automatically enable support for
optional components based upon installed packages. This *must not* be
allowed to happen."

So in your case you need to tweak build system somehow to allow package
be built without plot support even if dev-python/pyopengl,
dev-python/imaging and dev-python/ctypes are installed.

-- 
Peter.

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2008-01-26 10:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23  9:37 [gentoo-devhelp] sci-libs/sympy USE flags Thomas Pani
2008-01-23 13:01 ` Mike Frysinger
2008-01-23 19:11   ` Thomas Pani
2008-01-26 10:07 ` Peter Volkov [this message]

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

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

  git send-email \
    --in-reply-to=1201342047.21312.135.camel@localhost \
    --to=pva@gentoo.org \
    --cc=gentoo-devhelp@lists.gentoo.org \
    --cc=thomas.pani@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox