[Pkg-italian-commits] [svn] r12 - in openoffice.org-thesaurus-it/trunk: . debian

Enrico Zini enrico at costa.debian.org
Mon Oct 24 14:00:31 UTC 2005


Author: enrico
Date: Mon Oct 24 14:00:02 2005
New Revision: 12

Added:
   openoffice.org-thesaurus-it/trunk/GPL.txt
   openoffice.org-thesaurus-it/trunk/Lingua.png   (contents, props changed)
   openoffice.org-thesaurus-it/trunk/Linguistica-Modifica.png   (contents, props changed)
   openoffice.org-thesaurus-it/trunk/README_thesaurus_src.txt
   openoffice.org-thesaurus-it/trunk/copyright_licenza_thesaurus.txt
   openoffice.org-thesaurus-it/trunk/debian/mkdat   (contents, props changed)
   openoffice.org-thesaurus-it/trunk/lettera_in_inglese.txt
   openoffice.org-thesaurus-it/trunk/sinonimi.jpg   (contents, props changed)
   openoffice.org-thesaurus-it/trunk/thanks.txt
   openoffice.org-thesaurus-it/trunk/thesaurus.txt
Removed:
   openoffice.org-thesaurus-it/trunk/thesaurus_it_01_00_beta_2005_01_08_src.zip
   openoffice.org-thesaurus-it/trunk/thescoder.zip
Modified:
   openoffice.org-thesaurus-it/trunk/debian/changelog
   openoffice.org-thesaurus-it/trunk/debian/control
   openoffice.org-thesaurus-it/trunk/debian/copyright
   openoffice.org-thesaurus-it/trunk/debian/dictinfo
   openoffice.org-thesaurus-it/trunk/debian/docs
   openoffice.org-thesaurus-it/trunk/debian/history
   openoffice.org-thesaurus-it/trunk/debian/postinst
   openoffice.org-thesaurus-it/trunk/debian/postrm
   openoffice.org-thesaurus-it/trunk/debian/rules
Log:
Repackaged for OpenOffice 2.0.
Created script to generate the .dat file from thesarus.txt
Package the contents of the zipfile instead of packaging the compressed zipfile.


