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 -Naurp file-4.23.orig/magic/Magdir/inform file-4.23/magic/Magdir/inform
  7. --- file-4.23.orig/magic/Magdir/inform 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.23/magic/Magdir/inform 2008-01-12 16:57:33.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 -Naurp file-4.23.orig/magic/Makefile.am file-4.23/magic/Makefile.am
  16. --- file-4.23.orig/magic/Makefile.am 2008-01-12 16:56:46.000000000 +0000
  17. +++ file-4.23/magic/Makefile.am 2008-01-12 16:57:33.000000000 +0000
  18. @@ -106,6 +106,7 @@ Magdir/ibm370 \
  19. Magdir/ibm6000 \
  20. Magdir/iff \
  21. Magdir/images \
  22. +Magdir/inform \
  23. Magdir/intel \
  24. Magdir/interleaf \
  25. Magdir/island \
  26. diff -Naurp file-4.23.orig/magic/Makefile.in file-4.23/magic/Makefile.in
  27. --- file-4.23.orig/magic/Makefile.in 2008-01-12 16:56:46.000000000 +0000
  28. +++ file-4.23/magic/Makefile.in 2008-01-12 16:57:33.000000000 +0000
  29. @@ -245,6 +245,7 @@ Magdir/ibm370 \
  30. Magdir/ibm6000 \
  31. Magdir/iff \
  32. Magdir/images \
  33. +Magdir/inform \
  34. Magdir/intel \
  35. Magdir/interleaf \
  36. Magdir/island \
  37. diff -Naurp file-4.23.orig/magic/magic.mime file-4.23/magic/magic.mime
  38. --- file-4.23.orig/magic/magic.mime 2008-01-12 16:56:44.000000000 +0000
  39. +++ file-4.23/magic/magic.mime 2008-01-12 16:57:33.000000000 +0000
  40. @@ -629,6 +629,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. #