Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9574a8f667075a5c4b92c04c9683e5da36cc70cc)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9574a8f667075a5c4b92c04c9683e5da36cc70cc)
  • Date: Tue, 28 Jul 2020 17:04:05 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

graphics/psiconv/BUILD
| 2
graphics/psiconv/DETAILS
| 8
graphics/psiconv/HISTORY
| 9
graphics/psiconv/PRE_BUILD
| 4
graphics/psiconv/cp1250.patch
| 91 ----------

graphics/psiconv/patches/0001-Fix-multiple-definitions-of-fileformat_list.patch
| 40 ++++
graphics/psiconv/patches/cp1250.patch
| 91 ++++++++++
7 files changed, 148 insertions(+), 97 deletions(-)

New commits:
commit 9574a8f667075a5c4b92c04c9683e5da36cc70cc
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

psiconv 0.9.9

diff --git a/graphics/psiconv/BUILD b/graphics/psiconv/BUILD
deleted file mode 100755
index 9fdeb1a..0000000
--- a/graphics/psiconv/BUILD
+++ /dev/null
@@ -1,2 +0,0 @@
-patch -p1 < $SCRIPT_DIRECTORY/cp1250.patch &&
-default_build
diff --git a/graphics/psiconv/DETAILS b/graphics/psiconv/DETAILS
index 673c58e..69441b1 100755
--- a/graphics/psiconv/DETAILS
+++ b/graphics/psiconv/DETAILS
@@ -1,11 +1,11 @@
SPELL=psiconv
- VERSION=0.9.8
+ VERSION=0.9.9
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://software.frodo.looijaard.name/psiconv/files/$SOURCE
- WEB_SITE=http://software.frodo.looijaard.name/psiconv/
+
SOURCE_URL[0]=http://www.frodo.looijaard.name/system/files/software/$SPELL/$SOURCE
+ WEB_SITE=http://frodo.looijaard.name/project/psiconv
ENTERED=20011101
-
SOURCE_HASH=sha512:1315f78a2aee4c68e720d3ef293ceeebf20027b17677b06296fd0f700610daa971853eddaaf10299ba2ef6fee74455b1d16e2fa5a93d86534b1ff1eebc0fd74d
+
SOURCE_HASH=sha512:ec21d1e4734ad79dc19146223d7016bd53b3a3bb602f3a55489663ccbf3a4c6f5c6417728e798b4448acc2e49ff5145f58c812edfdd6c11ee9060128b6157d3a
LICENSE[0]=GPL
KEYWORDS="graphics"
SHORT="psiconv is a Psion file conversion utility."
diff --git a/graphics/psiconv/HISTORY b/graphics/psiconv/HISTORY
index 632e351..dbc360d 100644
--- a/graphics/psiconv/HISTORY
+++ b/graphics/psiconv/HISTORY
@@ -1,3 +1,12 @@
+2020-07-28 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, cp1250.patch: Moved to patches folder
+ * BUILD: Removed, no longer needed
+ * patches/0001-Fix-multiple-definitions-of-fileformat_list.patch:
+ Fixed link-time build error
+ * PRE_BUILD: Fixed build against musl
+ * DETAILS: updated spell to 0.9.9
+ fixed WEB_SITE & SOURCE_URL[0]
+
2008-01-26 Lubomir Blaha <tritol AT trilogic.cz>
* DETAILS: version bump to 0.9.8
WEB_SITE and SOURCE_URL update
diff --git a/graphics/psiconv/PRE_BUILD b/graphics/psiconv/PRE_BUILD
new file mode 100755
index 0000000..49ddb90
--- /dev/null
+++ b/graphics/psiconv/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub
diff --git a/graphics/psiconv/cp1250.patch b/graphics/psiconv/cp1250.patch
deleted file mode 100644
index 6842ade..0000000
--- a/graphics/psiconv/cp1250.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff -Naur psiconv-0.9.6/etc/psiconv.conf.eg
psiconv-0.9.6-1250/etc/psiconv.conf.eg
---- psiconv-0.9.6/etc/psiconv.conf.eg 2004-02-22 18:00:37.000000000 +0100
-+++ psiconv-0.9.6-1250/etc/psiconv.conf.eg 2005-01-03 21:47:27.000000000
+0100
-@@ -68,6 +68,7 @@
- # changed below)
- # 0: Unicode (Eastern Psions)
- # 1: IBM Codepage 1252 (Western Europe Psions)
-+# 2: IBM Codepage 1250 (Eastern Europe)
- # If you have another characterset, please let me know, and I will add it
here.
- #CharacterSet = 0
-
-diff -Naur psiconv-0.9.6/lib/psiconv/configuration.c
psiconv-0.9.6-1250/lib/psiconv/configuration.c
---- psiconv-0.9.6/lib/psiconv/configuration.c 2004-02-23 14:32:27.000000000
+0100
-+++ psiconv-0.9.6-1250/lib/psiconv/configuration.c 2005-01-03
21:58:52.962578117 +0100
-@@ -112,7 +112,7 @@
- psiconv_error(*config,0,0,"Configuration file %s, line %d: "
- "BlueBits should be between 1 and 32 or
0",filename,linenr);
- } else if (!(strcasecmp(var,"characterset"))) {
-- if ((value >= 0) && (value <= 1))
-+ if ((value >= 0) && (value <= 2))
- psiconv_unicode_select_characterset(*config,value);
- else
- psiconv_error(*config,0,0,"Configuration file %s, line %d: "
-diff -Naur psiconv-0.9.6/lib/psiconv/unicode.c
psiconv-0.9.6-1250/lib/psiconv/unicode.c
---- psiconv-0.9.6/lib/psiconv/unicode.c 2004-02-25 21:47:51.000000000
+0100
-+++ psiconv-0.9.6-1250/lib/psiconv/unicode.c 2005-01-03 21:44:00.000000000
+0100
-@@ -60,15 +60,50 @@
- /* 0xb0 */ 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
- /* 0xb8 */ 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf,
- /* 0xc0 */ 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7,
-- /* 0xd8 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,
-+ /* 0xc8 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,
- /* 0xd0 */ 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7,
-- /* 0xe8 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df,
-+ /* 0xd8 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df,
- /* 0xe0 */ 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7,
-- /* 0xc8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
-+ /* 0xe8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
- /* 0xf0 */ 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7,
- /* 0xf8 */ 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff
- };
-
-+psiconv_ucs2 table_cp1250[0x100] =
-+ {
-+ /* 0x00 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0007,
-+ /* 0x08 */ 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f,
-+ /* 0x10 */ 0x00a0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
-+ /* 0x18 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
-+ /* 0x20 */ 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027,
-+ /* 0x28 */ 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f,
-+ /* 0x30 */ 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,
-+ /* 0x38 */ 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f,
-+ /* 0x40 */ 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047,
-+ /* 0x48 */ 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f,
-+ /* 0x50 */ 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057,
-+ /* 0x58 */ 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f,
-+ /* 0x60 */ 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067,
-+ /* 0x68 */ 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f,
-+ /* 0x70 */ 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077,
-+ /* 0x78 */ 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000,
-+ /* 0x80 */ 0x20ac, 0xfffd, 0x201a, 0xfffd, 0x201e, 0x2026, 0x2020, 0x2021,
-+ /* 0x88 */ 0xfffd, 0x2030, 0x0160, 0x2039, 0x015a, 0x0164, 0x017d, 0x0179,
-+ /* 0x90 */ 0xfffd, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014,
-+ /* 0x98 */ 0xfffd, 0x2122, 0x0161, 0x203a, 0x015b, 0x0165, 0x017e, 0x017a,
-+ /* 0xa0 */ 0x00a0, 0x02c7, 0x02d8, 0x0141, 0x00a4, 0x0104, 0x00a6, 0x00a7,
-+ /* 0xa8 */ 0x00a8, 0x00a9, 0x015e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x017b,
-+ /* 0xb0 */ 0x00b0, 0x00b1, 0x02db, 0x0142, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
-+ /* 0xb8 */ 0x00b8, 0x0105, 0x015f, 0x00bb, 0x013d, 0x02dd, 0x013e, 0x017c,
-+ /* 0xc0 */ 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7,
-+ /* 0xc8 */ 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e,
-+ /* 0xd0 */ 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7,
-+ /* 0xd0 */ 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df,
-+ /* 0xe0 */ 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7,
-+ /* 0xe8 */ 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f,
-+ /* 0xf0 */ 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7,
-+ /* 0xf8 */ 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9,
-+};
-
-
- /* TODO: Check the charset number, select the correct one */
-@@ -82,6 +117,10 @@
- memcpy(config->unicode_table,table_cp1252,
- sizeof(psiconv_ucs2) * 0x100);
- break;
-+ case 2: config->unicode = psiconv_bool_false;
-+ memcpy(config->unicode_table,table_cp1250,
-+ sizeof(psiconv_ucs2) * 0x100);
-+ break;
- default: return -1;
- }
- return 0;
diff --git
a/graphics/psiconv/patches/0001-Fix-multiple-definitions-of-fileformat_list.patch

