320-magic-add-sisu.dpatch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 320-magic-add-sisu.dpatch by Ralph Amissah <ralph.amissah@gmail.com>
  3. ##
  4. ## DP: New magic for SiSU Markup Language.
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/sisu file-4.20/magic/Magdir/sisu
  7. --- file-4.20.orig/magic/Magdir/sisu 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.20/magic/Magdir/sisu 2007-04-03 13:36:58.000000000 +0000
  9. @@ -0,0 +1,15 @@
  10. +# Type: SiSU Markup Language
  11. +# URL: http://www.sisudoc.org/
  12. +# From: Ralph Amissah <ralph.amissah@gmail.com>
  13. +
  14. +0 regex \^%?[\ \t]*SiSU[\ \t]+insert SiSU text insert
  15. +>5 regex [0-9.]+ %s
  16. +
  17. +0 regex \^%?[\ \t]*SiSU[\ \t]+master SiSU text master
  18. +>5 regex [0-9.]+ %s
  19. +
  20. +0 regex \^%?[\ \t]*SiSU([\ \t]+text)? SiSU text
  21. +>5 regex [0-9.]+ %s
  22. +
  23. +0 regex \^%*[\ \t]*sisu-[0-9.]+ SiSU text
  24. +>5 regex [0-9.]+ %s
  25. diff -Naur file-4.20.orig/magic/Makefile.am file-4.20/magic/Makefile.am
  26. --- file-4.20.orig/magic/Makefile.am 2006-11-25 18:36:10.000000000 +0000
  27. +++ file-4.20/magic/Makefile.am 2007-04-03 13:37:12.000000000 +0000
  28. @@ -176,6 +176,7 @@
  29. Magdir/sgml \
  30. Magdir/sharc \
  31. Magdir/sinclair \
  32. +Magdir/sisu \
  33. Magdir/sketch \
  34. Magdir/smalltalk \
  35. Magdir/sniffer \
  36. diff -Naur file-4.20.orig/magic/Makefile.in file-4.20/magic/Makefile.in
  37. --- file-4.20.orig/magic/Makefile.in 2007-03-01 23:21:09.000000000 +0000
  38. +++ file-4.20/magic/Makefile.in 2007-04-03 13:37:29.000000000 +0000
  39. @@ -316,6 +316,7 @@
  40. Magdir/sgml \
  41. Magdir/sharc \
  42. Magdir/sinclair \
  43. +Magdir/sisu \
  44. Magdir/sketch \
  45. Magdir/smalltalk \
  46. Magdir/sniffer \