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.

106 lines
3.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../sun-jdk-6/mime-type-remove.diff
  5. # Copyright (C) 2006 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. we don't want java touching /etc/mailcap
  18. Alejandro
  19. we dont want java touching /usr/share/ registry files
  20. mipe
  21. we can't add new lines to .bin file because it does tail to checksum and to
  22. generate tarball
  23. Alejandro
  24. Just a remark without modification: safe_mimetypeadd can not be used to add
  25. mimetypes safely. This is done in postsysfiles.in. Create both mimetype and
  26. mailcap entries.
  27. Minto
  28. --- jdk-6-beta-linux-i586.bin.orig 2006-03-12 09:41:15.000000000 +0100
  29. +++ jdk-6-beta-linux-i586.bin 2006-03-12 09:53:57.000000000 +0100
  30. @@ -147,7 +147,7 @@
  31. if [ -w `dirname ${MAILCAP_FILE}` ]; then
  32. MC_TEXT="${MC_TEXT}\n${MC_COMMENT}"
  33. MC_TEXT="${MC_TEXT}\n${MIME_TYPE}; $LATEST_JAVAWS_PATH %s"
  34. - echo ${echo_args}"${MC_TEXT}" > ${MAILCAP_FILE}
  35. + #echo ${echo_args}"${MC_TEXT}" > ${MAILCAP_FILE}
  36. else
  37. echo "WARNING - cannot write to file:"
  38. echo " ${MAILCAP_FILE}"
  39. @@ -171,9 +171,9 @@
  40. # Create the file if it does not exist
  41. if [ ! -w ${MIME_FILE} ]; then
  42. if [ -w `dirname ${MIME_FILE}` ]; then
  43. - echo "${NS_COMMENT1}" > ${MIME_FILE}
  44. - echo "${NS_COMMENT2}" >> ${MIME_FILE}
  45. - echo "${NS_COMMENT3}" >> ${MIME_FILE}
  46. + #echo "${NS_COMMENT1}" > ${MIME_FILE}
  47. + #echo "${NS_COMMENT2}" >> ${MIME_FILE}
  48. + #echo "${NS_COMMENT3}" >> ${MIME_FILE}
  49. else
  50. echo "WARNING - cannot write to file:"
  51. echo " ${MIME_FILE}"
  52. @@ -182,9 +182,9 @@
  53. fi
  54. fi
  55. # Add the jnlp entry if it does not already exist.
  56. - if [ -z "`grep ${MIME_TYPE} ${MIME_FILE}`" ]; then
  57. - echo ${JNLP_ENTRY} >> ${MIME_FILE}
  58. - fi
  59. + #if [ -z "`grep ${MIME_TYPE} ${MIME_FILE}`" ]; then
  60. + # echo ${JNLP_ENTRY} >> ${MIME_FILE}
  61. + #fi
  62. }
  63. # End of UpdateMimeTypes
  64. @@ -430,21 +430,21 @@
  65. fi
  66. # Setup the GNOME associations
  67. - AddGNOME application/java-archive \
  68. - jar \
  69. - java-archive \
  70. - "${LATEST_JRE_PATH}/bin/java -jar" \
  71. - sun-java \
  72. - png \
  73. - "Java Archive"
  74. -
  75. - AddGNOME ${MIME_TYPE} \
  76. - jnlp \
  77. - java-web-start \
  78. - "${LATEST_JAVAWS_PATH}" \
  79. - sun-java \
  80. - png \
  81. - "Java Web Start Application"
  82. + #AddGNOME application/java-archive \
  83. + # jar \
  84. + # java-archive \
  85. + # "${LATEST_JRE_PATH}/bin/java -jar" \
  86. + # sun-java \
  87. + # png \
  88. + # "Java Archive"
  89. +
  90. + #AddGNOME ${MIME_TYPE} \
  91. + # jnlp \
  92. + # java-web-start \
  93. + # "${LATEST_JAVAWS_PATH}" \
  94. + # sun-java \
  95. + # png \
  96. + # "Java Web Start Application"
  97. fi
  98. fi