summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian')
-rw-r--r--Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian184
1 files changed, 164 insertions, 20 deletions
diff --git a/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian b/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian
index ae7d6ccb92c..a50fbb9d5d3 100644
--- a/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian
+++ b/Build/source/utils/xindy/xindy-2.4-PATCHES/patch-70-persian
@@ -1,6 +1,6 @@
diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/configure.ac xindy-2.4/configure.ac
--- xindy-2.4.orig/configure.ac 2010-05-11 01:12:10.000000000 +0200
-+++ xindy-2.4/configure.ac 2011-11-04 16:30:05.867744680 +0100
++++ xindy-2.4/configure.ac 2011-11-04 16:30:06.000000000 +0100
@@ -142,6 +142,7 @@
make-rules/alphabets/macedonian/Makefile \
make-rules/alphabets/mongolian/Makefile \
@@ -11,27 +11,32 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/configure.ac xindy-2
make-rules/alphabets/romanian/Makefile \
diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/Makefile.am xindy-2.4/make-rules/alphabets/Makefile.am
--- xindy-2.4.orig/make-rules/alphabets/Makefile.am 2011-03-02 18:03:12.000000000 +0100
-+++ xindy-2.4/make-rules/alphabets/Makefile.am 2011-11-04 16:52:28.025580000 +0100
-@@ -557,6 +557,18 @@
++++ xindy-2.4/make-rules/alphabets/Makefile.am 2013-10-18 11:18:09.000000000 +0200
+@@ -557,6 +557,23 @@
DISTCLEANFILES += \
norwegian/utf8.pl
+persiandir = $(langdir)/persian
+
+PERSIAN = \
-+ persian/utf8-lang.xdy \
-+ persian/utf8-test.xdy \
-+ persian/utf8.xdy
++ persian/README \
++ persian/variant1-utf8-lang.xdy \
++ persian/variant1-utf8-test.xdy \
++ persian/variant1-utf8.xdy \
++ persian/variant2-utf8-lang.xdy \
++ persian/variant2-utf8-test.xdy \
++ persian/variant2-utf8.xdy
+
+nodist_persian_DATA = $(PERSIAN)
+
+DISTCLEANFILES += \
-+ persian/utf8.pl
++ persian/variant1-utf8.pl \
++ persian/variant2-utf8.pl
+
polishdir = $(langdir)/polish
POLISH = \
-@@ -940,6 +952,7 @@
+@@ -940,6 +957,7 @@
macedonian \
mongolian \
norwegian \
@@ -39,7 +44,7 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets
polish \
portuguese \
romanian \
-@@ -992,6 +1005,7 @@
+@@ -992,6 +1010,7 @@
$(MACEDONIAN) \
$(MONGOLIAN) \
$(NORWEGIAN) \
@@ -47,7 +52,7 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets
$(POLISH) \
$(PORTUGUESE) \
$(ROMANIAN) \
-@@ -1176,7 +1190,8 @@
+@@ -1176,7 +1195,8 @@
greek/utf8-doc.tex \
greek/polytonic-utf8-doc.tex \
hebrew/utf8-doc.tex \
@@ -59,8 +64,8 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets
$(DOCS_CP1250) \
diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/Makefile.am xindy-2.4/make-rules/alphabets/persian/Makefile.am
--- xindy-2.4.orig/make-rules/alphabets/persian/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ xindy-2.4/make-rules/alphabets/persian/Makefile.am 2011-11-04 16:38:55.897313524 +0100
-@@ -0,0 +1,27 @@
++++ xindy-2.4/make-rules/alphabets/persian/Makefile.am 2013-10-18 11:18:06.000000000 +0200
+@@ -0,0 +1,31 @@
+## Use `autoreconf' in top-level directory to recreate all
+## autoconf/automake files.
+## Or, call `automake Makefile' to create only Makefile.in.
@@ -82,24 +87,155 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets
+## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+## Boston, MA 02110-1301 USA.
+
-+EXTRA_DIST = utf8.pl.in
++EXTRA_DIST = \
++ variant1-utf8.pl.in \
++ variant2-utf8.pl.in
+
+CLEANFILES = \
-+ utf8.raw \
-+ utf8-doc.tex
++ variant1-utf8.raw \
++ variant1-utf8-doc.tex \
++ variant2-utf8.raw \
++ variant2-utf8-doc.tex
+
-diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/utf8.pl.in xindy-2.4/make-rules/alphabets/persian/utf8.pl.in
---- xindy-2.4.orig/make-rules/alphabets/persian/utf8.pl.in 1970-01-01 01:00:00.000000000 +0100
-+++ xindy-2.4/make-rules/alphabets/persian/utf8.pl.in 2011-11-04 00:07:20.000000000 +0100
-@@ -0,0 +1,79 @@
+diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/README xindy-2.4/make-rules/alphabets/persian/README
+--- xindy-2.4.orig/make-rules/alphabets/persian/README 1970-01-01 01:00:00.000000000 +0100
++++ xindy-2.4/make-rules/alphabets/persian/README 2013-10-18 00:50:29.000000000 +0200
+@@ -0,0 +1,34 @@
++________________________
++The “xindy-persian” package
++v0.6
++
++The “xindy-persian” package is the Persian language
++support for xindy program.
++
++Two Variants are provided:
++ * Variant One: Sorts آ as ا
++ * Variant Two: Sorts آ as a separate letter
++
++If you want to report any bugs or typos and corrections in the documentation,
++or ask for any new features, or suggest any improvements, or ask any questions
++about the package, then please do not send any direct emails to us; we will not
++answer any direct emails. Instead please use the issue tracker:
++ <https://github.com/vafa/xindy-persian>
++In doing so, please always explain your issue well enough, always include
++a minimal working examples showing the issue, and always choose the appropriate
++label for your query (i.e. if you are reporting any bugs, choose `bug' label).
++
++Current version release date: 2013/10/14
++_________________
++Vafa Khalighi
++persian-tex@tug.org
++
++Copyright © 2011–2013 Vafa Khalighi
++Distributed under the LaTeX Project Public License
++It may be distributed and/or modified under the LaTeX Project Public License,
++version 1.3c or higher (your choice). The latest version of
++this license is at: http://www.latex-project.org/lppl.txt
++
++This work is “maintained” (as per LPPL maintenance status)
++by Vafa Khalighi.
++
+diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/variant1-utf8.pl.in xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in
+--- xindy-2.4.orig/make-rules/alphabets/persian/variant1-utf8.pl.in 1970-01-01 01:00:00.000000000 +0100
++++ xindy-2.4/make-rules/alphabets/persian/variant1-utf8.pl.in 2013-10-18 00:50:29.000000000 +0200
+@@ -0,0 +1,82 @@
++#!/usr/bin/perl
++
++$language = "Persian";
++$variant = "One";
++$prefix = "pe";
++$script = "arabic";
++
++$alphabet = [
++['ا',['آ']],
++['ا',['أ']],
++['ا',['ا']],
++['ب',['ب']],
++['پ',['پ']],
++['ت',['ت']],
++['ث',['ث']],
++['ج',['ج']],
++['چ',['چ']],
++['ح',['ح']],
++['خ',['خ']],
++['د',['د']],
++['ذ',['ذ']],
++['ر',['ر']],
++['ز',['ز']],
++['ژ',['ژ']],
++['س',['س']],
++['ش',['ش']],
++['ص',['ص']],
++['ض',['ض']],
++['ط',['ط']],
++['ظ',['ظ']],
++['ع',['ع']],
++['غ',['غ']],
++['ف',['ف']],
++['ق',['ق']],
++['ک',['ک']],
++['گ',['گ']],
++['ل',['ل']],
++['م',['م']],
++['ن',['ن']],
++['و',['ؤ','و']],
++['ه',['ه']],
++['ی',['ئ','ی']],
++['A', ['a','A'],['à','À']],
++['B', ['b','B']],
++['C', ['c','C'],['ç','Ç']],
++['D', ['d','D'],['ð','Ð']],
++['E', ['e','E'],['é','É'],['è','È'],['ë','Ë'],['ê','Ê']],
++['F', ['f','F']],
++['G', ['g','G']],
++['H', ['h','H']],
++['I', ['i','I'],['ï','Ï']],
++['J', ['j','J']],
++['K', ['k','K']],
++['L', ['l','L']],
++['M', ['m','M']],
++['N', ['n','N'],['ñ','Ñ']],
++['O', ['o','O'],['ö','Ö'],['ô','Ô']],
++['P', ['p','P']],
++['Q', ['q','Q']],
++['R', ['r','R']],
++['S', ['s','S']],
++['T', ['t','T']],
++['U', ['u','U']],
++['V', ['v','V']],
++['W', ['w','W']],
++['X', ['x','X']],
++['Y', ['y','Y']],
++['Z', ['z','Z']],
++['Þ', ['þ','Þ']],
++];
++
++$sortcase = "Aa";
++#$sortcase = "aA";
++
++$ligatures = [
++[['æ','Æ'], 'after', [['a','e'], ['A','e']]],
++[['œ','Œ'], 'after', [['o','e'], ['O','e']]]
++];
++
++@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ');
++
++do 'make-rules.pl';
+diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets/persian/variant2-utf8.pl.in xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in
+--- xindy-2.4.orig/make-rules/alphabets/persian/variant2-utf8.pl.in 1970-01-01 01:00:00.000000000 +0100
++++ xindy-2.4/make-rules/alphabets/persian/variant2-utf8.pl.in 2013-10-18 00:50:29.000000000 +0200
+@@ -0,0 +1,82 @@
+#!/usr/bin/perl
+
+$language = "Persian";
++$variant = "Two";
+$prefix = "pe";
+$script = "arabic";
+
+$alphabet = [
-+['ا',['أ','ا','آ']],
++['آ',['آ']],
++['ا',['أ']],
++['ا',['ا']],
+['ب',['ب']],
+['پ',['پ']],
+['ت',['ت']],
@@ -171,3 +307,11 @@ diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/make-rules/alphabets
+@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','‌','«','»','ـ');
+
+do 'make-rules.pl';
+diff -ur -N -x Makefile.in -x autom4te.cache xindy-2.4.orig/tex2xindy/tex2xindy.c xindy-2.4/tex2xindy/tex2xindy.c
+--- xindy-2.4.orig/tex2xindy/tex2xindy.c 2012-09-27 14:37:38.000000000 +0200
++++ xindy-2.4/tex2xindy/tex2xindy.c 2013-03-26 23:30:23.000000000 +0100
+@@ -2479,4 +2479,3 @@
+ Revision 1.1 1996/06/24 08:53:57 kehr
+ Initial checkin of the Makefile, README and tex2xindy.
+ */
+-