Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
idnux committed Jan 24, 2018
0 parents commit 7800bf7
Show file tree
Hide file tree
Showing 18 changed files with 51,203 additions and 0 deletions.
25 changes: 25 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Petunjuk Pemasangan
===================

Untuk memasang paket thes-id atau mythes-id ini, kita dapat
melakukan beberapa langkah berikut:

1. Pindahkan ke direktori yang berisi kode sumber paket.

2. Ketik "make" untuk membangun paket.

3. Ketik "make install" dengan kewenangan "root" untuk
memasang paket.

4. Kita juga dapat membangun paket ekstensi untuk kelompok
perkakas perkantoran LibreOffice dan Apache OpenOffice.org dengan
mengetik "make create_loext". Selanjutnya berkas ekstensi tersebut
dapat kita pasang melalui menu dalam perkakas Apache OpenOffice.org
/LibreOffice:
"Tools -> Extensions Manager -> Add".

5. Untuk menghapus berkas-berkas hasil pembangunan, kita dapat
mengetik "make clean".

6. Selain itu, kita juga dapat mengetik "make uninstall" untuk
menghapus berkas-berkas yang telah terpasang.
503 changes: 503 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Makefile for thes-id/mythes-id
# Copyright 2018 Ali Ahmadi, <[email protected]>
# All rights reserved.
CONV_SCRIPT = tool/th_gen_idx.pl
SRCFILE = thes_id.txt
OUTFILES = th_id_ID_v2.dat th_id_ID_v2.idx
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
SYMLINK = ln -s
MKDIR = $(INSTALL) -dm 755
PACKAGE = mythes-id
VERSION = 1.0.1
LOEXT = indonesian-thesaurus
LOEXT_PACKAGE = $(LOEXT)-$(VERSION)

