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.

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