Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor update to make it work #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@ It may or may not work on your Linux distribution, perhaps it may work on cygwin
### Distribution
On my Debian sid I've installed following packages:

binutils-mingw-w64-i686
binutils-mingw-w64-x86-64
binutils-mingw-w64
g++-mingw-w64
g++-mingw-w64-i686
g++-mingw-w64-x86-64
gcc-mingw-w64
gcc-mingw-w64-base
gcc-mingw-w64-i686
gcc-mingw-w64-x86-64
mingw-w64
mingw-w64-i686-dev
mingw-w64-tools
mingw-w64-x86-64-dev
build-essential
cmake
autoconf
automake
nasm
yasm
gperf
dos2unix
p7zip-full
git
subversion
mercurial

### Environment
You may adapt some of config variables in `config.sh` (at the toplevel)
Expand All @@ -46,6 +50,7 @@ and causing misleading detections.
* sudo (for setup.sh script)
* git (for packages from git repositories)
* svn (for packages from svn repositories)
* mercurial (for packages from hg repositories)
* cmake (to build cmake based packages)
* nasm and yasm

Expand Down
2 changes: 2 additions & 0 deletions packages/frei0r/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export_toolchain
get_package_filename()
{
version=$(cd ${BUILDDIR} && git describe --tags)
if [ -e dist ]; then rm -rf dist; fi
mkdir dist
echo "$(cd dist && pwd)/frei0r-plugins-${ARCH}-${version}.7z"
}

Expand Down
6 changes: 5 additions & 1 deletion packages/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ apply_patches()

for p in $(pwd)/patches/*; do
echo "- Appling $(basename $p)"
patch -d ${BUILDDIR} -p1 < $p || return 1
if ! patch -d ${BUILDDIR} -p1 -N --dry-run -f --silent < $p; then
echo "patch $p already applied, skip."
continue
fi
patch -d ${BUILDDIR} -p1 < $p || return 1
done
}

Expand Down
19 changes: 9 additions & 10 deletions packages/vidstab/patches/00_sherpya-nofpic.diff
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d02fe2a..88ed3b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ else()
set(LIBSUFFIX "")
endif()
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2018-05-29 21:48:59.575706804 +0800
+++ b/CMakeLists.txt 2018-05-29 21:51:31.179700310 +0800
@@ -21,7 +21,7 @@

-add_definitions( -Wall -O3 -g -Wno-pointer-sign -fPIC -std=gnu99)
+add_definitions( -Wall -O3 -g -Wno-pointer-sign -std=gnu99)
# add_definitions( -Wall -O0 -g -Wno-pointer-sign )
option(USE_OMP "use parallelization use OMP" ON)

-add_definitions(-Wall -Wno-pointer-sign -fPIC -std=gnu99)
+add_definitions(-Wall -Wno-pointer-sign -std=gnu99)

### ORC is not used in any active code at the moment ###
# I tried it with 0.4.14
13 changes: 0 additions & 13 deletions packages/vidstab/patches/01_sherpya-gomp-pthreads.diff

This file was deleted.

11 changes: 11 additions & 0 deletions packages/x265/patches/01_sherpya_hg_extension.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -Nrau a/.hg/hgrc b/.hg/hgrc
--- a/.hg/hgrc 2018-05-29 23:41:09.227418511 +0800
+++ b/.hg/hgrc 2018-05-29 23:48:30.139399622 +0800
@@ -12,3 +12,7 @@
[ui]
# name and email (local to this repository, optional), e.g.
# username = Jane Doe <[email protected]>
+
+[extensions]
+purge =
+