Opened 12 years ago

Closed 12 years ago

#34810 closed defect (fixed)

kdenlive: update to 0.9.2

Reported by: davidfavor (David Favor) Owned by: ddennedy (Dan Dennedy)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: haspatch maintainer Cc: ryandesign (Ryan Carsten Schmidt)
Port: kdenlive

Description

Kdenlive has changed from using SourceForge repositories to KDE repositories.

I'm trying to get the Portfile change working so I can submit a patch set and fetch is failing in a way which makes no sense.

I changed the master_sites entry from...

sourceforge:project/kdenlive/kdenlive/${version}

to...

http://download.kde.org/stable/kdenlive/${version}/src/kdenlive-${version}.tar.bz2

Doing a 'port -dv upgrade kdenlive' show this...

--->  Attempting to fetch kdenlive-0.9.2.tar.gz from
http://download.kde.org/stable/kdenlive/0.9.2/src/kdenlive-0.9.2.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching distfile failed:: The requested URL returned error: 404

wget http://download.kde.org/stable/kdenlive/0.9.2/src/kdenlive-0.9.2.tar.bz2 returns the file correctly.

I do notice the URL for the download does a 302 redirect, so maybe port fails to follow the 302. Unsure how to fix this.

Require a Portfile guru to suggest how to fix this.

Thanks.

Attachments (2)

kdenlive-0.9.2-Portfile.diff (1.1 KB) - added by ddennedy (Dan Dennedy) 12 years ago.
patch-BUNDLE_INSTALL_DIR.diff (687 bytes) - added by ddennedy (Dan Dennedy) 12 years ago.
patch file needs update for 0.9.2

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by davidfavor (David Favor)

This also fails... in the exact same way, with or without trailing '/' on master_sites

master_sites        http://download.kde.org/stable
distfiles           ${name}/${version}/src/${name}-${version}.tar.bz2

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to dan@…

MacPorts follows 301/302 redirects just fine. master_sites must be the URL up to but not including the filename. distfiles must be the filename without any path. But the default distfiles value of "[suffix ${distname}]", and the default distname value of "${name}-${version}", is often sufficient.

comment:3 Changed 12 years ago by davidfavor (David Favor)

Added...

use_bzip2           yes 
master_sites        http://download.kde.org/stable/${name}/${version}/src/

and all's well.

Thanks.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Have you made any progress on this update to kdenlive 0.9.2? If so you can attach it here.

Changed 12 years ago by ddennedy (Dan Dennedy)

Changed 12 years ago by ddennedy (Dan Dennedy)

patch file needs update for 0.9.2

comment:5 Changed 12 years ago by ddennedy (Dan Dennedy)

I was able to get dbus-session working and upgrade kdenlive port to 0.9.2, which removes the need to patch the old version for this and for #34083.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch maintainer added
Summary: Problem with fetch failing for kdenlivekdenlive: update to 0.9.2

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Thanks. r95504

Note: See TracTickets for help on using tickets.