[giella-sme] 03/03: Downgrade to 2015-09-17 release

Tino Didriksen tinodidriksen-guest at moszumanska.debian.org
Thu Mar 3 09:24:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

tinodidriksen-guest pushed a commit to branch master
in repository giella-sme.

commit 918cb62dbdedf700f52550e86a427d1ffb0adc97
Author: Tino Didriksen <tino at didriksen.cc>
Date:   Thu Mar 3 09:23:55 2016 +0000

    Downgrade to 2015-09-17 release
---
 debian/control |  2 +-
 debian/rules   | 15 +++++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index b353191..ad8f4c9 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: autotools-dev,
                gawk,
                giella-core,
                hfst,
-               libhfst43-dev,
+               libhfst42-dev,
                pkg-config (>= 0.21),
                python3 (>= 3.1),
                zip
diff --git a/debian/rules b/debian/rules
index f798aab..8df24b1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,18 @@
 export DH_OPTIONS
 export LC_ALL=C.UTF-8
 
+PKGNAME=giella-sme
+TPATH=debian/$(PKGNAME)/usr
+
 %:
-	dh $@ --fail-missing --parallel --with autoreconf
+	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --with-hfst --without-xfst --enable-spellers --enable-alignment --disable-minimised-spellers --enable-syntax --enable-analysers --enable-generators --enable-apertium
+	dh_auto_configure -- --with-hfst --without-xfst --enable-spellers --enable-hyperminimisation --disable-minimised-spellers --enable-syntax --enable-analysers --enable-generators --enable-apertium
 
-override_dh_auto_test:
-	# Skip for now
+override_dh_auto_install:
+	dh_auto_install
+	grep -v '^libdir=' $(TPATH)/share/pkgconfig/$(PKGNAME).pc > $(TPATH)/share/pkgconfig/$(PKGNAME).pc.new
+	mv -v $(TPATH)/share/pkgconfig/$(PKGNAME).pc.new $(TPATH)/share/pkgconfig/$(PKGNAME).pc
+	cp -av $(TPATH)/lib/*/voikko $(TPATH)/share/
+	rm -rfv $(TPATH)/lib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/giella-sme.git



More information about the debian-science-commits mailing list