[SRU] YouTranslate! in Gutsy and Hardy doesn't work.

Bug #239719 reported by Siegfried Gevatter
10
Affects Status Importance Assigned to Milestone
youtranslate (Ubuntu)
Fix Released
Medium
Unassigned
Gutsy
Won't Fix
Medium
Unassigned
Hardy
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: youtranslate

YouTranslate! is a simple graphical application that searches words or sentences in online (web based) translation services for you, and to achieve this it parses the HTML of the sites it uses. But we all know that the web changes and that's the reason why...

The YouTranslate! package in Gutsy and Hardy is completely useless because of changes in the websites it accesses that don't let it get any translation anymore. I've fixed this problem in Intrepid and I'm filling this bug to backport the patch to Gutsy and Hardy.

The patch is a little bit intrusive, but it is necessary for the application to do anything at all. Additionally, the package currently in Gutsy/Hardy is failing to build from source, and a build dependency needs to be adjusted in order to solve this.

TEST CASE:
 - Install youtranslate from Gutsy/Hardy.
 - Launch it (from the command line, as it has no .desktop files and debian/menu is broken - this is fixed in Intrepid).
 - Try to get the translation of some word, with each of the different service providers available in the preferences dialog. Any won't work.
 - Install the new SRU candidate.
 - Verify that if the last service you used isn't available anymore, it defaults now to the first one (else it would crash) and that both services available work correctly.
 - Give me a hug and afterwards reward yourself with a cold beer or whatever you want :).

Changed in youtranslate:
assignee: nobody → rainct
importance: Undecided → Medium
status: New → In Progress
description: updated
description: updated
Revision history for this message
Siegfried Gevatter (rainct) wrote :

(The glade files, which were re-generated during the change from version 1.1.9 to 1.1.10, have been omitted from the diff for brevity.)

Changed in youtranslate:
assignee: rainct → nobody
status: In Progress → New
importance: Undecided → Medium
importance: Undecided → Medium
description: updated
description: updated
Revision history for this message
Luke Yelavich (themuso) wrote :

Firstly, is there a need to switch to cdbs? Remember that an SRU has to have the most minimal changes possible to iminimize regressions etc.

Secondly, what do you mean by "do some other changes"?

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

@Siegfried,

Moins,

As I can read from the debdiff it looks like that it's a new upstream version, right Siegfried?

The question if I'm right is, I see the need to update the version in gutsy and hardy to the new upstream, or if it's possible, can't we just change the pointer to the website?

I'll talk to you about this on IRC :)

regards,
\sh

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Hm... I've checked the package again in more detail and I agree that we don't want the new version.

It seems like I've removed the work I had done on my initial SRU candidate (which was initially with the old version), so I don't know when I'll get to do it again.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

@ Luke Yelavich: About two, what do you mean? «(like fixing the menu file and adding a .desktop file, updating the Homepage field to point to upstream's new location and removing debian/docs as the file it installs isn't interesting, adding icons for the menu, etc.)».

Would this be OK for the SRU?

description: updated
Revision history for this message
Siegfried Gevatter (rainct) wrote :

------------------------------------------------------------------------------------------------------------------------------------------------

I've updated the description and this time I've done a proper SRU, or at least I hope so :). Please find the changelog below, and a debdiff attached.

youtranslate (1.1.9-0ubuntu1.7.10.1) hardy; urgency=low

  * Stable Release Upgrade (LP: #239719):
     - Add dpatch.
     - Fix FTBFS:
        - Replace "mono-gmcs" build-dependency with "mono-mcs".
        - debian/patches/02_fix_ftbfs.dpatch:
           - Replace gtk-sharp with gtk-sharp-2.0 and glade-sharp with
             glade-sharp-2.0 in Makefile.youtranslate, as else it won't
             find their .pc files.
     - debian/patches/01_update-service-providers.dpatch:
        - 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).

 -- Siegfried-Angel Gevatter Pujals <email address hidden> Fri, 04 Jul 2008 01:10:18 +0200

The new package for Hardy is already waiting in the queue for you (motu-sru) to approve it. I'll upload a copy of the same package for Gutsy once it has been verified. Thanks.

Revision history for this message
Luke Yelavich (themuso) wrote :

Ok, a couple of things. Firstly, is this in Intrepid yet? Secondly, I notice that you have some changes in a .dpatch file, and some changes directly made to package files, which means that these will be a part of the .diff.gz directly, and not in a patch. I suggest you do either one or the other, either use a patch system, and make all changes as patches, or make all changes directly, which will appear in the .diff.gz for the package.

Revision history for this message
Luke Yelavich (themuso) wrote :

Appart from the needed change to upload to hardy-proposed as opposed to hardy, and he fact that I misread the patch, ACK.

Changed in youtranslate:
status: New → Confirmed
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

ACK from me as well...

therefore +2 please go to hardy-proposed :)

\sh

Changed in youtranslate:
status: Confirmed → In Progress
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Usually, if package does not provide a patch system itself, changes are applied inline, this is to limit changes included in a SRU and to reduce overall complexity.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

This issue should be already fixed in Intrepid.

Changed in youtranslate:
status: New → Fix Released
status: New → Confirmed
status: In Progress → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in youtranslate:
status: Confirmed → Fix Committed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

I can confirm that youtranslate is utterly broken in hardy. Following the procedure listed in TEST CASE, I was able to run youtranslate and perform correct translations using the two available providers.
The application doesn't respond anymore to user inputs if you use F12 and then close this additional window, but that would be another bug.

Revision history for this message
Martin Pitt (pitti) wrote :

youtranslate copied to hardy-updates.

Changed in youtranslate:
status: Fix Committed → Fix Released
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Gutsy Gibbon 7.10 has reached its end of life -
http://www.ubuntu.com/news/ubuntu-7.10-eol . As a result, we are closing the
Gutsy task.

Changed in youtranslate (Ubuntu Gutsy):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.