KartikMistry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/296367

Change subject: apertium-tat: New upstream release and rebuild for Jessie
......................................................................

apertium-tat: New upstream release and rebuild for Jessie

Bug: T107306
Change-Id: Ib7145694d90ceeb1801930d259f79df620ee85df
---
M debian/changelog
M debian/compat
M debian/control
M debian/copyright
A debian/patches/01_remove_libdir.diff
A debian/patches/series
M debian/rules
7 files changed, 42 insertions(+), 30 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/debs/contenttranslation/apertium-tat
 refs/changes/67/296367/1

diff --git a/debian/changelog b/debian/changelog
index ba1b0f4..b256527 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+apertium-tat (0.1.0~r60887-1+wmf1) jessie; urgency=low
+
+  * New upstream release.
+  * Rebuild for Jessie.
+  * Fixed dependencies.
+  * Clean debian/rules file.
+
+ -- Kartik Mistry <[email protected]>  Tue, 28 Jun 2016 09:51:57 +0530
+
 apertium-tat (0.1.0~r57462-1) trusty; urgency=low
 
   [ Tino Didriksen ]
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 8041abe..2345d6e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,26 +2,26 @@
 Section: science
 Priority: optional
 Maintainer: Debian Science Team 
<[email protected]>
-Uploaders: Tino Didriksen <[email protected]>,
+Uploaders: Tino Didriksen <[email protected]>,
            Kartik Mistry <[email protected]>
-Build-Depends: apertium (>= 3.3),
+Build-Depends: apertium-dev (>= 3.4),
                autotools-dev,
                cg3,
-               debhelper (>= 8.0),
+               debhelper (>= 9),
                dh-autoreconf,
                gawk,
                hfst,
-               libapertium3-3.3-dev,
-               libhfst39-dev,
-               locales,
-               pkg-config (>= 0.21)
-Standards-Version: 3.9.6
+               hfst-ospell-dev,
+               libhfst-dev,
+               pkg-config (>= 0.21),
+               zip
+Standards-Version: 3.9.8
 Homepage: http://apertium.org/
-Vcs-Git: git://anonscm.debian.org/debian-science/packages/apertium-tat.git
+Vcs-Git: 
https://anonscm.debian.org/cgit/debian-science/packages/apertium-tat.git
 Vcs-Browser: 
https://anonscm.debian.org/cgit/debian-science/packages/apertium-tat.git
 
 Package: apertium-tat
 Architecture: all
-Depends: apertium (>= 3.3), cg3, hfst, ${misc:Depends}, ${shlibs:Depends}
+Depends: apertium (>= 3.4), cg3, hfst, ${misc:Depends}, ${shlibs:Depends}
 Description: Apertium single language data for Tatar
  Data package providing Apertium language resources for Tatar
diff --git a/debian/copyright b/debian/copyright
index a8e334e..1ea77e3 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -11,6 +11,8 @@
                 2014, Beknazar Abdikamalov <[email protected]>
                 2014, Trond Trosterud <[email protected]>
 License: GPL-3
+
+License: GPL-3
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, version 3 of the License
@@ -29,6 +31,8 @@
 Files: debian/*
 Copyright: 2014, Apertium Project Management Committee 
<[email protected]>
 License: GPL-3+
+
+License: GPL-3+
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
diff --git a/debian/patches/01_remove_libdir.diff 
b/debian/patches/01_remove_libdir.diff
new file mode 100644
index 0000000..792fa23
--- /dev/null
+++ b/debian/patches/01_remove_libdir.diff
@@ -0,0 +1,13 @@
+Description: Remove libdir from pkg-config
+Index: b/apertium-tat.pc.in
+===================================================================
+--- a/apertium-tat.pc.in
++++ b/apertium-tat.pc.in
+@@ -1,7 +1,5 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+-libdir=@libdir@
+-dir=@libdir@/apertium/apertium-tat
+ srcdir=@datarootdir@/apertium/apertium-tat
+ 
+ Name: apertium-tat
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..45a75f8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_remove_libdir.diff
diff --git a/debian/rules b/debian/rules
index 11004df..2e04300 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,27 +1,12 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-#
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-#
-# Modified to make a template file for a multi-binary package with separated
-# build-arch and build-indep targets  by Bill Allombert 2001
 
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
-# This has to be exported to make some magic below work.
 export DH_OPTIONS
+export LC_ALL=C.UTF-8
 
 %:
-       dh $@ --with autoreconf
+       dh $@ --fail-missing --with autoreconf
 
-override_dh_auto_build:
-       mkdir -p debian/tmp/locale/
-       localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
-       export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
-       export LC_ALL=en_US.UTF-8 && \
-       dh_auto_build
+override_dh_auto_configure:
+       dh_auto_configure -- --enable-ospell

-- 
To view, visit https://gerrit.wikimedia.org/r/296367
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7145694d90ceeb1801930d259f79df620ee85df
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/contenttranslation/apertium-tat
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to