Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374187 - sci-visualization/gnuplot: add USE=examples to install demos
Summary: sci-visualization/gnuplot: add USE=examples to install demos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 21:47 UTC by Vladimir
Modified: 2011-07-16 16:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gnuplot-4.4.3-r1.ebuild (gnuplot-4.4.3-r1.ebuild,6.66 KB, text/plain)
2011-07-05 21:49 UTC, Vladimir
Details
gnuplot-use_examples.diff (gnuplot-use_examples.diff,1.02 KB, text/plain)
2011-07-11 09:33 UTC, Vladimir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2011-07-05 21:47:45 UTC
Hello!
  I had some trouble trying to find out why are not the Gnuplot demo files installed on my system. Naturally, I searched for an 'exmples' USE flag for Gnuplot, but saw that there is no such a flag. Digging into the .ebuild gave me an answer: the demos installation is controled by the 'doc' USE flag right now, which is a bit strange.
  So, I suggest using the 'examples' USE flag to install the Gnuplot demos, since these demos are examples indeed. If I understand the 'examples' USE flag meaning correctly.

  A slightly changes .ebuild with the 'examples' flag included is attached.

Reproducible: Always
Comment 1 Vladimir 2011-07-05 21:49:14 UTC
Created attachment 279199 [details]
gnuplot-4.4.3-r1.ebuild

An ebuild with the 'examples' USE flag to control the Gnuplot demos installation.
Comment 2 Ulrich Müller gentoo-dev 2011-07-11 09:00:58 UTC
This seems to be a reasonable suggestion.
Could you attach a diff relative to the current ebuild please?
Comment 3 Vladimir 2011-07-11 09:33:48 UTC
Created attachment 279749 [details]
gnuplot-use_examples.diff

(In reply to comment #2)
> This seems to be a reasonable suggestion.
> Could you attach a diff relative to the current ebuild please?

Yes, of course. I've attached it.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-07-16 16:58:11 UTC
+  16 Jul 2011; Justin Lecher <jlec@gentoo.org> gnuplot-4.2.6-r2.ebuild,
+  gnuplot-4.4.2-r1.ebuild, gnuplot-4.4.3.ebuild, gnuplot-4.4.3-r1.ebuild,
+  metadata.xml:
+  Install demos through USE=examples, #374187
+