First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 51739
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: mark.coggeshall@verizon.net
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ploticus-2.21.ebuild Ebuild for v2.21 text/plain Stephen Bennett (RETIRED) 2004-05-22 11:42 0000 658 bytes Details
files.tar Tar archive of the files directory. application/x-tar Stephen Bennett (RETIRED) 2004-05-22 11:42 0000 20.00 KB Details
ploticus-2.21.ebuild Updated ebuild; installs prefabs into /usr/lib/ploticus text/plain Stephen Bennett (RETIRED) 2004-05-23 13:31 0000 727 bytes Details
ploticus-2.21.ebuild ploticus-2.21.ebuild - Revised ebuild text/plain Olivier Fisette 2004-06-06 16:47 0000 4.17 KB Details
pl221-fixes.patch pl221-fixes.patch - Fix for NOX11 patch Olivier Fisette 2004-06-06 16:50 0000 691 bytes Details | Diff
pl221-makefile.patch pl221-makefile.patch patch Olivier Fisette 2004-06-06 16:51 0000 1.38 KB Details | Diff
11ploticus 11ploticus - Env file text/plain Olivier Fisette 2004-06-06 16:51 0000 47 bytes Details
metadata.xml metadata.xml text/plain Olivier Fisette 2004-06-06 16:52 0000 622 bytes Details
ploticus-2.21.ebuild ploticus-2.21.ebuild - Corrected ebuild text/plain Olivier Fisette 2004-06-06 20:52 0000 4.18 KB Details
ploticus-2.21.ebuild ploticus-2.21.ebuild (sets up env.d/11ploticus without a file) text/plain Tim Cera 2004-06-19 21:01 0000 4.61 KB Details
ploticus-2.30.ebuild ebuild for ploticus-2.30 text/plain mark.coggeshall@verizon.net 2004-09-25 09:03 0000 4.18 KB Details
pl230-fixes.patch patch pl230src/src/interact.c patch mark.coggeshall@verizon.net 2004-09-25 09:04 0000 543 bytes Details | Diff
pl230-makefile.patch patch file for v2.30 Makefile patch mark.coggeshall@verizon.net 2004-09-25 09:05 0000 1.39 KB Details | Diff
ploticus-2.30.ebuild ploticus-2.30.ebuild text/plain Daniel Black 2004-09-25 20:22 0000 3.64 KB Details
pl230src.patch pl230src.patch patch Daniel Black 2004-09-25 20:23 0000 5.40 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51739 depends on: Show dependency tree
Bug 51739 blocks: 73301
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: 2004-05-22 07:50 0000
Portage doesn't have an ebuild for ploticus. I would find it useful to have
one, and I think others would as well. I do not have sufficient shell scripting
experience to develop the ebuild myself.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Stephen Bennett (RETIRED) 2004-05-22 11:41:26 0000 -------
This package uses an old (pre-autoconf) convention for site-specific options,
which requires hand-editing of makefiles. I've made an ebuild that just applies
various makefile patches depending on USE flags; if that's a bad way to do
things, please correct me. I've tested the ebuild on my machine, and it builds
and installs with every combination of USE flags.

------- Comment #2 From Stephen Bennett (RETIRED) 2004-05-22 11:42:09 0000 -------
Created an attachment (id=31848) [edit]
Ebuild for v2.21

------- Comment #3 From Stephen Bennett (RETIRED) 2004-05-22 11:42:59 0000 -------
Created an attachment (id=31849) [edit]
Tar archive of the files directory.

------- Comment #4 From mark.coggeshall@verizon.net 2004-05-23 11:00:32 0000 -------
The ebuild completed the build/install without error on my machine. Your quick
work is outstanding. Thank you.

The ebuild could be enhanced by completing two post-install chores:
(1) copy the contents of the ./prefabs subdirectory of the source tarball to a
suitable location. I used /usr/local/share/ploticus/prefabs.
(2) create a new env variable, PLOTICUS_PREFABS equal to the full path of the
target dir from (1)

I'm going to mark this WORKSFORME. I hope that's the polite and appropriate
thing to do. If not, let me know; I'm new at this. Thanks again.

------- Comment #5 From Stephen Bennett (RETIRED) 2004-05-23 13:31:47 0000 -------
Created an attachment (id=31902) [edit]
Updated ebuild; installs prefabs into /usr/lib/ploticus

