You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/cptutils/files/cptutils-1.45-tests.patch

51 lines
1.4 KiB

--- cptutils-1.45/src/cptcss/Makefile
+++ cptutils-1.45/src/cptcss/Makefile
@@ -26,7 +26,7 @@
# for testing
-CPT = /usr/share/gmt/cpt/GMT_haxby.cpt
+CPT = $(TESTD)/cpt/GMT_haxby.cpt
test check : cptcss
./cptcss -f "level-%.2i" -v $(CPT)
--- cptutils-1.45/src/t/cpt/GMT_haxby.cpt
+++ cptutils-1.45/src/t/cpt/GMT_haxby.cpt
@@ -0,0 +1,36 @@
+# $Id: cptutils-1.45-tests.patch,v 1.1 2012/09/03 01:02:22 radhermit Exp $
+#
+# The colortable popularized by Bill Haxby, LDEO
+# COLOR_MODEL = RGB
+0 10 0 121 1 10 0 121
+1 40 0 150 2 40 0 150
+2 20 5 175 3 20 5 175
+3 0 10 200 4 0 10 200
+4 0 25 212 5 0 25 212
+5 0 40 224 6 0 40 224
+6 26 102 240 7 26 102 240
+7 13 129 248 8 13 129 248
+8 25 175 255 9 25 175 255
+9 50 190 255 10 50 190 255
+10 68 202 255 11 68 202 255
+11 97 225 240 12 97 225 240
+12 106 235 225 13 106 235 225
+13 124 235 200 14 124 235 200
+14 138 236 174 15 138 236 174
+15 172 245 168 16 172 245 168
+16 205 255 162 17 205 255 162
+17 223 245 141 18 223 245 141
+18 240 236 121 19 240 236 121
+19 247 215 104 20 247 215 104
+20 255 189 87 21 255 189 87
+21 255 160 69 22 255 160 69
+22 244 117 75 23 244 117 75
+23 238 80 78 24 238 80 78
+24 255 90 90 25 255 90 90
+25 255 124 124 26 255 124 124
+26 255 158 158 27 255 158 158
+27 245 179 174 28 245 179 174
+28 255 196 196 29 255 196 196
+29 255 215 215 30 255 215 215
+30 255 235 235 31 255 235 235
+31 255 255 255 32 255 255 255