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.

279 lines
10 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/xine-ui/head-tail.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. diff -dur xine-ui-0.99.2/configure.ac xine-ui-0.99.2-p/configure.ac
  20. --- xine-ui-0.99.2/configure.ac 2004-07-04 17:51:02.000000000 +0200
  21. +++ xine-ui-0.99.2-p/configure.ac 2004-11-04 19:58:17.541312408 +0100
  22. @@ -580,7 +580,7 @@
  23. dnl
  24. dnl
  25. dnl
  26. -BUILD_CC="`$CC -v 2>&1 | tail -1`"
  27. +BUILD_CC="`$CC -v 2>&1 | tail -n1`"
  28. BUILD_OS="`uname -s -r -m`"
  29. BUILD_DATE="`date \"+%a %d %b %Y %T\"`"
  30. AC_SUBST(BUILD_CC)
  31. diff -dur xine-ui-0.99.2/configure xine-ui-0.99.2-p/configure
  32. --- xine-ui-0.99.2/configure 2004-07-04 18:26:08.000000000 +0200
  33. +++ xine-ui-0.99.2-p/configure 2004-11-04 19:58:35.301612432 +0100
  34. @@ -1,4 +1,4 @@
  35. -#! /bin/sh
  36. +# #! /bin/sh
  37. # Guess values for system-dependent variables and create Makefiles.
  38. # Generated by GNU Autoconf 2.57.
  39. #
  40. @@ -28176,7 +28176,7 @@
  41. fi
  42. -BUILD_CC="`$CC -v 2>&1 | tail -1`"
  43. +BUILD_CC="`$CC -v 2>&1 | tail -n1`"
  44. BUILD_OS="`uname -s -r -m`"
  45. BUILD_DATE="`date \"+%a %d %b %Y %T\"`"
  46. diff -dur xine-ui-0.99.2/misc/xine-bugreport xine-ui-0.99.2-p/misc/xine-bugreport
  47. --- xine-ui-0.99.2/misc/xine-bugreport 2004-07-04 18:26:48.000000000 +0200
  48. +++ xine-ui-0.99.2-p/misc/xine-bugreport 2004-11-04 19:46:59.925325696 +0100
  49. @@ -610,8 +610,8 @@
  50. fi
  51. fi
  52. done
  53. - short=`head -1 <$tmpfile`
  54. - description="`tail +2 <$tmpfile`"
  55. + short=`head -n1 <$tmpfile`
  56. + description="`tail -n+2 <$tmpfile`"
  57. rm $tmpfile
  58. if test -z "$short"; then
  59. echo "internal error: no message for $id" >&2
  60. @@ -903,7 +903,7 @@
  61. if search -x xine "$PATH"; then
  62. xine_executable1=`echo "$found"|sort|uniq`
  63. if [ `echo "$xine_executable1" | wc -l` -gt 1 ]; then
  64. - xine_executable=`echo "$xine_executable1" | head -1`
  65. + xine_executable=`echo "$xine_executable1" | head -n1`
  66. msg several-xine-in-path 1
  67. else
  68. xine_executable="$xine_executable1"
  69. @@ -922,7 +922,7 @@
  70. xine_config=`echo "$found"|sort|uniq`
  71. if [ `echo "$xine_config" | wc -l` -gt 1 ]; then
  72. xine_configs="$xine_config"
  73. - xine_config=`echo "$xine_configs" | head -1`
  74. + xine_config=`echo "$xine_configs" | head -n1`
  75. msg several-xine-config 1
  76. else
  77. msg xine-config-in-path 0
  78. @@ -932,7 +932,7 @@
  79. xine_config="$found";
  80. if [ `echo "$xine_config" | wc -l` -gt 1 ]; then
  81. xine_configs="$xine_config"
  82. - xine_config=`echo "$xine_configs" | head -1`
  83. + xine_config=`echo "$xine_configs" | head -n1`
  84. msg several-xine-config 1
  85. else
  86. msg xine-config-somewhere 0
  87. @@ -1102,7 +1102,7 @@
  88. search -x hdparm "$PATH" || search -x bin/hdparm || search -x sbin/hdparm;
  89. if test -n "$found"; then
  90. - hdparm=`echo "$found"|head -1`
  91. + hdparm=`echo "$found"|head -n1`
  92. fi
  93. case "$DVDROM" in
  94. @@ -1145,8 +1145,8 @@
  95. # Xv extension
  96. search -x xvinfo "$PATH" || search -x bin/xvinfo;
  97. if test -n "$found"; then
  98. - xvinfo=`echo "$found"|head -1`
  99. - XVIDEO=`$xvinfo|head -1`
  100. + xvinfo=`echo "$found"|head -n1`
  101. + XVIDEO=`$xvinfo|head -n1`
  102. msg have-xv 0
  103. YUV=false
  104. YUY2=false
  105. @@ -1387,7 +1387,7 @@
  106. echo "Subject: $subject"
  107. if search -x mail "$PATH" || search -x mailx "$PATH"; then
  108. - mailer=`echo "$found"|head -1`
  109. + mailer=`echo "$found"|head -n1`
  110. echo "Alternatively, I could try to send the bug report for you, using"
  111. echo $mailer -s \""$subject"\"
  112. echo 'Please make sure to add the additional description before saying "yes"!'
  113. diff -dur xine-ui-0.99.2/misc/xine-check xine-ui-0.99.2-p/misc/xine-check
  114. --- xine-ui-0.99.2/misc/xine-check 2004-07-04 18:26:48.000000000 +0200
  115. +++ xine-ui-0.99.2-p/misc/xine-check 2004-11-04 19:45:54.521268624 +0100
  116. @@ -610,8 +610,8 @@
  117. fi
  118. fi
  119. done
  120. - short=`head -1 <$tmpfile`
  121. - description="`tail +2 <$tmpfile`"
  122. + short=`head -n1 <$tmpfile`
  123. + description="`tail -n+2 <$tmpfile`"
  124. rm $tmpfile
  125. if test -z "$short"; then
  126. echo "internal error: no message for $id" >&2
  127. @@ -903,7 +903,7 @@
  128. if search -x xine "$PATH"; then
  129. xine_executable1=`echo "$found"|sort|uniq`
  130. if [ `echo "$xine_executable1" | wc -l` -gt 1 ]; then
  131. - xine_executable=`echo "$xine_executable1" | head -1`
  132. + xine_executable=`echo "$xine_executable1" | head -n1`
  133. msg several-xine-in-path 1
  134. else
  135. xine_executable="$xine_executable1"
  136. @@ -922,7 +922,7 @@
  137. xine_config=`echo "$found"|sort|uniq`
  138. if [ `echo "$xine_config" | wc -l` -gt 1 ]; then
  139. xine_configs="$xine_config"
  140. - xine_config=`echo "$xine_configs" | head -1`
  141. + xine_config=`echo "$xine_configs" | head -n1`
  142. msg several-xine-config 1
  143. else
  144. msg xine-config-in-path 0
  145. @@ -932,7 +932,7 @@
  146. xine_config="$found";
  147. if [ `echo "$xine_config" | wc -l` -gt 1 ]; then
  148. xine_configs="$xine_config"
  149. - xine_config=`echo "$xine_configs" | head -1`
  150. + xine_config=`echo "$xine_configs" | head -n1`
  151. msg several-xine-config 1
  152. else
  153. msg xine-config-somewhere 0
  154. @@ -1102,7 +1102,7 @@
  155. search -x hdparm "$PATH" || search -x bin/hdparm || search -x sbin/hdparm;
  156. if test -n "$found"; then
  157. - hdparm=`echo "$found"|head -1`
  158. + hdparm=`echo "$found"|head -n1`
  159. fi
  160. case "$DVDROM" in
  161. @@ -1145,8 +1145,8 @@
  162. # Xv extension
  163. search -x xvinfo "$PATH" || search -x bin/xvinfo;
  164. if test -n "$found"; then
  165. - xvinfo=`echo "$found"|head -1`
  166. - XVIDEO=`$xvinfo|head -1`
  167. + xvinfo=`echo "$found"|head -n1`
  168. + XVIDEO=`$xvinfo|head -n1`
  169. msg have-xv 0
  170. YUV=false
  171. YUY2=false
  172. @@ -1387,7 +1387,7 @@
  173. echo "Subject: $subject"
  174. if search -x mail "$PATH" || search -x mailx "$PATH"; then
  175. - mailer=`echo "$found"|head -1`
  176. + mailer=`echo "$found"|head -n1`
  177. echo "Alternatively, I could try to send the bug report for you, using"
  178. echo $mailer -s \""$subject"\"
  179. echo 'Please make sure to add the additional description before saying "yes"!'
  180. diff -dur xine-ui-0.99.2/misc/xine-check.sh.in xine-ui-0.99.2-p/misc/xine-check.sh.in
  181. --- xine-ui-0.99.2/misc/xine-check.sh.in 2004-04-15 21:27:20.000000000 +0200
  182. +++ xine-ui-0.99.2-p/misc/xine-check.sh.in 2004-11-04 19:45:32.670590432 +0100
  183. @@ -187,8 +187,8 @@
  184. fi
  185. fi
  186. done
  187. - short=`head -1 <$tmpfile`
  188. - description="`tail +2 <$tmpfile`"
  189. + short=`head -n1 <$tmpfile`
  190. + description="`tail -n+2 <$tmpfile`"
  191. rm $tmpfile
  192. if test -z "$short"; then
  193. echo "internal error: no message for $id" >&2
  194. @@ -480,7 +480,7 @@
  195. if search -x xine "$PATH"; then
  196. xine_executable1=`echo "$found"|sort|uniq`
  197. if [ `echo "$xine_executable1" | wc -l` -gt 1 ]; then
  198. - xine_executable=`echo "$xine_executable1" | head -1`
  199. + xine_executable=`echo "$xine_executable1" | head -n1`
  200. msg several-xine-in-path 1
  201. else
  202. xine_executable="$xine_executable1"
  203. @@ -499,7 +499,7 @@
  204. xine_config=`echo "$found"|sort|uniq`
  205. if [ `echo "$xine_config" | wc -l` -gt 1 ]; then
  206. xine_configs="$xine_config"
  207. - xine_config=`echo "$xine_configs" | head -1`
  208. + xine_config=`echo "$xine_configs" | head -n1`
  209. msg several-xine-config 1
  210. else
  211. msg xine-config-in-path 0
  212. @@ -509,7 +509,7 @@
  213. xine_config="$found";
  214. if [ `echo "$xine_config" | wc -l` -gt 1 ]; then
  215. xine_configs="$xine_config"
  216. - xine_config=`echo "$xine_configs" | head -1`
  217. + xine_config=`echo "$xine_configs" | head -n1`
  218. msg several-xine-config 1
  219. else
  220. msg xine-config-somewhere 0
  221. @@ -679,7 +679,7 @@
  222. search -x hdparm "$PATH" || search -x bin/hdparm || search -x sbin/hdparm;
  223. if test -n "$found"; then
  224. - hdparm=`echo "$found"|head -1`
  225. + hdparm=`echo "$found"|head -n1`
  226. fi
  227. case "$DVDROM" in
  228. @@ -722,8 +722,8 @@
  229. # Xv extension
  230. search -x xvinfo "$PATH" || search -x bin/xvinfo;
  231. if test -n "$found"; then
  232. - xvinfo=`echo "$found"|head -1`
  233. - XVIDEO=`$xvinfo|head -1`
  234. + xvinfo=`echo "$found"|head -n1`
  235. + XVIDEO=`$xvinfo|head -n1`
  236. msg have-xv 0
  237. YUV=false
  238. YUY2=false
  239. @@ -964,7 +964,7 @@
  240. echo "Subject: $subject"
  241. if search -x mail "$PATH" || search -x mailx "$PATH"; then
  242. - mailer=`echo "$found"|head -1`
  243. + mailer=`echo "$found"|head -n1`
  244. echo "Alternatively, I could try to send the bug report for you, using"
  245. echo $mailer -s \""$subject"\"
  246. echo 'Please make sure to add the additional description before saying "yes"!'
  247. diff -dur xine-ui-0.99.2/po/POTFILES.in xine-ui-0.99.2-p/po/POTFILES.in
  248. --- xine-ui-0.99.2/po/POTFILES.in 2004-06-18 23:12:07.000000000 +0200
  249. +++ xine-ui-0.99.2-p/po/POTFILES.in 2004-11-04 19:44:39.075738088 +0100
  250. @@ -1,5 +1,5 @@
  251. # For updating this file, look at the result of:
  252. -# $ head -3 po/POTFILES.in > /tmp/POTFILES.in && grep -l '[^A-Za-z_]_(' src/xitk/*.[chy] | grep -v src/xitk/session_ctrl.c >> /tmp/POTFILES.in && cp /tmp/POTFILES.in po/
  253. +# $ head -n3 po/POTFILES.in > /tmp/POTFILES.in && grep -l '[^A-Za-z_]_(' src/xitk/*.[chy] | grep -v src/xitk/session_ctrl.c >> /tmp/POTFILES.in && cp /tmp/POTFILES.in po/
  254. src/xitk/actions.c
  255. src/xitk/config_wrapper.c
  256. diff -dur xine-ui-0.99.2/src/xitk/xine-toolkit/po/POTFILES.in xine-ui-0.99.2-p/src/xitk/xine-toolkit/po/POTFILES.in
  257. --- xine-ui-0.99.2/src/xitk/xine-toolkit/po/POTFILES.in 2002-05-31 14:34:03.000000000 +0200
  258. +++ xine-ui-0.99.2-p/src/xitk/xine-toolkit/po/POTFILES.in 2004-11-04 19:44:34.688405064 +0100
  259. @@ -1,5 +1,5 @@
  260. # For updating this file, look at the result of:
  261. -# $ head -3 src/xitk/xine-toolkit/po/POTFILES.in > /tmp/POTFILES.in && grep -l '[^A-Za-z_]_(' src/xitk/xine-toolkit/*.[chy] >> /tmp/POTFILES.in && cp /tmp/POTFILES.in src/xitk/xine-toolkit/po/
  262. +# $ head -n3 src/xitk/xine-toolkit/po/POTFILES.in > /tmp/POTFILES.in && grep -l '[^A-Za-z_]_(' src/xitk/xine-toolkit/*.[chy] >> /tmp/POTFILES.in && cp /tmp/POTFILES.in src/xitk/xine-toolkit/po/
  263. src/xitk/xine-toolkit/mrlbrowser.c
  264. src/xitk/xine-toolkit/test.c