mirror of the now-defunct rocklinux.org
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.

220 lines
11 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/rene/xzgv/gcc-3.3.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./src/rcfile.c.orig 2001-01-16 03:50:47.000000000 +0200
  20. +++ ./src/rcfile.c 2003-10-19 09:16:03.000000000 +0300
  21. @@ -577,102 +577,102 @@
  22. {
  23. printf("xzgv " XZGV_VER
  24. " - (c) 1999,2000 Russell Marks for improbabledesigns.\n");
  25. -puts("
  26. -usage: xzgv [options] [dir | file ...]
  27. -
  28. - -a --auto-hide automatically hide selector on selecting a picture.
  29. - --careful-jpeg enable JPEG `fancy upsampling' (see info file
  30. - or man page).
  31. - --delete-single-prompt
  32. - (normally enabled, use --delete-single-prompt=off to
  33. - disable) if *disabled*, don't prompt for confirmation
  34. - when deleting a file.
  35. - --dither-hicol use dithering in 15/16-bit to increase apparent
  36. - colour depth, whatever Imlib's default setting is.
  37. - You can also use `--dither-hicol=off' to disable
  38. - this if you normally have Imlib use it.
  39. - --fast-recursive-update
  40. - when doing recursive thumbnail update, don't
  41. - read visible thumbnails for a directory before
  42. - doing the update (only slightly faster).
  43. - -f --fullscreen use the whole screen for the xzgv window, without
  44. - even window-manager decorations if possible. (But
  45. - your wm may not care to trust borderless programs.)
  46. - -g --geometry geom
  47. - use geometry `geom'. For example, `400x300' specifies
  48. - window size in pixels, `70%x50%' specifies size as
  49. - percentage of screen width/height, `+100+50' specifies
  50. - position relative to top-left, and `50%x30%-30%-20%'
  51. - is left as an exercise for the reader. :-) The default
  52. - geometry is `92%x85%'.
  53. - (See info file or man page for more details.)
  54. - -G --gamma val set gamma adjustment to `val'. The default is 1.0, i.e.
  55. - no adjustment. (See info file or man page for details,
  56. - and a discussion of gamma issues.)
  57. - -h --help give this usage help.
  58. - --image-bigness-threshold numpix
  59. - set the boundary `numpix' above which images are
  60. - considered `big', and rendered piece-by-piece rather
  61. - than all-at-once (which is nicer, but harder on
  62. - memory). Units are number of pixels in image (i.e.
  63. - width times height), and the default is 2000000 pixels.
  64. - --interpolate interpolate between the picture's pixels when
  65. - scaling up. Usually looks nicer, but it's slow.
  66. - --mouse-scale-x if enabled, control-click scales only the X axis -
  67. - the default is to scale only the Y axis.
  68. - --revert-orient (normally enabled, use --revert-orient=off to disable)
  69. - if *disabled*, orientation (flip/mirror/rotate) state
  70. - is retained between pictures.
  71. - --revert-scale (normally enabled, use --revert-scale=off to disable)
  72. - if *disabled*, scaling is retained between pictures.
  73. - --selector-width width
  74. - set initial/default selector width to `width'. (The
  75. - units used are pixels, and the normal setting 200.)
  76. - -T --show-tagged show names of tagged files on exit (they're listed
  77. - to stdout).
  78. - --show-thumbnail-messages
  79. - show on the status bar when thumbnails are being read.
  80. - The status bar must be enabled for the messages to be
  81. - visible, of course. :-)
  82. - -k --skip-parent for the first directory shown, skip the cursor past
  83. - `..' (the parent dir). Can be useful when you'd like
  84. - to immediately use space to `page' through the dir.
  85. - -o --sort-order set initial sorting order used in the selector.
  86. - Types are `name', `ext', `size', `date' (or `time');
  87. - only the first char (n/e/s/d/t) need be given.
  88. - (The default is name order.)
  89. - --sort-timestamp-type type
  90. - set timestamp type to use when using time/date sorting
  91. - order. Types are `mtime' (default), `ctime', and
  92. - `atime'; only the first char (m/c/a) need be given.
  93. - --statusbar show a status bar below the selector; this, for
  94. - example, says when a picture is being read.
  95. - -t --thin-rows use rows a third the normal height in the selector.
  96. - This can be very useful on lower-resolution screens,
  97. - or if you're really interested in filenames, not
  98. - thumbnails.
  99. - -v --version report version number.
  100. - --version-gtk report version of GTK+ being used by xzgv.
  101. - -z --zoom fit pictures in the viewer window, whatever their
  102. - actual size.
  103. - -r --zoom-reduce-only
  104. - when zooming, only *reduce* pictures to fit; i.e.
  105. - make big pictures viewable all-at-once while leaving
  106. - small picures intact.
  107. -
  108. - dir start xzgv on a certain directory.
  109. - file ... view (only) the file(s) specified.
  110. -
  111. -All options are processed after any ~/.xzgvrc or /etc/xzgv.conf file.
  112. -Most long options (minus `--') can used in either file with e.g. `zoom on'.
  113. -
  114. -On/off settings (such as zoom) are enabled by e.g. `-z' or `--zoom';
  115. -however, the long-option form `--option=off' can be used to disable
  116. -them (needed when they are enabled by default - revert-scale, for
  117. -example - or to override them being enabled in a config file).
  118. -
  119. -(This syntax actually lets you both disable *and* enable options,
  120. -using (for the arg after `=') on/off, y/n, yes/no, or 1/0.)");
  121. +puts("\n"
  122. +"usage: xzgv [options] [dir | file ...]\n"
  123. +"\n"
  124. +" -a --auto-hide automatically hide selector on selecting a picture.\n"
  125. +" --careful-jpeg enable JPEG `fancy upsampling' (see info file\n"
  126. +" or man page).\n"
  127. +" --delete-single-prompt\n"
  128. +" (normally enabled, use --delete-single-prompt=off to\n"
  129. +" disable) if *disabled*, don't prompt for confirmation\n"
  130. +" when deleting a file.\n"
  131. +" --dither-hicol use dithering in 15/16-bit to increase apparent\n"
  132. +" colour depth, whatever Imlib's default setting is.\n"
  133. +" You can also use `--dither-hicol=off' to disable\n"
  134. +" this if you normally have Imlib use it.\n"
  135. +" --fast-recursive-update\n"
  136. +" when doing recursive thumbnail update, don't\n"
  137. +" read visible thumbnails for a directory before\n"
  138. +" doing the update (only slightly faster).\n"
  139. +" -f --fullscreen use the whole screen for the xzgv window, without\n"
  140. +" even window-manager decorations if possible. (But\n"
  141. +" your wm may not care to trust borderless programs.)\n"
  142. +" -g --geometry geom\n"
  143. +" use geometry `geom'. For example, `400x300' specifies\n"
  144. +" window size in pixels, `70%x50%' specifies size as\n"
  145. +" percentage of screen width/height, `+100+50' specifies\n"
  146. +" position relative to top-left, and `50%x30%-30%-20%'\n"
  147. +" is left as an exercise for the reader. :-) The default\n"
  148. +" geometry is `92%x85%'.\n"
  149. +" (See info file or man page for more details.)\n"
  150. +" -G --gamma val set gamma adjustment to `val'. The default is 1.0, i.e.\n"
  151. +" no adjustment. (See info file or man page for details,\n"
  152. +" and a discussion of gamma issues.)\n"
  153. +" -h --help give this usage help.\n"
  154. +" --image-bigness-threshold numpix\n"
  155. +" set the boundary `numpix' above which images are\n"
  156. +" considered `big', and rendered piece-by-piece rather\n"
  157. +" than all-at-once (which is nicer, but harder on\n"
  158. +" memory). Units are number of pixels in image (i.e.\n"
  159. +" width times height), and the default is 2000000 pixels.\n"
  160. +" --interpolate interpolate between the picture's pixels when\n"
  161. +" scaling up. Usually looks nicer, but it's slow.\n"
  162. +" --mouse-scale-x if enabled, control-click scales only the X axis -\n"
  163. +" the default is to scale only the Y axis.\n"
  164. +" --revert-orient (normally enabled, use --revert-orient=off to disable)\n"
  165. +" if *disabled*, orientation (flip/mirror/rotate) state\n"
  166. +" is retained between pictures.\n"
  167. +" --revert-scale (normally enabled, use --revert-scale=off to disable)\n"
  168. +" if *disabled*, scaling is retained between pictures.\n"
  169. +" --selector-width width\n"
  170. +" set initial/default selector width to `width'. (The\n"
  171. +" units used are pixels, and the normal setting 200.)\n"
  172. +" -T --show-tagged show names of tagged files on exit (they're listed\n"
  173. +" to stdout).\n"
  174. +" --show-thumbnail-messages\n"
  175. +" show on the status bar when thumbnails are being read.\n"
  176. +" The status bar must be enabled for the messages to be\n"
  177. +" visible, of course. :-)\n"
  178. +" -k --skip-parent for the first directory shown, skip the cursor past\n"
  179. +" `..' (the parent dir). Can be useful when you'd like\n"
  180. +" to immediately use space to `page' through the dir.\n"
  181. +" -o --sort-order set initial sorting order used in the selector.\n"
  182. +" Types are `name', `ext', `size', `date' (or `time');\n"
  183. +" only the first char (n/e/s/d/t) need be given.\n"
  184. +" (The default is name order.)\n"
  185. +" --sort-timestamp-type type\n"
  186. +" set timestamp type to use when using time/date sorting\n"
  187. +" order. Types are `mtime' (default), `ctime', and\n"
  188. +" `atime'; only the first char (m/c/a) need be given.\n"
  189. +" --statusbar show a status bar below the selector; this, for\n"
  190. +" example, says when a picture is being read.\n"
  191. +" -t --thin-rows use rows a third the normal height in the selector.\n"
  192. +" This can be very useful on lower-resolution screens,\n"
  193. +" or if you're really interested in filenames, not\n"
  194. +" thumbnails.\n"
  195. +" -v --version report version number.\n"
  196. +" --version-gtk report version of GTK+ being used by xzgv.\n"
  197. +" -z --zoom fit pictures in the viewer window, whatever their\n"
  198. +" actual size.\n"
  199. +" -r --zoom-reduce-only\n"
  200. +" when zooming, only *reduce* pictures to fit; i.e.\n"
  201. +" make big pictures viewable all-at-once while leaving\n"
  202. +" small picures intact.\n"
  203. +"\n"
  204. +" dir start xzgv on a certain directory.\n"
  205. +" file ... view (only) the file(s) specified.\n"
  206. +"\n"
  207. +"All options are processed after any ~/.xzgvrc or /etc/xzgv.conf file.\n"
  208. +"Most long options (minus `--') can used in either file with e.g. `zoom on'.\n"
  209. +"\n"
  210. +"On/off settings (such as zoom) are enabled by e.g. `-z' or `--zoom';\n"
  211. +"however, the long-option form `--option=off' can be used to disable\n"
  212. +"them (needed when they are enabled by default - revert-scale, for\n"
  213. +"example - or to override them being enabled in a config file).\n"
  214. +"\n"
  215. +"(This syntax actually lets you both disable *and* enable options,\n"
  216. +"using (for the arg after `=') on/off, y/n, yes/no, or 1/0.)");
  217. exit(0);
  218. }diff -Nru3 trunk-1595/package/jimmy/zgv/gcc-3.3.patch trunk/package/jimmy/zgv/gcc-3.3.patch