Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30 - plotutils-2.4.1.ebuild
Summary: plotutils-2.4.1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tod M. Neidt (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 31
  Show dependency tree
 
Reported: 2002-01-04 19:58 UTC by Tod M. Neidt
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
plotutils-2.4.1.ebuild (plotutils-2.4.1.ebuild,3.44 KB, text/plain)
2002-01-04 19:59 UTC, Tod M. Neidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tod M. Neidt 2002-01-04 19:58:29 UTC
Hi!

Please find attached an ebuild for plotutils-2.4.1, the gnu C/C++
function library for exporting 2-D vector graphics.  Although a few
basic commandline plotting programs (graph, plot, tek2plot, plotfont,
spline, ode double) are included in the package, its main purpose is as
a graphics library that can be used by other programs so suggested
category is media-libs.  Gnuplot and xfig are examples of programs that
can take advantage of plotutils to supplement their capabilites.

*One special note* This package provides supplemental Type1 and
bitmapped (misc) fonts.  As the ebuild is wwritten, these are
automatically installed in to the /usr/X11R6/lib/X11/fonts tree.
This involves copying the relevant fonts.scale file, and editing to
include the new fonts, regenerating the fonts.dir file with mkfontdir,
and then rescanning the fonts directories if X is running.  This may be
considered too intrusive.  If that is the case, I would suggest
installing the new font related files somewhere safe like
/usr/share/${PN} and echoing a message that the user will have to do
that manually.  Also, the copying of the current fonts.scale file may be
problematic in the future if emerging is done in a chrooted and/or
sandboxed environment as has been discussed.

:) whew!

tod
Comment 1 Tod M. Neidt 2002-01-04 19:59:20 UTC
Created attachment 18 [details]
plotutils-2.4.1.ebuild
Comment 2 Tod M. Neidt 2002-01-04 20:00:34 UTC
I suggest media-libs/plotutils
Comment 3 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-04 21:33:19 UTC
The problem comes if you install this package, and you edit the fonts.scale file
and then unmerges this package. It'll then remove the fonts.scale will be removed.

I think this should be made in pkg_postinst (the fonts.scale-thing) and
pkg_postremove (I'm not sure about the latter) to remove the added fonts.

Also, xset fp rehash won't work if logged in as user but running as root in 'su
-' terminal.
Comment 4 Geert Bevin 2002-01-23 16:43:27 UTC
I agree with Hallski, these actions should be moved to pkg_postinst and 
pkg_postremove. When that's done I'll try it out and proceed further.
Comment 5 Tod M. Neidt (RETIRED) gentoo-dev 2002-01-24 11:40:52 UTC
If there are no objections, I'll take this.  I will resolve the fonts issue per
Hallski's and Gbevin's comments.  I will also check with Gbevin before commiting.
Comment 6 Bruce A. Locke (RETIRED) gentoo-dev 2002-02-10 00:59:59 UTC
Is this ebuild still being worked on?
Comment 7 Tod M. Neidt (RETIRED) gentoo-dev 2002-02-11 10:11:33 UTC
Yes,

I am just going to remove installing the extra fonts for now. They are not
needed for functionality, just extra gravy.
Comment 8 Tod M. Neidt (RETIRED) gentoo-dev 2002-02-11 14:51:50 UTC
Commited to CVS.  Disabled the extra fonts installation for now as they are not
required for functionality.  May revist later. Left the extra fonts installation
steps in ebuild but commented out for future reference.  Extra fonts
installation needs work, see above comments.