EXT_FILES = data/*
DOCDIR = $(DESTDIR)/usr/share/doc/$(PACKAGE)
LOEXT_DIR = $(LOEXT)
MYTHESDIR = $(DESTDIR)/usr/share/mythes
MYSPELL_LINKDIR = $(DESTDIR)/usr/share/myspell/dicts

DOC_FILES = README LICENSE INSTALL
EXTDOC_FILES = README LICENSE
REM_FILES = $(DESTDIR)/usr/share/mythes/$(OUTFILES) $(DESTDIR)/usr/share/myspell/dicts/$(OUTFILES)

all : $(OUTFILES)

th_id_ID_v2.dat : $(SRCFILE)
cp -avf $(SRCFILE) th_id_ID_v2.dat

th_id_ID_v2.idx : th_id_ID_v2.dat
cat th_id_ID_v2.dat | $(CONV_SCRIPT) > th_id_ID_v2.idx

install : install_data install_link install_doc

install_data :
$(MKDIR) $(MYTHESDIR)
$(INSTALL_DATA) $(OUTFILES) $(MYTHESDIR)

install_link :
$(MKDIR) $(MYSPELL_LINKDIR)
$(SYMLINK) $(MYTHESDIR)/th_id_ID_v2.dat $(MYSPELL_LINKDIR)
$(SYMLINK) $(MYTHESDIR)/th_id_ID_v2.idx $(MYSPELL_LINKDIR)

install_doc :
$(MKDIR) $(DOCDIR)
$(INSTALL_DATA) $(DOC_FILES) $(DOCDIR)

uninstall :
rm -f $(MYTHESDIR)/th_id_ID_v2.dat
rm -f $(MYTHESDIR)/th_id_ID_v2.idx
rm -f $(MYSPELL_LINKDIR)/th_id_ID_v2.dat
rm -f $(MYSPELL_LINKDIR)/th_id_ID_v2.idx
rm -rf $(DOCDIR)

create_loext :
$(MKDIR) $(LOEXT_DIR)
cp -avf $(OUTFILES) $(EXTDOC_FILES) $(EXT_FILES) $(LOEXT_DIR)
bsdtar -a -cf $(LOEXT_PACKAGE).zip $(LOEXT_DIR)
mv -vf $(LOEXT_PACKAGE).zip $(LOEXT_PACKAGE).oxt
rm -rf $(LOEXT_DIR)

.PHONY : clean

clean :
rm -f $(OUTFILES) $(LOEXT_PACKAGE).oxt
24 changes: 24 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Kamus Tesaurus Bahasa Indonesia - untuk Apache OpenOffice.org/LibreOffice
Copyright (C) 2008 Pusat Bahasa Departemen Pendidikan Nasional RI, dikompilasi
ke dalam format kamus Stardict oleh Steven Haryanto <[email protected]>.
Kompilasi v0.02 2010-03-03.
Diubah ke dalam format MyThes oleh Ali Ahmadi <[email protected]> pada
2017-02-21.
Copyright (C) 2017 Ali Ahmadi <[email protected]>.
Homepage: https://idnux.wordpress.com/proyek/mythes-id


===== Tentang thes-id atau mythes-id ====

thes-id atau mythes-id ini adalah sebuah kamus tesaurus bahasa Indonesia untuk
kelompok perkakas perkantoran LibreOffice dan Apache OpenOffice.org. Kamus
tesaurus ini dibangun memanfaatkan data kamus TBIPB (Tesaurus Bahasa Indonesia
Pusat Bahasa) edisi I (2008) untuk aplikasi kamus Stardict yang dikompilasi
oleh Bapak Steven Haryanto yang kemudian diubah ke dalam format MyThes (http://
www.openoffice.org/lingucomponent) yang ditulis oleh Kevin Hendricks
([email protected]).

MyThes sendiri adalah sebuah sistem tesaurus sederhana yang menggunakan berkas
data terstruktur dan berkas indeks dengan pencarian biner untuk mencari kata-kata
dan frase dan mengembalikan informasi tentang bagian dari ucapan, makna, dan
sinonim. MyThes ini ditulis untuk menyediakan tesaurus untuk proyek OpenOffice.org.
6 changes: 6 additions & 0 deletions data/META-INF/manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="dictionaries.xcu"/>
</manifest:manifest>

Binary file added data/bendera.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions data/description.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
<version value="1.0" />
<identifier value="IndonesianThesaurus" />
<display-name>
<name lang="en">Indonesian Thesaurus</name>
<name lang="id">Kamus Tesaurus bahasa Indonesia</name>
</display-name>
<extension-description>
<src xlink:href="pkg-desc/pkg-description.txt" lang="en" />
</extension-description>
<platform value="all" />
<dependencies>
<OpenOffice.org-minimal-version value="3.2" d:name="OpenOffice.org 3.2" />
</dependencies>
<icon>
<default xlink:href="bendera.jpg" />
</icon>
<publisher>
<name lang="en">Ali Ahmadi</name>
<name lang="id">Ali Ahmadi</name>
</publisher>
</description>

19 changes: 19 additions & 0 deletions data/dictionaries.xcu
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Linguistic" oor:package="org.openoffice.Office">
<node oor:name="ServiceManager">
<node oor:name="Dictionaries">
<node oor:name="ThesDic_id-ID" oor:op="fuse">
<prop oor:name="Locations" oor:type="oor:string-list">
<value>%origin%/th_id_ID_v2.dat</value>
</prop>
<prop oor:name="Format" oor:type="xs:string">
<value>DICT_THES</value>
</prop>
<prop oor:name="Locales" oor:type="oor:string-list">
<value>id-ID</value>
</prop>
</node>
</node>
</node>
</oor:component-data>

6 changes: 6 additions & 0 deletions data/manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="dictionaries.xcu"/>
</manifest:manifest>
1 change: 1 addition & 0 deletions data/pkg-desc/pkg-description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Indonesian thesaurus for LibreOffice/Apache OpenOffice
12 changes: 12 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
thes-id (1.0.1-1~idnux) unstable; urgency=low

* Add Makefile.

-- Ali Ahmadi <[email protected]> Wed, 24 Jan 2018 21:42:00 +0700


thes-id (1.0-1~idnux) unstable; urgency=low

* Initial release.

-- Ali Ahmadi <[email protected]> Wed, 22 Feb 2017 08:27:19 +0700
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
19 changes: 19 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Source: thes-id
Section: text
Priority: optional
Maintainer: Ali Ahmadi <[email protected]>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.8
Homepage: https://idnux.wordpress.com/proyek/mythes-id

Package: mythes-id
Architecture: all
Multi-Arch: foreign
Depends: dictionaries-common, ${misc:Depends}
Suggests: libreoffice-writer, openoffice-writer
Provides: mythes-thesaurus, mythes-thesaurus-id
Description: Indonesian Thesaurus for LibreOffice
Libreoffice is a full-featured office productivity suite that provides a
near drop-in replacement for Microsoft(R) Office.
.
This package contains an Indonesian thesaurus for LibreOffice.
22 changes: 22 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: thes-id
Source: https://idnux.wordpress.com/proyek/mythes-id

Copyright: 2008 Pusat Bahasa Kementerian Pendidikan Nasional Republik Indonesia <[email protected]>
2017 Ali Ahmadi <[email protected]>
License: LGPL-2.1+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package 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 General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU Lesser General
Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1".
5 changes: 5 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/make -f

%:
dh $@

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
Loading

0 comments on commit 7800bf7

Please sign in to comment.