Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472686 - =sci-astronomy/predict-2.2.3-r1 earthtrack not working
Summary: =sci-astronomy/predict-2.2.3-r1 earthtrack not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 472528
  Show dependency tree
 
Reported: 2013-06-08 18:27 UTC by Chema Alonso Josa (RETIRED)
Modified: 2013-06-18 17:51 UTC (History)
0 users

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


Attachments
Patch for earthtrack.c (predict-2.2.3-r1-earthtrack.patch,1.15 KB, patch)
2013-06-08 18:27 UTC, Chema Alonso Josa (RETIRED)
Details | Diff
ebuild patch (predict-2.2.3-r1.ebuild.patch,3.32 KB, patch)
2013-06-08 18:27 UTC, Chema Alonso Josa (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chema Alonso Josa (RETIRED) gentoo-dev 2013-06-08 18:27:22 UTC
Created attachment 350422 [details, diff]
Patch for earthtrack.c

After emerging =sci-astronomy/predict-2.2.3-r1 by issuing:

USE="doc nls xplanet" emerge =sci-astronomy/predict-2.2.3-r1

I tried the earthtrack utility but I get:

*** Error: Could not read "/usr/local/share/xplanet/config/default"
Is xplanet installed?

xplanet is pulled by =sci-astronomy/predict-2.2.3-r1 ebuild but the config files are installed under /usr/share/xplanet/config/

By applying the attached predict-2.2.3-r1-earthtrack.patch and starting the predict server I managed to run earthtrack, but I get:

Warning: Xplanet was compiled without FreeType support. Ignoring text: W1AW
Warning: Xplanet was compiled without FreeType support. Ignoring text: OSCAR-7
...

So I modified the ebuild (attached patch) to include an RDEPEND on xplanet[truetype] and added some || die commands and now it works fine here.
Comment 1 Chema Alonso Josa (RETIRED) gentoo-dev 2013-06-08 18:27:46 UTC
Created attachment 350424 [details, diff]
ebuild patch
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2013-06-11 17:38:16 UTC
feel free to commit directly to any of sci packages

+  11 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> predict-2.2.3-r1.ebuild:
+  Fixed earthtrack and cleaning, bug #472686 thanks Chema Alonso
+
Comment 3 Chema Alonso Josa (RETIRED) gentoo-dev 2013-06-18 17:51:06 UTC
(In reply to Sébastien Fabbro from comment #2)
> feel free to commit directly to any of sci packages
> 

Thanks, I've added the patch to earthtrack.c to make things work :-)

+  18 Jun 2013; Chema Alonso <nimiux@gentoo.org> predict-2.2.3-r1.ebuild,
+  +files/predict-2.2.3-earthtrack.patch:
+  Add earthtrack patch wrt bug 472686