Modified: openoffice.org-thesaurus-it/trunk/debian/changelog
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/changelog	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/changelog	Mon Oct 24 14:00:02 2005
@@ -1,3 +1,11 @@
+openoffice.org-thesaurus-it (0+20050726-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #329973.
+  * Repackaged for OpenOffice.org 2.0.
+     - Doesn't need thescoder anymore.  Closes: #323408.
+
+ -- Enrico Zini <enrico at debian.org>  Mon, 24 Oct 2005 15:55:55 +0200
+
 openoffice.org-thesaurus-it (0+20050108-1) unstable; urgency=low
 
   * New upstream version

Modified: openoffice.org-thesaurus-it/trunk/debian/control
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/control	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/control	Mon Oct 24 14:00:02 2005
@@ -2,17 +2,17 @@
 Section: text
 Priority: optional
 Maintainer: Enrico Zini <enrico at debian.org>
-Build-Depends-Indep: debhelper (>= 4.0.0), cdbs, unzip
+Build-Depends-Indep: debhelper (>= 4.0.0), cdbs, libmythes-dev
 Standards-Version: 3.6.1.0
 
 Package: openoffice.org-thesaurus-it
 Architecture: all
-Provides: openoffice.org-thesaurus
-Depends: openoffice.org (>= 1.0.3-3), dictionaries-common (>= 0.10) | openoffice.org-updatedicts
-Conflicts: openoffice.org (<= 1.0.3-2)
-Description: Italian Thesaurus for OpenOffice.org
+Provides: openoffice.org2-thesaurus, openoffice.org2-thesaurus-it
+Depends: openoffice.org-core (>= 1.9), dictionaries-common (>= 0.10) | openoffice.org-updatedicts
+Conflicts: openoffice.org (<< 1.9)
+Description: Italian Thesaurus for OpenOffice.org 2
  This package contains an Italian thesaurus for use with the
- OpenOffice.org office suite.
+ OpenOffice.org 2 office suite.
  .
  The thesaurus data in this package has been created from scratch
  and reviewed by a network of Italian high school students, teachers

Modified: openoffice.org-thesaurus-it/trunk/debian/copyright
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/copyright	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/copyright	Mon Oct 24 14:00:02 2005
@@ -6,7 +6,7 @@
 
 Upstream author: Daniela Volta <dani at keynes.scuole.bo.it>
 
-Copyright (C) 2004 Daniela Volta
+Copyright (C) 2004,2005 Daniela Volta
 
 License:
 

Modified: openoffice.org-thesaurus-it/trunk/debian/dictinfo
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/dictinfo	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/dictinfo	Mon Oct 24 14:00:02 2005
@@ -1 +1 @@
-THES it IT th_it_IT
+THES it IT th_it_IT_v2

Modified: openoffice.org-thesaurus-it/trunk/debian/docs
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/docs	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/docs	Mon Oct 24 14:00:02 2005
@@ -1,6 +1,11 @@
 debian/history
 debian/sinonimiamo.jpg
-build-tree/Lingua.png
-build-tree/Linguistica-Modifica.png
-build-tree/README
-build-tree/README_thesaurus_src.txt
+Lingua.png
+Linguistica-Modifica.png
+README_thesaurus_src.txt
+thanks.txt
+sinonimi.jpg
+
+copyright_licenza_thesaurus.txt
+GPL.txt
+lettera_in_inglese.txt

Modified: openoffice.org-thesaurus-it/trunk/debian/history
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/history	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/history	Mon Oct 24 14:00:02 2005
@@ -24,4 +24,4 @@
 subjects, in this specific case the Italian language.
 
 
-Daniela Volta
+The students.

Modified: openoffice.org-thesaurus-it/trunk/debian/postinst
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/postinst	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/postinst	Mon Oct 24 14:00:02 2005
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#set +C # turn off noclobber
+set -e
 
 if [ "$1" = "configure" ]; then
 	/usr/sbin/update-openoffice-dicts

Modified: openoffice.org-thesaurus-it/trunk/debian/postrm
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/postrm	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/postrm	Mon Oct 24 14:00:02 2005
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-#set +C # turn off noclobber
+set -e
 
 if [ "$1" = "remove" ]; then
 	/usr/sbin/update-openoffice-dicts

Modified: openoffice.org-thesaurus-it/trunk/debian/rules
==============================================================================
--- openoffice.org-thesaurus-it/trunk/debian/rules	(original)
+++ openoffice.org-thesaurus-it/trunk/debian/rules	Mon Oct 24 14:00:02 2005
@@ -1,22 +1,19 @@
 #!/usr/bin/make -f
 
-DEB_TAR_SRCDIR=.
-THES_BASE=build-tree/
-
-include /usr/share/cdbs/1/rules/tarball.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 #include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-# Set env var for unzip to silently overwrite files
-UNZIP=-n
-
-export UNZIP
-
 build/openoffice.org-thesaurus-it::
-	cd $(THES_BASE)/thescoder-0.5 && gcc -o thescoder main.c wordtree.c
-	$(THES_BASE)/thescoder-0.5/thescoder $(THES_BASE)/thesaurus.txt $(THES_BASE)/th_it_IT
+	debian/mkdat < thesaurus.txt > th_it_IT_v2.dat 
+	/usr/share/mythes/th_gen_idx.pl -o th_it_IT_v2.idx < th_it_IT_v2.dat
 
 install/openoffice.org-thesaurus-it::
-	install -o root -g root -m 644 $(THES_BASE)/th_it_IT.dat debian/$(cdbs_curpkg)/usr/share/myspell/dicts
-	install -o root -g root -m 644 $(THES_BASE)/th_it_IT.idx debian/$(cdbs_curpkg)/usr/share/myspell/dicts
-	install -o root -g root -m 644 debian/dictinfo debian/$(cdbs_curpkg)/usr/share/myspell/infos/ooo/openoffice.org-thesaurus-it
+	install -D -m644 th_it_IT_v2.dat \
+		$(CURDIR)/debian/openoffice.org-thesaurus-it/usr/share/myspell/dicts/th_it_IT_v2.dat
+	install -D -m644 th_it_IT_v2.idx \
+		$(CURDIR)/debian/openoffice.org-thesaurus-it/usr/share/myspell/dicts/th_it_IT_v2.idx
+	install -D -m644 debian/dictinfo \
+		$(CURDIR)/debian/openoffice.org-thesaurus-it/usr/share/myspell/infos/ooo/openoffice.org-thesaurus-it
+
+clean::
+	rm -f th_it_IT_v2.dat th_it_IT_v2.idx



More information about the Pkg-italian-commits mailing list