mirror: 初始快照

This commit is contained in:
Li_Feiyu committed 2026-10-02 22:51:03 +08:00
commit bf87c99809
1011 files changed
+18247530

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#figdir = figures
figdir =
docname = freedict-editor
lang = C
omffile = freedict-editor-C.omf
entities = legal.xml ipa-table.xml
include $(top_srcdir)/xmldocs.make
dist-hook: app-dist-hook
# generate HTML version of the docs for the freedict.org website
.PHONY: html
XMLTO_OPTS = -m customise-docbook.xsl
html-local: freedict-editor.xml
xmlto $(XMLTO_OPTS) -o html html freedict-editor.xml
perl -pi -e 's/index\.html#/#/g;' html/index.html
@@ -0,0 +1,53 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
<!-- Makes <programlisting> (but not <literallayout>) have a shade -->
<xsl:param name="shade.verbatim" select="1"/>
<!-- Images for warnings, notes etc.
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="toc.max.depth" select="2"/>
<xsl:param name="make.valid.html" select="1"/> -->
<!-- a serifless font is set in the stylesheet
<xsl:param name="html.stylesheet" select="'style.css'"></xsl:param> -->
<!--
Control generation of tables of contents.
The original value for the <book> elements was:
book toc,title,figure,table,example,equation
So we turned of the lists of figures and examples here.
-->
<xsl:param name="generate.toc">
appendix toc,title
article/appendix nop
article toc,title
book toc,title,table,equation
chapter toc,title
part toc,title
preface toc,title
qandadiv toc
qandaset toc
reference toc,title
sect1 toc
sect2 toc
sect3 toc
sect4 toc
sect5 toc
section toc
set toc,title
</xsl:param>
<!-- Depth to which sections should be chunked -->
<xsl:param name="chunk.section.depth" select="0"></xsl:param>
</xsl:stylesheet>
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<omf>
<resource>
<creator>
michael.bunk@gmail.com (Michael Bunk)
</creator>
<maintainer>
michael.bunk@gmail.com (Michael Bunk)
</maintainer>
<title>
FreeDict-Editor Manual V0.1
</title>
<date>
2005-03-23
</date>
<version identifier="0.1" date="2005-03-23" description="First Version"/>
<subject category="GNOME|Applications"/>
<description>
User manual for the FreeDict-Editor.
</description>
<type>
user's guide
</type>
<format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
<identifier url="freedict.xml"/>
<language code="C"/>
<relation seriesid="b8082230-5987-4b7f-b26e-f7a219ed8a1b"/>
<rights type="GNU FDL" license.version="1.1" holder="Michael Bunk"/>
</resource>
</omf>
File diff suppressed because it is too large. Load diff
+181
View File
@@ -0,0 +1,181 @@
/* GTK - The GIMP Toolkit
* Copyright (C) 2000 Red Hat Software
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Owen Taylor <otaylor@redhat.com>
*
*/
#include <config.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
#include "gtk/gtkintl.h"
#include "gtk/gtkimcontextsimple.h"
#include "gtk/gtkimmodule.h"
GType type_ipa = 0;
static void ipa_class_init (GtkIMContextSimpleClass *class);
static void ipa_init (GtkIMContextSimple *im_context);
static void
ipa_register_type (GTypeModule *module)
{
static const GTypeInfo object_info =
{
sizeof (GtkIMContextSimpleClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) ipa_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GtkIMContextSimple),
0,
(GInstanceInitFunc) ipa_init,
};
type_ipa =
g_type_module_register_type (module,
GTK_TYPE_IM_CONTEXT_SIMPLE,
"GtkIMContextIpa",
&object_info, 0);
}
/* The sequences here match the sequences used in the emacs quail
* mode cryllic-translit; they allow entering all characters
* in iso-8859-5
*/
static guint16 ipa_compose_seqs[] = {
GDK_ampersand, 0, 0, 0, 0, 0x263, /* LATIN SMALL LETTER GAMMA */
GDK_apostrophe, 0, 0, 0, 0, 0x2C8, /* MODIFIER LETTER VERTICAL LINE */
GDK_slash, GDK_apostrophe, 0, 0, 0, 0x2CA, /* MODIFIER LETTER ACUTE ACCENT */
GDK_slash, GDK_slash, 0, 0, 0, 0x02F, /* SOLIDUS */
GDK_slash, GDK_3, 0, 0, 0, 0x25B, /* LATIN SMALL LETTER OPEN E */
GDK_slash, GDK_A, 0, 0, 0, 0x252, /* LATIN LETTER TURNED ALPHA */
GDK_slash, GDK_R, 0, 0, 0, 0x281, /* LATIN LETTER SMALL CAPITAL INVERTED R */
GDK_slash, GDK_a, 0, 0, 0, 0x250, /* LATIN SMALL LETTER TURNED A */
GDK_slash, GDK_c, 0, 0, 0, 0x254, /* LATIN SMALL LETTER OPEN O */
GDK_slash, GDK_e, 0, 0, 0, 0x259, /* LATIN SMALL LETTER SCHWA */
GDK_slash, GDK_h, 0, 0, 0, 0x265, /* LATIN SMALL LETTER TURNED H */
GDK_slash, GDK_m, 0, 0, 0, 0x26F, /* LATIN SMALL LETTER TURNED M */
GDK_slash, GDK_r, 0, 0, 0, 0x279, /* LATIN SMALL LETTER TURNED R */
GDK_slash, GDK_v, 0, 0, 0, 0x28C, /* LATIN SMALL LETTER TURNED V */
GDK_slash, GDK_w, 0, 0, 0, 0x28D, /* LATIN SMALL LETTER TURNED W */
GDK_slash, GDK_y, 0, 0, 0, 0x28E, /* LATIN SMALL LETTER TRUEND Y*/
GDK_3, 0, 0, 0, 0, 0x292, /* LATIN SMALL LETTER EZH */
GDK_colon, 0, 0, 0, 0, 0x2D0, /* MODIFIER LETTER TRIANGULAR COLON */
GDK_A, 0, 0, 0, 0, 0x251, /* LATIN SMALL LETTER ALPHA */
GDK_E, 0, 0, 0, 0, 0x25B, /* LATIN SMALL LETTER OPEN E */
GDK_I, 0, 0, 0, 0, 0x26A, /* LATIN LETTER SMALL CAPITAL I */
GDK_L, 0, 0, 0, 0, 0x29F, /* LATIN LETTER SMALL CAPITAL L */
GDK_M, 0, 0, 0, 0, 0x28D, /* LATIN SMALL LETTER TURNED W */
GDK_O, 0, 0, 0, 0, 0x04F, /* LATIN LETTER SMALL CAPITAL OE */
GDK_O, GDK_E, 0, 0, 0, 0x276, /* LATIN LETTER SMALL CAPITAL OE */
GDK_R, 0, 0, 0, 0, 0x280, /* LATIN LETTER SMALL CAPITAL R */
GDK_U, 0, 0, 0, 0, 0x28A, /* LATIN SMALL LETTER UPSILON */
GDK_Y, 0, 0, 0, 0, 0x28F, /* LATIN LETTER SMALL CAPITAL Y */
GDK_grave, 0, 0, 0, 0, 0x2CC, /* MODIFIER LETTER LOW VERTICAL LINE */
GDK_a, 0, 0, 0, 0, 0x061, /* LATIN SMALL LETTER A */
GDK_a, GDK_e, 0, 0, 0, 0x0E6, /* LATIN SMALL LETTER AE */
GDK_c, 0, 0, 0, 0, 0x063, /* LATIN SMALL LETTER C */
GDK_c, GDK_comma, 0, 0, 0, 0x0E7, /* LATIN SMALL LETTER C WITH CEDILLA */
GDK_d, 0, 0, 0, 0, 0x064, /* LATIN SMALL LETTER E */
GDK_d, GDK_apostrophe, 0, 0, 0, 0x064, /* LATIN SMALL LETTER D */
GDK_d, GDK_h, 0, 0, 0, 0x0F0, /* LATIN SMALL LETTER ETH */
GDK_e, 0, 0, 0, 0, 0x065, /* LATIN SMALL LETTER E */
GDK_e, GDK_minus, 0, 0, 0, 0x25A, /* LATIN SMALL LETTER SCHWA WITH HOOK */
GDK_e, GDK_bar, 0, 0, 0, 0x25A, /* LATIN SMALL LETTER SCHWA WITH HOOK */
GDK_g, 0, 0, 0, 0, 0x067, /* LATIN SMALL LETTER G */
GDK_g, GDK_n, 0, 0, 0, 0x272, /* LATIN SMALL LETTER N WITH LEFT HOOK */
GDK_i, 0, 0, 0, 0, 0x069, /* LATIN SMALL LETTER I */
GDK_i, GDK_minus, 0, 0, 0, 0x268, /* LATIN SMALL LETTER I WITH STROKE */
GDK_n, 0, 0, 0, 0, 0x06e, /* LATIN SMALL LETTER N */
GDK_n, GDK_g, 0, 0, 0, 0x14B, /* LATIN SMALL LETTER ENG */
GDK_o, 0, 0, 0, 0, 0x06f, /* LATIN SMALL LETTER O */
GDK_o, GDK_minus, 0, 0, 0, 0x275, /* LATIN LETTER BARRED O */
GDK_o, GDK_slash, 0, 0, 0, 0x0F8, /* LATIN SMALL LETTER O WITH STROKE */
GDK_o, GDK_e, 0, 0, 0, 0x153, /* LATIN SMALL LIGATURE OE */
GDK_o, GDK_bar, 0, 0, 0, 0x251, /* LATIN SMALL LETTER ALPHA */
GDK_s, 0, 0, 0, 0, 0x073, /* LATIN SMALL LETTER_ESH */
GDK_s, GDK_h, 0, 0, 0, 0x283, /* LATIN SMALL LETTER_ESH */
GDK_t, 0, 0, 0, 0, 0x074, /* LATIN SMALL LETTER T */
GDK_t, GDK_h, 0, 0, 0, 0x3B8, /* GREEK SMALL LETTER THETA */
GDK_u, 0, 0, 0, 0, 0x075, /* LATIN SMALL LETTER U */
GDK_u, GDK_minus, 0, 0, 0, 0x289, /* LATIN LETTER U BAR */
GDK_z, 0, 0, 0, 0, 0x07A, /* LATIN SMALL LETTER Z */
GDK_z, GDK_h, 0, 0, 0, 0x292, /* LATIN SMALL LETTER EZH */
GDK_bar, GDK_o, 0, 0, 0, 0x252, /* LATIN LETTER TURNED ALPHA */
GDK_asciitilde, 0, 0, 0, 0, 0x303, /* COMBINING TILDE */
};
static void
ipa_class_init (GtkIMContextSimpleClass *class)
{
}
static void
ipa_init (GtkIMContextSimple *im_context)
{
gtk_im_context_simple_add_table (im_context,
ipa_compose_seqs,
4,
G_N_ELEMENTS (ipa_compose_seqs) / (4 + 2));
}
static const GtkIMContextInfo ipa_info = {
"ipa", /* ID */
N_("IPA"), /* Human readable name */
GETTEXT_PACKAGE, /* Translation domain */
GTK_LOCALEDIR, /* Dir for bindtextdomain (not strictly needed for "gtk+") */
"" /* Languages for which this module is the default */
};
static const GtkIMContextInfo *info_list[] = {
&ipa_info
};
void
im_module_init (GTypeModule *module)
{
ipa_register_type (module);
}
void
im_module_exit (void)
{
}
void
im_module_list (const GtkIMContextInfo ***contexts,
int *n_contexts)
{
*contexts = info_list;
*n_contexts = G_N_ELEMENTS (info_list);
}
GtkIMContext *
im_module_create (const gchar *context_id)
{
if (strcmp (context_id, "ipa") == 0)
return g_object_new (type_ipa, NULL);
else
return NULL;
}
+60
View File
@@ -0,0 +1,60 @@
<row><entry>GDK_ampersand</entry><entry>&#x263;</entry><entry>LATIN SMALL LETTER GAMMA</entry></row>
<row><entry>GDK_apostrophe</entry><entry>&#x2C8;</entry><entry>MODIFIER LETTER VERTICAL LINE</entry></row>
<row><entry>GDK_slash + GDK_apostrophe</entry><entry>&#x2CA;</entry><entry>MODIFIER LETTER ACUTE ACCENT</entry></row>
<row><entry>GDK_slash + GDK_slash</entry><entry>&#x02F;</entry><entry>SOLIDUS</entry></row>
<row><entry>GDK_slash + GDK_3</entry><entry>&#x25B;</entry><entry>LATIN SMALL LETTER OPEN E</entry></row>
<row><entry>GDK_slash + GDK_A</entry><entry>&#x252;</entry><entry>LATIN LETTER TURNED ALPHA</entry></row>
<row><entry>GDK_slash + GDK_R</entry><entry>&#x281;</entry><entry>LATIN LETTER SMALL CAPITAL INVERTED R</entry></row>
<row><entry>GDK_slash + GDK_a</entry><entry>&#x250;</entry><entry>LATIN SMALL LETTER TURNED A</entry></row>
<row><entry>GDK_slash + GDK_c</entry><entry>&#x254;</entry><entry>LATIN SMALL LETTER OPEN O</entry></row>
<row><entry>GDK_slash + GDK_e</entry><entry>&#x259;</entry><entry>LATIN SMALL LETTER SCHWA</entry></row>
<row><entry>GDK_slash + GDK_h</entry><entry>&#x265;</entry><entry>LATIN SMALL LETTER TURNED H</entry></row>
<row><entry>GDK_slash + GDK_m</entry><entry>&#x26F;</entry><entry>LATIN SMALL LETTER TURNED M</entry></row>
<row><entry>GDK_slash + GDK_r</entry><entry>&#x279;</entry><entry>LATIN SMALL LETTER TURNED R</entry></row>
<row><entry>GDK_slash + GDK_v</entry><entry>&#x28C;</entry><entry>LATIN SMALL LETTER TURNED V</entry></row>
<row><entry>GDK_slash + GDK_w</entry><entry>&#x28D;</entry><entry>LATIN SMALL LETTER TURNED W</entry></row>
<row><entry>GDK_slash + GDK_y</entry><entry>&#x28E;</entry><entry>LATIN SMALL LETTER TRUEND Y</entry></row>
<row><entry>GDK_3</entry><entry>&#x292;</entry><entry>LATIN SMALL LETTER EZH</entry></row>
<row><entry>GDK_colon</entry><entry>&#x2D0;</entry><entry>MODIFIER LETTER TRIANGULAR COLON</entry></row>
<row><entry>GDK_A</entry><entry>&#x251;</entry><entry>LATIN SMALL LETTER ALPHA</entry></row>
<row><entry>GDK_E</entry><entry>&#x25B;</entry><entry>LATIN SMALL LETTER OPEN E</entry></row>
<row><entry>GDK_I</entry><entry>&#x26A;</entry><entry>LATIN LETTER SMALL CAPITAL I</entry></row>
<row><entry>GDK_L</entry><entry>&#x29F;</entry><entry>LATIN LETTER SMALL CAPITAL L</entry></row>
<row><entry>GDK_M</entry><entry>&#x28D;</entry><entry>LATIN SMALL LETTER TURNED W</entry></row>
<row><entry>GDK_O</entry><entry>&#x04F;</entry><entry>LATIN LETTER SMALL CAPITAL OE</entry></row>
<row><entry>GDK_O + GDK_E</entry><entry>&#x276;</entry><entry>LATIN LETTER SMALL CAPITAL OE</entry></row>
<row><entry>GDK_R</entry><entry>&#x280;</entry><entry>LATIN LETTER SMALL CAPITAL R</entry></row>
<row><entry>GDK_U</entry><entry>&#x28A;</entry><entry>LATIN SMALL LETTER UPSILON</entry></row>
<row><entry>GDK_Y</entry><entry>&#x28F;</entry><entry>LATIN LETTER SMALL CAPITAL Y</entry></row>
<row><entry>GDK_grave</entry><entry>&#x2CC;</entry><entry>MODIFIER LETTER LOW VERTICAL LINE</entry></row>
<row><entry>GDK_a</entry><entry>&#x061;</entry><entry>LATIN SMALL LETTER A</entry></row>
<row><entry>GDK_a + GDK_e</entry><entry>&#x0E6;</entry><entry>LATIN SMALL LETTER AE</entry></row>
<row><entry>GDK_c</entry><entry>&#x063;</entry><entry>LATIN SMALL LETTER C</entry></row>
<row><entry>GDK_c + GDK_comma</entry><entry>&#x0E7;</entry><entry>LATIN SMALL LETTER C WITH CEDILLA</entry></row>
<row><entry>GDK_d</entry><entry>&#x064;</entry><entry>LATIN SMALL LETTER E</entry></row>
<row><entry>GDK_d + GDK_apostrophe</entry><entry>&#x064;</entry><entry>LATIN SMALL LETTER D</entry></row>
<row><entry>GDK_d + GDK_h</entry><entry>&#x0F0;</entry><entry>LATIN SMALL LETTER ETH</entry></row>
<row><entry>GDK_e</entry><entry>&#x065;</entry><entry>LATIN SMALL LETTER E</entry></row>
<row><entry>GDK_e + GDK_minus</entry><entry>&#x25A;</entry><entry>LATIN SMALL LETTER SCHWA WITH HOOK</entry></row>
<row><entry>GDK_e + GDK_bar</entry><entry>&#x25A;</entry><entry>LATIN SMALL LETTER SCHWA WITH HOOK</entry></row>
<row><entry>GDK_g</entry><entry>&#x067;</entry><entry>LATIN SMALL LETTER G</entry></row>
<row><entry>GDK_g + GDK_n</entry><entry>&#x272;</entry><entry>LATIN SMALL LETTER N WITH LEFT HOOK</entry></row>
<row><entry>GDK_i</entry><entry>&#x069;</entry><entry>LATIN SMALL LETTER I</entry></row>
<row><entry>GDK_i + GDK_minus</entry><entry>&#x268;</entry><entry>LATIN SMALL LETTER I WITH STROKE</entry></row>
<row><entry>GDK_n</entry><entry>&#x06e;</entry><entry>LATIN SMALL LETTER N</entry></row>
<row><entry>GDK_n + GDK_g</entry><entry>&#x14B;</entry><entry>LATIN SMALL LETTER ENG</entry></row>
<row><entry>GDK_o</entry><entry>&#x06f;</entry><entry>LATIN SMALL LETTER O</entry></row>
<row><entry>GDK_o + GDK_minus</entry><entry>&#x275;</entry><entry>LATIN LETTER BARRED O</entry></row>
<row><entry>GDK_o + GDK_slash</entry><entry>&#x0F8;</entry><entry>LATIN SMALL LETTER O WITH STROKE</entry></row>
<row><entry>GDK_o + GDK_e</entry><entry>&#x153;</entry><entry>LATIN SMALL LIGATURE OE</entry></row>
<row><entry>GDK_o + GDK_bar</entry><entry>&#x251;</entry><entry>LATIN SMALL LETTER ALPHA</entry></row>
<row><entry>GDK_s</entry><entry>&#x073;</entry><entry>LATIN SMALL LETTER_ESH</entry></row>
<row><entry>GDK_s + GDK_h</entry><entry>&#x283;</entry><entry>LATIN SMALL LETTER_ESH</entry></row>
<row><entry>GDK_t</entry><entry>&#x074;</entry><entry>LATIN SMALL LETTER T</entry></row>
<row><entry>GDK_t + GDK_h</entry><entry>&#x3B8;</entry><entry>GREEK SMALL LETTER THETA</entry></row>
<row><entry>GDK_u</entry><entry>&#x075;</entry><entry>LATIN SMALL LETTER U</entry></row>
<row><entry>GDK_u + GDK_minus</entry><entry>&#x289;</entry><entry>LATIN LETTER U BAR</entry></row>
<row><entry>GDK_z</entry><entry>&#x07A;</entry><entry>LATIN SMALL LETTER Z</entry></row>
<row><entry>GDK_z + GDK_h</entry><entry>&#x292;</entry><entry>LATIN SMALL LETTER EZH</entry></row>
<row><entry>GDK_bar + GDK_o</entry><entry>&#x252;</entry><entry>LATIN LETTER TURNED ALPHA</entry></row>
<row><entry>GDK_asciitilde</entry><entry>&#x303;</entry><entry>COMBINING TILDE</entry></row>
+76
View File
@@ -0,0 +1,76 @@
<legalnotice id="legalnotice">
<para>
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
License (GFDL), Version 1.1 or any later version published
by the Free Software Foundation with no Invariant Sections,
no Front-Cover Texts, and no Back-Cover Texts. You can find
a copy of the GFDL at this <ulink type="help"
url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS
distributed with this manual.
</para>
<para> This manual is part of a collection of GNOME manuals
distributed under the GFDL. If you want to distribute this
manual separately from the collection, you can do so by
adding a copy of the license to the manual, as described in
section 6 of the license.
</para>
<para>
Many of the names used by companies to distinguish their
products and services are claimed as trademarks. Where those
names appear in any GNOME documentation, and the members of
the GNOME Documentation Project are made aware of those
trademarks, then the names are in capital letters or initial
capital letters.
</para>
<para>
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
WITH THE FURTHER UNDERSTANDING THAT:
<orderedlist>
<listitem>
<para>DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
THAT THE DOCUMENT OR MODIFIED VERSION OF THE
DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR
A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE
OF THE DOCUMENT OR MODIFIED VERSION OF THE
DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR
MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY
CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
EXCEPT UNDER THIS DISCLAIMER; AND
</para>
</listitem>
<listitem>
<para>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION
OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH
PARTIES, BE LIABLE TO ANY PERSON FOR ANY
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES OF ANY CHARACTER
INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR
LOSSES ARISING OUT OF OR RELATING TO USE OF THE
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
THE POSSIBILITY OF SUCH DAMAGES.
</para>
</listitem>
</orderedlist>
</para>
</legalnotice>
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/perl
$recognized = 0;
while(<>)
{
# example line in '':
# ' GDK_slash, GDK_3, 0, 0, 0, 0x25B, /* LATIN SMALL LETTER OPEN E */'
if(/^ (GDK_\w+),\s+(0|GDK_\w+),\s+0,\s+0,\s+0,\s+0x([\w]+),\s+\/\* ([\w ]+)\*\/$/)
{
print "\t<row><entry>$1";
print " + $2" if($2 ne "0");
$ucode = $3;
$description = $4;
$description =~ s/ $//;
print "</entry><entry>&#x$ucode;</entry><entry>$description</entry></row>\n";
$recognized++;
next;
}
print STDERR "$.: Unrecognized line '$_'\n";
}
print STDERR "Recognized $recognized lines.\n";
+2
View File
@@ -0,0 +1,2 @@
grep imipa.c -Pe " GDK_.*\*/" | ./make-ipatable.pl > ipa-table.xml
+1
View File
@@ -0,0 +1 @@
yelp ghelp:`pwd`/freedict-editor.xml &
+3
View File
@@ -0,0 +1,3 @@
## Process this file with automake to produce Makefile.in.
SUBDIRS = C