[gutsy] liferea scripting support not working/activated

Bug #158422 reported by Stefan Bethge
8
Affects Status Importance Assigned to Milestone
liferea (Ubuntu)
Fix Released
Medium
Emilio Pozuelo Monfort
Gutsy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: liferea

Choosing Tools->Script Manager used to bring up a script window in feisty. Now I get an error message that scripting support is not available. I've already installed lua50 but that doesn't change anything.

TEST CASE: Open Liferea, click on Tools>Script Manager. There's no scripting support. This is a regression from Feisty

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Confirmed in Gutsy

Changed in liferea:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

The configure isn't recognizing lua for some reason, and thus it's not building the lua/scripting support.

Changed in liferea:
assignee: nobody → pochu
status: Confirmed → In Progress
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Changing liblua50-dev to liblualib50-dev in the build-depends enables it, but it now fails to start because of "undefined symbol: luaopen_base".

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

lua5.1 works fine. But, although Debian has switched to it, it's not an option for us, since it's in Universe.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Ok, I had a change to configure in the diff.gz, and thus LUA_LIBS wasn't detected properly, causing the undefined symbol.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

liferea (1.4.7-0ubuntu1) hardy; urgency=low

  * New upstream release. LP: #154727, #156303, #141158, LP: #134086,
    LP: #125896.
  * debian/control: change liblua50-dev to liblualib50-dev, so configure
    recognizes LUA50. This builds the Script Manager. LP: #158422.
  * debian/patches/10_from_upstream_fixes_lp_151217.dpatch,
    debian/patches/20_from_upstream_fix_sql_join_lp_141155.dpatch,
    debian/patches/30_from_upstream_workaround_data_loss_lp_138208.dpatch:
    - Removed, fixed upstream.

  * Merge from Debian unstable, remaining Ubuntu changes:
    - debian/control:
      + Added firefox-dev and intltool to build-deps.
      + Removed libxul-dev and libwebkitgtk-dev from build-deps.
      + Build-depend on liblualib50-dev instead of liblua5.1-0-dev.
      + Changed Maintainer field to match DebianMaintainerSpec.
      + Added firefox to liferea dependencies.
      + Do not build transitional packages (not required due to Conflicts/
        Provides/Replaces).
      + Do not build webkit package.
    - debian/rules:
      + Call intltool-update -p to generate translation template for Rosetta
      + Don't disable gecko, and don't enable xulrunner and webkit.
    - debian/liferea-webkit.files:
      + Not needed. We don't build the webkit rendering plugin.

liferea (1.4.6-1) unstable; urgency=low

  * New upstream releases.
   1.4.5b:
   - Fixes use of sqlite3_free, avoiding crashing when using with sqlite
    3.5 (Closes: #446050).

   1.4.6:
   - No longer segfaults when selecting empty folder (Closes: #445457).
   - Fixes loss of customized feed titles (Closes: #443413).
   - Various other bug fixes not reported in Debian, see upstream changelog.

  * debian/control:
   - Correct typo in liferea-webkit description (Closes: #446109).
   - Remove XS- prefix from Vcs-* fields.
   - Move Homepage from description into propper field.

liferea (1.4.5-1) unstable; urgency=low

  * New upstream releases.
   1.4.3b:
   - Better handling of extra XML namespaces (Closes: #430782).
   - Avoid dropping flagged items from the cache (Closes: #442811, #443427).

   1.4.4:
   - Fixes assertion when cancelling feed updates using the update monitor
     dialog.
   - No longer tries to run scripts to retrieve favicons (Closes: #443751).
   - Reduces minimum window size (Closes: #434866).

   1.4.5:
   - Fixes crash when using "Select File" from the advanced subscribtion
    dialog (Closes: #445387).
   - Close and reopen database every 500 write attempts, to work around
    data loss on unclean termination (Closes: #445666).
   - Adapt WebKit plugin to renamed function names.

  * debian/rules: Add call to dh_icons, to register program icons with the
   Gtk icon cache. Thanks to Emilio Pozuelo Monfort for the suggestion.
  * debian/control: Update build-depends to libwebkitgtk-dev, the new name
    of the WebKit package.

 -- Emilio Pozuelo Monfort <email address hidden> Mon, 29 Oct 2007 23:14:45 +0100

Changed in liferea:
status: In Progress → Fix Released
Revision history for this message
Stefan Bethge (kjyv) wrote :

Could you please put it into gutsy-backports some time or just fix the scripting issue in the gutsy version?
It would be nice to have that fixed without installing hardy packages.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Sure, will do.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

This debdiff changes liblua50-dev to liblualib50-dev. With that, the lua scripting plugin is built. This looks safe to me (and it works fine here). Could we get this into -proposed?

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

This is a regression from Feisty, where the plugin was built.
During gutsy's cycle, Debian moved from lua50 to lua51 (which is in universe), so I reverted back the change, but looks like I did it wrong (but I blame the lua packaging! (-: ).

The bug is already fixed in Hardy, in 1.4.7-0ubuntu1:

  * debian/control: change liblua50-dev to liblualib50-dev, so configure
    recognizes LUA50. This builds the Script Manager. LP: #158422.

The above debdiff fixes it for Gutsy.

To reproduce the bug:
1/ Open Liferea
2/ Click on Tools->Script Manager
3/ No scripting support.

I think there's no regression in this, since actually the Script Manager wasn't built. So in case it doesn't work well (although it should) it won't be worse than before, when there wasn't scripting support at all.

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

Ack'ed, please upload.

Changed in liferea:
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into gutsy-proposed, please test.

Changed in liferea:
status: Confirmed → Fix Committed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Verification done:

Test with liferea 1.4.4-0ubuntu3, after clicking on the Script Manager it show the message "Sorry, no scripting support available!".
Test with liferea 1.4.4-0ubuntu3.1, after clicking on the Script Manager it show the Script Manager window, the bug is fixed, thanks.

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

Copied to gutsy-updates.

Changed in liferea:
status: Fix Committed → Fix Released
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.