summaryrefslogtreecommitdiff
path: root/recipes/build-tools
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-09-19 18:15:05 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-09-19 20:20:39 +0530
commit79492846b5f5b543c75d30285492814eba6ad3c8 (patch)
treeeeac1c6d6a730e3265d6b5627aff762775827e0b /recipes/build-tools
parentbdc074c80a8e0baa08b96ab3e7eb243ee6417042 (diff)
recipes: Add tarball checksums for all recipes
This should cover all recipes; even those that aren't built by default https://bugzilla.gnome.org/show_bug.cgi?id=797177
Diffstat (limited to 'recipes/build-tools')
-rw-r--r--recipes/build-tools/autoconf.recipe1
-rw-r--r--recipes/build-tools/automake.recipe1
-rw-r--r--recipes/build-tools/bison.recipe1
-rw-r--r--recipes/build-tools/cmake.recipe1
-rw-r--r--recipes/build-tools/flex.recipe2
-rw-r--r--recipes/build-tools/gettext-m4.recipe3
-rw-r--r--recipes/build-tools/gettext-tools.recipe4
-rw-r--r--recipes/build-tools/glib-tools.recipe1
-rw-r--r--recipes/build-tools/gnu-sed.recipe1
-rw-r--r--recipes/build-tools/gobject-introspection-m4.recipe1
-rw-r--r--recipes/build-tools/gperf.recipe1
-rw-r--r--recipes/build-tools/intltool-m4.recipe5
-rw-r--r--recipes/build-tools/intltool.recipe1
-rw-r--r--recipes/build-tools/libtool.recipe1
-rw-r--r--recipes/build-tools/m4.recipe1
-rw-r--r--recipes/build-tools/meson.recipe1
-rw-r--r--recipes/build-tools/ninja.recipe1
-rw-r--r--recipes/build-tools/pkg-config.recipe1
-rw-r--r--recipes/build-tools/vala-m4.recipe1
-rw-r--r--recipes/build-tools/xz.recipe1
-rw-r--r--recipes/build-tools/yasm.recipe1
21 files changed, 26 insertions, 5 deletions
diff --git a/recipes/build-tools/autoconf.recipe b/recipes/build-tools/autoconf.recipe
index c734a72d..6358a860 100644
--- a/recipes/build-tools/autoconf.recipe
+++ b/recipes/build-tools/autoconf.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/gnu/autoconf/autoconf-%(version)s.tar.xz'
+ tarball_checksum = '64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684'
deps = ['m4']
files_bin = [
diff --git a/recipes/build-tools/automake.recipe b/recipes/build-tools/automake.recipe
index 72651baa..b3b7aa06 100644
--- a/recipes/build-tools/automake.recipe
+++ b/recipes/build-tools/automake.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/gnu/automake/automake-%(version)s.tar.xz'
+ tarball_checksum = 'af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf'
deps = ['autoconf', 'gettext-m4']
files_bin = ['bin/automake', 'bin/aclocal',
diff --git a/recipes/build-tools/bison.recipe b/recipes/build-tools/bison.recipe
index 1fb6122b..e4089044 100644
--- a/recipes/build-tools/bison.recipe
+++ b/recipes/build-tools/bison.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftpmirror.gnu.org/bison/bison-%(version)s.tar.gz'
+ tarball_checksum = 'b67fd2daae7a64b5ba862c66c07c1addb9e6b1b05c5f2049392cfd8a2172952e'
patches = ['bison/0001-Fix-build-invalid-instruction-on-macOS-10.3.patch']
diff --git a/recipes/build-tools/cmake.recipe b/recipes/build-tools/cmake.recipe
index 872a9186..60202ed2 100644
--- a/recipes/build-tools/cmake.recipe
+++ b/recipes/build-tools/cmake.recipe
@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
btype = BuildType.MAKEFILE
stype = SourceType.TARBALL
url = 'https://www.cmake.org/files/v3.7/cmake-%(version)s.tar.gz'
+ tarball_checksum = '449a5bce64dbd4d5b9517ebd1a1248ed197add6ad27934478976fd5f1f9330e1'
deps = ['autoconf']
add_host_build_target = False
diff --git a/recipes/build-tools/flex.recipe b/recipes/build-tools/flex.recipe
index 174431fa..4c02974d 100644
--- a/recipes/build-tools/flex.recipe
+++ b/recipes/build-tools/flex.recipe
@@ -6,6 +6,8 @@ class Recipe(recipe.Recipe):
licenses = [License.BSD_like]
stype = SourceType.TARBALL
url = 'https://github.com/westes/flex/releases/download/v{0}/flex-{0}.tar.gz'.format(version)
+ tarball_checksum = '9a01437a1155c799b7dc2508620564ef806ba66250c36bf5f9034b1c207cb2c9'
+
files_bins = ['flex', 'flex++', 'lex']
patches = ['flex/flex-prevent-to-build-doc.patch']
autoreconf = True
diff --git a/recipes/build-tools/gettext-m4.recipe b/recipes/build-tools/gettext-m4.recipe
index cd7b9eb4..810893d5 100644
--- a/recipes/build-tools/gettext-m4.recipe
+++ b/recipes/build-tools/gettext-m4.recipe
@@ -5,8 +5,9 @@ class Recipe(recipe.Recipe):
name = 'gettext-m4'
version = '0.19.8.1'
stype = SourceType.TARBALL
- tarball_dirname = 'gettext-%(version)s'
url = 'https://ftp.gnu.org/pub/gnu/gettext/gettext-%(version)s.tar.gz'
+ tarball_dirname = 'gettext-%(version)s'
+ tarball_checksum = 'ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43'
# only libraries are LGPLv2+, tools are GPLv3+ and defined below
licenses = [License.LGPLv2Plus]
autoreconf = True
diff --git a/recipes/build-tools/gettext-tools.recipe b/recipes/build-tools/gettext-tools.recipe
index 2ba83e4f..30d26e84 100644
--- a/recipes/build-tools/gettext-tools.recipe
+++ b/recipes/build-tools/gettext-tools.recipe
@@ -10,8 +10,10 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv3]
srcdir = 'gettext-tools'
stype = SourceType.TARBALL
- tarball_dirname = 'gettext-%(version)s'
url = 'https://ftp.gnu.org/pub/gnu/gettext/gettext-%(version)s.tar.gz'
+ tarball_dirname = 'gettext-%(version)s'
+ tarball_checksum = 'ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43'
+
platform_deps = {
Platform.DARWIN: ['sed'],
Platform.WINDOWS: ['libiconv', 'mingw-runtime', 'automake'],}
diff --git a/recipes/build-tools/glib-tools.recipe b/recipes/build-tools/glib-tools.recipe
index fe023aff..7b45b9a7 100644
--- a/recipes/build-tools/glib-tools.recipe
+++ b/recipes/build-tools/glib-tools.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://download.gnome.org/sources/glib/{}/glib-%(version)s.tar.xz'.format(maj_ver)
tarball_dirname = 'glib-%(version)s'
+ tarball_checksum = '40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d'
licenses = [License.LGPLv2Plus]
btype = BuildType.MESON
meson_options = {'gtk_doc': 'false', 'internal_pcre': 'true', 'libmount': 'false',
diff --git a/recipes/build-tools/gnu-sed.recipe b/recipes/build-tools/gnu-sed.recipe
index 6d46db30..1a40059d 100644
--- a/recipes/build-tools/gnu-sed.recipe
+++ b/recipes/build-tools/gnu-sed.recipe
@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/gnu/sed/sed-%(version)s.tar.gz'
+ tarball_checksum = 'fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff'
def prepare(self):
if needs_xcode8_sdk_workaround(self.config):
diff --git a/recipes/build-tools/gobject-introspection-m4.recipe b/recipes/build-tools/gobject-introspection-m4.recipe
index 4b4721d1..76843005 100644
--- a/recipes/build-tools/gobject-introspection-m4.recipe
+++ b/recipes/build-tools/gobject-introspection-m4.recipe
@@ -12,6 +12,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://ftp.gnome.org/pub/GNOME/sources/{0}/{2}/{0}-{1}.tar.xz'.format(_name, version, maj_ver)
+ tarball_checksum = 'b88ded5e5f064ab58a93aadecd6d58db2ec9d970648534c63807d4f9a7bb877e'
srcdir = "{0}-{1}".format(_name, version)
licenses = [License.GPLv2Plus]
btype = BuildType.CUSTOM
diff --git a/recipes/build-tools/gperf.recipe b/recipes/build-tools/gperf.recipe
index 0fd83d40..b287fd62 100644
--- a/recipes/build-tools/gperf.recipe
+++ b/recipes/build-tools/gperf.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/pub/gnu/gperf/gperf-%(version)s.tar.gz'
+ tarball_checksum = '767112a204407e62dbc3106647cf839ed544f3cf5d0f0523aaa2508623aad63e'
patches = ['gperf-0001-Don-t-override-environment-AR.patch']
files_bins = ['gperf']
diff --git a/recipes/build-tools/intltool-m4.recipe b/recipes/build-tools/intltool-m4.recipe
index c7a39010..974d3899 100644
--- a/recipes/build-tools/intltool-m4.recipe
+++ b/recipes/build-tools/intltool-m4.recipe
@@ -8,10 +8,9 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
btype = BuildType.CUSTOM
url = 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz'
+ tarball_checksum = '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
- files_devel = [
- 'share/aclocal/intltool.m4',
- ]
+ files_devel = ['share/aclocal/intltool.m4']
def install(self):
m4 = os.path.join(self.build_dir.replace('-m4', ''), 'intltool.m4')
diff --git a/recipes/build-tools/intltool.recipe b/recipes/build-tools/intltool.recipe
index 9825c1d8..f6f0cb98 100644
--- a/recipes/build-tools/intltool.recipe
+++ b/recipes/build-tools/intltool.recipe
@@ -7,3 +7,4 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz'
+ tarball_checksum = '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
diff --git a/recipes/build-tools/libtool.recipe b/recipes/build-tools/libtool.recipe
index 45b0b0d9..ff6ab101 100644
--- a/recipes/build-tools/libtool.recipe
+++ b/recipes/build-tools/libtool.recipe
@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/gnu/libtool/libtool-%(version)s.tar.gz'
+ tarball_checksum = 'e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3'
deps = ['m4']
patches = ['libtool/0001-Add-support-for-weak_framework-linking-on-Darwin.patch',
'libtool/0002-libtool-Stop-adding-bind_at_load-on-all-Darwin.patch']
diff --git a/recipes/build-tools/m4.recipe b/recipes/build-tools/m4.recipe
index d9666934..ed07504b 100644
--- a/recipes/build-tools/m4.recipe
+++ b/recipes/build-tools/m4.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/gnu/m4/m4-%(version)s.tar.xz'
+ tarball_checksum = 'f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07'
files_bins = ['m4']
patches = ['m4/0001-Fix-build-invalid-instruction-on-macOS-10.13.patch',
diff --git a/recipes/build-tools/meson.recipe b/recipes/build-tools/meson.recipe
index 5ea8a49a..cfc19dab 100644
--- a/recipes/build-tools/meson.recipe
+++ b/recipes/build-tools/meson.recipe
@@ -10,6 +10,7 @@ class Recipe(recipe.Recipe):
btype = BuildType.CUSTOM
stype = SourceType.TARBALL
url = 'https://github.com/mesonbuild/meson/releases/download/%(version)s/meson-%(version)s.tar.gz'
+ tarball_checksum = '86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4'
patches = [
# https://github.com/mesonbuild/meson/pull/3985
'meson/0001-Don-t-require-an-import-library-for-shared-modules.patch',
diff --git a/recipes/build-tools/ninja.recipe b/recipes/build-tools/ninja.recipe
index e3a81614..2dc07cb5 100644
--- a/recipes/build-tools/ninja.recipe
+++ b/recipes/build-tools/ninja.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
btype = BuildType.CUSTOM
stype = SourceType.TARBALL
url = 'https://github.com/ninja-build/ninja/archive/v%(version)s.tar.gz'
+ tarball_checksum = '86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4'
patches = ['ninja/0001-configure.py-Look-for-cl.exe-before-assuming-MSVC.patch']
deps = []
diff --git a/recipes/build-tools/pkg-config.recipe b/recipes/build-tools/pkg-config.recipe
index aa8d9917..8e5eae94 100644
--- a/recipes/build-tools/pkg-config.recipe
+++ b/recipes/build-tools/pkg-config.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv2]
stype = SourceType.TARBALL
url = 'https://pkgconfig.freedesktop.org/releases/pkg-config-%(version)s.tar.gz'
+ tarball_checksum = '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591'
configure_options = '--with-internal-glib --disable-host-tool '
files_bins = ['pkg-config']
diff --git a/recipes/build-tools/vala-m4.recipe b/recipes/build-tools/vala-m4.recipe
index b8f983d2..1ea60f9e 100644
--- a/recipes/build-tools/vala-m4.recipe
+++ b/recipes/build-tools/vala-m4.recipe
@@ -14,6 +14,7 @@ class Recipe(recipe.Recipe):
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://ftp.gnome.org/pub/GNOME/sources/{0}/{2}/{0}-{1}.tar.xz'
url = url.format(_name, version, maj_ver)
+ tarball_checksum = 'af5efb30e8a303dd1c211e2a30ba0b41e64d47c9d6c5271f1d8ffb4fb63a017f'
srcdir = "{0}-{1}".format(_name, version)
licenses = [License.LGPLv2_1Plus]
btype = BuildType.CUSTOM
diff --git a/recipes/build-tools/xz.recipe b/recipes/build-tools/xz.recipe
index f1c85d76..652e10c2 100644
--- a/recipes/build-tools/xz.recipe
+++ b/recipes/build-tools/xz.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv3]
stype = SourceType.TARBALL
url = 'https://download.sourceforge.net/lzmautils/xz-%(version)s.tar.bz2'
+ tarball_checksum = 'fd9ca16de1052aac899ad3495ad20dfa906c27b4a5070102a2ec35ca3a4740c1'
files_bins = ['xz']
diff --git a/recipes/build-tools/yasm.recipe b/recipes/build-tools/yasm.recipe
index d87eec68..01b725c3 100644
--- a/recipes/build-tools/yasm.recipe
+++ b/recipes/build-tools/yasm.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.GPLv3]
stype = SourceType.TARBALL
url = 'https://www.tortall.net/projects/yasm/releases/yasm-%(version)s.tar.gz'
+ tarball_checksum = '3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f'
files_bins = ['yasm']