206-magic-add-sisu.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Author: Ralph Amissah <ralph.amissah@gmail.com>
  2. Description: New magic for SiSU Markup Language.
  3. diff -Naurp file.orig/magic/Magdir/sisu file/magic/Magdir/sisu
  4. --- file.orig/magic/Magdir/sisu 1970-01-01 00:00:00.000000000 +0000
  5. +++ file/magic/Magdir/sisu 2008-04-07 08:10:25.000000000 +0000
  6. @@ -0,0 +1,18 @@
  7. +# Type: SiSU Markup Language
  8. +# URL: http://www.sisudoc.org/
  9. +# From: Ralph Amissah <ralph.amissah@gmail.com>
  10. +
  11. +0 regex \^%?[\ \t]*SiSU[\ \t]+insert SiSU text insert
  12. +>5 regex [0-9.]+ %s
  13. +
  14. +0 regex \^%[\ \t]+SiSU[\ \t]+master SiSU text master
  15. +>5 regex [0-9.]+ %s
  16. +
  17. +0 regex \^%?[\ \t]*SiSU[\ \t]+text SiSU text
  18. +>5 regex [0-9.]+ %s
  19. +
  20. +0 regex \^%?[\ \t]*SiSU[\ \t][0-9.]+ 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 -Naurp file.orig/magic/Makefile.am file/magic/Makefile.am
  26. --- file.orig/magic/Makefile.am 2008-03-22 21:41:00.000000000 +0000
  27. +++ file/magic/Makefile.am 2008-04-07 08:11:04.000000000 +0000
  28. @@ -170,6 +170,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
  29. $(MAGIC_FRAGMENT_DIR)/sgml \
  30. $(MAGIC_FRAGMENT_DIR)/sharc \
  31. $(MAGIC_FRAGMENT_DIR)/sinclair \
  32. +$(MAGIC_FRAGMENT_DIR)/sisu \
  33. $(MAGIC_FRAGMENT_DIR)/sketch \
  34. $(MAGIC_FRAGMENT_DIR)/smalltalk \
  35. $(MAGIC_FRAGMENT_DIR)/sniffer \
  36. diff -Naurp file.orig/magic/Makefile.in file/magic/Makefile.in
  37. --- file.orig/magic/Makefile.in 2008-03-22 21:41:06.000000000 +0000
  38. +++ file/magic/Makefile.in 2008-04-07 08:11:10.000000000 +0000
  39. @@ -330,6 +330,7 @@ $(MAGIC_FRAGMENT_DIR)/sgi \
  40. $(MAGIC_FRAGMENT_DIR)/sgml \
  41. $(MAGIC_FRAGMENT_DIR)/sharc \
  42. $(MAGIC_FRAGMENT_DIR)/sinclair \
  43. +$(MAGIC_FRAGMENT_DIR)/sisu \
  44. $(MAGIC_FRAGMENT_DIR)/sketch \
  45. $(MAGIC_FRAGMENT_DIR)/smalltalk \
  46. $(MAGIC_FRAGMENT_DIR)/sniffer \