--- youtranslate-1.1.10.orig/debian/menu +++ youtranslate-1.1.10/debian/menu @@ -0,0 +1,7 @@ +?package(youtranslate): \ + needs="X11" \ + section="Applications/Text" \ + title="YouTranslate!" \ + longtitle="Automatic Online Translater" \ + command="/usr/bin/youtranslate" \ + icon="/usr/share/pixmaps/youtranslate.xpm" --- youtranslate-1.1.10.orig/debian/control +++ youtranslate-1.1.10/debian/control @@ -0,0 +1,28 @@ +Source: youtranslate +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +Homepage: http://www.laas02.org/?page_id=17 +Build-Depends: cdbs (>= 0.4.49), + debhelper (>= 5.0.37.1), + sharutils, + libgtk2.0-dev, + libglade2.0-cil-dev, + libgtk2.0-cil-dev, + mono-devel, + libmono-cairo2.0-cil, + cli-common-dev (>= 0.4.4) +Standards-Version: 3.8.4 + +Package: youtranslate +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${cli:Depends} +Description: graphical translator which makes use of online services + YouTranslate! is a small application that lets you make use of some online + translation services in an easy and fast way, without the need for a web + browser. + . + Currently it supports the following translations services: Google and Yahoo! + Babel Fish. --- youtranslate-1.1.10.orig/debian/dirs +++ youtranslate-1.1.10/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/youtranslate --- youtranslate-1.1.10.orig/debian/install +++ youtranslate-1.1.10/debian/install @@ -0,0 +1,3 @@ +debian/youtranslate.xpm usr/share/pixmaps +debian/youtranslate.png usr/share/pixmaps +debian/youtranslate.desktop usr/share/applications --- youtranslate-1.1.10.orig/debian/youtranslate.png.uuencode +++ youtranslate-1.1.10/debian/youtranslate.png.uuencode @@ -0,0 +1,64 @@ +begin 644 debian/youtranslate.png +MB5!.1PT*&@H````-24A$4@```#`````P"`8```!7`OF'`````7-21T(`KLX< +MZ0````9B2T=$`/\`_P#_H+VGDP````EP2%ES```+$P``"Q,!`)J<&```"BU) +M1$%4:-[5FFEPE=49QW_G?=^[AB1`$DA03!#":@BB+"Z`^[1TBE-EE-96I[;C +M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8,H +M+]2:O%EGLG:?25FNSJ1A^J##Y8:#%K_<%(L?B1LZV#I`YFJZ"M/I'<),1V55 +MH?MJ6\,.\S9T\.2NQ!<)1UT#K.L/_$`:R&Q'%:QIC,G8FCIK1FV;ZQN3IU&< +MH_5RHJ$^#8\&6T(.MNRY@#\Z(\`/2[V]QBO@RV:'^[;&>6A[O.-0IWQC3A`!&`_?[=''K925&WL_'^YA?ZF%$1CU4*3@ and +it is released under the GNU General Public License, version 2 or later. --- youtranslate-1.1.10.orig/debian/compat +++ youtranslate-1.1.10/debian/compat @@ -0,0 +1 @@ +5 --- youtranslate-1.1.10.orig/debian/manpages +++ youtranslate-1.1.10/debian/manpages @@ -0,0 +1 @@ +debian/youtranslate.1 --- youtranslate-1.1.10.orig/debian/rules +++ youtranslate-1.1.10/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +export MONO_SHARED_DIR=$(CURDIR) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEBDIR=$(CURDIR)/debian +PKGDIR=$(DEBDIR)/youtranslate + +build/youtranslate:: + ./make.sh MCS=mono-csc + uudecode $(DEBDIR)/youtranslate.png.uuencode + +install/youtranslate:: + mv $(CURDIR)/youtranslate.exe $(PKGDIR)/usr/lib/youtranslate/youtranslate.exe + cp $(DEBDIR)/wrapper $(PKGDIR)/usr/bin/youtranslate + cp $(DEBDIR)/youtranslate.exe.config $(PKGDIR)/usr/lib/youtranslate + +common-binary-predeb-indep:: + dh_clifixperms + dh_clideps -d + +clean:: + rm -f debian/youtranslate.png + rm -f youtranslate.exe + rm -rf build/ + rm -rf $(MONO_SHARED_DIR)/.wapi --- youtranslate-1.1.10.orig/debian/wrapper +++ youtranslate-1.1.10/debian/wrapper @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/mono /usr/lib/youtranslate/youtranslate.exe "$@" --- youtranslate-1.1.10.orig/debian/youtranslate.xpm +++ youtranslate-1.1.10/debian/youtranslate.xpm @@ -0,0 +1,227 @@ +/* XPM */ +static char * youtranslate_xpm[] = { +"32 32 192 2", +" c None", +". c #000000", +"+ c #010000", +"@ c #060302", +"# c #28180E", +"$ c #3C2B21", +"% c #47382E", +"& c #4B3C33", +"* c #050302", +"= c #4C372A", +"- c #90786A", +"; c #C2B0A5", +"> c #D9C7BD", +", c #EBD9CE", +"' c #F2E0D5", +") c #010100", +"! c #170E09", +"~ c #614F44", +"{ c #C3A899", +"] c #FEEDE3", +"^ c #FEF0E7", +"/ c #291A11", +"( c #987967", +"_ c #F1D6C6", +": c #FEE7DA", +"< c #0B0501", +"[ c #412311", +"} c #D9A78A", +"| c #FEDCC8", +"1 c #FEDECB", +"2 c #431F0A", +"3 c #CA855B", +"4 c #FED3BB", +"5 c #FED5BD", +"6 c #020100", +"7 c #2D1303", +"8 c #CF6E34", +"9 c #D7AE98", +"0 c #CDB7A9", +"a c #D6BAAA", +"b c #F6C8AC", +"c c #FECBAD", +"d c #1B0C02", +"e c #99400B", +"f c #FA9255", +"g c #D7B29B", +"h c #9C9A99", +"i c #999999", +"j c #9E9B9A", +"k c #C8AC9C", +"l c #FDC3A0", +"m c #FEC3A0", +"n c #662B07", +"o c #F06412", +"p c #FE9F67", +"q c #FEB990", +"r c #C8A28C", +"s c #908B88", +"t c #878787", +"u c #898887", +"v c #C7A28C", +"w c #F8B68F", +"x c #F9B68F", +"y c #0C0501", +"z c #C3510F", +"A c #FE6A13", +"B c #FE9B60", +"C c #FEB183", +"D c #F6AE82", +"E c #B8937E", +"F c #7A7979", +"G c #797979", +"H c #867F7A", +"I c #CA9B7F", +"J c #CC9B7F", +"K c #512206", +"L c #FD6A13", +"M c #FE8944", +"N c #FEA672", +"O c #FEA773", +"P c #FCA572", +"Q c #A3816C", +"R c #6C6A68", +"S c #686868", +"T c #6F6B68", +"U c #CD926F", +"V c #FBA572", +"W c #D0936F", +"X c #706B68", +"Y c #923E0B", +"Z c #FE782A", +"` c #FE995E", +" . c #FE9E66", +".. c #EB9665", +"+. c #90715E", +"@. c #5A5A5A", +"#. c #75665C", +"$. c #D38C63", +"%. c #D68E63", +"&. c #77665C", +"*. c #2C1203", +"=. c #C5520F", +"-. c #FE6C16", +";. c #FE8037", +">. c #FE9455", +",. c #FE9456", +"'. c #F28F55", +"). c #795D4C", +"!. c #4B4949", +"~. c #484848", +"{. c #5D514A", +"]. c #D88553", +"^. c #FD9356", +"/. c #FD9456", +"(. c #DC8653", +"_. c #60524A", +":. c #401B05", +"<. c #DB5B10", +"[. c #FE6D19", +"}. c #FE843D", +"|. c #FE8B49", +"1. c #D67B46", +"2. c #654C3D", +"3. c #3A3A3A", +"4. c #3B3B3A", +"5. c #6D503E", +"6. c #DF7F46", +"7. c #E28046", +"8. c #72513E", +"9. c #3B3B3B", +"0. c #4B2006", +"a. c #EC6312", +"b. c #FE6C17", +"c. c #FE8137", +"d. c #FE8239", +"e. c #DD7436", +"f. c #4D382C", +"g. c #2A2A29", +"h. c #563C2D", +"i. c #5C3F2D", +"j. c #2A2A2A", +"k. c #4F2106", +"l. c #F36512", +"m. c #FE6B15", +"n. c #FE711E", +"o. c #FE7727", +"p. c #FE792C", +"q. c #FD792C", +"r. c #B75C27", +"s. c #39281D", +"t. c #1B1B1B", +"u. c #1C1C1C", +"v. c #1D1C1C", +"w. c #FE6E1A", +"x. c #FC6E1B", +"y. c #BD5417", +"z. c #170F0B", +"A. c #0A0A0A", +"B. c #FB6914", +"C. c #2A1304", +"D. c #010101", +"E. c #2A1204", +"F. c #D85A10", +"G. c #431C05", +"H. c #CA540F", +"I. c #943D0B", +"J. c #722F09", +"K. c #411B05", +"L. c #D95B10", +"M. c #A6450C", +"N. c #522206", +"O. c #291103", +"P. c #98400B", +"Q. c #F16512", +"R. c #EA6211", +"S. c #100701", +"T. c #170902", +"U. c #612808", +"V. c #F66712", +"W. c #451D05", +"X. c #050201", +"Y. c #4C2006", +"Z. c #903C0B", +"`. c #C2510E", +" + c #D95A10", +".+ c #E45F11", +"++ c #C6520F", +"@+ c #060301", +"#+ c #281103", +"$+ c #3C1905", +"%+ c #471E05", +"&+ c #4B1F06", +" . + @ # $ % & & % $ # @ + . ", +" . * = - ; > , ' ' , > ; - = * . ", +" ) ! ~ { ] ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ] { ~ ! ) ", +" . . / ( _ : : : : : : : : : : : : : : _ ( / . . ", +" . < [ } | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | } [ < . ", +" . 2 3 4 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4 3 2 . ", +" 6 7 8 9 0 0 a b c c c c c c c c c c c c b a 0 0 9 8 7 6 ", +" . d e f g h i j k l m m m m m m m m m m l k j i h g f e d . ", +" + n o p q r s t u v w q q q q q q q q x r u t s r q p o n + ", +". y z A B C D E F G H I C C C C C C C C J H G F E D C B A z y . ", +"6 K L A M N O P Q R S T U V O O O O V W X S R Q P O N M A L K 6 ", +"y Y A A Z ` . ...+.@.@.#.$. . . . .%.&.@.@.+... . .` Z A A Y y ", +"*.=.A A -.;.>.,.,.'.).!.~.{.].^./.(._.~.!.).'.,.,.>.;.-.A A =.*.", +":.<.A A A [.}.|.|.|.1.2.3.4.5.6.7.8.9.3.2.1.|.|.|.}.[.A A A <.:.", +"0.a.A A A A b.Z c.d.d.e.f.g.g.h.i.j.g.f.e.d.d.c.Z b.A A A A a.0.", +"k.l.A A A A A m.n.o.p.q.r.s.t.u.v.t.s.r.q.p.o.n.m.A A A A A l.k.", +"k.l.A A A A A A A A b.w.x.y.z.A.A.z.y.x.w.b.A A A A A A A A l.k.", +"0.a.A A A A A A A A A A A B.C.D.D.E.B.A A A A A A A A A A A a.0.", +":.<.A A A A A A A A A A A A 7 . . 7 A A A A A A A A A A A A <.:.", +"*.=.A A A A A A A A A A A A 7 . . 7 A A A A A A A A A A A A =.*.", +"y Y A A A A A A A A A A A A 7 . . 7 A A A A A A A A A A A A Y y ", +"6 K L A A A A A A A A A A A 7 . . 7 A A A A A A A A A A A L K 6 ", +". y z A A A A A A A A A A A 7 . . 7 A A A A A A A A A A A z y . ", +" + n o A A A A A A A A A A 7 . . 7 A A A A A A A A A A o n + ", +" . d e L A A A A A A A A A 7 . . 7 A A A A A A A A A L e d . ", +" 6 7 F.A A A A A A A A A 7 . . 7 A A A A A A A A A F.7 6 ", +" . G.H.A A A A A A A A I.J.J.I.A A A A A A A A H.G.. ", +" . < K.L.A A A A A A A M.N.N.M.A A A A A A A L.K.< . ", +" . . O.P.Q.A A A A R.S.. . S.R.A A A A Q.P.O.. . ", +" ) T.U.z A A A V.W.6 6 W.V.A A A z U.T.) ", +" . X.Y.Z.`. +.+++++.+ +`.Z.Y.X.. ", +" . + @+#+$+%+&+&+%+$+#+@++ . "}; --- youtranslate-1.1.10.orig/debian/youtranslate.desktop +++ youtranslate-1.1.10/debian/youtranslate.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=Online Translator YouTranslate! +Name[ca]=Traductor en línia YouTranslate! +Comment=Translate words or sentences using an online translation service +Comment[ca]=Trobeu la traducció de paraules o frases utilitzant serveis de traducció en línia +Icon=youtranslate +Exec=youtranslate +Terminal=false +Categories=Utility; --- youtranslate-1.1.10.orig/debian/watch +++ youtranslate-1.1.10/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.laas02.org/wp-content/res/yt/youtranslate-(.*)_src.tar.gz --- youtranslate-1.1.10.orig/debian/changelog +++ youtranslate-1.1.10/debian/changelog @@ -0,0 +1,98 @@ +youtranslate (1.1.10-0ubuntu6) oneiric; urgency=low + + * Rebuild against Mono 2.10 and the .NET 4.0 compiler + * debian/youtranslate.exe.config: + + Include a dllmap for libX11, due to stricter checks in recent cli-common + + -- Jo Shields Tue, 21 Jun 2011 19:48:36 +0100 + +youtranslate (1.1.10-0ubuntu5) lucid; urgency=low + + * Fix FTBFS: + - use mono-csc instead of csc as a compiler. + - use -dev packages as build dependencies. + * debian/rules: remove deprecated dh_desktop call. + * Bump Standards-Version to 3.8.4. + * Add a watch file. + + -- Ilya Barygin Wed, 03 Mar 2010 14:07:41 +0300 + +youtranslate (1.1.10-0ubuntu4) karmic; urgency=low + + * debian/youtranslate.exe.config: + - Map gdk-x11-2.0 to libgdk-x11-2.0.so.0, fixing a crash at startup + if libgtk2.0-dev isn't installed (LP: #350203). Thanks to Jo Shields. + * debian/rules: + - Make use of $(CURDIR). + - Install the youtranslate.exe.config file. + * debian/control: + - Update Homepage field to a working location. + - Bump Standards-Version to 3.8.2. + + Note: Upstream has released version 1.2 but it doesn't look like it'd + bring us anything new (our version is patched up and works with more + translation services). + + -- Siegfried-Angel Gevatter Pujals Sat, 20 Jun 2009 21:53:25 +0200 + +youtranslate (1.1.10-0ubuntu3) jaunty; urgency=low + + * Mono 2.0 transition. + - Change build dependency from mono-mcs to mono-devel so that we can use + csc. + - Add debian/patches/configurable-compiler.patch so that we can change + the compiler from debian/rules. + - Call build.sh with MCS=csc in debian/rules to use csc. + * Add an explicit build dependency on libmono-cairo2.0-cil as it is needed + by gdk, but libgtk2.0-cil depends on the 1.0 version. This is just a + workaround. + + -- James Westby Sun, 30 Nov 2008 17:55:48 +0000 + +youtranslate (1.1.10-0ubuntu2) intrepid; urgency=low + + * debian/control: + - Adjust the mono compiler dependency to fix a FTBFS. + + -- Siegfried-Angel Gevatter Pujals (RainCT) Thu, 12 Jun 2008 16:50:52 +0200 + +youtranslate (1.1.10-0ubuntu1) intrepid; urgency=low + + * New upstream release (LP: #159249). + * debian/patches/fix-makefile-dependencies.patch: + - Fix Makefile.youtranslate for it to build. + * debian/patches/update-service-providers.patch: + - Update the service provider information as the websites changed + and this program didn't work anymore, and remove WordLingo and + Systran because they can't be used over GET anymore (LP: #236483). + * debian/control: + - Bump Standards Version to 3.7.3: Move Homepage field to Source stanza. + - Update the Homepage field to point to the new website. + - Improve the description (both sort and long). + - Some formatting changes. + - Add a dependencies on cdbs and sharutils and bump the debhelper version. + * debian/copyright: + - Minor changes. + * debian/docs: + - Remove this file; the README is not interesting. + * debian/menu: + - Fix the menu file (it dependend on a wrong package) and improve it. + - Update the category to the new format (Applications/Text). + - Add an Icon. + * debian/dirs, debian/youtranslate.{xpm,.png.uuencode,.desktop}: + - Add them. + * debian/rules: + - Switch to CDBS and do some other changes. + * debian/install: + - Add this file to install the icons and the .desktop file. + * debian/youtranslate.1: + - Improve it. + + -- Siegfried-Angel Gevatter Pujals (RainCT) Thu, 12 Jun 2008 00:30:35 +0200 + +youtranslate (1.1.9-0ubuntu1) gutsy; urgency=low + + * Initial release - orig tarball remade in order to add COPYING.lib file + (LP: #109060) + + -- Cyril LAVIER Sat, 21 Apr 2007 11:52:56 +0100 --- youtranslate-1.1.10.orig/debian/copyright +++ youtranslate-1.1.10/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Cyril LAVIER on +Sat, 21 Apr 2007 11:52:56 +0100. + +It was downloaded from http://www.laas02.org/?page_id=17 + +Upstream Author: + + Salvatore Scarciglia + +Copyright: + + Copyright © 2006 Salvatore Scarciglia + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License version 2 as published by the Free Software Foundation. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + On Debian systems, the complete text of the GNU General Public License can + be found in `/usr/share/common-licenses/LGPL-2'. + +File yTTrayLib.cs was taken from: +http://www.mono-project.com/GtkSharpNotificationIcon + +The Debian packaging is © 2007 Cyril LAVIER , +© 2008-2009 Siegfried-A. Gevatter and it is licensed under +the GPL, version 2 or later, see `/usr/share/common-licenses/GPL'. --- youtranslate-1.1.10.orig/debian/youtranslate.exe.config +++ youtranslate-1.1.10/debian/youtranslate.exe.config @@ -0,0 +1,4 @@ + + + + --- youtranslate-1.1.10.orig/debian/patches/update-service-providers.patch +++ youtranslate-1.1.10/debian/patches/update-service-providers.patch @@ -0,0 +1,369 @@ +diff -Nur -x '*.orig' -x '*~' youtranslate-1.1.10/yt.glade youtranslate-1.1.10.new/yt.glade +--- youtranslate-1.1.10/yt.glade 2007-09-03 17:13:06.000000000 +0200 ++++ youtranslate-1.1.10.new/yt.glade 2008-06-12 15:04:30.000000000 +0200 +@@ -438,7 +438,7 @@ + + True + True +- BabelFish ++ Yahoo! Babel Fish + True + GTK_RELIEF_NORMAL + True +@@ -454,46 +454,6 @@ + + + +- +- +- True +- False +- True +- Systran +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- radioProvider1 +- +- +- 0 +- False +- False +- +- +- +- +- +- True +- True +- BabelFish Yahoo +- True +- GTK_RELIEF_NORMAL +- True +- False +- False +- True +- radioProvider1 +- +- +- 0 +- False +- False +- +- + + + +diff -Nur -x '*.orig' -x '*~' youtranslate-1.1.10/yTLargeTRanslator.cs youtranslate-1.1.10.new/yTLargeTRanslator.cs +--- youtranslate-1.1.10/yTLargeTRanslator.cs 2006-11-05 14:09:59.000000000 +0100 ++++ youtranslate-1.1.10.new/yTLargeTRanslator.cs 2008-06-12 15:04:30.000000000 +0200 +@@ -35,9 +35,6 @@ + [Widget] Gtk.Image imgLogo; + [Widget] Gtk.RadioButton radioProvider1; + [Widget] Gtk.RadioButton radioProvider2; +- [Widget] Gtk.RadioButton radioProvider3; +- [Widget] Gtk.RadioButton radioProvider4; +- [Widget] Gtk.RadioButton radioProvider5; + [Widget] Gtk.CheckButton chkStartIco; + [Widget] Gtk.CheckButton chkAllDesk; + //private yTService currentService; +@@ -86,15 +83,6 @@ + case 2: + radioProvider2.Active = true; + break; +- case 3: +- radioProvider3.Active = true; +- break; +- case 4: +- radioProvider4.Active = true; +- break; +- case 5: +- radioProvider5.Active = true; +- break; + } + } + +@@ -108,9 +96,6 @@ + cmdCancel.Clicked+=buttonHandler; + radioProvider1.Clicked+=radioHandler; + radioProvider2.Clicked+=radioHandler; +- radioProvider3.Clicked+=radioHandler; +- radioProvider4.Clicked+=radioHandler; +- radioProvider5.Clicked+=radioHandler; + chkStartIco.Toggled+=checkHandler; + chkAllDesk.Toggled+=checkHandler; + imgLogo.FromPixbuf = new Gdk.Pixbuf(null,"yTLogo.png"); +@@ -131,9 +116,6 @@ + RadioButton b = (RadioButton) o; + if(b==radioProvider1) selectedProvider=1; + else if(b==radioProvider2) selectedProvider=2; +- else if(b==radioProvider3)selectedProvider=3; +- else if(b==radioProvider4)selectedProvider=4; +- else if(b==radioProvider5)selectedProvider=5; + } + + +@@ -149,4 +131,4 @@ + } + + +-} +\ No newline at end of file ++} +diff -Nur -x '*.orig' -x '*~' youtranslate-1.1.10/yTProvider.cs youtranslate-1.1.10.new/yTProvider.cs +--- youtranslate-1.1.10/yTProvider.cs 2007-09-18 17:28:51.000000000 +0200 ++++ youtranslate-1.1.10.new/yTProvider.cs 2008-06-12 15:05:02.000000000 +0200 +@@ -24,10 +24,7 @@ + ID | Name + -------------------------- + 1 | Google +- 2 | BabelFish (Altavista) +- 3 | Systran +- 4 | WorldLingo +- 5 | Babel Fish (Yahoo) ++ 2 | Yahoo! Babel Fish + -------------------------- + */ + +@@ -61,18 +58,34 @@ + _MainUrl = "http://www.google.com"; + _LangSep = "|"; + _OpenTag1 = ""; + _AvailableServices = "zh_en#nl_en#nl_fr#fr_en#fr_de#fr_el#"+ + "fr_it#fr_pt#fr_nl#fr_es#de_en#de_fr#"+ + "el_en#el_fr#it_en#it_fr#ja_en#ko_en#"+ +@@ -80,68 +93,6 @@ + "en_nl#en_fr#en_de#en_el#en_it#en_ja#"+ + "en_ko#en_pt#en_ru#en_es"; + break; +- case 3: // Systran +- _Name = "Systran"; +- _MainUrl = "http://www.systranbox.com"; +- _LangSep = "_"; +- _OpenTag1 = "translation"; +- _OpenTag2 = "ual\">"; +- _CloseTag = ""; +- _AvailableServices = "zh_en#nl_en#nl_fr#fr_en#fr_de#fr_el#"+ +- "fr_it#fr_pt#fr_nl#fr_es#de_en#de_fr#"+ +- "el_en#el_fr#it_en#it_fr#ja_en#ko_en#"+ +- "pt_en#pt_fr#ru_en#es_en#es_fr#en_zh#"+ +- "en_nl#en_fr#en_de#en_el#en_it#en_ja#"+ +- "en_ko#en_pt#en_ru#en_es#sv_en#ar_en#"+ +- "en_sv#en_ar"; +- break; +- case 4: // WorldLingo +- _Name = "WorldLingo"; +- _MainUrl = "http://www.WorldLingo.com"; +- _LangSep = "_"; +- _OpenTag1 = "wl_result"; +- _OpenTag2 = ">"; +- _CloseTag = ""; +- _AvailableServices = "en_zh#en_nl#en_fr#en_de#en_el#en_it#"+ +- "en_ja#en_ko#en_pt#en_ru#en_es#"+ +- "zh_en#zh_nl#zh_fr#zh_de#zh_el#zh_it#"+ +- "zh_ja#zh_ko#zh_pt#zh_ru#zh_es#"+ +- "nl_en#nl_zh#nl_fr#nl_de#nl_el#nl_it#"+ +- "nl_ja#nl_ko#nl_pt#nl_ru#nl_es#"+ +- "fr_en#fr_zh#fr_nl#fr_de#fr_el#fr_it#"+ +- "fr_ja#fr_ko#fr_pt#fr_ru#fr_es#"+ +- "de_en#de_zh#de_nl#de_fr#de_el#de_it#"+ +- "de_ja#de_ko#de_pt#de_ru#de_es#"+ +- "el_en#el_zh#el_nl#el_fr#el_de#el_it#"+ +- "el_ja#el_ko#el_pt#el_ru#el_es#"+ +- "it_en#it_zh#it_nl#it_fr#it_de#it_el#"+ +- "it_ja#it_ko#it_pt#it_ru#it_es#"+ +- "ja_en#ja_zh#ja_nl#ja_fr#ja_de#ja_el#"+ +- "ja_it#ja_ko#ja_pt#ja_ru#ja_es#"+ +- "ko_en#ko_zh#ko_nl#ko_fr#ko_de#ko_el#"+ +- "ko_it#ko_ja#ko_pt#ko_ru#ko_es#"+ +- "pt_en#pt_zh#pt_nl#pt_fr#pt_de#pt_el#"+ +- "pt_it#pt_ja#pt_ko#pt_ru#pt_es#"+ +- "ru_en#ru_zh#ru_nl#ru_fr#ru_de#ru_el#"+ +- "ru_it#ru_ja#ru_ko#ru_pt#ru_es#"+ +- "es_en#es_zh#es_nl#es_fr#es_de#es_el#"+ +- "es_it#es_ja#es_ko#es_pt#es_ru"; +- break; +- case 5: // BabelFish (Yahoo) +- _Name = "BabelFish Yahoo"; +- _MainUrl = "http://it.search.yahoo.com"; +- _LangSep = "_"; +- _OpenTag1 = ""; +- _AvailableServices = "zh_en#en_zh#en_nl#en_fr#en_de#en_el#"+ +- "en_it#en_ja#en_ko#en_pt#en_ru#en_es#"+ +- "nl_en#nl_fr#fr_nl#fr_en#fr_de#fr_el#"+ +- "fr_it#fr_pt#fr_es#de_en#de_fr#el_en#"+ +- "el_fr#it_en#it_fr#ja_en#ko_en#pt_en#"+ +- "pt_fr#ru_en#es_en#es_fr"; +- +- break; + } + } + +@@ -154,32 +105,18 @@ + return true; + } + +- +- + // return the URL of the provider + public string getUrlTranslator(string langFrom, string langTo, string textToTransalte){ + string resUrl=_MainUrl; + switch(_ID) { + case 1: // Google +- resUrl+="/translate_t?text="+textToTransalte+ +- "&langpair="+langFrom+_LangSep+langTo+"&ie=utf8&oe=utf8"; +- break; +- case 2: // BabelFish (Altavista) +- resUrl+="/babelfish/tr?urltext="+textToTransalte+ +- "&lp="+langFrom+_LangSep+langTo+"&enc=utf8"; ++ resUrl+="/translate_t?text="+textToTransalte+"&langpair="+ ++ langFrom+_LangSep+langTo+"&ie=utf8&oe=utf8"; + break; +- case 3: // Systran +- resUrl+="/systran/box?systran_charset=utf-8&ttype=text&systran_text="+textToTransalte+ +- "&systran_lp="+langFrom+_LangSep+langTo+""; +- break; +- case 4: // WorldLingo +- resUrl+="/wl/translate?wl_text="+textToTransalte+ +- "&wl_srclang="+langFrom+"&wl_trglang="+langTo+"&wl_ucp=1"; +- break; +- case 5: // BabelFish (Yahoo) +- resUrl+="/language/translate?doit=done&tt=text&intl=1&text="+textToTransalte+ ++ case 2: // Yahoo! Babel Fish ++ resUrl+="/translate_txt?ei=UTF-8&trtext="+textToTransalte+ + "&lp="+langFrom+_LangSep+langTo+""; +- break; ++ break; + } + return resUrl; + } +@@ -208,4 +145,4 @@ + } + // Public Properties :: end + +-} +\ No newline at end of file ++} +diff -Nur -x '*.orig' -x '*~' youtranslate-1.1.10/yTToolWin.cs youtranslate-1.1.10.new/yTToolWin.cs +--- youtranslate-1.1.10/yTToolWin.cs 2007-09-03 17:12:11.000000000 +0200 ++++ youtranslate-1.1.10.new/yTToolWin.cs 2008-06-12 15:04:35.000000000 +0200 +@@ -33,9 +33,6 @@ + [Widget] Gtk.Image imgLogo; + [Widget] Gtk.RadioButton radioProvider1; + [Widget] Gtk.RadioButton radioProvider2; +- [Widget] Gtk.RadioButton radioProvider3; +- // [Widget] Gtk.RadioButton radioProvider4; (G2.16) +- [Widget] Gtk.RadioButton radioProvider5; + [Widget] Gtk.SpinButton spinLarge; + [Widget] Gtk.CheckButton chkStartIco; + [Widget] Gtk.CheckButton chkAllDesk; +@@ -95,15 +92,6 @@ + case 2: + radioProvider2.Active = true; + break; +-/* case 3: +- radioProvider3.Active = true; +- break; +- case 4: +- radioProvider4.Active = true; +- break; +-*/ case 5: +- radioProvider5.Active = true; +- break; + } + } + +@@ -117,9 +105,6 @@ + cmdCancel.Clicked+=buttonHandler; + radioProvider1.Clicked+=radioHandler; + radioProvider2.Clicked+=radioHandler; +- //radioProvider3.Clicked+=radioHandler; +- //radioProvider4.Clicked+=radioHandler; +- radioProvider5.Clicked+=radioHandler; + chkStartIco.Toggled+=checkHandler; + chkAllDesk.Toggled+=checkHandler; + imgLogo.FromPixbuf = new Gdk.Pixbuf(null,"yTLogo.png"); +@@ -140,9 +125,6 @@ + RadioButton b = (RadioButton) o; + if(b==radioProvider1) selectedProvider=1; + else if(b==radioProvider2) selectedProvider=2; +- //else if(b==radioProvider3)selectedProvider=3; +- //else if(b==radioProvider4)selectedProvider=4; +- else if(b==radioProvider5)selectedProvider=5; + } + + private void buttonHandler(object o, EventArgs args){ +@@ -158,4 +140,4 @@ + } + + +-} +\ No newline at end of file ++} +diff -Nur -x '*.orig' -x '*~' youtranslate-1.1.10/yTUserPrefs.cs youtranslate-1.1.10.new/yTUserPrefs.cs +--- youtranslate-1.1.10/yTUserPrefs.cs 2006-11-05 14:09:59.000000000 +0100 ++++ youtranslate-1.1.10.new/yTUserPrefs.cs 2008-06-12 15:04:35.000000000 +0200 +@@ -62,6 +62,12 @@ + } + } + xr.Close(); ++ if (_providerID > 2) { ++ // Ensure that the provider still exists, as some were removed. ++ // If we wouldn't do this, many existing users would get a crash ++ // if they don't change the provider after the update. ++ _providerID = 1; ++ } + } + catch(Exception e){ + saveBookmarks(true); +@@ -124,4 +130,4 @@ + } + // Public Properties :: end + +-} +\ No newline at end of file ++} --- youtranslate-1.1.10.orig/debian/patches/configurable-compiler.patch +++ youtranslate-1.1.10/debian/patches/configurable-compiler.patch @@ -0,0 +1,19 @@ +diff -Nur -x '*.orig' -x '*~' youtranslate/Makefile.youtranslate youtranslate.new/Makefile.youtranslate +--- youtranslate/Makefile.youtranslate 2008-11-30 17:51:31.000000000 +0000 ++++ youtranslate.new/Makefile.youtranslate 2008-11-30 17:54:11.000000000 +0000 +@@ -1,4 +1,6 @@ + ++MCS = mcs ++ + SOURCES = \ + ./yTMain.cs \ + ./yTMessageBox.cs \ +@@ -47,7 +49,7 @@ + all: youtranslate.exe + + youtranslate.exe: $(SOURCES) $(RESOURCES) +- mcs $(MCS_OPTIONS) -target:exe -out:"youtranslate.exe" $(RESOURCES_BUILD) $(PKG_REFERENCES_BUILD) $(SOURCES) \ ++ $(MCS) $(MCS_OPTIONS) -target:exe -out:"youtranslate.exe" $(RESOURCES_BUILD) $(PKG_REFERENCES_BUILD) $(SOURCES) \ + && cp "youtranslate.exe" ./build/. + + clean: --- youtranslate-1.1.10.orig/debian/patches/fix-makefile-dependencies.patch +++ youtranslate-1.1.10/debian/patches/fix-makefile-dependencies.patch @@ -0,0 +1,14 @@ +diff -Nur -x '*.orig' -x '*~' youtranslate-1.1.10/Makefile.youtranslate youtranslate-1.1.10.new/Makefile.youtranslate +--- youtranslate-1.1.10/Makefile.youtranslate 2008-06-12 01:26:17.000000000 +0200 ++++ youtranslate-1.1.10.new/Makefile.youtranslate 2008-06-12 01:27:15.000000000 +0200 +@@ -35,8 +35,8 @@ + RESOURCES_BUILD = $(foreach res,$(RESOURCES), $(addprefix -resource:,$(res)),$(notdir $(res))) + + PKG_REFERENCES = \ +-gtk-sharp \ +-glade-sharp ++gtk-sharp-2.0 \ ++glade-sharp-2.0 + + PKG_REFERENCES_BUILD = $(addprefix -pkg:, $(PKG_REFERENCES)) +