Commit 79492846 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

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
parent bdc074c8
......@@ -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']
......
......@@ -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']
......
......@@ -10,6 +10,7 @@ class Recipe(recipe.Recipe):
# This URL doesn't support https, so we don't use it
#url = 'https://bzip.org/%(version)s/bzip2-%(version)s.tar.gz'
url = 'https://gstreamer.freedesktop.org/src/mirror/bzip2-%(version)s.tar.gz'
tarball_checksum = 'a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd'
patches = ['bzip2/0001-Fix-Makefiles-and-add-support-for-Windows-and-OS-X.patch']
files_libs = ['libbz2']
......
......@@ -6,6 +6,7 @@ class Recipe(recipe.Recipe):
version = '1.14.12'
stype = SourceType.TARBALL
url = 'https://cairographics.org/releases/cairo-%(version)s.tar.xz'
tarball_checksum = '8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16'
# either LGPLv2.1 or MPLv1.1
licenses = [License.LGPLv2_1]
autoreconf = True
......
......@@ -13,6 +13,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
url = 'https://downloads.xiph.org/releases/%(name)s/%(name)s-III-%(version)s.src.tgz'
tarball_dirname = '%(name)s-III-%(version)s'
tarball_checksum = '005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df'
autoreconf = True
# binaries are GPL
licenses = [License.LGPLv2_1Plus]
......
......@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
btype = BuildType.CUSTOM
stype = SourceType.TARBALL
url = 'https://docbook.org/xml/%(version)s/%(name)s-%(version)s.zip'
tarball_checksum = '4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4'
files_catalog = ['etc/catalog.xml']
......
......@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
btype = BuildType.CUSTOM
stype = SourceType.TARBALL
url = 'https://download.sourceforge.net/docbook/%(name)s-%(version)s.tar.bz2'
tarball_checksum = '725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968'
files_catalog = ['etc/catalog.xml']
......
......@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
licenses = [License.BSD_like]
stype = SourceType.TARBALL
url = 'https://github.com/libexpat/libexpat/releases/download/R_2_2_5/%(name)s-%(version)s.tar.bz2'
tarball_checksum = 'd9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6'
files_libs = ['libexpat']
files_devel = ['include/expat.h', 'include/expat_external.h', 'lib/pkgconfig/expat.pc']
......@@ -9,6 +9,7 @@ class Recipe(recipe.Recipe):
licenses = [License.BSD_like]
stype = SourceType.TARBALL
url = 'https://downloads.xiph.org/releases/flac/flac-%(version)s.tar.xz'
tarball_checksum = '91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f'
deps = ['libogg']
configure_options = ' --disable-cpplibs --enable-static'
......@@ -16,6 +17,7 @@ class Recipe(recipe.Recipe):
files_libs = ['libFLAC']
files_bins = ['flac', 'metaflac']
tarball_checksum = '91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f'
licenses_bins = [License.GPLv2Plus]
files_devel = [
......
......@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
version = '2.12.6'
stype = SourceType.TARBALL
url = 'https://www.freedesktop.org/software/fontconfig/release/fontconfig-%(version)s.tar.gz'
tarball_checksum = '064b9ebf060c9e77011733ac9dc0e2ce92870b574cca2405e11f5353a683c334'
licenses = [License.MIT]
configure_options = '--disable-docs'
deps = ['expat', 'freetype', 'zlib', 'bzip2']
......
......@@ -6,6 +6,7 @@ class Recipe(recipe.Recipe):
version = '2.9'
stype = SourceType.TARBALL
url = 'https://download.savannah.gnu.org/releases/freetype/freetype-%(version)s.tar.bz2'
tarball_checksum = 'e6ffba3c8cef93f557d1f767d7bc3dee860ac7a3aaff588a521e081bc36f4c8a'
licenses = [License.FreeType]
configure_tpl = "%(config-sh)s --prefix=%(prefix)s --libdir=%(libdir)s --with-harfbuzz=no"
deps = ['zlib', 'bzip2', 'libpng']
......
......@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPL]
stype = SourceType.TARBALL
url = 'https://files.dyne.org/frei0r/releases/%(name)s-%(version)s.tar.gz'
tarball_checksum = '781cf84a6c2a9a3252f54d2967b57f6de75a31fc1684371e112638c981f72b60'
autoreconf = True
patches = ['frei0r-plugins/0001-Fix-autoreconf.patch']
......
......@@ -5,6 +5,7 @@ class Recipe(recipe.Recipe):
version = '0.19.7'
stype = SourceType.TARBALL
url = 'https://github.com/fribidi/fribidi/releases/download/{0}/fribidi-{0}.tar.bz2'.format(version)
tarball_checksum = '08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e'
licenses = [License.LGPLv2_1Plus]
autoreconf = True
deps = ['glib']
......
......@@ -9,6 +9,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://download.gnome.org/sources/{0}/{1}/{0}-{2}.tar.xz'.format(name, maj_ver, version)
tarball_checksum = '3a082ad67d68b55970aed0b2034a06618167be98a42d5c70de736756b45d325d'
configure_options = '--with-included-loaders --enable-static --enable-gio-sniffing=no '
deps = ['libjpeg-turbo', 'glib', 'libpng', 'tiff', 'zlib' ]
autoreconf = True
......
......@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
licenses = [License.LGPLv2Plus]
stype = SourceType.TARBALL
url = 'https://ftp.gnu.org/pub/gnu/%(name)s/%(name)s-%(version)s.tar.gz'
tarball_checksum = 'ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43'
srcdir = 'gettext-runtime'
patches = ['gettext/0001-Fix-linker-error-redefinition-of-vasprintf.patch',
'gettext/0001-Undefine-__USE_MINGW_ANSI_STDIO-as-otherwise-stdio.h.patch',
......
......@@ -10,6 +10,7 @@ class Recipe(recipe.Recipe):
btype = BuildType.MESON
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://download.gnome.org/sources/{0}/{1}/{0}-{2}.tar.xz'.format(name, maj_ver, version)
tarball_checksum = 'df47b0e0a037d2dcf6b1846cbdf68dd4b3cc055e026bb40c4a55f19f29f635c8'
meson_options = {'ca_certificates_path': '', 'libproxy_support': 'false',
'gnome_proxy_support': 'false', 'pkcs11_support': 'false',
# Also build static modules on all platforms
......
......@@ -26,6 +26,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://download.gnome.org/sources/{0}/{1}/{0}-{2}.tar.xz'.format(name, maj_ver, version)
tarball_checksum = '40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d'
licenses = [License.LGPLv2Plus]
btype = BuildType.MESON
meson_options = {'gtk_doc': 'false', 'internal_pcre': 'true', 'libmount': 'false',
......
......@@ -21,6 +21,7 @@ class Recipe(recipe.Recipe):
name = 'gmp'
version = '6.1.2'
url = 'https://ftp.gnu.org/gnu/gmp/gmp-%(version)s.tar.xz'
tarball_checksum = '87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912'
stype = SourceType.TARBALL
licenses = [License.LGPLv3Plus]
tarball_dirname = 'gmp-6.1.2'
......
......@@ -8,6 +8,7 @@ class Recipe(recipe.Recipe):
version = '3.5.18'
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://www.gnupg.org/ftp/gcrypt/{0}/v{1}/{0}-{2}.tar.xz'.format(name, maj_ver, version)
tarball_checksum = 'ae2248d9e78747cf9c469dde81ff8f90b56838b707a0637f3f7d4eee90e80234'
stype = SourceType.TARBALL
# main library is LGPLv2+ and binaries is GPLv3+ and defined below
licenses = [License.LGPLv2Plus]
......@@ -32,6 +33,7 @@ class Recipe(recipe.Recipe):
files_libs = ['libgnutls', 'libgnutlsxx']
files_bins = ['gnutls-cli', 'gnutls-serv', 'gnutls-cli-debug']
tarball_checksum = 'ae2248d9e78747cf9c469dde81ff8f90b56838b707a0637f3f7d4eee90e80234'
licenses_bins = [License.GPLv3]
files_devel = ['lib/pkgconfig/gnutls.pc', 'include/gnutls']
files_lang = ['gnutls']
......
......@@ -9,6 +9,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
maj_ver = '.'.join(version.split('.')[0:2])
url = 'https://download.gnome.org/sources/{0}/{1}/{0}-{2}.tar.xz'.format(name, maj_ver, version)
tarball_checksum = 'b88ded5e5f064ab58a93aadecd6d58db2ec9d970648534c63807d4f9a7bb877e'
licenses = [License.GPLv2Plus]
autoreconf = True
autoreconf_sh = 'gtkdocize && autoreconf -vfi'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment