Patchwork [09/10] sqlite3: Update to 3080403

login
register
mail settings
Submitter Saul Wold
Date April 22, 2014, 11:49 p.m.
Message ID <b734f87b706cb1ec48d4e5f9b7dde7b7803fd49f.1398210385.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/70759/
State Accepted
Commit 2a309746fbc4169bf9928725c44810c1098d8b6b
Headers show

Comments

Saul Wold - April 22, 2014, 11:49 p.m.
And rename the PV to match the upstream versioning
This requires a PE Bump to ensure package versions don't
go backwards.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../sqlite/{sqlite3_3.8.3.1.bb => sqlite3_3080403.bb}          | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.8.3.1.bb => sqlite3_3080403.bb} (68%)
Paul Eggleton - April 28, 2014, 11:01 a.m.
On Tuesday 22 April 2014 16:49:31 Saul Wold wrote:
> And rename the PV to match the upstream versioning
> This requires a PE Bump to ensure package versions don't
> go backwards.

Saul, we renamed this just recently and I'm pretty sure we discussed it at the 
time - the upstream version _is_ 3.8.4.3; the file naming should not determine 
the version used for the recipe because the file name version scheme does not 
match up with what upstream SQLite uses everywhere else (documentation, 
release notes, etc.). If our package reporting system can't understand this we 
should not be mangling the recipe (again) to work around it.

Cheers,
Paul

Patch

diff --git a/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb b/meta/recipes-support/sqlite/sqlite3_3080403.bb
similarity index 68%
rename from meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
rename to meta/recipes-support/sqlite/sqlite3_3080403.bb
index 4f15f5d..7793a75 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3080403.bb
@@ -6,15 +6,15 @@  def sqlite_download_version(d):
     pvsplit = d.getVar('PV', True).split('.')
     return pvsplit[0] + ''.join([part.rjust(2,'0') for part in pvsplit[1:]])
 
-PE = "1"
+PE = "2"
 SQLITE_PV = "${@sqlite_download_version(d)}"
-SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz"
-
-SRC_URI[md5sum] = "509ff98d8dc9729b618b7e96612079c6"
-SRC_URI[sha256sum] = "de5dc216e9289fabf027f78dbbface32ffc8c6341b7d841d0814b1a452ffdb8c"
+SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${PV}.tar.gz"
 
 S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
 
+SRC_URI[md5sum] = "0f5459cde43cb269e5120ecd2c671ced"
+SRC_URI[sha256sum] = "e0e995e23a324a5d6ae95d8a836240382a4d7475d09707fc469c8cafcbd48d65"
+
 # Provide column meta-data API
 BUILD_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
 TARGET_CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"