Skip to content

Commit

Permalink
Trailing whitespace cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatosilva committed Feb 9, 2015
1 parent 83436a1 commit 6daa9f9
Show file tree
Hide file tree
Showing 301 changed files with 665 additions and 665 deletions.
4 changes: 2 additions & 2 deletions mingw-w64-FreeImage/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ prepare() {
rm -rf Source/LibJXR/common/include/guiddef.h

#cp -f ${srcdir}/Makefile.mingw-w64 ${srcdir}/FreeImage/Makefile.mingw-w64

# Generate source list
sh ./gensrclist.sh
sh ./genfipsrclist.sh
Expand Down Expand Up @@ -112,7 +112,7 @@ package() {
install -m644 Dist/libfreeimageplus.dll.a "${pkgdir}${MINGW_PREFIX}"/lib/
install -m644 Dist/FreeImage.h "${pkgdir}${MINGW_PREFIX}"/include/
install -m644 Dist/FreeImagePlus.h "${pkgdir}${MINGW_PREFIX}"/include/

install -m644 Whatsnew.txt "${pkgdir}${MINGW_PREFIX}"/share/doc/FreeImage/
install -m644 license-fi.txt "${pkgdir}${MINGW_PREFIX}"/share/doc/FreeImage/
install -m644 license-gplv2.txt "${pkgdir}${MINGW_PREFIX}"/share/doc/FreeImage/
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-LibRaw/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ prepare() {
cd "$srcdir/${_realname}-$pkgver"
patch -Np1 -i "$srcdir/LibRaw_wsock32.patch"
patch -Np1 -i "$srcdir/LibRaw_obsolete-macros.patch"

autoreconf -ifv
}

Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-OpenBLAS-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ options=('strip' 'staticlibs')
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-gcc-libgfortran"
"${MINGW_PACKAGE_PREFIX}-libwinpthread")
makedepends=("git"
makedepends=("git"
"${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-gcc-fortran")
source=("$_realname"::"git://github.com/xianyi/${_realname}")
Expand Down Expand Up @@ -84,7 +84,7 @@ package() {
fi

# Copy Licencse
mkdir -p ${pkgdir}${MINGW_PREFIX}/share/licenses/$_realname
mkdir -p ${pkgdir}${MINGW_PREFIX}/share/licenses/$_realname
cp -f ${srcdir}/${_realname}/LICENSE \
${pkgdir}${MINGW_PREFIX}/share/licenses/$_realname
cp -f ${srcdir}/${_realname}/lapack-netlib/LICENSE \
Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-Pillow/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ prepare() {
package_python3-Pillow() {
depends+=("${MINGW_PACKAGE_PREFIX}-python3")
optdepends=("${MINGW_PACKAGE_PREFIX}-tk: for the ImageTK module")

cd "$srcdir/python3-build-${CARCH}"
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
${MINGW_PREFIX}/bin/python3 setup.py install --prefix=${MINGW_PREFIX#\/} --root="$pkgdir/" --optimize=0
Expand All @@ -58,7 +58,7 @@ package_python2-Pillow() {
pkgdesc="Python Imaging Library (PIL) fork. Python2 version."
depends+=("${MINGW_PACKAGE_PREFIX}-python2")
optdepends=("${MINGW_PACKAGE_PREFIX}-tk: for the ImageTK module")

cd "$srcdir/python2-build-${CARCH}"
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
${MINGW_PREFIX}/bin/python2 setup.py install --prefix=${MINGW_PREFIX#\/} --root="$pkgdir/" --optimize=0
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-SDL2/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ md5sums=('fe6c61d2e9df9ef570e7e80c6e822537'
prepare() {
cd "${srcdir}"/${_realname}-${pkgver}
patch -p1 -i ${srcdir}/fix-linker-flags.patch

./autogen.sh
}

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-SDL2_image/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ url="http://www.libsdl.org/projects/SDL_image"
license=('MIT')
depends=("${MINGW_PACKAGE_PREFIX}-SDL2"
"${MINGW_PACKAGE_PREFIX}-libpng"
"${MINGW_PACKAGE_PREFIX}-libtiff"
"${MINGW_PACKAGE_PREFIX}-libtiff"
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo"
"${MINGW_PACKAGE_PREFIX}-libwebp")
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake")
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-a52dec/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Alexey Pavlov <[email protected]>
# Contributor: AlexWMF <[email protected]>

_realname=a52dec
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.7.4
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-ag/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ md5sums=('56ba98da4298e9db1929f34ca05b1627'
prepare() {
cd "${srcdir}/${_longname}-${pkgver}"
patch -p1 -i ${srcdir}/001-mingw-build.patch

autoreconf -fi
}

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-allegro/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ build() {
pushd ${pkgdir}${MINGW_PREFIX} > /dev/null
export PREFIX_WIN=`pwd -W`
popd > /dev/null

pushd ${MINGW_PREFIX} > /dev/null
export PREFIX_DEPS=`pwd -W`
popd > /dev/null
Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-angleproject-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ build() {

# Fix multiply defined 'SetTraceFunctionPointers'
patch -p1 -i "${srcdir}"/0051-Move-event_tracer-.cpp-.h-to-libGLESv2-instead-of-co.patch

# Patches from Qt5
patch -p4 -i "${srcdir}"/0001-Fix-compilation-for-MSVC-2008-and-std-tuple.patch
patch -p4 -i "${srcdir}"/0002-Fix-compilation-of-ANGLE-with-mingw-tdm64-gcc-4.8.1.patch
Expand All @@ -115,7 +115,7 @@ build() {

export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
export CXXFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"

sed -i -e 's_python _python2 _g' -e 's_"python"_"python2"_g' -e "s_'python'_'python2'_g" -e 's_/usr/bin/python_/usr/bin/python2_g' $(find -type f)
sed -i -e 's|vsprintf_s|vsprintf|g' $(find . \( -name '*.h' -or -name '*.cpp' \) -and -type f)

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-arm-none-eabi-newlib/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ build() {
--disable-nls \
CFLAGS="${NEWLIB_CFLAGS}" \
PATH="${armgccpath}:${PATH}"
make PATH="${armgccpath}:${PATH}"
make PATH="${armgccpath}:${PATH}"
}

package() {
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-aspell/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ prepare() {
patch -p1 -i ${srcdir}/0005-w32-home.all.patch
patch -p1 -i ${srcdir}/0006-abort.mingw.patch
patch -p1 -i ${srcdir}/0007-fix-including-langinfo.patch

autoreconf -fi
}

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-assimp-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ prepare() {
build() {
[[ -d ${srcdir}/build-${MINGW_CHOST} ]] && rm -rf ${srcdir}/build-${MINGW_CHOST}
mkdir -p ${srcdir}/build-${MINGW_CHOST} && cd ${srcdir}/build-${MINGW_CHOST}

${MINGW_PREFIX}/bin/cmake.exe \
-G"MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=${pkgdir}${MINGW_PREFIX} \
Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-assimp/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ prepare() {
build() {
[[ -d ${srcdir}/build-${MINGW_CHOST} ]] && rm -rf ${srcdir}/build-${MINGW_CHOST}
mkdir -p ${srcdir}/build-${MINGW_CHOST} && cd ${srcdir}/build-${MINGW_CHOST}

${MINGW_PREFIX}/bin/cmake.exe \
-G"MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX=${pkgdir}${MINGW_PREFIX} \
Expand All @@ -42,7 +42,7 @@ package() {
cd "${srcdir}//build-${MINGW_CHOST}"
make -j1 install
install -Dm644 "${srcdir}/${_realname}-${pkgver}/LICENSE" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"

pushd ${pkgdir}${MINGW_PREFIX} > /dev/null
export PREFIX_WIN=`pwd -W`
popd > /dev/null
Expand Down
6 changes: 3 additions & 3 deletions mingw-w64-binutils-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pkgver() {

prepare() {
cd ${srcdir}/${_realname}

patch -p1 -i "${srcdir}"/0001-enable-gold-on.mingw32.patch
patch -p1 -i "${srcdir}"/0002-check-for-unusual-file-harder.patch
#patch -p1 -i "${srcdir}"/0003-enable-shared-bfd.all.patch
Expand All @@ -69,7 +69,7 @@ prepare() {
#patch -p1 -i "${srcdir}"/0015-dont-link-ld-to-libiberty.mingw.patch
#patch -p1 -i "${srcdir}"/0017-fix-iconv-linking.all.patch
patch -p1 -i "${srcdir}"/0110-binutils-mingw-gnu-print.patch

rm -rf gdb readline libdecnumber sim
}

Expand Down Expand Up @@ -134,6 +134,6 @@ package() {
# Add some useful headers
#install -m644 ${srcdir}/${_realname}-${pkgver}/include/libiberty.h ${pkgdir}${MINGW_PREFIX}/include
#install -m644 ${srcdir}/${_realname}-${pkgver}/include/demangle.h ${pkgdir}${MINGW_PREFIX}/include

find ${pkgdir}${MINGW_PREFIX}/share -type f -iname "opcodes.mo" -o -iname "bfd.mo" | xargs -rtl1 rm
}
2 changes: 1 addition & 1 deletion mingw-w64-binutils/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ package() {
# Add some useful headers
#install -m644 ${srcdir}/${_realname}-${pkgver}/include/libiberty.h ${pkgdir}${MINGW_PREFIX}/include
#install -m644 ${srcdir}/${_realname}-${pkgver}/include/demangle.h ${pkgdir}${MINGW_PREFIX}/include

find ${pkgdir}${MINGW_PREFIX}/share -type f -iname "opcodes.mo" -o -iname "bfd.mo" | xargs -rtl1 rm
}
2 changes: 1 addition & 1 deletion mingw-w64-bison/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ prepare() {
patch -p1 -i "${srcdir}"/0002-add-relocation-support.patch
patch -p1 -i "${srcdir}"/0003-create_pipe-uses-O_TEXT-not-O_BINARY-mode.patch
patch -p1 -i "${srcdir}"/0004-open-source-file-in-binary-mode-MS-ftell-bug-ks-68337.patch

autoreconf -fiv
}

Expand Down
8 changes: 4 additions & 4 deletions mingw-w64-blender-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ prepare() {
patch -p1 -i ${srcdir}/fix-finding-glew.patch
patch -p1 -i ${srcdir}/fix-define-syntax.patch
patch -p1 -i ${srcdir}/mingw-use-X11-like-path-layout.patch

cp -rf $srcdir/translations/* $srcdir/$_realname/release/datafiles/locale/
cp -rf $srcdir/addons/* $srcdir/$_realname/release/scripts/addons/
cp -rf $srcdir/addons-contrib/* $srcdir/$_realname/release/scripts/addons_contrib/
Expand All @@ -83,14 +83,14 @@ build() {
[[ $CARCH == i686 ]] && ENABLESSE2="-DSUPPORT_SSE2_BUILD=OFF"
[[ $CARCH == i686 ]] && BUILDCUDA="OFF" || BUILDCUDA="ON"
#[[ $CARCH == i686 ]] && PMARCH="i686" || PMARCH="x86-64"

declare -a _btype
if check_option "debug" "y"; then
_btype=Debug
else
_btype=Release
fi

${MINGW_PREFIX}/bin/cmake \
-G"MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX=${pkgdir}${MINGW_PREFIX} \
Expand Down Expand Up @@ -128,7 +128,7 @@ build() {
make
}

package() {
package() {
cd "$srcdir/build-${MINGW_CHOST}"
make install

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-blender/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ build() {
else
_btype=Release
fi

${MINGW_PREFIX}/bin/cmake \
-G"MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX=${pkgdir}${MINGW_PREFIX} \
Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-boost/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ prepare() {
patch -p1 -i ${srcdir}/boost-1.56-mingw-context.patch
patch -p1 -i ${srcdir}/boost-1.54.0-bootstrap.patch
patch -p1 -i ${srcdir}/boost-1.57.0-Add-missing-include-to-signals2-trackable.hpp.patch

# Use out own build Python
patch -p1 -i ${srcdir}/using-mingw-w64-python.patch

pushd ${MINGW_PREFIX} > /dev/null
export PREFIX_DEPS=`pwd -W`
popd > /dev/null

echo "using python : 2.7 : ${PREFIX_DEPS}/bin/python2.exe : ${PREFIX_DEPS}/include/python2.7 ;" >> ./tools/build/src/user-config.jam
echo "using python : 3.4 : ${PREFIX_DEPS}/bin/python3.exe : ${PREFIX_DEPS}/include/python3.4m : ${PREFIX_DEPS}/lib/python3.4/config-3.4m ;" >> ./tools/build/src/user-config.jam

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-box2d/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build() {

mkdir -p "${srcdir}/build-${CARCH}"
cd "${srcdir}/build-${CARCH}"

${MINGW_PREFIX}/bin/cmake \
-G"MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-btyacc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package() {
cd "${srcdir}"
mkdir -p ${pkgdir}${MINGW_PREFIX}/{bin,share}
cp btyacc.exe ${pkgdir}${MINGW_PREFIX}/bin/

mkdir -p ${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}
cp README{,.BYACC} ${pkgdir}${MINGW_PREFIX}/share/doc/${_realname}/
}
12 changes: 6 additions & 6 deletions mingw-w64-bullet/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build() {

build_release() {
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs" "${MINGW_PACKAGE_PREFIX}-freeglut")

cd ${srcdir}
mkdir -p build-release && pushd build-release
${MINGW_PREFIX}/bin/cmake \
Expand All @@ -54,9 +54,9 @@ build_release() {
../bullet3-Bullet-${pkgver}-alpha
make
make install

mv -f ${pkgdir}${MINGW_PREFIX}/lib/*.dll ${pkgdir}${MINGW_PREFIX}/bin/

pushd ${pkgdir}${MINGW_PREFIX} > /dev/null
export PREFIX_WIN=`pwd -W`
popd > /dev/null
Expand All @@ -66,7 +66,7 @@ build_release() {

build_debug() {
depends=("${MINGW_PACKAGE_PREFIX}-${_realname}=$pkgver")

cd ${srcdir}
mkdir -p build-debug && pushd build-debug
${MINGW_PREFIX}/bin/cmake \
Expand All @@ -83,9 +83,9 @@ build_debug() {
../bullet3-Bullet-${pkgver}-alpha
make
make install

mv -f ${pkgdir}${MINGW_PREFIX}/lib/*.dll ${pkgdir}${MINGW_PREFIX}/bin/

rm -rf ${pkgdir}${MINGW_PREFIX}/include
rm -rf ${pkgdir}${MINGW_PREFIX}/lib/cmake
rm -rf ${pkgdir}${MINGW_PREFIX}/lib/pkgconfig
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-c-ares/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sha1sums=('e44e6575d5af99cb3a38461486e1ee8b49810eb5'
prepare() {
cd "${srcdir}"/${_realname}-${pkgver}
patch -p1 -i ${srcdir}/0001-Use-RPM-compiler-options.patch

autoreconf -fi
}

Expand Down
4 changes: 2 additions & 2 deletions mingw-w64-ca-certificates/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ prepare() {
build() {
cd ${srcdir}/${_realname}-${pkgver}/mozilla
${MINGW_PREFIX}/bin/python2 certdata2pem.py

(
cat <<EOF
# This is a bundle of X.509 certificates of public Certificate
Expand Down Expand Up @@ -109,7 +109,7 @@ package() {
mkdir -p ${pkgdir}${MINGW_PREFIX}/{bin,lib,share}
mkdir -p ${pkgdir}${MINGW_PREFIX}/etc
mkdir -p ${pkgdir}${MINGW_PREFIX}/share/man/man8

sed -e "s|@PREFIX@|${MINGW_PREFIX}|g" -i sbin/update-ca-trust
cp -f sbin/update-ca-trust ${pkgdir}${MINGW_PREFIX}/bin/
cp -f sbin/update-ca-trust.8 ${pkgdir}${MINGW_PREFIX}/share/man/man8/
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-cairo/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ package() {
# Licenses
install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING-LGPL-2.1" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING-LGPL-2.1"
install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING-MPL-1.1" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING-MPL-1.1"
install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING-MPL-1.1" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING-MPL-1.1"
}
2 changes: 1 addition & 1 deletion mingw-w64-chipmunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build() {
mkdir -p "${srcdir}/build-${CARCH}"
cd "${srcdir}/build-${CARCH}"
#unset LDFLAGS CFLAGS CXXFLAGS

${MINGW_PREFIX}/bin/cmake -G"MSYS Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${pkgdir}${MINGW_PREFIX}" \
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-chromaprint/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ build() {
package() {
cd "${srcdir}/build-${MINGW_CHOST}"
make install

mkdir -p ${pkgdir}${MINGW_PREFIX}
pushd ${pkgdir}${MINGW_PREFIX} > /dev/null
export PREFIX_WIN=`pwd -W`
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-clang-svn/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ package_llvm(){
install -d "${pkgdir}"${MINGW_PREFIX}/share/doc/llvm/html
cp -rf "${srcdir}"/llvm/docs/_build/html/* "${pkgdir}"${MINGW_PREFIX}/share/doc/llvm/html/
rm -r "${pkgdir}"${MINGW_PREFIX}/share/doc/llvm/html/_sources

# Install CMake stuff
install -d "${pkgdir}"${MINGW_PREFIX}/share/llvm/cmake/{modules,platforms}
install -Dm644 "${srcdir}"/llvm/cmake/modules/*.cmake "${pkgdir}"${MINGW_PREFIX}/share/llvm/cmake/modules/
Expand Down
Loading

0 comments on commit 6daa9f9

Please sign in to comment.