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.

144 lines
4.8 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/gnome2/seahorse/gedit210-okay.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 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. --- ./configure.in.orig 2005-02-18 19:07:21.000000000 +0100
  20. +++ ./configure.in 2005-03-20 20:38:15.000000000 +0100
  21. @@ -217,8 +216,9 @@
  22. echo "enabling gedit plugin..."
  23. echo "checking for supported versions of gedit..."
  24. - PKG_CHECK_MODULES(GEDIT, gedit-2.8 >= 2.8.0, ,
  25. - [PKG_CHECK_MODULES(GEDIT, gedit-2.6 >= 2.6.0)])
  26. + PKG_CHECK_MODULES(GEDIT, gedit-2.10 >= 2.9.0, ,
  27. + [PKG_CHECK_MODULES(GEDIT, gedit-2.8 >= 2.8.0, ,
  28. + [PKG_CHECK_MODULES(GEDIT, gedit-2.6 >= 2.6.0)])])
  29. AC_SUBST(GEDIT_CFLAGS)
  30. fi
  31. --- ./configure.orig 2005-02-18 19:12:32.000000000 +0100
  32. +++ ./configure 2005-03-31 17:02:39.000000000 +0200
  33. @@ -20572,6 +20572,99 @@
  34. else
  35. PKG_CONFIG_MIN_VERSION=0.9.0
  36. if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
  37. + echo "$as_me:$LINENO: checking for gedit-2.10 >= 2.9.0" >&5
  38. +echo $ECHO_N "checking for gedit-2.10 >= 2.9.0... $ECHO_C" >&6
  39. +
  40. + if $PKG_CONFIG --exists "gedit-2.10 >= 2.9.0" ; then
  41. + echo "$as_me:$LINENO: result: yes" >&5
  42. +echo "${ECHO_T}yes" >&6
  43. + succeeded=yes
  44. +
  45. + echo "$as_me:$LINENO: checking GEDIT_CFLAGS" >&5
  46. +echo $ECHO_N "checking GEDIT_CFLAGS... $ECHO_C" >&6
  47. + GEDIT_CFLAGS=`$PKG_CONFIG --cflags "gedit-2.10 >= 2.9.0"`
  48. + echo "$as_me:$LINENO: result: $GEDIT_CFLAGS" >&5
  49. +echo "${ECHO_T}$GEDIT_CFLAGS" >&6
  50. +
  51. + echo "$as_me:$LINENO: checking GEDIT_LIBS" >&5
  52. +echo $ECHO_N "checking GEDIT_LIBS... $ECHO_C" >&6
  53. + GEDIT_LIBS=`$PKG_CONFIG --libs "gedit-2.10 >= 2.9.0"`
  54. + echo "$as_me:$LINENO: result: $GEDIT_LIBS" >&5
  55. +echo "${ECHO_T}$GEDIT_LIBS" >&6
  56. + else
  57. + GEDIT_CFLAGS=""
  58. + GEDIT_LIBS=""
  59. + ## If we have a custom action on failure, don't print errors, but
  60. + ## do set a variable so people can do so.
  61. + GEDIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gedit-2.10 >= 2.9.0"`
  62. +
  63. + fi
  64. +
  65. +
  66. +
  67. + else
  68. + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
  69. + echo "*** See http://www.freedesktop.org/software/pkgconfig"
  70. + fi
  71. + fi
  72. +
  73. + if test $succeeded = yes; then
  74. + :
  75. + else
  76. +
  77. + succeeded=no
  78. +
  79. + if test -z "$PKG_CONFIG"; then
  80. + # Extract the first word of "pkg-config", so it can be a program name with args.
  81. +set dummy pkg-config; ac_word=$2
  82. +echo "$as_me:$LINENO: checking for $ac_word" >&5
  83. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  84. +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  85. + echo $ECHO_N "(cached) $ECHO_C" >&6
  86. +else
  87. + case $PKG_CONFIG in
  88. + [\\/]* | ?:[\\/]*)
  89. + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  90. + ;;
  91. + *)
  92. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  93. +for as_dir in $PATH
  94. +do
  95. + IFS=$as_save_IFS
  96. + test -z "$as_dir" && as_dir=.
  97. + for ac_exec_ext in '' $ac_executable_extensions; do
  98. + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99. + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  100. + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  101. + break 2
  102. + fi
  103. +done
  104. +done
  105. +
  106. + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  107. + ;;
  108. +esac
  109. +fi
  110. +PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  111. +
  112. +if test -n "$PKG_CONFIG"; then
  113. + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  114. +echo "${ECHO_T}$PKG_CONFIG" >&6
  115. +else
  116. + echo "$as_me:$LINENO: result: no" >&5
  117. +echo "${ECHO_T}no" >&6
  118. +fi
  119. +
  120. + fi
  121. +
  122. + if test "$PKG_CONFIG" = "no" ; then
  123. + echo "*** The pkg-config script could not be found. Make sure it is"
  124. + echo "*** in your path, or set the PKG_CONFIG environment variable"
  125. + echo "*** to the full path to pkg-config."
  126. + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
  127. + else
  128. + PKG_CONFIG_MIN_VERSION=0.9.0
  129. + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
  130. echo "$as_me:$LINENO: checking for gedit-2.8 >= 2.8.0" >&5
  131. echo $ECHO_N "checking for gedit-2.8 >= 2.8.0... $ECHO_C" >&6
  132. @@ -20711,6 +20804,8 @@
  133. fi
  134. + fi
  135. +
  136. fi