diff -u libtranslate-0.99/debian/changelog libtranslate-0.99/debian/changelog --- libtranslate-0.99/debian/changelog +++ libtranslate-0.99/debian/changelog @@ -1,3 +1,10 @@ +libtranslate (0.99-0ubuntu4.1) hardy-proposed; urgency=low + + * Add debian/patches/05_systran.patch patch, allow use of systran + (LP: #230027). + + -- Devid Antonio Filoni <email address hidden> Sun, 07 Sep 2008 13:41:20 +0200 + libtranslate (0.99-0ubuntu4) gutsy; urgency=low
* Add libtranslate-bin to Section: utils (probably wrong) only in patch2: unchanged: --- libtranslate-0.99.orig/debian/patches/05_systran.patch +++ libtranslate-0.99/debian/patches/05_systran.patch @@ -0,0 +1,20 @@ +diff -Nur -x '*.orig' -x '*~' libtranslate-0.99/data/services.xml.in libtranslate-0.99.new/data/services.xml.in +--- libtranslate-0.99/data/services.xml.in 2005-01-17 11:54:27.000000000 -0500 ++++ libtranslate-0.99.new/data/services.xml.in 2008-07-03 13:25:05.000000000 -0400 +@@ -73,13 +73,10 @@ + <language tag="ru" to="en"/> + <language tag="es" to="en,fr"/> + <language tag="sv" to="en"/> +- <http-header name="Referer" value="http://www.systransoft.com/"/> +- <text-translation url="http://www.systranbox.com/systran/box?systran_charset=utf-8&ttype=text&systran_text=${text:escape}&systran_lp=${from}_${to}"> +- <pre-marker text="<textarea name="translation""/> +- <pre-marker text=">"/> +- <post-marker text="</textarea>"/> ++ <text-translation url="http://www2.systranbox.com/sai?gui=sbox/normal/systran/sboxEN&lp=${from}_${to}&service=translate" post="${text}"> +++ <pre-marker text="body= "/> + </text-translation> +- <web-page-translation url="http://www.systranbox.com/systran/box?systran_id=SystranSoft-en&systran_url=${url:escape}&systran_lp=${from}_${to}&systran_f=${time}"/> ++ <web-page-translation url="http://svsurl.systransoft.com/?trans=1&gui=sbox/normal/systran/systranEN&lp=${from}_${to}&loc_lang=en&path=systran/systranEN&frame=1&url=${url:escape}"/> + </group> + </service> +
diff -u libtranslate- 0.99/debian/ changelog libtranslate- 0.99/debian/ changelog 0.99/debian/ changelog 0.99/debian/ changelog patches/ 05_systran. patch patch, allow use of systran
--- libtranslate-
+++ libtranslate-
@@ -1,3 +1,10 @@
+libtranslate (0.99-0ubuntu4.1) hardy-proposed; urgency=low
+
+ * Add debian/
+ (LP: #230027).
+
+ -- Devid Antonio Filoni <email address hidden> Sun, 07 Sep 2008 13:41:20 +0200
+
libtranslate (0.99-0ubuntu4) gutsy; urgency=low
* Add libtranslate-bin to Section: utils (probably wrong) 0.99.orig/ debian/ patches/ 05_systran. patch 0.99/debian/ patches/ 05_systran. patch 0.99/data/ services. xml.in libtranslate- 0.99.new/ data/services. xml.in 0.99/data/ services. xml.in 2005-01-17 11:54:27.000000000 -0500 0.99.new/ data/services. xml.in 2008-07-03 13:25:05.000000000 -0400 www.systransoft .com/"/> www.systranbox. com/systran/ box?systran_ charset= utf-8& ttype=text& amp;systran_ text=${text:escape} &systran_ lp=${from} _${to}" > translation& quot;"/ > lt;/textarea& gt;"/> www2.systranbox .com/sai? gui=sbox/ normal/ systran/ sboxEN& amp;lp= ${from}_ ${to}& service= translate" post="${text}"> translation url="http:// www.systranbox. com/systran/ box?systran_ id=SystranSoft- en& systran_ url=${url:escape} &systran_ lp=${from} _${to}& amp;systran_ f=${time} "/> translation url="http:// svsurl. systransoft. com/?trans= 1&gui= sbox/normal/ systran/ systranEN& amp;lp= ${from}_ ${to}& loc_lang= en& path=systran/ systranEN& amp;frame= 1&url= ${url:escape} "/>
only in patch2:
unchanged:
--- libtranslate-
+++ libtranslate-
@@ -0,0 +1,20 @@
+diff -Nur -x '*.orig' -x '*~' libtranslate-
+--- libtranslate-
++++ libtranslate-
+@@ -73,13 +73,10 @@
+ <language tag="ru" to="en"/>
+ <language tag="es" to="en,fr"/>
+ <language tag="sv" to="en"/>
+- <http-header name="Referer" value="http://
+- <text-translation url="http://
+- <pre-marker text="<textarea name="
+- <pre-marker text=">"/>
+- <post-marker text="&
++ <text-translation url="http://
+++ <pre-marker text="body= "/>
+ </text-translation>
+- <web-page-
++ <web-page-
+ </group>
+ </service>
+