OpenSDE Packages Database (without history before r20070)
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.

250 lines
12 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../geomorph/install.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ur geomorph-0.31_orig/config.sub geomorph-0.31/config.sub
  17. --- geomorph-0.31_orig/config.sub 2006-09-09 22:14:20.222544500 +0100
  18. +++ geomorph-0.31/config.sub 2006-09-09 22:54:11.836011000 +0100
  19. @@ -183,17 +183,6 @@
  20. m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | z8k | v70 | h8500 | w65 | pj | pjl)
  21. ;;
  22. - # We use `pc' rather than `unknown'
  23. - # because (1) that's what they normally are, and
  24. - # (2) the word "unknown" tends to confuse beginning users.
  25. - i[34567]86)
  26. - basic_machine=$basic_machine-pc
  27. - ;;
  28. - # Object if more than one company name word.
  29. - *-*-*)
  30. - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  31. - exit 1
  32. - ;;
  33. # Recognize the basic CPU types with company name.
  34. # FIXME: clean up the formatting here.
  35. vax-* | tahoe-* | i[34567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \
  36. @@ -861,9 +850,6 @@
  37. os=-coff
  38. ;;
  39. *)
  40. - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
  41. - exit 1
  42. - ;;
  43. esac
  44. # Here we canonicalize certain aliases for manufacturers.
  45. diff -ur geomorph-0.31_orig/geomorphrc geomorph-0.31/geomorphrc
  46. --- geomorph-0.31_orig/geomorphrc 2006-09-09 22:14:20.222544500 +0100
  47. +++ geomorph-0.31/geomorphrc 2006-09-09 22:39:03.827264000 +0100
  48. @@ -1,10 +1,10 @@
  49. [files] ; R�pertoires et fichiers
  50. def_dir = geomorph ; R�pertoire par d�faut
  51. -hf_dir = /home/patrice/geomorph/ ; R�pertoire par d�faut (images de relief)
  52. -pov_dir = /home/patrice/geomorph/ ; R�pertoire par d�faut (sc�nes Povray)
  53. -doc_dir = /usr/local/share/geomorph/doc/index.html ; R�pertoire par d�faut (documentation)
  54. -doc_reader = epiphany ; Lecteur HTML par d�faut
  55. +hf_dir = ~/geomorph/ ; R�pertoire par d�faut (images de relief)
  56. +pov_dir = ~/geomorph/ ; R�pertoire par d�faut (sc�nes Povray)
  57. +doc_dir = /usr/share/geomorph/doc/index.html ; R�pertoire par d�faut (documentation)
  58. +doc_reader = firefox ; Lecteur HTML par d�faut
  59. [interface] ; Interface
  60. pad = 6 ; Espacement des dialogues (pixels)
  61. @@ -30,7 +30,7 @@
  62. renderer = povray ; Outil de rendu 3D (Povray...)
  63. render_width = 640 ; Largeur par d�faut du rendu 3D
  64. render_height = 480 ; Hauteur par d�faut du rendu 3D
  65. -scene = /home/patrice/geomorph/simple_terrain.pov ; Sc�ne de rendu par d�faut (.pov...)
  66. +scene = ~/geomorph/simple_terrain.pov ; Sc�ne de rendu par d�faut (.pov...)
  67. hf_output_for_rendering = test.png ; Fichier PNG de sortie pour la sc�ne POV par d�faut
  68. other_render_options = +D -F +P ; Autres options de rendu sur la ligne de commande
  69. diff -ur geomorph-0.31_orig/geomorphrc_de geomorph-0.31/geomorphrc_de
  70. --- geomorph-0.31_orig/geomorphrc_de 2006-09-09 22:14:20.222544500 +0100
  71. +++ geomorph-0.31/geomorphrc_de 2006-09-09 22:39:32.117032000 +0100
  72. @@ -1,10 +1,10 @@
  73. [files] ; Verzeichnis und Dateien
  74. def_dir = geomorph ; Standard-Verzeichnis
  75. -hf_dir = /home/yourself/geomorph/ ; Standard-Verzeichnis (Height Fields)
  76. -pov_dir = /home/yourself/geomorph/ ; Standard-Verzeichnis (Povray Szenen)
  77. -doc_dir = /usr/local/share/geomorph/doc/index.html ; Standard-Verzeichnis (Dokumentation)
  78. -doc_reader = epiphany ; Standard HTML Browser
  79. +hf_dir = ~/geomorph/ ; Standard-Verzeichnis (Height Fields)
  80. +pov_dir = ~/geomorph/ ; Standard-Verzeichnis (Povray Szenen)
  81. +doc_dir = /usr/share/geomorph/doc/index.html ; Standard-Verzeichnis (Dokumentation)
  82. +doc_reader = firefox ; Standard HTML Browser
  83. [interface] ; Schnittstelle
  84. pad = 6 ; Dialog Padding (Pixel)
  85. @@ -30,7 +30,7 @@
  86. renderer = povray ; 3D Rendering Werkzeug (Povray...)
  87. render_width = 640 ; Standard 3D Render-Breite
  88. render_height = 480 ; Standard 3D Render-Höhe
  89. -scene = /home/yourself/geomorph/simple_terrain.pov ; Standard-Szene für Rendering (.pov...)
  90. +scene = ~/geomorph/simple_terrain.pov ; Standard-Szene für Rendering (.pov...)
  91. hf_output_for_rendering = test.png ; PNG Dateiname für die Ausgabe der Standard POV Szene
  92. output_prefix = _ ; Povray Ausgabe-Prefix
  93. other_render_options = +D -F +P ; Andere Renderparameter für die Kommandozeile
  94. diff -ur geomorph-0.31_orig/geomorphrc_en geomorph-0.31/geomorphrc_en
  95. --- geomorph-0.31_orig/geomorphrc_en 2006-09-09 22:14:20.222544500 +0100
  96. +++ geomorph-0.31/geomorphrc_en 2006-09-09 22:39:13.799887250 +0100
  97. @@ -10,10 +10,10 @@
  98. [files] ; Directory and files
  99. def_dir = geomorph ; Default directory
  100. -hf_dir = /home/myself/geomorph/ ; Default directory (Height fields)
  101. -pov_dir = /home/myself/geomorph/ ; Default directory (Povray scenes)
  102. -doc_dir = /usr/local/share/geomorph/doc ; Default directory (documentation)
  103. -doc_reader = mozilla ; Default HTML reader
  104. +hf_dir = ~/geomorph/ ; Default directory (Height fields)
  105. +pov_dir = ~/geomorph/ ; Default directory (Povray scenes)
  106. +doc_dir = /usr/share/geomorph/doc ; Default directory (documentation)
  107. +doc_reader = firefox ; Default HTML reader
  108. [interface] ; Interface
  109. pad = 6 ; Dialog padding (pixels)
  110. @@ -39,7 +39,7 @@
  111. renderer = x-povray ; 3D rendering tool (Povray...)
  112. render_width = 640 ; Default 3D rendering width
  113. render_height = 480 ; Default 3D rendering height
  114. -scene = /home/myself/geomorph/iced_satellite.pov ; Default rendering scene (.pov...)
  115. +scene = ~/geomorph/iced_satellite.pov ; Default rendering scene (.pov...)
  116. hf_output_for_rendering = tmp/test.png ; PNG output file name for default POV scene
  117. output_prefix = _ ; Povray output prefix
  118. other_render_options = +P +D -F ; Other command line rendering options
  119. diff -ur geomorph-0.31_orig/geomorphrc_fr geomorph-0.31/geomorphrc_fr
  120. --- geomorph-0.31_orig/geomorphrc_fr 2006-09-09 22:14:20.222544500 +0100
  121. +++ geomorph-0.31/geomorphrc_fr 2006-09-09 22:39:54.490430250 +0100
  122. @@ -10,10 +10,10 @@
  123. [files] ; R�pertoires et fichiers
  124. def_dir = geomorph ; R�pertoire par d�faut
  125. -hf_dir = /home/moimeme/geomorph/ ; R�pertoire par d�faut (images de relief)
  126. -pov_dir = /home/moimeme/geomorph/ ; R�pertoire par d�faut (sc�nes Povray)
  127. -doc_dir = /usr/local/share/geomorph/doc ; R�pertoire par d�faut (documentation)
  128. -doc_reader = mozilla ; Lecteur HTML par d�faut
  129. +hf_dir = ~/geomorph/ ; R�pertoire par d�faut (images de relief)
  130. +pov_dir = ~/geomorph/ ; R�pertoire par d�faut (sc�nes Povray)
  131. +doc_dir = /usr/share/geomorph/doc ; R�pertoire par d�faut (documentation)
  132. +doc_reader = firefox ; Lecteur HTML par d�faut
  133. [interface] ; Interface
  134. pad = 6 ; Espacement des dialogues (pixels)
  135. @@ -39,7 +39,7 @@
  136. renderer = x-povray ; Outil de rendu 3D (Povray...)
  137. render_width = 640 ; Largeur par d�faut du rendu 3D
  138. render_height = 480 ; Hauteur par d�faut du rendu 3D
  139. -scene = /home/moimeme/geomorph/iced_satellite.pov ; Sc�ne de rendu par d�faut (.pov...)
  140. +scene = ~/geomorph/iced_satellite.pov ; Sc�ne de rendu par d�faut (.pov...)
  141. hf_output_for_rendering = tmp/test.png ; Fichier PNG de sortie pour la sc�ne POV par d�faut
  142. output_prefix = _ ; Pr�fixe du fichier de sortie Povray
  143. other_render_options = +P +D -F ; Autres options de rendu sur la ligne de commande
  144. diff -ur geomorph-0.31_orig/install-step1-dir geomorph-0.31/install-step1-dir
  145. --- geomorph-0.31_orig/install-step1-dir 2006-09-09 22:14:20.258546750 +0100
  146. +++ geomorph-0.31/install-step1-dir 2006-09-09 22:41:45.209349750 +0100
  147. @@ -3,7 +3,7 @@
  148. # Installing a Geomorph user, part 1: the directory with default POV scenes
  149. VERSION=0.31
  150. -SOURCE_DIR=/usr/local/share/geomorph/$VERSION/scenes
  151. +SOURCE_DIR=/usr/share/geomorph/$VERSION/scenes
  152. if [ -d $HOME/geomorph ]
  153. then
  154. @@ -32,6 +32,6 @@
  155. fi
  156. mkdir -v $HOME/geomorph
  157. -cp -fv /usr/local/share/geomorph/$VERSION/scenes/* $HOME/geomorph
  158. +cp -fv /usr/share/geomorph/$VERSION/scenes/* $HOME/geomorph
  159. diff -ur geomorph-0.31_orig/install-step2-rcfile geomorph-0.31/install-step2-rcfile
  160. --- geomorph-0.31_orig/install-step2-rcfile 2006-09-09 22:14:20.258546750 +0100
  161. +++ geomorph-0.31/install-step2-rcfile 2006-09-09 23:04:16.525801750 +0100
  162. @@ -14,7 +14,7 @@
  163. echo "def_dir = geomorph" >> $GEORC;
  164. echo "hf_dir = $HOME/geomorph" >> $GEORC;
  165. echo "pov_dir = $HOME/geomorph" >> $GEORC;
  166. -echo "doc_dir = /usr/local/share/geomorph/doc/index.html " >> $GEORC;
  167. +echo "doc_dir = /usr/share/geomorph/doc/index.html " >> $GEORC;
  168. # Look for a HTML reader
  169. # (a simple process which could be fooled in some cases -
  170. @@ -76,8 +76,8 @@
  171. echo " " >> $GEORC;
  172. -if type /usr/local/share/geomorph/$VERSION/v0_30_new_sections >& /dev/null ; then
  173. - /usr/local/share/geomorph/$VERSION/v0_30_new_sections >> $GEORC
  174. +if type /usr/share/geomorph/$VERSION/v0_30_new_sections >& /dev/null ; then
  175. + /usr/share/geomorph/$VERSION/v0_30_new_sections >> $GEORC
  176. elif type ./v0_30_new_sections > /dev/null ; then
  177. ./v0_30_new_sections >> $GEORC
  178. fi
  179. diff -ur geomorph-0.31_orig/install-step3-desktop geomorph-0.31/install-step3-desktop
  180. --- geomorph-0.31_orig/install-step3-desktop 2006-09-09 22:14:20.258546750 +0100
  181. +++ geomorph-0.31/install-step3-desktop 2006-09-09 22:41:45.209349750 +0100
  182. @@ -7,13 +7,13 @@
  183. if [ -d $HOME/.gnome-desktop ]
  184. then if [ ! -f $HOME/.gnome-desktop/$DSKT ]
  185. - then cp -vf /usr/local/share/geomorph/Geomorph-gnome.desktop $HOME/.gnome-desktop/$DSKT
  186. + then cp -vf /usr/share/geomorph/Geomorph-gnome.desktop $HOME/.gnome-desktop/$DSKT
  187. fi
  188. fi
  189. if [ -d $HOME/Desktop ]
  190. then if [ ! -f $HOME/Desktop/$DSKT ]
  191. - then cp -vf /usr/local/share/geomorph/Geomorph-kde.desktop $HOME/Desktop/$DSKT
  192. + then cp -vf /usr/share/geomorph/Geomorph-kde.desktop $HOME/Desktop/$DSKT
  193. fi
  194. fi
  195. diff -ur geomorph-0.31_orig/install-user geomorph-0.31/install-user
  196. --- geomorph-0.31_orig/install-user 2006-09-09 22:14:20.258546750 +0100
  197. +++ geomorph-0.31/install-user 2006-09-09 22:41:45.213350000 +0100
  198. @@ -10,11 +10,11 @@
  199. if [ -d $HOME/geomorph ]
  200. then
  201. - /usr/local/share/geomorph/$VERSION/install-step1-dir
  202. + /usr/share/geomorph/$VERSION/install-step1-dir
  203. exit
  204. fi
  205. -/usr/local/share/geomorph/$VERSION/install-step1-dir
  206. -/usr/local/share/geomorph/$VERSION/install-step2-rcfile
  207. -/usr/local/share/geomorph/$VERSION/install-step3-desktop
  208. +/usr/share/geomorph/$VERSION/install-step1-dir
  209. +/usr/share/geomorph/$VERSION/install-step2-rcfile
  210. +/usr/share/geomorph/$VERSION/install-step3-desktop
  211. diff -ur geomorph-0.31_orig/update-rc geomorph-0.31/update-rc
  212. --- geomorph-0.31_orig/update-rc 2006-09-09 22:14:20.258546750 +0100
  213. +++ geomorph-0.31/update-rc 2006-09-09 22:16:07.549252000 +0100
  214. @@ -65,8 +65,8 @@
  215. # 5. We add the 3d_preview and the camera_1 to camera_5 sections
  216. -if type /usr/local/share/geomorph/$VERSION/v0_30_new_sections >& /dev/null ; then
  217. - /usr/local/share/geomorph/$VERSION/v0_30_new_sections >> $HOME/geomorph/geomorphrc
  218. +if type /usr/share/geomorph/$VERSION/v0_30_new_sections >& /dev/null ; then
  219. + /usr/share/geomorph/$VERSION/v0_30_new_sections >> $HOME/geomorph/geomorphrc
  220. elif type ./v0_30_new_sections > /dev/null ; then
  221. ./v0_30_new_sections >> $HOME/geomorph/geomorphrc
  222. fi