-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1399 from meganz/release/v3.5.0
Release/v3.5.0
- v8.5.0
- v8.4.0
- v8.3.1
- v8.3.0
- v8.2.0
- v8.1.1
- v8.1.0
- v8.0.2
- v8.0.1
- v8.0.0
- v7.14.1
- v7.14.0
- v7.13.0
- v7.12.1
- v7.12.0
- v7.11.0
- v7.10.1
- v7.10.0
- v7.9.0
- v7.8.0
- v7.7.0
- v7.6.1
- v7.6.0
- v7.5.0
- v7.4.1
- v7.4.0
- v7.3.0
- v7.2.0
- v7.1.2
- v7.1.1
- v7.1.0
- v7.0.0
- v6.2.0
- v6.1.0
- v6.0.0
- v5.3.0
- v5.2.4
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.1a
- v5.2.0
- v5.2.0a
- v5.1.2
- v5.1.1
- v5.1.1a
- v5.1.0
- v5.0.0
- v4.32.0
- v4.31.0
- v4.31.0c
- v4.31.0b
- v4.30.0
- v4.29.1
- v4.29.1b
- v4.29.1a
- v4.29.0
- v4.29.0a
- v4.28.3
- v4.28.3a
- v4.28.2
- v4.28.1a
- v4.28.0
- v4.27.0
- v4.27.0a
- v4.26.0
- v4.26.0a
- v4.25.0
- v4.24.0
- v4.24.0a
- v4.23.0
- v4.22.0
- v4.22.0a
- v4.21.0
- v4.21.0c
- v4.21.0b
- v4.21.0a
- v4.20.0
- v4.19.0
- v4.18.0
- v4.17.1
- v4.17.1d
- v4.17.1c
- v4.17.1b
- v4.17.1a
- v4.17.0
- v4.17.0a
- v4.16.0
- v4.16.0c
- v4.16.0b
- v4.15.0
- v4.15.0a
- v4.14.0
- v4.13.0
- v4.12.0
- v4.11.0
- v4.10.0
- v4.10.0c
- v4.10.0b
- v4.10.0a
- v4.9.0
- v4.9.0c
- v4.9.0b
- v4.9.0a
- v4.8.0
- v4.7.1
- v4.7.0
- v4.6.0
- v4.5.0
- v4.4.2
- v4.4.0
- v4.3.0
- v4.3.0a
- v4.2.0
- v4.1.0
- v4.0.4
- v4.0.4a
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.12.3
- v3.12.2
- v3.12.2a
- v3.12.1
- v3.12.0
- v3.11.3
- v3.11.2
- v3.11.1
- v3.11.0
- v3.10.1
- v3.9.16
- v3.9.16a
- v3.9.15
- v3.9.14
- v3.9.13
- v3.9.12
- v3.9.11
- v3.9.11e
- v3.9.11d
- v3.9.11c
- v3.9.11b
- v3.9.11a
- v3.9.10
- v3.9.9
- v3.9.8
- v3.9.7
- v3.9.6
- v3.9.6c
- v3.9.6b
- v3.9.6a
- v3.9.5
- v3.9.5b
- v3.9.4
- v3.9.3
- v3.9.2
- v3.9.1
- v3.9.0
- v3.8.9
- v3.8.9a
- v3.8.8
- v3.8.7
- v3.8.6
- v3.8.5
- v3.8.4
- v3.8.3
- v3.8.3a
- v3.8.2
- v3.8.2c
- v3.8.2b
- v3.8.2a
- v3.8.1
- v3.8.0
- v3.8.0b
- v3.8.0a
- v3.7.9
- v3.7.8
- v3.7.7
- v3.7.6
- v3.7.6b
- v3.7.6a
- v3.7.5
- v3.7.4
- v3.7.3
- v3.7.3h
- v3.7.3g
- v3.7.3f
- v3.7.3e
- v3.7.3d
- v3.7.3c
- v3.7.3b
- v3.7.3a
- v3.7.1
- v3.7.0
- v3.7.0b
- v3.7.0a
- v3.6.9
- v3.6.9b
- v3.6.8
- v3.6.7
- v3.6.6
- v3.6.6b
- v3.6.6a
- v3.6.5
- v3.6.4
- v3.6.3
- v3.6.2
- v3.6.2b
- v3.6.2a
- v3.6.1
- v3.6.1a
- v3.6.0
- v3.5.4
- v3.5.3
- v3.5.3b
- v3.5.3a
- v3.5.2
- v3.5.1
- v3.5.1a
- v3.5.0
- v3.5.0a
- V3.7.8
Showing
38 changed files
with
5,766 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Format: 1.0 | ||
Source: ffmpeg-mega | ||
Binary: ffmpeg-mega | ||
Standards-Version: 3.6.1 | ||
Architecture: any | ||
Version: 1.0 | ||
DEBTRANSFORM-RELEASE: 1 | ||
Maintainer: MEGA Linux Team <linux@mega.co.nz> | ||
Homepage: https://mega.nz/#sync | ||
Build-Depends: pkg-config, debhelper, zlib1g-dev, wget, cmake, dh-autoreconf, cdbs, unzip, wget, libtool-bin (>= 2.4.2-1.10) | libtool (<< 2.4.2-1.10) | ||
Package-List: | ||
ffmpeg-mega | ||
Files: | ||
00000000000000000000000000000000 0 ffmpeg.tar.gz | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use_sysroot = false | ||
use_custom_libcxx = false | ||
pdf_is_complete_lib = true | ||
pdf_is_standalone = true | ||
pdf_enable_v8 = false | ||
pdf_enable_xfa = false | ||
pdf_bundle_freetype = true | ||
symbol_level = 0 | ||
is_debug=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#!/usr/bin/env bash | ||
PDFium_BRANCH=chromium/3710 | ||
|
||
set -ex | ||
|
||
BASEDIR="$PWD" | ||
if [[ $# -ne 0 ]] ; then | ||
if [ -d "$1" ]; then | ||
BASEDIR="$1" | ||
else | ||
echo "must provide a valid folder" | ||
exit 1 | ||
fi | ||
fi | ||
|
||
echo "using BASEDIR=$BASEDIR" | ||
|
||
CURDIR="$PWD" | ||
PDFIUMDIR="$BASEDIR/pdfium" | ||
DepotTools_URL='https://chromium.googlesource.com/chromium/tools/depot_tools.git' | ||
DepotTools_DIR="$PDFIUMDIR/depot_tools" | ||
PDFium_URL='https://pdfium.googlesource.com/pdfium.git' | ||
PDFium_BUILD_DIR="$PDFIUMDIR/out" | ||
PDFium_ARGS="$PWD/args_linux.gn" | ||
outputDIR="$BASEDIR/pdfium-mega-1.0" | ||
|
||
# Prepare directories | ||
mkdir -p "$PDFium_BUILD_DIR" | ||
|
||
# Download depot_tools if not exists in this location or update utherwise | ||
if [ ! -d "$DepotTools_DIR" ]; then | ||
git clone "$DepotTools_URL" "$DepotTools_DIR" | ||
else | ||
cd "$DepotTools_DIR" | ||
git pull | ||
cd .. | ||
fi | ||
export PATH="$DepotTools_DIR:$PATH" | ||
|
||
# Clone | ||
cd "$BASEDIR" | ||
gclient config --unmanaged "$PDFium_URL" | ||
gclient sync | ||
|
||
# Checkout | ||
cd "$PDFIUMDIR" | ||
git checkout "${PDFium_BRANCH:-master}" | ||
gclient sync | ||
|
||
# Configure | ||
cp "$PDFium_ARGS" "$PDFium_BUILD_DIR/args.gn" | ||
|
||
# Generate Ninja files | ||
cd "$PDFIUMDIR" | ||
gn gen "$PDFium_BUILD_DIR" | ||
|
||
cd "$PDFIUMDIR" | ||
echo "saving min pdfium stuff required for compilation" | ||
rsync -a --files-from="$CURDIR/filespdfium.txt" "$PDFIUMDIR" "$outputDIR" | ||
|
||
|
||
cd "$BASEDIR" | ||
tar -zcvf pdfium.tar.gz "pdfium-mega-1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
: Variables to provide: | ||
set CONFIGURATION=Release | ||
set PDFium_BRANCH=chromium/3710 | ||
set PLATFORM=x86 | ||
set GITPATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd | ||
set WINSDKVER=10.0.17763.0 | ||
|
||
: Input | ||
set WindowsSDK_DIR=C:\Program Files (x86)\Windows Kits\10\bin\%WINSDKVER%\%PLATFORM% | ||
set DepotTools_URL=https://storage.googleapis.com/chrome-infra/depot_tools.zip | ||
set DepotTools_DIR=%CD%/depot_tools | ||
set PDFium_URL=https://pdfium.googlesource.com/pdfium.git | ||
set PDFium_SOURCE_DIR=%CD%\pdfium | ||
set PDFium_BUILD_DIR=%PDFium_SOURCE_DIR%\out | ||
set PDFium_PATCH_DIR=%CD%\patches | ||
set PDFium_ARGS=%CD%\windows.args.gn | ||
|
||
: Output | ||
set PDFium_STAGING_DIR=%CD%\staging | ||
set PDFium_INCLUDE_DIR=%PDFium_STAGING_DIR%\include | ||
set PDFium_LIB_DIR=%PDFium_STAGING_DIR%\%PLATFORM%\lib | ||
set PDFium_ARTIFACT=%CD%\pdfium-windows-%PLATFORM%.zip | ||
if "%CONFIGURATION%"=="Debug" set PDFium_ARTIFACT=%CD%\pdfium-windows-%PLATFORM%-debug.zip | ||
|
||
echo on | ||
|
||
: Prepare directories | ||
mkdir %PDFium_BUILD_DIR% | ||
mkdir %PDFium_STAGING_DIR% | ||
mkdir %PDFium_LIB_DIR% | ||
|
||
: Download depot_tools | ||
set PATH=%GITPATH%;%PATH% | ||
call curl -fsSL -o depot_tools.zip %DepotTools_URL% || exit /b | ||
if not exist %DepotTools_DIR% powershell Expand-Archive depot_tools.zip %DepotTools_DIR% || exit /b | ||
|
||
set PATH=%DepotTools_DIR%;%WindowsSDK_DIR%;%PATH% | ||
set DEPOT_TOOLS_WIN_TOOLCHAIN=0 | ||
|
||
: check that rc.exe is in PATH | ||
where rc.exe || exit /b | ||
|
||
:: Clone | ||
:call gclient config --unmanaged %PDFium_URL% || exit /b | ||
:call gclient sync || exit /b | ||
|
||
:: Checkout branch (or ignore if it doesn't exist) | ||
echo on | ||
cd %PDFium_SOURCE_DIR% | ||
:git.exe checkout %PDFium_BRANCH% && call gclient sync | ||
|
||
:: Patch | ||
cd %PDFium_SOURCE_DIR% | ||
copy "%PDFium_PATCH_DIR%\resources.rc" . || exit /b | ||
git.exe apply -v "%PDFium_PATCH_DIR%\shared_library.patch" || exit /b | ||
git.exe -C build apply -v "%PDFium_PATCH_DIR%\rc_compiler.patch" || exit /b | ||
|
||
: Configure | ||
cd %PDFium_SOURCE_DIR% | ||
copy %PDFium_ARGS% %PDFium_BUILD_DIR%\args.gn | ||
if "%CONFIGURATION%"=="Release" echo is_debug=false >> %PDFium_BUILD_DIR%\args.gn | ||
if "%PLATFORM%"=="x86" echo target_cpu="x86" >> %PDFium_BUILD_DIR%\args.gn | ||
|
||
: Generate Ninja files | ||
call gn gen %PDFium_BUILD_DIR% || exit /b | ||
|
||
: Build | ||
:call ninja -C %PDFium_BUILD_DIR% pdfium -t clean || exit /b | ||
call ninja -C %PDFium_BUILD_DIR% pdfium -j 5 || exit /b | ||
|
||
: Install | ||
echo on | ||
copy %PDFium_SOURCE_DIR%\LICENSE %PDFium_STAGING_DIR% || exit /b | ||
xcopy /S /Y %PDFium_SOURCE_DIR%\public %PDFium_INCLUDE_DIR%\ || exit /b | ||
del %PDFium_INCLUDE_DIR%\DEPS | ||
del %PDFium_INCLUDE_DIR%\README | ||
del %PDFium_INCLUDE_DIR%\PRESUBMIT.py | ||
move %PDFium_BUILD_DIR%\pdfium.dll.lib %PDFium_LIB_DIR%\pdfium.lib || exit /b | ||
move %PDFium_BUILD_DIR%\pdfium.dll %PDFium_LIB_DIR% || exit /b | ||
move %PDFium_BUILD_DIR%\pdfium.dll.pdb %PDFium_LIB_DIR% | ||
|
||
: Pack | ||
cd %PDFium_STAGING_DIR% | ||
del %PDFium_ARTIFACT% | ||
call powershell Compress-Archive * %PDFium_ARTIFACT% |
Oops, something went wrong.