------- Comment #6 From Stephen Bennett (RETIRED) 2004-05-23 13:31:59 0000 -------
WORKSFORME implies that no-one else can replicate a bug; it's probably not what
you want. If you want the ebuild to go anywhere, leave it open. If you're happy
with just having it, mark it FIXED, and it'll be pretty much ignored in future.
It's up to you. ;)

------- Comment #7 From mark.coggeshall@verizon.net 2004-05-23 17:56:48 0000 -------
Great. Thanks for the update. I'm going to re-open the bug in hopes that one
day the ebuild will find a larger audience. Thanks again. Let me know if
there's anything more I can do to credit you for your work.

------- Comment #8 From Olivier Fisette 2004-06-06 16:47:58 0000 -------
Created an attachment (id=32808) [edit]
ploticus-2.21.ebuild - Revised ebuild

I am interested in ploticus. Here is a new ebuild, based on Stephen Bennett's.
Here is what I changed :

- Added the mandatory Gentoo copyright header
- Added missing HOMEPAGE var
- Removed -* from KEYWORDS
- Corrected invalid license (GPL -> GPL-2)
- Installs prefabs in /usr/share/ploticus. (These are not libraries, so I don't
  think they should go in /usr/lib.)
- prefabs path is no longer hardcoded ; it is specified in the 11ploticus env
  file. (This is more flexible.)
- Added testsuite installation. (These are interesting examples.)
- Added support for building against the external gd lib, and for disabling gd
  completly.
- Made gif support optional.
- Made localisation (non-roman alphabets) support optional.
- Added (optional) support for the swf (Flash) format.
- Added (optional) support for the svg and svgz formats.
- Added (optional) support for disabling CPU limitations.

There are now 10 USE flags for ploticus, 3 of which are local flags :
no-locale, no-cpulimit and svgz. The behavior of the following flags depend
on whether the external or the internal gd is used : gif, svgz and truetype.
The GIF format is available only with the internal gd lib. The FreeType2 format

is available only with the external gd lib. SVGZ is meaningful only if using
the internal gd. If the external gd is used, SVGZ will always be available if
SVG is enabled. If gd is completly disabled, gif and freetype are meaningless
(The formats are not available without gd.).

A new patch for the Makefile is necessary and will be posted, along with the
11ploticus env file, a metadata.xml file, and Stephen Bennett's fix for NOX11,.

------- Comment #9 From Olivier Fisette 2004-06-06 16:50:08 0000 -------
Created an attachment (id=32809) [edit]
pl221-fixes.patch - Fix for NOX11

Goes with 32808

------- Comment #10 From Olivier Fisette 2004-06-06 16:51:01 0000 -------
Created an attachment (id=32810) [edit]
pl221-makefile.patch

Goes with 32808.

------- Comment #11 From Olivier Fisette 2004-06-06 16:51:32 0000 -------
Created an attachment (id=32811) [edit]
11ploticus - Env file

Goes with 32808.

------- Comment #12 From Olivier Fisette 2004-06-06 16:52:47 0000 -------
Created an attachment (id=32812) [edit]
metadata.xml

Goes with 32808.

- Provides long description.
- Assigns to the sci herd. (Is this correct ? Why no media-gfx ?)

------- Comment #13 From Olivier Fisette 2004-06-06 20:52:15 0000 -------
Created an attachment (id=32827) [edit]
ploticus-2.21.ebuild - Corrected ebuild

There was a bug in my first ebuild. When using epatch, inherit eutils is
needed. Thanks to mr_bones_ for the tip. (I don't understand why it works when
the statement is missing.)

------- Comment #14 From mark.coggeshall@verizon.net 2004-06-07 20:20:11 0000 -------
The corrected/improved ebuild works on my system.

------- Comment #15 From Tim Cera 2004-06-19 21:01:26 0000 -------
Created an attachment (id=33611) [edit]
ploticus-2.21.ebuild (sets up env.d/11ploticus without a file)

Started on a ploticus ebuild before looking on bugzilla <oops>.  The previous
ebuild went way beyond what I was doing, so I used it as a base for adding the
couple other things that I was working on.  The fundamental addition is that I
setup the creation of the /etc/env.d/11ploticus file from within the ebuild,
you don't have to have it in the files directory.  This should make it easier
to maintain, maybe.

regards,
tim

