diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-11 21:26:10 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-11 21:26:10 +0000 |
commit | a54a3762ebdc143feb748c6fcb9c4d1dbd01ea50 (patch) | |
tree | 2ccf55e5a3dc7d3df578188b70213d5e33e3b3dd /x11-misc/xplanet | |
parent | ppc/ppc64 stable wrt #385795 (diff) | |
download | historical-a54a3762ebdc143feb748c6fcb9c4d1dbd01ea50.tar.gz historical-a54a3762ebdc143feb748c6fcb9c4d1dbd01ea50.tar.bz2 historical-a54a3762ebdc143feb748c6fcb9c4d1dbd01ea50.zip |
old
Package-Manager: portage-2.2.0_alpha64/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/xplanet')
-rw-r--r-- | x11-misc/xplanet/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/xplanet/Manifest | 19 | ||||
-rw-r--r-- | x11-misc/xplanet/files/xplanet-1.2.1-gentoo.patch | 457 | ||||
-rw-r--r-- | x11-misc/xplanet/xplanet-1.2.1.ebuild | 71 |
4 files changed, 13 insertions, 540 deletions
diff --git a/x11-misc/xplanet/ChangeLog b/x11-misc/xplanet/ChangeLog index a88a80b26e85..8b34de08bf60 100644 --- a/x11-misc/xplanet/ChangeLog +++ b/x11-misc/xplanet/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/xplanet # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/ChangeLog,v 1.72 2011/10/11 21:24:42 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/ChangeLog,v 1.73 2011/10/11 21:26:09 ssuominen Exp $ + + 11 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -xplanet-1.2.1.ebuild, + -files/xplanet-1.2.1-gentoo.patch: + old 11 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> xplanet-1.2.2.ebuild: ppc/ppc64 stable wrt #385795 diff --git a/x11-misc/xplanet/Manifest b/x11-misc/xplanet/Manifest index d2f8124820a1..4527d19fcd38 100644 --- a/x11-misc/xplanet/Manifest +++ b/x11-misc/xplanet/Manifest @@ -1,21 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX xplanet-1.2.1-gentoo.patch 17675 RMD160 86da33b89cc5d4cfed9bc651521cc9b52ac7fb3f SHA1 52de8ec8f5d81f7514cf006a0cbeb54dfa116c71 SHA256 a57901e4ef4604e308f1dda42e866a38d35f122f24de8a4f011212f9a37caa56 -DIST xplanet-1.2.1.tar.gz 1211663 RMD160 06c5031ea702bca9cc6ed5ad8c81454a223f508e SHA1 c3810c303af8f0cb40520112d9cd1f24fa8b42b5 SHA256 f52d57e27747bc6faa5f3fb4a7f0b80c5fe810a1c303c078666eca97832ae5de DIST xplanet-1.2.2.tar.gz 1217169 RMD160 431c9223b2b122599a8c4bdca18c17fea0dcd5ab SHA1 3c9cc4be7cd87121884162204eff376af2fc03e3 SHA256 6f8f8c59b4d5d1dd5018ed4b1367e55f6296f0253596b7705f714a9b3ccdd3ca -EBUILD xplanet-1.2.1.ebuild 1742 RMD160 f629a92be1cf89aa08cd05dd8aebf0ca4e72818a SHA1 d8ed89cb07cc298f34ed7ebd17d73627bc3f04e7 SHA256 2e019d88c9d136b12a97a6ccd385b5d940ebaac1ab59f0e7e8409c159317dc67 EBUILD xplanet-1.2.2.ebuild 1662 RMD160 43ed99d6ab2998edab52e8cb9779abcddc381195 SHA1 f781e5075474c0ceb217b9b058a6638a5238aed6 SHA256 7a576f72cda0249eb70da9afe85b700ed70b353ac7bc436e24d6c614c6b3456d -MISC ChangeLog 9348 RMD160 2693ec9a27b079591eb897f6d7870af2ef1e1c4e SHA1 708d287da3e206ceae7b4cb6589f0d020da04c72 SHA256 85e983cfccee89ebb9bb0535805ae558f2c6dfae081482b91d36e0d64a1117a9 +MISC ChangeLog 9469 RMD160 ca1863f10333b2c0072f976d41cfbfa2ad3cb97b SHA1 cf248cfce72f84641b92ccf7975c4bda3611260c SHA256 59d90e34760a0d7b4839b572b132ecf54bfa03c3c26fce1cc1a2964ab9372d24 MISC metadata.xml 166 RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 SHA1 e6c6436c304a65b4a012a5b7be7ee264b228a645 SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJOlLQnAAoJEEdUh39IaPFN0MkIAKAkEw7/pIdwBReGcDWP38PZ -3aVB/v7itQR+2y2dqimgUfnJJEzpKIomT6EWVN78OVwVoK2iOmEbuXJs96RQoPrT -Y5OYekBiCydS6fsE1R5r1DbSx2dgv7Ap5IRuJiprFmE4u5Vhram9RQbX3yAXh5Xq -pYntWtPgyMg/oVOyFumNnU8Qpan1i1yWz21RWWAryh75Uy+vtUDVpNvk/AjJFUpt -sTrrc49qO9eCqU/lbTq+VTM/7PqD9SxDTjnffMqH2qfPPTplTVv1C57fvr2IhSE8 -g4XHWxY3tmA/ULwBCrphhibau7yrvO9M3aTyLDLLBVy/MXXrC+3SlxpnlVBmrao= -=Glrn +iQEcBAEBAgAGBQJOlLR/AAoJEEdUh39IaPFNgRIH/0iCRUunPP81rZYJOr0vqm8K +Qm/5aYJO8QLrJ2udSSxFXUcCvf2yOFkaaTG4ZjOSJSO74Ssd0/g/cbvugA2Klado +aVhDtRqMux+/l/a+L1Jj7EBGOqvBTB6VVnsRAnUJsMc6Y6ru+fZV2WJj3f1PBR5H +qbRfKzAzLpQq0UlMHwXrJeX0dTM0ETWLk5dFL3U0jg4DXwI8geXv4hn9znk19eDu +kz7F4flhngzVe9IZrOi2v7TCtYyjEla6jrbRDNqVf3tDZQHAs/OxSugMwKLATwOS +xvj33kGJbiUQUrL5dEmKh4fGNUlddldR6es+/HFw38Y/5YCaWQn+pkH3SVGV2iA= +=NNeP -----END PGP SIGNATURE----- diff --git a/x11-misc/xplanet/files/xplanet-1.2.1-gentoo.patch b/x11-misc/xplanet/files/xplanet-1.2.1-gentoo.patch deleted file mode 100644 index 473c40073517..000000000000 --- a/x11-misc/xplanet/files/xplanet-1.2.1-gentoo.patch +++ /dev/null @@ -1,457 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=277937 - -diff -ur xplanet-1.2.1.orig/src/libimage/bmp.c xplanet-1.2.1/src/libimage/bmp.c ---- xplanet-1.2.1.orig/src/libimage/bmp.c 2006-03-26 00:50:51.000000000 +0200 -+++ xplanet-1.2.1/src/libimage/bmp.c 2009-07-26 21:42:03.000000000 +0300 -@@ -61,10 +61,10 @@ - struct BMPHeader bmph; - - /* The length of each line must be a multiple of 4 bytes */ -- - bytesPerLine = (3 * (width + 1) / 4) * 4; - -- strcpy(bmph.bfType, "BM"); -+ /* copy only "BM" without a terminating null byte */ -+ strncpy(bmph.bfType, "BM", 2); - bmph.bfOffBits = 54; - bmph.bfSize = bmph.bfOffBits + bytesPerLine * height; - bmph.bfReserved = 0; -diff -ur xplanet-1.2.1.orig/src/libmultiple/addOrbits.cpp xplanet-1.2.1/src/libmultiple/addOrbits.cpp ---- xplanet-1.2.1.orig/src/libmultiple/addOrbits.cpp 2008-11-14 01:46:12.000000000 +0200 -+++ xplanet-1.2.1/src/libmultiple/addOrbits.cpp 2009-07-26 21:42:06.000000000 +0300 -@@ -86,9 +86,13 @@ - const double period = p->Period(); - if (period == 0) return; - -+ // Units of orbit circumference - const double startOrbit = currentProperties->StartOrbit(); - const double stopOrbit = currentProperties->StopOrbit(); -+ -+ // degrees - const double delOrbit = currentProperties->DelOrbit(); -+ - const unsigned char *color = currentProperties->OrbitColor(); - const int thickness = currentProperties->ArcThickness(); - -@@ -103,10 +107,11 @@ - const double startTime = jd0 + startOrbit * period; - const double stopTime = jd0 + stopOrbit * period; - -- const int numTimes = (int) (180/delOrbit + 0.5); -- -+ int numTimes = (int) abs(360 * startOrbit / delOrbit + 0.5); - addArc(startTime, jd0, numTimes, color, thickness, view, width, height, - Prx, Pry, Prz, p, annotationMap); -+ -+ numTimes = (int) abs(360 * stopOrbit / delOrbit + 0.5); - addArc(jd0, stopTime, numTimes, color, thickness, view, width, height, - Prx, Pry, Prz, p, annotationMap); - } -diff -ur xplanet-1.2.1.orig/src/Satellite.cpp xplanet-1.2.1/src/Satellite.cpp ---- xplanet-1.2.1.orig/src/Satellite.cpp 2006-03-26 02:34:21.000000000 +0200 -+++ xplanet-1.2.1/src/Satellite.cpp 2009-07-26 21:42:17.000000000 +0300 -@@ -1,4 +1,5 @@ - #include <clocale> -+#include <cstdio> - #include <cstring> - #include <iostream> - using namespace std; -diff -ur xplanet-1.2.1.orig/src/Separation.cpp xplanet-1.2.1/src/Separation.cpp ---- xplanet-1.2.1.orig/src/Separation.cpp 2008-11-14 02:19:05.000000000 +0200 -+++ xplanet-1.2.1/src/Separation.cpp 2009-07-26 21:42:17.000000000 +0300 -@@ -1,4 +1,5 @@ - #include <cmath> -+#include <cstdio> - #include <iostream> - - #include "Separation.h" -diff -ur xplanet-1.2.1.orig/xplanet.1 xplanet-1.2.1/xplanet.1 ---- xplanet-1.2.1.orig/xplanet.1 2007-12-27 01:48:50.000000000 +0200 -+++ xplanet-1.2.1/xplanet.1 2009-07-26 21:42:17.000000000 +0300 -@@ -31,7 +31,7 @@ - .sp - .fi - where declination is in degrees and right ascension is in hours. This --option has no effect if -projection is specified. -+option has no effect if \-projection is specified. - - .TP - .B \-arc_spacing spacing -@@ -48,8 +48,8 @@ - .TP - .B \-background background_file - Use background_file as the background image, with the planet to be --superimposed upon it. A color may also be supplied (e.g. -background --"navy blue" or -background 0xff00ff). -+superimposed upon it. A color may also be supplied (e.g. \-background -+"navy blue" or \-background 0xff00ff). - - .TP - .B \-base_magnitude magnitude -@@ -67,20 +67,20 @@ - pluto, charon, random, and major. - - The field of view can also be centered on a satellite location using --"naif" or "norad", along with the satellite id. For example, "-body --naif-82" will center the field of view on NAIF ID -82, which is the -+"naif" or "norad", along with the satellite id. For example, "\-body -+naif-82" will center the field of view on NAIF ID \-82, which is the - Cassini orbiter. Xplanet must be compiled with SPICE support and the - required kernels must be present. See the README in the spice --subdirectory for more details. Using "-body norad20580" will center -+subdirectory for more details. Using "\-body norad20580" will center - the field of view on NORAD ID 20580, which is the Hubble Space - Telescope. The appropriate TLE files must be present in this case. - See the README in the satellites subdirectory for more information. - - Using "path" will center the field of view on the direction of motion - of the origin. This direction is relative to the direction of motion --of the body specified by -path_relative_to. -+of the body specified by \-path_relative_to. - --Earth is the default body. This option is the same as -target. -+Earth is the default body. This option is the same as \-target. - - .TP - .B \-center +x+y -@@ -92,13 +92,13 @@ - .B \-color color - Set the color for the label. The default is "red". Any color in the - rgb.txt file may be used. Colors may also be specified by RGB hex --values; for example -color 0xff and -color blue mean the same thing, --as do -color 0xff0000 and -color red. -+values; for example \-color 0xff and \-color blue mean the same thing, -+as do \-color 0xff0000 and \-color red. - - .TP - .B \-config config_file - Use the configuration file config_file. The format of config_file is --described in README.config. See the description of -searchdir to see -+described in README.config. See the description of \-searchdir to see - where xplanet looks in order to find the configuration file. - - .TP -@@ -116,7 +116,7 @@ - .TP - .B \-dynamic_origin file - Specify an observer location. The location is relative to the body --specified with -origin (by default, this is the Sun). The last line -+specified with \-origin (by default, this is the Sun). The last line - of the file must be of the form - .nf - .sp -@@ -126,7 +126,7 @@ - For example, - .nf - .sp --19951207.120000 10.328 -3.018 97.709 9.595 -+19951207.120000 10.328 \-3.018 97.709 9.595 - .sp - .fi - The specified time is ignored and the current time is used. The range -@@ -134,7 +134,7 @@ - hours) is optional, but if present, it will be used in place of the - longitude. Only the last line of the file is used. This file may be - updated between renderings using a script executed with the ---prev_command or -post_command options. -+\-prev_command or \-post_command options. - - .TP - .B \-ephemeris_file filename -@@ -144,13 +144,13 @@ - little endian binary files. The ephemeris files found at - ftp://ssd.jpl.nasa.gov/pub/eph/export/unix are big endian files, but - you do not need to do any additional byte-swapping to use them. See --the description of -searchdir to see where xplanet looks in order to -+the description of \-searchdir to see where xplanet looks in order to - find the ephemeris file. - - .TP - .B \-font fontname - Set the font for the label. Only TrueType fonts are supported. If --the -pango option is used, fontname is taken to be the font family -+the \-pango option is used, fontname is taken to be the font family - name (e.g. "Arial"). - - .TP -@@ -168,9 +168,9 @@ - - .TP - .B \-fov --Specify the field of view, in degrees. This option and the -radius -+Specify the field of view, in degrees. This option and the \-radius - option are mutually exclusive. This option has no effect if the ---projection option is used. -+\-projection option is used. - - .TP - .B \-geometry string -@@ -179,7 +179,7 @@ - (e.g. 256x256-10+10 puts a window 256x256 pixels in size 10 pixels - away from the right side and 10 pixels below the top of the root - window). The root window outside of the image will be black. This --option may be used with -window or -output. -+option may be used with \-window or \-output. - - .TP - .B \-glare radius -@@ -188,7 +188,7 @@ - - .TP - .B \-gmtlabel --Same as the -label option, but show GMT instead of local time. -+Same as the \-label option, but show GMT instead of local time. - - .TP - .B \-grs_longitude lon -@@ -213,7 +213,7 @@ - - .TP - .B \-interpolate_origin_file --This option is only useful in conjunction with -origin_file. It -+This option is only useful in conjunction with \-origin_file. It - computes the observer position at the current time by interpolating - between values specified in the origin file. This is useful if you - have spacecraft positions tabulated in an origin file, but want a real -@@ -232,12 +232,12 @@ - Specify the location of the label using the standard X window geometry - syntax. The default position is "-15+15", or 15 pixels to the left - and below the top right corner of the display. This option implies ---label. -+\-label. - - .TP - .B \-label_body body - Use the specified body to calculate the sub-observer, sub-solar, and --illumination values in the label. This is useful with the -separation -+illumination values in the label. This is useful with the \-separation - option. - - .TP -@@ -268,17 +268,17 @@ - .B \-longitude longitude - Place the observer above the specified longitude (in degrees). - Longitude is positive going east, negative going west (for the earth --and moon), so for example Los Angeles is at -118 or 242. The default -+and moon), so for example Los Angeles is at \-118 or 242. The default - value is 0. - - .TP - .B \-make_cloud_maps - If there is an entry in the config file for cloud_map, xplanet will - output a day and night image with clouds overlaid and then exit. The --images will be created in the directory specified by -tmpdir, or in --the current directory if -tmpdir is not used. The names of the output -+images will be created in the directory specified by \-tmpdir, or in -+the current directory if \-tmpdir is not used. The names of the output - images default to day_clouds.jpg and night_clouds.jpg, but may be --changed by the -output option. If "-output filename.extension" is -+changed by the \-output option. If "\-output filename.extension" is - specified, the output images will be named "day_filename.extension" - and "night_filename.extension". The dimensions of the output images - are the same as the day image. -@@ -290,11 +290,11 @@ - declination, right ascension, string, as in the example below: - .nf - .sp ---16.7161 6.7525 "Sirius" -+\-16.7161 6.7525 "Sirius" - .sp - .fi - For additional options which may be specified, see the marker_file --entry in README.config. This option has no effect if -projection is -+entry in README.config. This option has no effect if \-projection is - specified. This option is not meant for city markers; for that use - the marker_file option in the configuration file. - -@@ -321,9 +321,9 @@ - body: body's north pole - galactic: galactic north pole - orbit: body's orbital north pole (perpendicular to the orbit plane) --path: origin's velocity vector (also see -path_relative_to option) -+path: origin's velocity vector (also see \-path_relative_to option) - separation: perpendicular to the line of sight and the -- target-separation target line (see -separation option) -+ target-separation target line (see \-separation option) - .sp - .fi - The default value is "body". -@@ -335,7 +335,7 @@ - .TP - .B \-origin body - Place the observer at the center of the specified body. Valid values --are the same as for -target. In addition, "above", "below", or -+are the same as for \-target. In addition, "above", "below", or - "system" may be specified. Using "above" or "below" centers the view - on the body's primary and the field of view is large enough to show - the body's orbit. Using "system" places the observer at the center of -@@ -351,15 +351,15 @@ - If the body name is preceded by a dash, the observer is placed on the - opposite side of the target from the specified body at a distance - equal to the distance between the target and body. For example, ---target earth -origin sun places the observer at the center of the --sun. If -target earth -origin -sun is used, the observer is placed on -+\-target earth \-origin sun places the observer at the center of the -+sun. If \-target earth \-origin \-sun is used, the observer is placed on - a line connecting the centers of the earth and sun at a distance of 1 - AU farther from the sun than the earth. - - .TP - .B \-origin_file origin_file - Specify a list of observer positions in origin_file. The positions --are relative to the body specified with -origin (by default, this is -+are relative to the body specified with \-origin (by default, this is - the Sun). Each line should be of the form - .nf - .sp -@@ -369,14 +369,14 @@ - For example, - .nf - .sp --19951207.120000 10.328 -3.018 97.709 9.595 -+19951207.120000 10.328 \-3.018 97.709 9.595 - .sp - .fi - Range is in planetary radii, and lat and lon are in degrees. The date - is the only required value. If the localtime (in hours) is supplied, - it will be used in place of the longitude. For each line in the - origin file, the observer is placed at the specified position, --relative to the body specified with -origin. This option is useful -+relative to the body specified with \-origin. This option is useful - for showing spacecraft flybys or orbiting around a planet. Any line - with a # in the first column is ignored. - -@@ -386,8 +386,8 @@ - taken from the extension. Currently .gif, .jpg, .ppm, .png, and .tiff - images can be created, if xplanet has been compiled with the - appropriate libraries. The image size defaults to 512 by 512 pixels --but this may be changed by the -geometry flag. If used with the ---num_times option, each output file will be numbered sequentially. -+but this may be changed by the \-geometry flag. If used with the -+\-num_times option, each output file will be numbered sequentially. - - .TP - .B \-output_start_index index -@@ -404,7 +404,7 @@ - - .TP - .B \-path_relative_to body --Only used with -north path or -target path. The origin's velocity -+Only used with \-north path or \-target path. The origin's velocity - vector is calculated relative to the specified body. By default, this - is the Sun. - -@@ -416,7 +416,7 @@ - On MS Windows, you may need to use unix-style paths. For example: - .nf - .sp --xplanet.exe -prev_command ./prev.bat -+xplanet.exe \-prev_command ./prev.bat - .sp - .fi - -@@ -471,8 +471,8 @@ - .TP - .B \-rotate angle - Rotate the globe by angle degrees counterclockwise so that north (as --defined by the -north argument) isn't at the top. The default value --is 0. My friends in the Southern Hemisphere can use -rotate 180 to -+defined by the \-north argument) isn't at the top. The default value -+is 0. My friends in the Southern Hemisphere can use \-rotate 180 to - make the earth look like it should! For non-orthographic projections, - the globe is rotated and then projected, if that helps you visualize - what to expect. -@@ -481,7 +481,7 @@ - .B \-save_desktop_file - On Microsoft Windows and Mac OS X, xplanet creates an intermediate - image file which is used to set the desktop. This file will be --created in the -tmpdir directory. By default, this image is removed -+created in the \-tmpdir directory. By default, this image is removed - after the desktop has been set. Specifying this option will leave the - file in place. - -@@ -507,14 +507,14 @@ - .TP - .B \-separation body:dist - Place the observer at a location where the target body and the --separation body are dist degrees apart. For example "-target earth ---separation moon:-3" means place the observer at a location where the -+separation body are dist degrees apart. For example "\-target earth -+\-separation moon:-3" means place the observer at a location where the - moon appears 3 degrees to the left of the earth. - - .TP - .B \-spice_ephemeris index - Use SPICE kernels to compute the position of the named body. The --index is the naif ID code (e.g. 599 for Jupiter). The -spice_file -+index is the naif ID code (e.g. 599 for Jupiter). The \-spice_file - option must be used to supply the names of the kernel files. This - option may be used more than once for different bodies. - -@@ -544,15 +544,15 @@ - decimal hours. For example, the entry for Sirius is - .nf - .sp ---16.7161 6.7525 -1.46 -+\-16.7161 6.7525 \-1.46 - .sp - .fi --See the description of -searchdir to see where xplanet looks in order -+See the description of \-searchdir to see where xplanet looks in order - to find the star map. - - .TP - .B \-target target --Same as -body. -+Same as \-body. - - .TP - .B \-tt -@@ -568,13 +568,13 @@ - .TP - .B \-tmpdir tmpdir - Specify a directory that xplanet will use to place images created --using -make_cloud_maps. On Microsoft Windows, xplanet will write -+using \-make_cloud_maps. On Microsoft Windows, xplanet will write - a bitmap file called xplanet.bmp to the specified directory. The - default is the result of the GetWindowsDirectory call (C:\WINDOWS on - Win95). On Mac OS X, xplanet will create an intermediate PNG file in - order to set the background. The default value is /tmp. On Windows - and Mac OS X, the intermediate file will be removed unless the ---save_desktop_file option is specified. -+\-save_desktop_file option is specified. - - .TP - .B \-transparency -@@ -583,12 +583,12 @@ - - .TP - .B \-transpng filename --Same as the -output option, except set the background to be -+Same as the \-output option, except set the background to be - transparent when writing a PNG file. - - .TP - .B \-utclabel --Same as -gmtlabel. -+Same as \-gmtlabel. - - .TP - .B \-verbosity level -@@ -624,13 +624,13 @@ - .TP - .B \-window - Render the image to its own X window. The size defaults to 512 by 512 --pixels but this may be set by the -geometry flag. -+pixels but this may be set by the \-geometry flag. - - .TP - .B \-window_title title --Set the window's title to title. This option implies -window. -+Set the window's title to title. This option implies \-window. - - .TP - .B \-xscreensaver --Same as -vroot. -+Same as \-vroot. - diff --git a/x11-misc/xplanet/xplanet-1.2.1.ebuild b/x11-misc/xplanet/xplanet-1.2.1.ebuild deleted file mode 100644 index 93b5f6938104..000000000000 --- a/x11-misc/xplanet/xplanet-1.2.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xplanet/xplanet-1.2.1.ebuild,v 1.6 2010/11/08 12:44:04 nelchael Exp $ - -EAPI=2 -inherit eutils - -DESCRIPTION="a program to render images of the earth into the X root window" -HOMEPAGE="http://xplanet.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86" -IUSE="gif jpeg X truetype tiff png" - -RDEPEND="X? ( x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXt - x11-libs/libXext ) - gif? ( media-libs/giflib ) - jpeg? ( virtual/jpeg ) - tiff? ( media-libs/tiff ) - png? ( media-libs/libpng - media-libs/netpbm ) - truetype? ( =media-libs/freetype-2* - x11-libs/pango )" -DEPEND="${RDEPEND} - X? ( x11-proto/xproto - x11-proto/scrnsaverproto )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch -} - -src_configure() { - local myconf - - use X \ - && myconf="${myconf} --with-x --with-xscreensaver" \ - || myconf="${myconf} --with-x=no --with-xscreensaver=no" - - use gif \ - && myconf="${myconf} --with-gif" \ - || myconf="${myconf} --with-gif=no" - - use jpeg \ - && myconf="${myconf} --with-jpeg" \ - || myconf="${myconf} --with-jpeg=no" - - use tiff \ - && myconf="${myconf} --with-tiff" \ - || myconf="${myconf} --with-tiff=no" - - use png \ - && myconf="${myconf} --with-png --with-pnm" \ - || myconf="${myconf} --with-png=no --with-pnm=no" - - use truetype \ - && myconf="${myconf} --with-freetype --with-pango" \ - || myconf="${myconf} --with-freetype=no --with-pango=no" - - econf \ - --with-cspice=no \ - ${myconf} -} - -src_install () { - emake DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS README TODO -} |