323-magic-add-sisu.dpatch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 323-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-26 06:12:12.000000000 +0000
  9. @@ -0,0 +1,18 @@
  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[\ \t][0-9.]+ SiSU text
  24. +>5 regex [0-9.]+ %s
  25. +
  26. +0 regex \^%*[\ \t]*sisu-[0-9.]+ SiSU text
  27. +>5 regex [0-9.]+ %s
  28. diff -Naur file-4.20.orig/magic/Makefile.am file-4.20/magic/Makefile.am
  29. --- file-4.20.orig/magic/Makefile.am 2007-04-26 06:10:03.000000000 +0000
  30. +++ file-4.20/magic/Makefile.am 2007-04-26 06:10:24.000000000 +0000
  31. @@ -182,6 +182,7 @@
  32. Magdir/sgml \
  33. Magdir/sharc \
  34. Magdir/sinclair \
  35. +Magdir/sisu \
  36. Magdir/sketch \
  37. Magdir/smalltalk \
  38. Magdir/sniffer \
  39. diff -Naur file-4.20.orig/magic/Makefile.in file-4.20/magic/Makefile.in
  40. --- file-4.20.orig/magic/Makefile.in 2007-04-26 06:10:03.000000000 +0000
  41. +++ file-4.20/magic/Makefile.in 2007-04-26 06:10:24.000000000 +0000
  42. @@ -322,6 +322,7 @@
  43. Magdir/sgml \
  44. Magdir/sharc \
  45. Magdir/sinclair \
  46. +Magdir/sisu \
  47. Magdir/sketch \
  48. Magdir/smalltalk \
  49. Magdir/sniffer \