b/graphics/psiconv/patches/0001-Fix-multiple-definitions-of-fileformat_list.patch
new file mode 100644
index 0000000..909d0db
--- /dev/null
+++
b/graphics/psiconv/patches/0001-Fix-multiple-definitions-of-fileformat_list.patch
@@ -0,0 +1,40 @@
+From 6e33273e0b09beaf5bddb359ed670a6a7f94c7b0 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Tue, 28 Jul 2020 03:43:26 +0200
+Subject: [PATCH] Fix multiple definitions of fileformat_list
+
+Signed-off-by: Ismael Luceno <ismael AT iodev.co.uk>
+---
+ program/psiconv/psiconv.c | 2 ++
+ program/psiconv/psiconv.h | 2 +-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/program/psiconv/psiconv.c b/program/psiconv/psiconv.c
+index b73b901567a9..de26cb951b83 100644
+--- a/program/psiconv/psiconv.c
++++ b/program/psiconv/psiconv.c
+@@ -44,6 +44,8 @@
+ #include "psiconv.h"
+ #include "gen.h"
+
++psiconv_list fileformat_list;
++
+ static void print_help(void);
+ static void print_version(void);
+ static void strtoupper(char *str);
+diff --git a/program/psiconv/psiconv.h b/program/psiconv/psiconv.h
+index 1ec0a7ed8e89..68b7dc7bbfd1 100644
+--- a/program/psiconv/psiconv.h
++++ b/program/psiconv/psiconv.h
+@@ -52,7 +52,7 @@ typedef struct fileformat_s {
+ output_function *output;
+ } *fileformat;
+
+-psiconv_list fileformat_list; /* of struct psiconv_fileformat */
++extern psiconv_list fileformat_list; /* of struct psiconv_fileformat */
+
+
+ #endif /* PSICONV_H */
+--
+2.27.0
+
diff --git a/graphics/psiconv/patches/cp1250.patch
b/graphics/psiconv/patches/cp1250.patch
new file mode 100644
index 0000000..6842ade
--- /dev/null
+++ b/graphics/psiconv/patches/cp1250.patch
@@ -0,0 +1,91 @@
+diff -Naur psiconv-0.9.6/etc/psiconv.conf.eg
psiconv-0.9.6-1250/etc/psiconv.conf.eg
+--- psiconv-0.9.6/etc/psiconv.conf.eg 2004-02-22 18:00:37.000000000 +0100
++++ psiconv-0.9.6-1250/etc/psiconv.conf.eg 2005-01-03 21:47:27.000000000
+0100
+@@ -68,6 +68,7 @@
+ # changed below)
+ # 0: Unicode (Eastern Psions)
+ # 1: IBM Codepage 1252 (Western Europe Psions)
++# 2: IBM Codepage 1250 (Eastern Europe)
+ # If you have another characterset, please let me know, and I will add it
here.
+ #CharacterSet = 0
+
+diff -Naur psiconv-0.9.6/lib/psiconv/configuration.c
psiconv-0.9.6-1250/lib/psiconv/configuration.c
+--- psiconv-0.9.6/lib/psiconv/configuration.c 2004-02-23 14:32:27.000000000
+0100
++++ psiconv-0.9.6-1250/lib/psiconv/configuration.c 2005-01-03
21:58:52.962578117 +0100
+@@ -112,7 +112,7 @@
+ psiconv_error(*config,0,0,"Configuration file %s, line %d: "
+ "BlueBits should be between 1 and 32 or
0",filename,linenr);
+ } else if (!(strcasecmp(var,"characterset"))) {
+- if ((value >= 0) && (value <= 1))
++ if ((value >= 0) && (value <= 2))
+ psiconv_unicode_select_characterset(*config,value);
+ else
+ psiconv_error(*config,0,0,"Configuration file %s, line %d: "
+diff -Naur psiconv-0.9.6/lib/psiconv/unicode.c
psiconv-0.9.6-1250/lib/psiconv/unicode.c
+--- psiconv-0.9.6/lib/psiconv/unicode.c 2004-02-25 21:47:51.000000000
+0100
++++ psiconv-0.9.6-1250/lib/psiconv/unicode.c 2005-01-03 21:44:00.000000000
+0100
+@@ -60,15 +60,50 @@
+ /* 0xb0 */ 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
+ /* 0xb8 */ 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf,
+ /* 0xc0 */ 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7,
+- /* 0xd8 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,
++ /* 0xc8 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,
+ /* 0xd0 */ 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7,
+- /* 0xe8 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df,
++ /* 0xd8 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df,
+ /* 0xe0 */ 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7,
+- /* 0xc8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
++ /* 0xe8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
+ /* 0xf0 */ 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7,
+ /* 0xf8 */ 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff
+ };
+
++psiconv_ucs2 table_cp1250[0x100] =
++ {
++ /* 0x00 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0007,
++ /* 0x08 */ 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f,
++ /* 0x10 */ 0x00a0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
++ /* 0x18 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
++ /* 0x20 */ 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027,
++ /* 0x28 */ 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f,
++ /* 0x30 */ 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,
++ /* 0x38 */ 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f,
++ /* 0x40 */ 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047,
++ /* 0x48 */ 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f,
++ /* 0x50 */ 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057,
++ /* 0x58 */ 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f,
++ /* 0x60 */ 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067,
++ /* 0x68 */ 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f,
++ /* 0x70 */ 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077,
++ /* 0x78 */ 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000,
++ /* 0x80 */ 0x20ac, 0xfffd, 0x201a, 0xfffd, 0x201e, 0x2026, 0x2020, 0x2021,
++ /* 0x88 */ 0xfffd, 0x2030, 0x0160, 0x2039, 0x015a, 0x0164, 0x017d, 0x0179,
++ /* 0x90 */ 0xfffd, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014,
++ /* 0x98 */ 0xfffd, 0x2122, 0x0161, 0x203a, 0x015b, 0x0165, 0x017e, 0x017a,
++ /* 0xa0 */ 0x00a0, 0x02c7, 0x02d8, 0x0141, 0x00a4, 0x0104, 0x00a6, 0x00a7,
++ /* 0xa8 */ 0x00a8, 0x00a9, 0x015e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x017b,
++ /* 0xb0 */ 0x00b0, 0x00b1, 0x02db, 0x0142, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
++ /* 0xb8 */ 0x00b8, 0x0105, 0x015f, 0x00bb, 0x013d, 0x02dd, 0x013e, 0x017c,
++ /* 0xc0 */ 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7,
++ /* 0xc8 */ 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e,
++ /* 0xd0 */ 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7,
++ /* 0xd0 */ 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df,
++ /* 0xe0 */ 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7,
++ /* 0xe8 */ 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f,
++ /* 0xf0 */ 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7,
++ /* 0xf8 */ 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9,
++};
+
+
+ /* TODO: Check the charset number, select the correct one */
+@@ -82,6 +117,10 @@
+ memcpy(config->unicode_table,table_cp1252,
+ sizeof(psiconv_ucs2) * 0x100);
+ break;
++ case 2: config->unicode = psiconv_bool_false;
++ memcpy(config->unicode_table,table_cp1250,
++ sizeof(psiconv_ucs2) * 0x100);
++ break;
+ default: return -1;
+ }
+ return 0;



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9574a8f667075a5c4b92c04c9683e5da36cc70cc), Ismael Luceno, 07/28/2020

Archive powered by MHonArc 2.6.24.

Top of Page