[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#824234: Please build mythes-sv



Patch attached. Even if it's small, it involves both a change to d/rules
and the addition of d/mythes-sv.links. This illustrates that the
resolution of <https://bugs.debian.org/822617> introduced two new
moments to consider when new dictionaries are added via upstream or by
'unblacklisting' existing ones.

-- 
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj
commit 7f1c13101fa6d72c48ad603ed59c973d987df1ff
Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
Date:   Sat May 14 01:50:50 2016 +0200

    Build mythes-sv; closes #824234

diff --git a/debian/helper.py b/debian/helper.py
index 6be794f..459ea5d 100755
--- a/debian/helper.py
+++ b/debian/helper.py
@@ -53,7 +53,6 @@ blacklisted_packages = [
  "mythes-de-ch",    # openthesaurus
  "mythes-it",       # mythes-it
  "mythes-pl",       # openoffice.org-thesaurus-pl
- "mythes-sv",       # mythes-sv
 ]
 
 provides = {
diff --git a/debian/mythes-sv.links b/debian/mythes-sv.links
new file mode 100644
index 0000000..0eeb821
--- /dev/null
+++ b/debian/mythes-sv.links
@@ -0,0 +1,2 @@
+usr/share/mythes/th_sv_SE_v2.dat usr/share/mythes/th_sv_FI_v2.dat
+usr/share/mythes/th_sv_SE_v2.idx usr/share/mythes/th_sv_FI_v2.idx
diff --git a/debian/rules b/debian/rules
index d78dfd5..d814650 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,6 +47,7 @@ override_dh_install:
 	$(call rename_mythes_files,    es,  th_es_ANY_v2,  th_es_ES_v2 )
 	$(call rename_mythes_files,    gl,  thesaurus_gl,  th_gl_ES_v2 )
 	$(call rename_mythes_files,    is,  th_is,         th_is_IS_v2 )
+	$(call rename_mythes_files,    sv,  th_sv_SE,      th_sv_SE_v2 )
 	$(call rename_mythes_files,    uk,  th_uk_UA,      th_uk_UA_v2 )
 
 override_dh_clean:

Reply to: