summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2018-10-11 15:35:43 +0000
committerChristos Zoulas <christos@zoulas.com>2018-10-11 15:35:43 +0000
commitad749031689686ca86df2e0bef2d5033a52d0073 (patch)
tree9ba6a0b43714803e2231651223ac0c564ddc3537
parent765d2990bfa4e972790de986fdffe4f1c35a6e41 (diff)
downloadfile-git-ad749031689686ca86df2e0bef2d5033a52d0073.tar.gz
Add glibc NLS catalog magic (odubaj at redhat)
-rw-r--r--magic/Magdir/glibc21
-rw-r--r--magic/Makefile.am3
2 files changed, 23 insertions, 1 deletions
diff --git a/magic/Magdir/glibc b/magic/Magdir/glibc
new file mode 100644
index 00000000..3b856f38
--- /dev/null
+++ b/magic/Magdir/glibc
@@ -0,0 +1,21 @@
+
+#------------------------------------------------------------------------------
+# $File: glibc,v 1.1 2018/10/11 15:35:43 christos Exp $
+# glibc locale files
+#
+# https://sourceware.org/git/?p=glibc.git;f=locale/localeinfo.h;h=68822a63#l32
+
+0 belong 0x20070920 glibc locale file LC_CTYPE
+0 belong 0x14110320 glibc locale file LC_NUMERIC
+0 belong 0x17110320 glibc locale file LC_TIME
+0 belong 0x17100520 glibc locale file LC_COLLATE
+0 belong 0x11110320 glibc locale file LC_MONETARY
+0 belong 0x10110320 glibc locale file LC_MESSAGES
+0 belong 0x13110320 glibc locale file LC_ALL
+0 belong 0x12110320 glibc locale file LC_PAPER
+0 belong 0x1d110320 glibc locale file LC_NAME
+0 belong 0x1c110320 glibc locale file LC_ADDRESS
+0 belong 0x1f110320 glibc locale file LC_TELEPHONE
+0 belong 0x1e110320 glibc locale file LC_MEASUREMENT
+0 belong 0x19110320 glibc locale file LC_IDENTIFICATION
+
diff --git a/magic/Makefile.am b/magic/Makefile.am
index bd4635a2..8db00ef0 100644
--- a/magic/Makefile.am
+++ b/magic/Makefile.am
@@ -1,5 +1,5 @@
#
-# $File: Makefile.am,v 1.136 2018/10/01 18:39:21 christos Exp $
+# $File: Makefile.am,v 1.137 2018/10/11 15:35:43 christos Exp $
#
MAGIC_FRAGMENT_BASE = Magdir
MAGIC_DIR = $(top_srcdir)/magic
@@ -105,6 +105,7 @@ $(MAGIC_FRAGMENT_DIR)/gcc \
$(MAGIC_FRAGMENT_DIR)/gconv \
$(MAGIC_FRAGMENT_DIR)/geo \
$(MAGIC_FRAGMENT_DIR)/geos \
+$(MAGIC_FRAGMENT_DIR)/glibc \
$(MAGIC_FRAGMENT_DIR)/gimp \
$(MAGIC_FRAGMENT_DIR)/gnome \
$(MAGIC_FRAGMENT_DIR)/gnu \