Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 10956
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 23977
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Castelão <castelao@oceanologia.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gmt-3.4.2_beta3.ebuild Generic Mapping Tool text/plain Castelão 2002-11-19 06:46 0000 2.29 KB Details
gmt-3.4.2.ebuild Some corrections suggested by George text/plain Castelão 2002-12-04 19:31 0000 2.03 KB Details
gmt-3.4.2.ebuild Stable version text/plain Castelão 2003-04-15 16:48 0000 2.03 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 10956 depends on: Show dependency tree
Bug 10956 blocks:
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-11-19 06:37 0000
Hi,
the Generic Mapping Tool is a powerfull map generator. An interesting tool for
geophysical sciences.

I'm submiting the gmt-3.4.2_beta3.ebuild. Maybe isn't more necessary to use the
variable "INSTALLDIR" nor to include the "40gmt" in the env.d

The official site description:
########
GMT is a free, open source collection of ~60 UNIX tools that allow users to
manipulate (x,y) and (x,y,z) data sets (including filtering, trend fitting,
gridding, projecting, etc.) and produce Encapsulated PostScript File (EPS)
illustrations ranging from simple x-y plots through contour maps to artificially
illuminated surfaces and 3-D perspective views in black and white, gray tone,
hachure patterns, and 24-bit color. GMT supports 25 common map projections plus
linear, log, and power scaling, and comes with support data such as coastlines,
rivers, and political boundaries. 
######

------- Comment #1 From Castelão 2002-11-19 06:46:35 0000 -------
Created an attachment (id=5787) [details]
Generic Mapping Tool

This is the beta 3 release, but maybe it's working fine.
In the future versions we could include more resources of GMT.

------- Comment #2 From George Shapovalov 2002-11-28 21:36:57 0000 -------
Hi Castel

------- Comment #3 From George Shapovalov 2002-11-28 21:36:57 0000 -------
Hi Castelão.

Thank you for your submission!
Unfortunately there are fe problems with the ebuild.

The major one:
I noticed you do some name mangling in order to remove the _beta fron the ${PV}
part and use that for defining the SRC_URI's, meaning that URI's do not contain
full versioning info. This cannot be left in such form, because when final
version is released it is likely to maintain present name and will have a
potentioal for silent breakage.
   There are ways to go about it. On our side we can mirror necessary sources
after renaming them to contain all necessary versioning. However this makes this
ebuild quite laborous to maintain. It is always preferable to try to solve the
problem upstream.
   We can try to persuade package developers to rename sources. Or if this
package is close to final release, we can just wait until non-beta is released
and add it to portage then. Could you please clarify the status of this package:
like when the release is going to happen and how important is to get this ebuild
processed (are there any other packages that might depend on it) and what is the
general naming policy?

Some minor points:
1. it is not necessary to define INSTALLDIR, you can just use /usr instead.
The situation here is that all the packages have to adhere to FHS
sspecifications (Filesystem Hierarchy Standard). According to it all the
packages managed by distribution should go into /usr and /usr/local should be
left at the discretion of the sysadmin (the user). Basically the end user is
supposed to manually install  packages into /usr/local (and this is why --prefix
in pretty much all configure scripts defaults to /usr/local) and we are not
allowed to touch that.
Thus you can safely use /usr without defining the INSTALLDIR. You can also keep
this war defined, though if you chose so please change itsinvokation everywhere
from $INSTALLDIR to ${INSTALLDIR} form for consistency with all other vars.

2. ./configure --prefix=$INSTALLDIR
can be replaced with econf, which will also set ---mandir and --infodir correctly.

3. Please check that there are no trailing spaces/tabs in the ebuild and that
the indentation is done through tabs (I think this is the case, just listing
this here as this is a formatting convention in ebuilds). Good idea is to pass
the ebuild through lintool, which is now a separate package. You can emerge
lintool and then just check the output of "lintool pkgname-PV.ebuild" for the
complaints.

Thanks again for your work!

George

------- Comment #4 From Castelão 2002-12-04 19:31:34 0000 -------
Created an attachment (id=6208) [details]
Some corrections suggested by George

As suggested by George the GMT is now installed in /usr not more in /usr/local.

Don't use more the variable $INSTALLDIR.
As other applications, the lib, include and share archives are placed in
sub-directories "gmt-${PV}".
lintool warn about "Testing for presence of env vars" that I didn't understand.

As suggested in the GMT compile instructions was included a export of the
variable "NETCDFHOME".

------- Comment #5 From George Shapovalov 2003-02-06 23:40:58 0000 -------
Hi Castel

------- Comment #6 From George Shapovalov 2003-02-06 23:40:58 0000 -------
Hi Castelão.

Ok, this looks good now.
I have checked the ebuild and committed it (keymasked).
Please test.

George

------- Comment #7 From Castelão 2003-02-12 08:54:25 0000 -------
There is a problem with paths!

The coastline and bathymetry database of GMT could be bigger if the user choose higher resolutions. For that I didn't put this dataset directly in /usr/share, but in /usr/share/gmt-${PV}. For that is necessary to include in /usr/share a file called "coastline.conf" that have the right path to dataset. In this case will be "/usr/share/gmt-3.4.2".

Any suggestion better than only

echo /usr/share/gmt-${PV} > /usr/share/coastline.conf

in ebuild file?

------- Comment #8 From John Davis (zhen) (RETIRED) 2003-04-04 01:20:48 0000 -------
db fix

------- Comment #9 From John Davis (zhen) (RETIRED) 2003-04-04 01:25:40 0000 -------
db fix

------- Comment #10 From Castelão 2003-04-15 16:48:55 0000 -------
Created an attachment (id=10702) [details]
Stable version

Probablly not the best solution but a stable one.

------- Comment #11 From George Shapovalov 2003-05-15 16:23:18 0000 -------
Hi Castel

------- Comment #12 From George Shapovalov 2003-05-15 16:23:18 0000 -------
Hi Castelão.

Thanks for testing, remarks and everything!
Could you please reopen the bug when you add comments that require attention other that "it works"? Otherwise the bug does not show on my radar screen ;). Sometimes bugzilla skips on notification emails (which seems to have happened here), so I really have no way of knowing if the bug has changed unless it reappears in my list of open bugs. It was fortunate you emailed me directly :).

Ok reopening the bug now, will try get to it reasonably soon.

George

------- Comment #13 From Castelão 2003-07-05 17:26:35 0000 -------
(From update of attachment 10702 [details])
Obsolete by bug 23977

------- Comment #14 From George Shapovalov 2003-07-07 23:29:51 0000 -------
Thanks for an update! Will try to get to the new one soon.

George

*** This bug has been marked as a duplicate of 23977 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug