Skip to contentSkip to conversation

package/canfestival: switch to using 'hg' to download

PATCH New Yann E. MORIN 3 participants 3 messages Apr 17, 2015 – Apr 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/canfestival: switch to using 'hg' to download

Currently, the canfestival package downloads a archive generated by the remote Mercurial server.

This has the unfortuante side-effect of downloading an archive name just after the revision string, without the package name in it. So, users do have this archive in their BR2_DL_DIR: 7740ac6fdedc.tar.bz2

Switch to doign an hg clone to download canfestival, so we end up with a properly named archive. Also expand the hash to the full-lenght hash rather than the shorten one used when asking the remote server to generate the archive.

---
 package/canfestival/canfestival.mk | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
package/canfestival/canfestival.mk +3 -4
index 89e8be5..e929c5e 100644
@@ -4,10 +4,9 @@
 #
 ################################################################################
 
-# Revision 791:
-CANFESTIVAL_VERSION = 7740ac6fdedc
-CANFESTIVAL_SOURCE = $(CANFESTIVAL_VERSION).tar.bz2
-CANFESTIVAL_SITE = http://dev.automforge.net/CanFestival-3/archive
+CANFESTIVAL_VERSION = 7740ac6fdedc23e1ed6908d3d7db54833c88572b
+CANFESTIVAL_SITE = http://dev.automforge.net/CanFestival-3
+CANFESTIVAL_SITE_METHOD = hg
 CANFESTIVAL_LICENSE = LGPLv2.1+
 CANFESTIVAL_LICENSE_FILES = COPYING LICENCE
 CANFESTIVAL_INSTALL_STAGING = YES
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/canfestival: switch to using 'hg' to download

Yann,

Quoted 8 lines · Yann E. MORIN

Currently, the canfestival package downloads a archive generated by the remote Mercurial server.

This has the unfortuante side-effect of downloading an archive name just after the revision string, without the package name in it. So, users do have this archive in their BR2_DL_DIR: 7740ac6fdedc.tar.bz2

Switch to doign an hg clone to download canfestival, so we end up with a

s/doign/doing/

Quoted 6 lines

properly named archive. Also expand the hash to the full-lenght hash rather than the shorten one used when asking the remote server to generate the archive.

with the typo fixed:

Signature · 1 line
Samuel
#2 lore raw

PATCH 1/1 package/canfestival: switch to using 'hg' to download

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 12 lines · Yann E. MORIN

Currently, the canfestival package downloads a archive generated by the remote Mercurial server.

This has the unfortuante side-effect of downloading an archive name just after the revision string, without the package name in it. So, users do have this archive in their BR2_DL_DIR: 7740ac6fdedc.tar.bz2

Switch to doign an hg clone to download canfestival, so we end up with a properly named archive. Also expand the hash to the full-lenght hash rather than the shorten one used when asking the remote server to generate the archive.

Quoted 5 lines
---
 package/canfestival/canfestival.mk | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com