------- Comment #16 From Tim Cera 2004-08-24 06:45:28 0000 -------
Started to do serious work with ploticus, and want to support the pyPloticus
package (http://www.srcc.lsu.edu/~davids/ploticus_module.html) to script
ploticus directly from Python.  In order to do this I need to install
libploticus, which requires the running of 'make' against 'Makefile_api'.  

Is anyone up to the challenge?

Should it be a new package, ploticus-lib?  or installed as part of this one?

It seems like many of the same options need to be edited in 'Makefile_api' as
in 'Makefile' so it should be straight-forward if you understand all of the 
options.

thanks
tim

------- Comment #17 From Tim Cera 2004-08-24 19:11:49 0000 -------
Couldn't wait...

Follow link below for a draft ploticus_lib ebuild.  All it does it create
libploticus.a.
http://bugs.gentoo.org/show_bug.cgi?id=61589

Will follow-up soon with an ebuild for the pyPloticus.

------- Comment #18 From Daniel Black 2004-09-25 00:28:05 0000 -------
I noticed 2.30 is released. Is this compatible?

------- Comment #19 From mark.coggeshall@verizon.net 2004-09-25 09:03:37 0000 -------
Created an attachment (id=40396) [edit]
ebuild for ploticus-2.30

I modified the v2.21 ebuild for v2.30. It works for me. New patch files
coming...

------- Comment #20 From mark.coggeshall@verizon.net 2004-09-25 09:04:33 0000 -------
Created an attachment (id=40397) [edit]
patch pl230src/src/interact.c

------- Comment #21 From mark.coggeshall@verizon.net 2004-09-25 09:05:18 0000 -------
Created an attachment (id=40398) [edit]
patch file for v2.30 Makefile

------- Comment #22 From Daniel Black 2004-09-25 20:22:10 0000 -------
Created an attachment (id=40424) [edit]
ploticus-2.30.ebuild

Fixed copyright header
Fixed media-libs/gd dependancy
Removed gd-external - KISS principle - may as well use the real gd package
Removed gif - Nothing extra is needed to support it so we may as well
"sed -ie" outputs to the file Makefilee rather than Makefile. Use "sed -i -e"
(weird I know).
I remodelled the sed stuff to pass arguements to Make which has the same
effect. I was having trouble with the ploticus target in the Makefile that was
probably me doing something wrong.
Locale is realy nls which is already a global flag.
Personal preference is I dislike negativies on use flags. Using cpulimit
instead
Added README to documentation
I'm not convinced that using PREFABS_DIR to refer to a default installation
directory is the way to go. If you can see a reason why a user would move
/usr/share/ploticus/prefabs then I guess that would be a good reason.
Allowed user CFLAGS to be used.
Added src_test routine.
gif support is broken in test routine - needs fixing however I'm out of time
for the moment.

------- Comment #23 From Daniel Black 2004-09-25 20:23:16 0000 -------
Created an attachment (id=40425) [edit]
pl230src.patch

Combined both patches and hacked the makefile some more.

------- Comment #24 From klavs klavsen 2004-09-30 02:44:57 0000 -------
I vote for adding this to portage ;)

The patch however seems not to work:
***** pl23.0src.patch *****

===========================

PATCH COMMAND:  patch -p0 -g0 < /usr/local/portage/media-libs/ploticus/files/pl23.0src.patch

===========================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru pl230src.orig/src/Makefile pl230src/src/Makefile
|--- pl230src.orig/src/Makefile 2004-08-27 05:17:44.000000000 +0930
|+++ pl230src/src/Makefile      2004-09-26 10:22:12.335543912 +0930
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
can't find file to patch at input line 146
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru pl230src.orig/src/interact.c pl230src/src/interact.c
|--- pl230src.orig/src/interact.c       2004-08-05 00:25:20.000000000 +0930
|+++ pl230src/src/interact.c    2004-09-26 10:03:34.308545112 +0930
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================
... (and lots more)

------- Comment #25 From Alexander 2004-10-12 12:43:31 0000 -------
I too, vote for inclusion of the ebuild in the official portage tree. Works
like a charm.

------- Comment #26 From Daniel Black 2005-01-23 16:05:16 0000 -------
*** Bug 61589 has been marked as a duplicate of this bug. ***

------- Comment #27 From Daniel Black 2005-01-24 01:08:09 0000 -------
added media-libs/ploticus-2.30

Thanks and apologies to all those who waited far too long.

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