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.

166 lines
5.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xawtv/X11.patch
  5. # Copyright (C) 2006 The T2 SDE 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 xawtv-3.95/Makefile.in xawtv-3.95-t2/Makefile.in
  17. --- xawtv-3.95/Makefile.in 2004-04-22 16:52:29.000000000 +0200
  18. +++ xawtv-3.95-t2/Makefile.in 2006-02-10 02:38:31.000000000 +0100
  19. @@ -29,7 +29,7 @@
  20. # for CFLAGS
  21. WARN_FLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
  22. LFS_FLAGS := -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
  23. -X11_FLAGS := @X_CFLAGS@ @XFT_FLAGS@ -I/usr/X11R6/include/X11/fonts
  24. +X11_FLAGS := @X_CFLAGS@ @XFT_FLAGS@ -I/usr/X11/include/X11/fonts
  25. LIB_FLAGS := -I. -I./vbistuff -I./x11 \
  26. -I$(srcdir)/jwz -I$(srcdir)/common -I$(srcdir)/console \
  27. -I$(srcdir)/x11 -I$(srcdir)/structs \
  28. diff -ur xawtv-3.95/configure xawtv-3.95-t2/configure
  29. --- xawtv-3.95/configure 2005-09-30 12:10:03.000000000 +0200
  30. +++ xawtv-3.95-t2/configure 2006-02-10 02:38:30.000000000 +0100
  31. @@ -4130,22 +4130,22 @@
  32. # Check X11 before X11Rn because it is often a symlink to the current release.
  33. ac_x_header_dirs='
  34. /usr/X11/include
  35. -/usr/X11R6/include
  36. +/usr/X11/include
  37. /usr/X11R5/include
  38. /usr/X11R4/include
  39. /usr/include/X11
  40. -/usr/include/X11R6
  41. +/usr/include/X11
  42. /usr/include/X11R5
  43. /usr/include/X11R4
  44. /usr/local/X11/include
  45. -/usr/local/X11R6/include
  46. +/usr/local/X11/include
  47. /usr/local/X11R5/include
  48. /usr/local/X11R4/include
  49. /usr/local/include/X11
  50. -/usr/local/include/X11R6
  51. +/usr/local/include/X11
  52. /usr/local/include/X11R5
  53. /usr/local/include/X11R4
  54. @@ -5376,7 +5376,7 @@
  55. fi
  56. fi
  57. - # Check for libraries that X11R6 Xt/Xaw programs need.
  58. + # Check for libraries that X11 Xt/Xaw programs need.
  59. ac_save_LDFLAGS=$LDFLAGS
  60. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  61. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  62. @@ -6812,7 +6812,7 @@
  63. echo "$as_me:$LINENO: checking for X11 config directory" >&5
  64. echo $ECHO_N "checking for X11 config directory... $ECHO_C" >&6
  65. -x11conf=/usr/X11R6/lib/X11
  66. +x11conf=/usr/X11/lib/X11
  67. if test -d /etc/X11; then
  68. x11conf=/etc/X11
  69. fi
  70. @@ -6822,7 +6822,7 @@
  71. echo "$as_me:$LINENO: checking for X11 app-defaults directory" >&5
  72. echo $ECHO_N "checking for X11 app-defaults directory... $ECHO_C" >&6
  73. -resdir=/usr/X11R6/lib/X11
  74. +resdir=/usr/X11/lib/X11
  75. if test -d /etc/X11/app-defaults; then
  76. resdir=/etc/X11
  77. fi
  78. diff -ur xawtv-3.95/configure.ac xawtv-3.95-t2/configure.ac
  79. --- xawtv-3.95/configure.ac 2004-08-18 17:48:09.000000000 +0200
  80. +++ xawtv-3.95-t2/configure.ac 2006-02-10 02:38:30.000000000 +0100
  81. @@ -287,7 +287,7 @@
  82. dnl ---------------------------------------------------------------------
  83. AC_MSG_CHECKING(for X11 config directory)
  84. -x11conf=/usr/X11R6/lib/X11
  85. +x11conf=/usr/X11/lib/X11
  86. if test -d /etc/X11; then
  87. x11conf=/etc/X11
  88. fi
  89. @@ -295,7 +295,7 @@
  90. AC_SUBST(x11conf)
  91. AC_MSG_CHECKING(for X11 app-defaults directory)
  92. -resdir=/usr/X11R6/lib/X11
  93. +resdir=/usr/X11/lib/X11
  94. if test -d /etc/X11/app-defaults; then
  95. resdir=/etc/X11
  96. fi
  97. diff -ur xawtv-3.95/xawtv.spec xawtv-3.95-t2/xawtv.spec
  98. --- xawtv-3.95/xawtv.spec 2005-09-30 14:57:44.000000000 +0200
  99. +++ xawtv-3.95-t2/xawtv.spec 2006-02-10 02:38:30.000000000 +0100
  100. @@ -17,14 +17,14 @@
  101. %build
  102. mkdir build
  103. cd build
  104. -CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr/X11R6
  105. +CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr/X11
  106. make
  107. %install
  108. test "%{buildroot}" != "" && rm -rf "%{buildroot}"
  109. (cd build; make DESTDIR="%{buildroot}" SUID_ROOT="" install)
  110. -gzip -v %{buildroot}/usr/X11R6/man/man*/*.[158]
  111. -gzip -v %{buildroot}/usr/X11R6/man/*/man*/*.[158]
  112. +gzip -v %{buildroot}/usr/X11/man/man*/*.[158]
  113. +gzip -v %{buildroot}/usr/X11/man/*/man*/*.[158]
  114. find %{buildroot} -type f -print \
  115. | sed -e 's|%{buildroot}||' \
  116. | grep -v -e %{docdir} \
  117. @@ -34,7 +34,7 @@
  118. %files -f filelist
  119. %defattr(-,root,root)
  120. %doc COPYING Changes TODO README README.* contrib/frequencies*
  121. -%attr(4711,root,root) /usr/X11R6/bin/v4l-conf
  122. +%attr(4711,root,root) /usr/X11/bin/v4l-conf
  123. %clean
  124. test "%{buildroot}" != "" && rm -rf "%{buildroot}"
  125. diff -ur xawtv-3.95/xawtv.spec.in xawtv-3.95-t2/xawtv.spec.in
  126. --- xawtv-3.95/xawtv.spec.in 2003-02-14 15:14:09.000000000 +0100
  127. +++ xawtv-3.95-t2/xawtv.spec.in 2006-02-10 02:38:31.000000000 +0100
  128. @@ -17,14 +17,14 @@
  129. %build
  130. mkdir build
  131. cd build
  132. -CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr/X11R6
  133. +CFLAGS="$RPM_OPT_FLAGS" ../configure --prefix=/usr/X11
  134. make
  135. %install
  136. test "%{buildroot}" != "" && rm -rf "%{buildroot}"
  137. (cd build; make DESTDIR="%{buildroot}" SUID_ROOT="" install)
  138. -gzip -v %{buildroot}/usr/X11R6/man/man*/*.[158]
  139. -gzip -v %{buildroot}/usr/X11R6/man/*/man*/*.[158]
  140. +gzip -v %{buildroot}/usr/X11/man/man*/*.[158]
  141. +gzip -v %{buildroot}/usr/X11/man/*/man*/*.[158]
  142. find %{buildroot} -type f -print \
  143. | sed -e 's|%{buildroot}||' \
  144. | grep -v -e %{docdir} \
  145. @@ -34,7 +34,7 @@
  146. %files -f filelist
  147. %defattr(-,root,root)
  148. %doc COPYING Changes TODO README README.* contrib/frequencies*
  149. -%attr(4711,root,root) /usr/X11R6/bin/v4l-conf
  150. +%attr(4711,root,root) /usr/X11/bin/v4l-conf
  151. %clean
  152. test "%{buildroot}" != "" && rm -rf "%{buildroot}"