326-magic-add-sisu.dpatch 1.8 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 -Naurp file-4.24.orig/magic/Magdir/sisu file-4.24/magic/Magdir/sisu
  7. --- file-4.24.orig/magic/Magdir/sisu 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.24/magic/Magdir/sisu 2008-04-07 08:10:25.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 -Naurp file-4.24.orig/magic/Makefile.am file-4.24/magic/Makefile.am
  29. --- file-4.24.orig/magic/Makefile.am 2008-03-22 21:41:00.000000000 +0000
  30. +++ file-4.24/magic/Makefile.am 2008-04-07 08:11:04.000000000 +0000
  31. @@ -170,6 +170,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
  32. $(MAGIC_FRAGMENT_DIR)/sgml \
  33. $(MAGIC_FRAGMENT_DIR)/sharc \
  34. $(MAGIC_FRAGMENT_DIR)/sinclair \
  35. +$(MAGIC_FRAGMENT_DIR)/sisu \
  36. $(MAGIC_FRAGMENT_DIR)/sketch \
  37. $(MAGIC_FRAGMENT_DIR)/smalltalk \
  38. $(MAGIC_FRAGMENT_DIR)/sniffer \
  39. diff -Naurp file-4.24.orig/magic/Makefile.in file-4.24/magic/Makefile.in
  40. --- file-4.24.orig/magic/Makefile.in 2008-03-22 21:41:06.000000000 +0000
  41. +++ file-4.24/magic/Makefile.in 2008-04-07 08:11:10.000000000 +0000
  42. @@ -330,6 +330,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
  43. $(MAGIC_FRAGMENT_DIR)/sgml \
  44. $(MAGIC_FRAGMENT_DIR)/sharc \
  45. $(MAGIC_FRAGMENT_DIR)/sinclair \
  46. +$(MAGIC_FRAGMENT_DIR)/sisu \
  47. $(MAGIC_FRAGMENT_DIR)/sketch \
  48. $(MAGIC_FRAGMENT_DIR)/smalltalk \
  49. $(MAGIC_FRAGMENT_DIR)/sniffer \