[arch-commits] Commit in ovmf/repos/extra-any (4 files)
Tobias Powalowski
tpowa at archlinux.org
Thu Sep 10 16:49:19 UTC 2015
Date: Thursday, September 10, 2015 @ 18:49:19
Author: tpowa
Revision: 245746
archrelease: copy trunk to extra-any
Added:
ovmf/repos/extra-any/0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch
(from rev 245745, ovmf/trunk/0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch)
ovmf/repos/extra-any/PKGBUILD
(from rev 245745, ovmf/trunk/PKGBUILD)
Deleted:
ovmf/repos/extra-any/0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch
ovmf/repos/extra-any/PKGBUILD
---------------------------------------------------------------+
0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch | 74 +++---
PKGBUILD | 114 +++++-----
2 files changed, 94 insertions(+), 94 deletions(-)
Deleted: 0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch
===================================================================
--- 0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch 2015-09-10 16:49:13 UTC (rev 245745)
+++ 0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch 2015-09-10 16:49:19 UTC (rev 245746)
@@ -1,37 +0,0 @@
-From ab9435c71d894018c88c8f5ff89f654f2029d3ed Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Thomas=20B=C3=A4chler?= <thomas at archlinux.org>
-Date: Sat, 1 Mar 2014 20:30:57 +0100
-Subject: [PATCH] Fix uninitialized value in VfrCompiler constructor.
-
----
- BaseTools/Source/C/VfrCompile/VfrCompiler.cpp | 1 +
- BaseTools/Source/C/VfrCompile/VfrCompiler.h | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp
-index dd34a1b..77b2cab 100644
---- a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp
-+++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp
-@@ -371,6 +371,7 @@ CVfrCompiler::CVfrCompiler (
- {
- mPreProcessCmd = (CHAR8 *) PREPROCESSOR_COMMAND;
- mPreProcessOpt = (CHAR8 *) PREPROCESSOR_OPTIONS;
-+ SET_RUN_STATUS(STATUS_UNKNOWN);
-
- OptionInitialization(Argc, Argv);
-
-diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.h b/BaseTools/Source/C/VfrCompile/VfrCompiler.h
-index ea20bbc..1603961 100644
---- a/BaseTools/Source/C/VfrCompile/VfrCompiler.h
-+++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.h
-@@ -60,6 +60,7 @@ typedef struct {
- } OPTIONS;
-
- typedef enum {
-+ STATUS_UNKNOWN = 0,
- STATUS_INITIALIZED = 1,
- STATUS_PREPROCESSED,
- STATUS_COMPILEED,
---
-1.9.0
-
Copied: ovmf/repos/extra-any/0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch (from rev 245745, ovmf/trunk/0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch)
===================================================================
--- 0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch (rev 0)
+++ 0001-Fix-uninitialized-value-in-VfrCompiler-constructor.patch 2015-09-10 16:49:19 UTC (rev 245746)
@@ -0,0 +1,37 @@
+From ab9435c71d894018c88c8f5ff89f654f2029d3ed Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Thomas=20B=C3=A4chler?= <thomas at archlinux.org>
+Date: Sat, 1 Mar 2014 20:30:57 +0100
+Subject: [PATCH] Fix uninitialized value in VfrCompiler constructor.
+
+---
+ BaseTools/Source/C/VfrCompile/VfrCompiler.cpp | 1 +
+ BaseTools/Source/C/VfrCompile/VfrCompiler.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp
+index dd34a1b..77b2cab 100644
+--- a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp
++++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp
+@@ -371,6 +371,7 @@ CVfrCompiler::CVfrCompiler (
+ {
+ mPreProcessCmd = (CHAR8 *) PREPROCESSOR_COMMAND;
+ mPreProcessOpt = (CHAR8 *) PREPROCESSOR_OPTIONS;
++ SET_RUN_STATUS(STATUS_UNKNOWN);
+
+ OptionInitialization(Argc, Argv);
+
+diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.h b/BaseTools/Source/C/VfrCompile/VfrCompiler.h
+index ea20bbc..1603961 100644
+--- a/BaseTools/Source/C/VfrCompile/VfrCompiler.h
++++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.h
+@@ -60,6 +60,7 @@ typedef struct {
+ } OPTIONS;
+
+ typedef enum {
++ STATUS_UNKNOWN = 0,
+ STATUS_INITIALIZED = 1,
+ STATUS_PREPROCESSED,
+ STATUS_COMPILEED,
+--
+1.9.0
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-10 16:49:13 UTC (rev 245745)
+++ PKGBUILD 2015-09-10 16:49:19 UTC (rev 245746)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-pkgname=ovmf
-pkgver=16229
-pkgrel=1
-arch=('any')
-pkgdesc="Tianocore UEFI firmware for qemu."
-url="http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK2"
-license=('custom')
-makedepends=('git' 'python2' 'iasl' 'nasm')
-source=('edk2::git+https://github.com/tianocore/edk2#commit=956f71b611b7677bc0605b95c4e67af413aaab86')
-sha256sums=('SKIP')
-options=(!makeflags)
-_toolchain_opt=GCC49
-
-pkgver() {
- cd "${srcdir}"/edk2
- git svn find-rev HEAD
-}
-
-prepare() {
- cd "${srcdir}"
- # edk2 uses python everywhere, but expects python2
- mkdir bin
- ln -s /usr/bin/python2 bin/python
-}
-
-build() {
- if [ "$CARCH" != "x86_64" ]; then
- error "This package must be built under the x86_64 architecture."
- false
- fi
- export PATH="${srcdir}/bin:$PATH"
- cd "${srcdir}/"edk2
- make -C BaseTools
- export EDK_TOOLS_PATH="${srcdir}"/edk2/BaseTools
- . edksetup.sh BaseTools
-
- # Set RELEASE target, toolchain and number of build threads
- sed "s|^TARGET[ ]*=.*|TARGET = RELEASE|; \
- s|TOOL_CHAIN_TAG[ ]*=.*|TOOL_CHAIN_TAG = ${_toolchain_opt}|; \
- s|MAX_CONCURRENT_THREAD_NUMBER[ ]*=.*|MAX_CONCURRENT_THREAD_NUMBER = $(nproc)|;" -i Conf/target.txt
- # Build OVMF for ia32
- sed "s|^TARGET_ARCH[ ]*=.*|TARGET_ARCH = IA32|; \
- s|^ACTIVE_PLATFORM[ ]*=.*|ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc|;" -i Conf/target.txt
- ./BaseTools/BinWrappers/PosixLike/build
- # Build OVMF for x64
- sed "s|^TARGET_ARCH[ ]*=.*|TARGET_ARCH = X64|; \
- s|^ACTIVE_PLATFORM[ ]*=.*|ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc|;" -i Conf/target.txt
- ./BaseTools/BinWrappers/PosixLike/build
-}
-
-package() {
- install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_ia32.bin
- install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_x64.bin
- install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/ovmf/License.txt
-}
Copied: ovmf/repos/extra-any/PKGBUILD (from rev 245745, ovmf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-10 16:49:19 UTC (rev 245746)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+pkgname=ovmf
+pkgver=18419
+pkgrel=1
+arch=('any')
+pkgdesc="Tianocore UEFI firmware for qemu."
+url="http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK2"
+license=('custom')
+makedepends=('git' 'python2' 'iasl' 'nasm' 'subversion' 'perl-libwww')
+source=('edk2::git+https://github.com/tianocore/edk2#commit=ddd097e33f6e6829dc0413820e9971f3bf025f87')
+sha256sums=('SKIP')
+options=(!makeflags)
+_toolchain_opt=GCC49
+
+pkgver() {
+ cd "${srcdir}"/edk2
+ git svn find-rev HEAD
+}
+
+prepare() {
+ cd "${srcdir}"
+ # edk2 uses python everywhere, but expects python2
+ mkdir bin
+ ln -s /usr/bin/python2 bin/python
+}
+
+build() {
+ if [ "$CARCH" != "x86_64" ]; then
+ error "This package must be built under the x86_64 architecture."
+ false
+ fi
+ export PATH="${srcdir}/bin:$PATH"
+ cd "${srcdir}/"edk2
+ make -C BaseTools
+ export EDK_TOOLS_PATH="${srcdir}"/edk2/BaseTools
+ . edksetup.sh BaseTools
+
+ # Set RELEASE target, toolchain and number of build threads
+ sed "s|^TARGET[ ]*=.*|TARGET = RELEASE|; \
+ s|TOOL_CHAIN_TAG[ ]*=.*|TOOL_CHAIN_TAG = ${_toolchain_opt}|; \
+ s|MAX_CONCURRENT_THREAD_NUMBER[ ]*=.*|MAX_CONCURRENT_THREAD_NUMBER = $(nproc)|;" -i Conf/target.txt
+ # Build OVMF for ia32
+ sed "s|^TARGET_ARCH[ ]*=.*|TARGET_ARCH = IA32|; \
+ s|^ACTIVE_PLATFORM[ ]*=.*|ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc|;" -i Conf/target.txt
+ ./BaseTools/BinWrappers/PosixLike/build
+ # Build OVMF for x64
+ sed "s|^TARGET_ARCH[ ]*=.*|TARGET_ARCH = X64|; \
+ s|^ACTIVE_PLATFORM[ ]*=.*|ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc|;" -i Conf/target.txt
+ ./BaseTools/BinWrappers/PosixLike/build
+}
+
+package() {
+ install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_ia32.bin
+ install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_x64.bin
+ install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/ovmf/License.txt
+}
More information about the arch-commits
mailing list