- Updated Polkit, mozjs
Change-Id: I59171330f6b6c39b13ce879dd8cce4591468683b
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/11392
Reviewed-by: satya naga rajesh vasamsetty <svasamsetty@vmware.com>
Tested-by: satya naga rajesh vasamsetty <svasamsetty@vmware.com>
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,72 +0,0 @@ |
| 1 |
-Description: Remove unused LLVM and Rust build dependencies |
|
| 2 |
- Since the Javascript engine is normally part of Firefox, its build |
|
| 3 |
- system has dependencies on the LLVM and Rust toolchains. This limits |
|
| 4 |
- the number of architectures which mozjs68 can be built on. |
|
| 5 |
- . |
|
| 6 |
- It turns out, however, that neither LLVM nor Rust are used when mozjs68 |
|
| 7 |
- is being built and these build dependencies are therefore not necessary. |
|
| 8 |
- . |
|
| 9 |
- This patch removes them and allows mozjs68 to be built on any architecture. |
|
| 10 |
- . |
|
| 11 |
-Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> |
|
| 12 |
-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959144 |
|
| 13 |
-Forwarded: no |
|
| 14 |
-Last-Update: 2020-04-30 |
|
| 15 |
- |
|
| 16 |
-Index: mozjs68-68.6.0/js/moz.configure |
|
| 17 |
-=================================================================== |
|
| 18 |
-+++ mozjs68-68.6.0/js/moz.configure |
|
| 19 |
-@@ -18,11 +18,6 @@ def building_js(build_project): |
|
| 20 |
- option(env='JS_STANDALONE', default=building_js, |
|
| 21 |
- help='Reserved for internal use') |
|
| 22 |
- |
|
| 23 |
--include('../build/moz.configure/rust.configure',
|
|
| 24 |
-- when='--enable-compile-environment') |
|
| 25 |
--include('../build/moz.configure/bindgen.configure',
|
|
| 26 |
-- when='--enable-compile-environment') |
|
| 27 |
-- |
|
| 28 |
- @depends('JS_STANDALONE')
|
|
| 29 |
- def js_standalone(value): |
|
| 30 |
- if value: |
|
| 31 |
-Index: mozjs68-68.6.0/moz.configure |
|
| 32 |
-=================================================================== |
|
| 33 |
-+++ mozjs68-68.6.0/moz.configure |
|
| 34 |
-@@ -598,36 +598,6 @@ set_config('MAKENSISU_FLAGS', nsis_flags
|
|
| 35 |
- |
|
| 36 |
- check_prog('7Z', ('7z', '7za'), allow_missing=True, when=target_is_windows)
|
|
| 37 |
- |
|
| 38 |
-- |
|
| 39 |
--@depends(host_c_compiler, c_compiler, bindgen_config_paths) |
|
| 40 |
--def llvm_objdump(host_c_compiler, c_compiler, bindgen_config_paths): |
|
| 41 |
-- clang = None |
|
| 42 |
-- for compiler in (host_c_compiler, c_compiler): |
|
| 43 |
-- if compiler and compiler.type == 'clang': |
|
| 44 |
-- clang = compiler.compiler |
|
| 45 |
-- break |
|
| 46 |
-- elif compiler and compiler.type == 'clang-cl': |
|
| 47 |
-- clang = os.path.join(os.path.dirname(compiler.compiler), 'clang') |
|
| 48 |
-- break |
|
| 49 |
-- |
|
| 50 |
-- if not clang and bindgen_config_paths: |
|
| 51 |
-- clang = bindgen_config_paths.clang_path |
|
| 52 |
-- llvm_objdump = 'llvm-objdump' |
|
| 53 |
-- if clang: |
|
| 54 |
-- out = check_cmd_output(clang, '--print-prog-name=llvm-objdump', |
|
| 55 |
-- onerror=lambda: None) |
|
| 56 |
-- if out: |
|
| 57 |
-- llvm_objdump = out.rstrip() |
|
| 58 |
-- return (llvm_objdump,) |
|
| 59 |
-- |
|
| 60 |
-- |
|
| 61 |
--llvm_objdump = check_prog('LLVM_OBJDUMP', llvm_objdump, what='llvm-objdump',
|
|
| 62 |
-- when='--enable-compile-environment', |
|
| 63 |
-- paths=toolchain_search_path) |
|
| 64 |
-- |
|
| 65 |
--add_old_configure_assignment('LLVM_OBJDUMP', llvm_objdump)
|
|
| 66 |
-- |
|
| 67 |
-- |
|
| 68 |
- # Please do not add configure checks from here on. |
|
| 69 |
- |
|
| 70 |
- # Fallthrough to autoconf-based configure |
| ... | ... |
@@ -1,12 +1,15 @@ |
| 1 |
+diff --git a/python/mozbuild/mozbuild/frontend/emitter.py b/python/mozbuild/mozbuild/frontend/emitter.py |
|
| 2 |
+index 8d5ab8eb30..65c43ff48e 100644 |
|
| 1 | 3 |
--- a/python/mozbuild/mozbuild/frontend/emitter.py |
| 2 | 4 |
+++ b/python/mozbuild/mozbuild/frontend/emitter.py |
| 3 |
-@@ -1195,11 +1195,6 @@ class TreeMetadataEmitter(LoggingMixin): |
|
| 4 |
- raise SandboxValidationError('Path specified in LOCAL_INCLUDES '
|
|
| 5 |
- 'is a filename, but a directory is required: %s ' |
|
| 6 |
- '(resolved to %s)' % (local_include, full_path), context) |
|
| 5 |
+@@ -1239,12 +1239,6 @@ class TreeMetadataEmitter(LoggingMixin): |
|
| 6 |
+ 'is a filename, but a directory is required: %s ' |
|
| 7 |
+ '(resolved to %s)' % (local_include, full_path), |
|
| 8 |
+ context) |
|
| 7 | 9 |
- if (full_path == context.config.topsrcdir or |
| 8 | 10 |
- full_path == context.config.topobjdir): |
| 9 |
-- raise SandboxValidationError('Path specified in LOCAL_INCLUDES '
|
|
| 11 |
+- raise SandboxValidationError( |
|
| 12 |
+- 'Path specified in LOCAL_INCLUDES ' |
|
| 10 | 13 |
- '(%s) resolves to the topsrcdir or topobjdir (%s), which is ' |
| 11 | 14 |
- 'not allowed' % (local_include, full_path), context) |
| 12 | 15 |
include_obj = LocalInclude(context, local_include) |
| ... | ... |
@@ -1,26 +1,30 @@ |
| 1 |
+diff --git a/python/mozbuild/mozbuild/test/frontend/test_emitter.py b/python/mozbuild/mozbuild/test/frontend/test_emitter.py |
|
| 2 |
+index e8cbd81d41..d45ccee50a 100644 |
|
| 1 | 3 |
--- a/python/mozbuild/mozbuild/test/frontend/test_emitter.py |
| 2 | 4 |
+++ b/python/mozbuild/mozbuild/test/frontend/test_emitter.py |
| 3 |
-@@ -1051,24 +1051,6 @@ |
|
| 4 |
- |
|
| 5 |
+@@ -1040,26 +1040,6 @@ class TestEmitterBasic(unittest.TestCase): |
|
| 6 |
+ |
|
| 5 | 7 |
self.assertEqual(local_includes, expected) |
| 6 |
- |
|
| 8 |
+ |
|
| 7 | 9 |
- def test_local_includes_invalid(self): |
| 8 | 10 |
- """Test that invalid LOCAL_INCLUDES are properly detected.""" |
| 9 | 11 |
- reader = self.reader('local_includes-invalid/srcdir')
|
| 10 | 12 |
- |
| 11 |
-- with self.assertRaisesRegexp( |
|
| 13 |
+- with six.assertRaisesRegex( |
|
| 14 |
+- self, |
|
| 12 | 15 |
- SandboxValidationError, |
| 13 | 16 |
- 'Path specified in LOCAL_INCLUDES.*resolves to the ' |
| 14 | 17 |
- 'topsrcdir or topobjdir'): |
| 15 |
-- objs = self.read_topsrcdir(reader) |
|
| 18 |
+- self.read_topsrcdir(reader) |
|
| 16 | 19 |
- |
| 17 | 20 |
- reader = self.reader('local_includes-invalid/objdir')
|
| 18 | 21 |
- |
| 19 |
-- with self.assertRaisesRegexp( |
|
| 22 |
+- with six.assertRaisesRegex( |
|
| 23 |
+- self, |
|
| 20 | 24 |
- SandboxValidationError, |
| 21 | 25 |
- 'Path specified in LOCAL_INCLUDES.*resolves to the ' |
| 22 | 26 |
- 'topsrcdir or topobjdir'): |
| 23 |
-- objs = self.read_topsrcdir(reader) |
|
| 27 |
+- self.read_topsrcdir(reader) |
|
| 24 | 28 |
- |
| 25 | 29 |
def test_local_includes_file(self): |
| 26 | 30 |
"""Test that a filename can't be used in LOCAL_INCLUDES.""" |
| ... | ... |
@@ -1,31 +1,32 @@ |
| 1 | 1 |
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
| 2 | 2 |
|
| 3 |
-%global major 68 |
|
| 3 |
+%global major 78 |
|
| 4 | 4 |
Summary: Mozilla's JavaScript engine. |
| 5 | 5 |
Name: mozjs |
| 6 |
-Version: 68.11.0 |
|
| 7 |
-Release: 2%{?dist}
|
|
| 6 |
+Version: 78.3.1 |
|
| 7 |
+Release: 1%{?dist}
|
|
| 8 | 8 |
Group: Applications/System |
| 9 | 9 |
Vendor: VMware, Inc. |
| 10 | 10 |
License: GPLv2+ or LGPLv2+ or MPL-2.0 |
| 11 | 11 |
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey |
| 12 | 12 |
Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz
|
| 13 |
-%define sha1 firefox-%{version}=445acbf7b7b8f75374ee6347bb6f45748511bcf9
|
|
| 13 |
+%define sha1 firefox-%{version}=b60bcb10184a682380832c0f558c89cfa25d3dbf
|
|
| 14 | 14 |
Patch0: emitter.patch |
| 15 | 15 |
Patch1: emitter_test.patch |
| 16 | 16 |
# Build fixes |
| 17 | 17 |
Patch2: init_patch.patch |
| 18 | 18 |
Patch3: spidermonkey_checks_disable.patch |
| 19 |
-Patch4: Remove-unused-LLVM-and-Rust-build-dependencies.patch |
|
| 20 | 19 |
Distribution: Photon |
| 21 |
-BuildArch: aarch64 |
|
| 22 | 20 |
BuildRequires: which |
| 23 | 21 |
BuildRequires: python3-xml |
| 24 | 22 |
BuildRequires: python3-libs |
| 25 | 23 |
BuildRequires: python3-devel |
| 26 | 24 |
BuildRequires: zlib-devel |
| 27 | 25 |
BuildRequires: clang-devel |
| 26 |
+BuildRequires: icu-devel |
|
| 27 |
+BuildRequires: rust |
|
| 28 | 28 |
BuildRequires: autoconf = 2.13 |
| 29 |
+Requires: icu |
|
| 29 | 30 |
Requires: python3 |
| 30 | 31 |
Requires: python3-libs |
| 31 | 32 |
Obsoletes: mozjs60 |
| ... | ... |
@@ -49,15 +50,12 @@ This contains development tools and libraries for SpiderMonkey. |
| 49 | 49 |
%patch1 -p1 |
| 50 | 50 |
%patch2 -p1 |
| 51 | 51 |
%patch3 -p1 |
| 52 |
-%patch4 -p1 |
|
| 53 | 52 |
rm -rf modules/zlib |
| 54 |
-rm -rf security |
|
| 55 | 53 |
|
| 56 | 54 |
%build |
| 57 | 55 |
cd js/src |
| 58 |
-sh configure \ |
|
| 59 |
- --prefix=%{_prefix} \
|
|
| 60 |
- --without-system-icu \ |
|
| 56 |
+%configure \ |
|
| 57 |
+ --with-system-icu \ |
|
| 61 | 58 |
--enable-readline \ |
| 62 | 59 |
--disable-jemalloc \ |
| 63 | 60 |
--disable-tests \ |
| ... | ... |
@@ -92,6 +90,8 @@ find %{buildroot} -name '*.la' -delete
|
| 92 | 92 |
%{_libdir}/pkgconfig/mozjs-%{major}.pc
|
| 93 | 93 |
|
| 94 | 94 |
%changelog |
| 95 |
+* Mon Oct 05 2020 Ankit Jain <ankitja@vmware.com> 78.3.1-1 |
|
| 96 |
+- Updated to 78.3.1 |
|
| 95 | 97 |
* Tue Aug 25 2020 Ankit Jain <ankitja@vmware.com> 68.11.0-2 |
| 96 | 98 |
- Removed autoconf213 dependency and obsoletes js |
| 97 | 99 |
* Sat Oct 26 2019 Ankit Jain <ankitja@vmware.com> 68.11.0-1 |
| ... | ... |
@@ -1,21 +1,20 @@ |
| 1 | 1 |
Summary: A toolkit for defining and handling authorizations. |
| 2 | 2 |
Name: polkit |
| 3 |
-Version: 0.117 |
|
| 4 |
-Release: 2%{?dist}
|
|
| 3 |
+Version: 0.118 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 | 5 |
Group: Applications/System |
| 6 | 6 |
Vendor: VMware, Inc. |
| 7 | 7 |
License: LGPLv2+ |
| 8 | 8 |
URL: https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html |
| 9 | 9 |
Source0: https://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
| 10 |
-%define sha1 polkit=0c375fa621bc9f74f2972e00fb517a408f419adf |
|
| 10 |
+%define sha1 polkit=1c53d0ccacc6e6afd49ba14cb39d2514b943933d |
|
| 11 | 11 |
Distribution: Photon |
| 12 |
-BuildArch: aarch64 |
|
| 13 | 12 |
BuildRequires: autoconf |
| 14 | 13 |
BuildRequires: expat-devel |
| 15 | 14 |
BuildRequires: glib-devel |
| 16 | 15 |
BuildRequires: gobject-introspection |
| 17 | 16 |
BuildRequires: intltool >= 0.40.0 |
| 18 |
-BuildRequires: mozjs-devel = 68.11.0 |
|
| 17 |
+BuildRequires: mozjs-devel = 78.3.1 |
|
| 19 | 18 |
BuildRequires: Linux-PAM-devel |
| 20 | 19 |
BuildRequires: systemd-devel |
| 21 | 20 |
Requires: mozjs |
| ... | ... |
@@ -111,6 +110,8 @@ fi |
| 111 | 111 |
%{_libdir}/pkgconfig/*.pc
|
| 112 | 112 |
|
| 113 | 113 |
%changelog |
| 114 |
+* Wed Sep 09 2020 Gerrit Photon <photon-checkins@vmware.com> 0.118-1 |
|
| 115 |
+- Automatic Version Bump |
|
| 114 | 116 |
* Tue Aug 25 2020 Ankit Jain <ankitja@vmware.com> 0.117-2 |
| 115 | 117 |
- This version of polkit build requires specific mozjs version |
| 116 | 118 |
* Thu Aug 13 2020 Ankit Jain <ankitja@vmware.com> 0.117-1 |
| ... | ... |
@@ -1,12 +1,11 @@ |
| 1 | 1 |
Summary: Commit RPMs to an OSTree repository |
| 2 | 2 |
Name: rpm-ostree |
| 3 | 3 |
Version: 2020.5 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
License: LGPLv2+ |
| 6 | 6 |
URL: https://github.com/projectatomic/rpm-ostree |
| 7 | 7 |
Vendor: VMware, Inc. |
| 8 | 8 |
Distribution: Photon |
| 9 |
-BuildArch: aarch64 |
|
| 10 | 9 |
Source0: https://github.com/projectatomic/rpm-ostree/releases/download/v%{version}/rpm-ostree-%{version}.tar.xz
|
| 11 | 10 |
%define sha1 rpm-ostree=42f76f192b64adb432abd8b1c2a7897e91fa835b |
| 12 | 11 |
Source1: libglnx-5ef78bb.tar.gz |
| ... | ... |
@@ -34,7 +33,6 @@ BuildRequires: sqlite-devel |
| 34 | 34 |
BuildRequires: cppunit-devel |
| 35 | 35 |
BuildRequires: polkit-devel |
| 36 | 36 |
BuildRequires: ostree-devel |
| 37 |
-BuildRequires: libgsystem-devel |
|
| 38 | 37 |
BuildRequires: docbook-xsl |
| 39 | 38 |
BuildRequires: libxslt |
| 40 | 39 |
BuildRequires: gobject-introspection-devel |
| ... | ... |
@@ -67,7 +65,6 @@ Requires: openssl |
| 67 | 67 |
Requires: ostree |
| 68 | 68 |
Requires: ostree-libs |
| 69 | 69 |
Requires: ostree-grub2 |
| 70 |
-Requires: libgsystem |
|
| 71 | 70 |
Requires: json-glib |
| 72 | 71 |
Requires: libsolv |
| 73 | 72 |
Requires: bubblewrap |
| ... | ... |
@@ -154,6 +151,8 @@ install -p -m 755 -D %{SOURCE5} %{buildroot}%{_bindir}/rpm-ostree-server
|
| 154 | 154 |
%{_bindir}/rpm-ostree-server/mkostreerepo
|
| 155 | 155 |
|
| 156 | 156 |
%changelog |
| 157 |
+* Mon Oct 05 2020 Ankit Jain <ankitja@vmware.com> 2020.5-2 |
|
| 158 |
+- Re-enabling ostree |
|
| 157 | 159 |
* Mon Sep 21 2020 Ankit Jain <ankitja@vmware.com> 2020.5-1 |
| 158 | 160 |
- Updated to 2020.5 |
| 159 | 161 |
* Tue Sep 08 2020 Ankit Jain <ankitja@vmware.com> 2020.4-2 |