First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 30
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tod M. Neidt <tod@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tod M. Neidt <tneidt@fidnet.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
plotutils-2.4.1.ebuild plotutils-2.4.1.ebuild text/plain Tod M. Neidt 2002-01-04 19:59 0000 3.44 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 30 depends on: Show dependency tree
Bug 30 blocks: 31
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-01-04 19:58 0000
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 From Tod M. Neidt 2002-01-04 19:59:20 0000 -------
Created an attachment (id=18) [edit]
plotutils-2.4.1.ebuild

------- Comment #2 From Tod M. Neidt 2002-01-04 20:00:34 0000 -------
I suggest media-libs/plotutils

------- Comment #3 From Mikael Hallendal 2002-01-04 21:33:19 0000 -------
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 From Geert Bevin 2002-01-23 16:43:27 0000 -------
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 From Tod M. Neidt 2002-01-24 11:40:52 0000 -------
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 From Bruce A. Locke 2002-02-10 00:59:59 0000 -------
Is this ebuild still being worked on?

------- Comment #7 From Tod M. Neidt 2002-02-11 10:11:33 0000 -------
Yes,

I am just going to remove installing the extra fonts for now. They are not
needed for functionality, just extra gravy.

------- Comment #8 From Tod M. Neidt 2002-02-11 14:51:50 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug