309-magic-add-inform.dpatch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 310-magic-add-inform.dpatch by Reuben Thomas <rrt@sc3d.org>
  3. ##
  4. ## DP: New magic for the Inform interactive fiction language (Closes: #394522).
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/inform file-4.20/magic/Magdir/inform
  7. --- file-4.20.orig/magic/Magdir/inform 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.20/magic/Magdir/inform 2007-04-03 15:16:07.000000000 +0000
  9. @@ -0,0 +1,5 @@
  10. +# Type: Inform interactive fiction language
  11. +# URL: http://www.inform-fiction.org/
  12. +# From: Reuben Thomas <rrt@sc3d.org>
  13. +
  14. +0 regex [Cc]onstant[[:space:]]+[Ss]tory Inform source text
  15. diff -Naur file-4.20.orig/magic/Makefile.am file-4.20/magic/Makefile.am
  16. --- file-4.20.orig/magic/Makefile.am 2006-11-25 18:36:10.000000000 +0000
  17. +++ file-4.20/magic/Makefile.am 2007-04-03 15:16:24.000000000 +0000
  18. @@ -102,6 +103,7 @@
  19. Magdir/ibm6000 \
  20. Magdir/iff \
  21. Magdir/images \
  22. +Magdir/inform \
  23. Magdir/intel \
  24. Magdir/interleaf \
  25. Magdir/island \
  26. diff -Naur file-4.20.orig/magic/Makefile.in file-4.20/magic/Makefile.in
  27. --- file-4.20.orig/magic/Makefile.in 2007-03-01 23:21:09.000000000 +0000
  28. +++ file-4.20/magic/Makefile.in 2007-04-03 15:16:31.000000000 +0000
  29. @@ -242,6 +243,7 @@
  30. Magdir/ibm6000 \
  31. Magdir/iff \
  32. Magdir/images \
  33. +Magdir/inform \
  34. Magdir/intel \
  35. Magdir/interleaf \
  36. Magdir/island \
  37. diff -Naur file-4.20.orig/magic/magic.mime file-4.20/magic/magic.mime
  38. --- file-4.20.orig/magic/magic.mime 2007-01-25 22:10:35.000000000 +0000
  39. +++ file-4.20/magic/magic.mime 2007-04-03 15:18:29.000000000 +0000
  40. @@ -600,6 +600,11 @@
  41. 0 search/400 \\chapter text/x-tex
  42. 0 search/400 \\documentclass text/x-tex
  43. +# Type: Inform interactive fiction language
  44. +# URL: http://www.inform-fiction.org/
  45. +# From: Reuben Thomas <rrt@sc3d.org>
  46. +0 regex [Cc]onstant[[:space:]]+[Ss]tory text/x-inform
  47. +
  48. #------------------------------------------------------------------------------
  49. # animation: file(1) magic for animation/movie formats
  50. #