paket-guncelleme
This commit is contained in:
parent
89fe2ee359
commit
3919beb9ef
25 changed files with 488 additions and 207 deletions
|
@ -4,8 +4,8 @@
|
||||||
# Depends on: icu python python3
|
# Depends on: icu python python3
|
||||||
|
|
||||||
name=boost
|
name=boost
|
||||||
version=1.60.0
|
version=1.65.1
|
||||||
release=2
|
release=1
|
||||||
_boostver=${version//./_}
|
_boostver=${version//./_}
|
||||||
source=(https://downloads.sourceforge.net/project/${name}/${name}/${version}/${name}_${_boostver}.tar.bz2)
|
source=(https://downloads.sourceforge.net/project/${name}/${name}/${version}/${name}_${_boostver}.tar.bz2)
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ build() {
|
||||||
./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3 \
|
./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3 \
|
||||||
--with-libraries=python
|
--with-libraries=python
|
||||||
|
|
||||||
|
"${_stagedir}"/bin/b2 clean
|
||||||
"${_stagedir}"/bin/b2 \
|
"${_stagedir}"/bin/b2 \
|
||||||
variant=release \
|
variant=release \
|
||||||
debug-symbols=off \
|
debug-symbols=off \
|
||||||
|
|
|
@ -4,27 +4,19 @@
|
||||||
# Depends on: rust cmake
|
# Depends on: rust cmake
|
||||||
|
|
||||||
name=cargo
|
name=cargo
|
||||||
version=0.17.0
|
version=0.21.1
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(https://github.com/rust-lang/cargo/archive/$version.tar.gz
|
source=(https://github.com/rust-lang/cargo/archive/$version.tar.gz
|
||||||
https://static.rust-lang.org/dist/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz)
|
https://static.rust-lang.org/dist/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version/src/rust-installer
|
cd $name-$version/src/
|
||||||
wget http://anduin.linuxfromscratch.org/BLFS/rust/rust-installer-20161004.tar.xz
|
|
||||||
tar -xf rust-installer-20161004.tar.xz --strip-components=1
|
|
||||||
cd ../../
|
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--cargo=$SRC/cargo-nightly*/cargo/bin/cargo
|
|
||||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.crt
|
export SSL_CERT_FILE=/etc/ssl/ca-bundle.crt
|
||||||
make
|
$SRC/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo build --release
|
||||||
make DESTDIR=$PKG install
|
cd ..
|
||||||
|
install -d $PKG/usr/bin
|
||||||
rm -f $PKG/usr/lib/rustlib/{install.log,manifest-cargo,uninstall.sh,components,rust-installer-version}
|
install -d $PKG/usr/share/bash-completion/completions/
|
||||||
|
cp target/release/cargo $PKG/usr/bin/
|
||||||
install -d $PKG/usr/share/bash-completion/completions
|
cp $SRC/cargo-0.21.1/src/etc/cargo.bashcomp.sh $PKG/usr/share/bash-completion/completions/cargo
|
||||||
mv $PKG/usr/etc/bash_completion.d/cargo $PKG/usr/share/bash-completion/completions/cargo
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
name=harfbuzz
|
name=harfbuzz
|
||||||
version=1.5.1
|
version=1.5.1
|
||||||
release=1
|
release=2
|
||||||
source=(http://www.freedesktop.org/software/$name/release/$name-$version.tar.bz2)
|
source=(http://www.freedesktop.org/software/$name/release/$name-$version.tar.bz2)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -4,13 +4,20 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=icu
|
name=icu
|
||||||
version=56.1
|
version=59.1
|
||||||
release=1
|
release=1
|
||||||
source=(http://download.$name-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz)
|
source=(http://download.icu-project.org/files/icu4c/$version/icu4c-${version//./_}-src.tgz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name/source
|
cd icu/source
|
||||||
CC=gcc CXX=g++ ./configure --prefix=/usr
|
|
||||||
|
sed -i 's/xlocale/locale/' i18n/digitlst.cpp
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--sbindir=/usr/bin
|
||||||
make
|
make
|
||||||
make prefix=$PKG/usr install
|
make -k check
|
||||||
|
make -j1 DESTDIR=$PKG install
|
||||||
|
install -Dm644 ${SRC}/icu/LICENSE ${PKG}/usr/share/licenses/icu/LICENSE
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
From 7eb3cf6bc6dbada3fa7bb7ff4d5981182813a0e2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: arvidn <arvid@cs.umu.se>
|
||||||
|
Date: Tue, 11 Jul 2017 23:16:50 -0700
|
||||||
|
Subject: [PATCH] use the official boost.config header
|
||||||
|
|
||||||
|
---
|
||||||
|
include/libtorrent/export.hpp | 14 +-------------
|
||||||
|
1 file changed, 1 insertion(+), 13 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/include/libtorrent/export.hpp b/include/libtorrent/export.hpp
|
||||||
|
index 87536af2a2..503afe27a3 100644
|
||||||
|
--- a/include/libtorrent/export.hpp
|
||||||
|
+++ b/include/libtorrent/export.hpp
|
||||||
|
@@ -33,19 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#ifndef TORRENT_EXPORT_HPP_INCLUDED
|
||||||
|
#define TORRENT_EXPORT_HPP_INCLUDED
|
||||||
|
|
||||||
|
-#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG)
|
||||||
|
-# include <boost/config/select_compiler_config.hpp>
|
||||||
|
-#endif
|
||||||
|
-#ifdef BOOST_COMPILER_CONFIG
|
||||||
|
-# include BOOST_COMPILER_CONFIG
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
-#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG)
|
||||||
|
-# include <boost/config/select_platform_config.hpp>
|
||||||
|
-#endif
|
||||||
|
-#ifdef BOOST_PLATFORM_CONFIG
|
||||||
|
-# include BOOST_PLATFORM_CONFIG
|
||||||
|
-#endif
|
||||||
|
+#include <boost/config.hpp>
|
||||||
|
|
||||||
|
// backwards compatibility with older versions of boost
|
||||||
|
#if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT
|
|
@ -4,18 +4,44 @@
|
||||||
# Depends on: boost
|
# Depends on: boost
|
||||||
|
|
||||||
name=libtorrent-rasterbar
|
name=libtorrent-rasterbar
|
||||||
version=1.1.0
|
version=1.1.4
|
||||||
|
_version=1_1_4
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1/$name-$version.tar.gz)
|
source=(https://github.com/arvidn/libtorrent/archive/libtorrent-$_version.tar.gz::$name-$version.tar.gz
|
||||||
|
libtorrent-boost-1.65.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd libtorrent-libtorrent-$_version
|
||||||
|
./autotool.sh
|
||||||
|
patch -p1 -i $SRC/libtorrent-boost-1.65.patch
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/bash \
|
#CONFIG_SHELL=/bin/bash \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-python-binding
|
--enable-shared=yes \
|
||||||
|
--enable-static=no \
|
||||||
|
--enable-fast-install=yes \
|
||||||
|
--enable-largefile \
|
||||||
|
--enable-logging \
|
||||||
|
--disable-debug \
|
||||||
|
--enable-dht \
|
||||||
|
--enable-encryption \
|
||||||
|
--enable-deprecated-functions \
|
||||||
|
--enable-examples \
|
||||||
|
--disable-tests \
|
||||||
|
--enable-python-binding \
|
||||||
|
--with-libiconv
|
||||||
make
|
make
|
||||||
|
|
||||||
|
# build python2 bindings (python3 bindings are built during 'make')
|
||||||
|
python2 setup.py build
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
python2 setup.py install --root="$PKG" --optimize=1
|
||||||
|
|
||||||
|
# license
|
||||||
|
install -D -m644 COPYING "${PKG}/usr/share/licenses/${name}/LICENSE"
|
||||||
|
|
||||||
|
# remove most example binaries
|
||||||
|
rm "$PKG"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: python
|
# Depends on: python
|
||||||
|
|
||||||
name=libxml2
|
name=libxml2
|
||||||
version=2.9.3
|
version=2.9.5
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
|
source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
|
||||||
|
@ -15,4 +15,5 @@ cd $name-$version
|
||||||
--disable-static --with-history
|
--disable-static --with-history
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
rm -rf $PKG/usr/share/gtk-doc
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: pcre cmake libevent
|
# Depends on: pcre cmake libevent
|
||||||
|
|
||||||
name=mariadb
|
name=mariadb
|
||||||
version=10.2.6
|
version=10.1.26
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(ftp://mirrors.fe.up.pt/pub/mariadb/mariadb-$version/source/mariadb-$version.tar.gz)
|
source=(ftp://mirrors.fe.up.pt/pub/mariadb/mariadb-$version/source/mariadb-$version.tar.gz)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=nspr
|
name=nspr
|
||||||
version=4.14
|
version=4.16
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$version/src/$name-$version.tar.gz )
|
source=(http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$version/src/$name-$version.tar.gz )
|
||||||
|
|
73
talimatname/genel/qt5-webkit/qt5-webkit-icu59.patch
Normal file
73
talimatname/genel/qt5-webkit/qt5-webkit-icu59.patch
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h
|
||||||
|
index ead844f..e62cfd4 100644
|
||||||
|
--- a/Source/WTF/wtf/Compiler.h
|
||||||
|
+++ b/Source/WTF/wtf/Compiler.h
|
||||||
|
@@ -61,6 +61,7 @@
|
||||||
|
#define WTF_COMPILER_SUPPORTS_HAS_TRIVIAL_DESTRUCTOR __has_feature(has_trivial_destructor)
|
||||||
|
#define WTF_COMPILER_SUPPORTS_CXX_STRONG_ENUMS __has_feature(cxx_strong_enums)
|
||||||
|
#define WTF_COMPILER_SUPPORTS_CXX_REFERENCE_QUALIFIED_FUNCTIONS __has_feature(cxx_reference_qualified_functions)
|
||||||
|
+#define WTF_COMPILER_SUPPORTS_CXX_NEW_CHAR_TYPES !defined(_LIBCPP_HAS_NO_UNICODE_CHARS)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@@ -142,6 +143,7 @@
|
||||||
|
#define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1
|
||||||
|
#endif
|
||||||
|
#if GCC_VERSION_AT_LEAST(4, 5, 0)
|
||||||
|
+#define WTF_COMPILER_SUPPORTS_CXX_NEW_CHAR_TYPES 1
|
||||||
|
#define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS 1
|
||||||
|
#endif
|
||||||
|
#if GCC_VERSION_AT_LEAST(4, 6, 0)
|
||||||
|
diff --git a/Source/WTF/wtf/TypeTraits.h b/Source/WTF/wtf/TypeTraits.h
|
||||||
|
index b9e46bc..876fa45 100644
|
||||||
|
--- a/Source/WTF/wtf/TypeTraits.h
|
||||||
|
+++ b/Source/WTF/wtf/TypeTraits.h
|
||||||
|
@@ -75,6 +75,10 @@ namespace WTF {
|
||||||
|
#if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||||
|
template<> struct IsInteger<wchar_t> { static const bool value = true; };
|
||||||
|
#endif
|
||||||
|
+#if COMPILER_SUPPORTS(CXX_NEW_CHAR_TYPES)
|
||||||
|
+ template<> struct IsInteger<char16_t> { static const bool value = true; };
|
||||||
|
+ template<> struct IsInteger<char32_t> { static const bool value = true; };
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
template<typename T> struct IsFloatingPoint { static const bool value = false; };
|
||||||
|
template<> struct IsFloatingPoint<float> { static const bool value = true; };
|
||||||
|
---qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h.orig 2015-10-13 06:37:10.000000000 +0200
|
||||||
|
+++ qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h 2017-04-24 12:26:42.495345570 +0200
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
#include <stdbool.h>
|
||||||
|
#endif
|
||||||
|
#include <stddef.h> /* for size_t */
|
||||||
|
+#include <uchar.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
@@ -43,7 +44,7 @@
|
||||||
|
@typedef JSChar
|
||||||
|
@abstract A Unicode character.
|
||||||
|
*/
|
||||||
|
- typedef unsigned short JSChar;
|
||||||
|
+ typedef char16_t JSChar;
|
||||||
|
#else
|
||||||
|
typedef wchar_t JSChar;
|
||||||
|
#endif
|
||||||
|
--- qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h.orig 2015-10-13 06:37:12.000000000 +0200
|
||||||
|
+++ qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h 2017-04-24 12:27:33.432011867 +0200
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#include <stdbool.h>
|
||||||
|
#endif
|
||||||
|
+#include <uchar.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
@@ -38,7 +39,7 @@
|
||||||
|
|
||||||
|
#if !defined(WIN32) && !defined(_WIN32) \
|
||||||
|
&& !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
|
||||||
|
- typedef unsigned short WKChar;
|
||||||
|
+ typedef char16_t WKChar;
|
||||||
|
#else
|
||||||
|
typedef wchar_t WKChar;
|
||||||
|
#endif
|
|
@ -1,28 +1,26 @@
|
||||||
# Description: Bir WebKit2 tabanlı uygulama sınıfları ve yeni bir QML API'sı
|
# Description: Bir WebKit2 tabanlı uygulama sınıfları ve yeni bir QML API'sı
|
||||||
# URL: http://qt-project.org/
|
# URL: http://qt-project.org/
|
||||||
# Packager: alihan-ozturk28@hotmail.com
|
# Packager: milisarge
|
||||||
# Depends on: gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5
|
# Depends on: cmake gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5 hyphen
|
||||||
|
|
||||||
name=qt5-webkit
|
name=qt5-webkit
|
||||||
version=5.7.0
|
_name=qtwebkit
|
||||||
|
version=5.9.0
|
||||||
release=1
|
release=1
|
||||||
_version=${version/-/}
|
|
||||||
_name=qtwebkit-opensource-src-${_version}
|
|
||||||
_namefqn="${name/5-/}-opensource-src-${_version}"
|
|
||||||
|
|
||||||
source=(http://download.qt-project.org/community_releases/${_version%.*}/${_version}/${_name}.tar.xz)
|
source=(http://download.qt.io/community_releases/5.8/$version-final/$_name-opensource-src-$version.tar.xz
|
||||||
|
qt5-webkit-icu59.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${_namefqn}
|
cd $_name-opensource-src-$version
|
||||||
syncqt.pl-qt5 -version $version Source/sync.profile
|
patch -p1 -i $SRC/qt5-webkit-icu59.patch
|
||||||
qmake-qt5
|
install -d build
|
||||||
|
cd build
|
||||||
|
qmake-qt5 ..
|
||||||
make
|
make
|
||||||
make INSTALL_ROOT="$PKG" install
|
make INSTALL_ROOT=$PKG install
|
||||||
|
|
||||||
rm -rf /usr/share/doc
|
|
||||||
|
|
||||||
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
|
||||||
find "$PKG/usr/lib" -type f -name '*.prl' \
|
find "$PKG/usr/lib" -type f -name '*.prl' \
|
||||||
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=Qt5 Assistant
|
|
||||||
Comment=Shows Qt documentation and examples
|
|
||||||
Exec=/usr/bin/assistant-qt5
|
|
||||||
Icon=assistant
|
|
||||||
Terminal=false
|
|
||||||
Encoding=UTF-8
|
|
||||||
Type=Application
|
|
||||||
Categories=Qt;Development;Documentation;
|
|
|
@ -1,11 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=Qt5 Designer
|
|
||||||
GenericName=Interface Designer
|
|
||||||
Comment=Design GUIs for Qt applications
|
|
||||||
Exec=/usr/bin/designer-qt5
|
|
||||||
Icon=designer
|
|
||||||
MimeType=application/x-designer;
|
|
||||||
Terminal=false
|
|
||||||
Encoding=UTF-8
|
|
||||||
Type=Application
|
|
||||||
Categories=Qt;Development;
|
|
|
@ -1,10 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=Qt5 Linguist
|
|
||||||
Comment=Add translations to Qt applications
|
|
||||||
Exec=/usr/bin/linguist-qt5
|
|
||||||
Icon=linguist
|
|
||||||
MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
|
||||||
Terminal=false
|
|
||||||
Encoding=UTF-8
|
|
||||||
Type=Application
|
|
||||||
Categories=Qt;Development;
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=Qt5 QDbusViewer
|
|
||||||
GenericName=D-Bus Debugger
|
|
||||||
Comment=Debug D-Bus applications
|
|
||||||
Exec=/usr/bin/qdbusviewer-qt5
|
|
||||||
Icon=qdbusviewer
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=Qt;Development;Debugger;
|
|
BIN
talimatname/genel/qt5/qt5-logo.png
Normal file
BIN
talimatname/genel/qt5/qt5-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
|
@ -1,92 +1,152 @@
|
||||||
# Description: Qt ücretsiz sürümü, sürüm 5.x
|
# Description: Qt ücretsiz sürümü, sürüm 5.x
|
||||||
# URL: http://qt-project.org/
|
# URL: http://qt-project.org/
|
||||||
# Packager: alihan-ozturk28@hotmail.com
|
# Packager: milisarge
|
||||||
# Depends on: xorg-proto xorg-libxkbfile xorg-xtrans xorg-libx11 xorg-libxext xorg-libfs xorg-libice xorg-libsm xorg-libxscrnsaver xorg-libxt xorg-libxmu xorg-libxpm xorg-libxaw xorg-libxfixes xorg-libxcomposite xorg-libxrender xorg-libxcursor xorg-libxdamage xorg-libfontenc xorg-libxfont xorg-libxft xorg-libxi xorg-libxinerama xorg-libxrandr xorg-libxres xorg-libxtst xorg-libxv xorg-libxvmc xorg-libxxf86dga xorg-libxxf86vm xorg-libdmx xorg-libpciaccess xorg-libxkbfile xorg-libxshmfence xcb-proto xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm alsa-lib ca-certificates cups dbus glib gstreamer-plugins-base icu jasper libproxy libinput libjpeg-turbo libmng libpng libtiff libwebp xorg-mesa mtdev openssl pcre sqlite ruby gstreamer1-plugins-base geoclue gtk2 harfbuzz postgresql pulseaudio unixodbc libxkbcommon mariadb
|
# Depends on: xorg-proto xorg-libxkbfile xorg-xtrans xorg-libx11 xorg-libxext xorg-libfs xorg-libice xorg-libsm xorg-libxscrnsaver xorg-libxt xorg-libxmu xorg-libxpm xorg-libxaw xorg-libxfixes xorg-libxcomposite xorg-libxrender xorg-libxcursor xorg-libxdamage xorg-libfontenc xorg-libxfont xorg-libxft xorg-libxi xorg-libxinerama xorg-libxrandr xorg-libxres xorg-libxtst xorg-libxv xorg-libxvmc xorg-libxxf86dga xorg-libxxf86vm xorg-libdmx xorg-libpciaccess xorg-libxkbfile xorg-libxshmfence xcb-proto xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm alsa-lib ca-certificates cups dbus glib gstreamer-plugins-base icu jasper libproxy libinput libjpeg-turbo libmng libpng libtiff libwebp xorg-mesa mtdev openssl pcre sqlite ruby gstreamer1-plugins-base geoclue gtk2 harfbuzz postgresql pulseaudio unixodbc libxkbcommon mariadb
|
||||||
|
|
||||||
name=qt5
|
name=qt5
|
||||||
version=5.7.0
|
version=5.9.1
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
_name=qt-everywhere-opensource-src-${version}
|
_name=qt-everywhere-opensource-src-${version}
|
||||||
|
|
||||||
source=(http://download.qt.io/official_releases/qt/${version%.*}/$version/single/qt-everywhere-opensource-src-$version.tar.xz
|
source=(http://download.qt.io/official_releases/qt/${version%.*}/$version/single/qt-everywhere-opensource-src-$version.tar.xz
|
||||||
assistant.desktop
|
qt5-logo.png)
|
||||||
designer.desktop
|
|
||||||
qdbusviewer.desktop
|
|
||||||
linguist.desktop)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
QT5PREFIX=/usr
|
|
||||||
QT5DIR=$QT5PREFIX/lib/qt5
|
|
||||||
QT5BINDIR=$QT5PREFIX/lib/qt5/bin
|
|
||||||
|
|
||||||
cd ${_name}*
|
cd ${_name}*
|
||||||
|
# Respect system CXX
|
||||||
|
[ "$CXX" ] || CXX=g++
|
||||||
|
sed -i "/^QMAKE_CXX\s/s|=.*|= $CXX|" qtbase/mkspecs/common/g++-base.conf
|
||||||
|
|
||||||
./configure -prefix $QT5PREFIX \
|
# Remove obsolete xorg path
|
||||||
-bindir $QT5BINDIR \
|
sed -i 's|X11R6/||g' qtbase/mkspecs/*/*.conf
|
||||||
-headerdir /usr/include/qt5 \
|
|
||||||
-archdatadir $QT5DIR \
|
# Respect system CXXFLAGS
|
||||||
-libdir /usr/lib \
|
sed -i "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CXXFLAGS}|" qtbase/mkspecs/common/gcc-base.conf
|
||||||
-docdir /usr/share/doc/qt5 \
|
|
||||||
-plugindir /usr/lib/qt5/plugins \
|
# Respect system LDFLAGS
|
||||||
-importdir /usr/lib/qt5/imports \
|
sed -i "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" qtbase/mkspecs/common/g++-unix.conf
|
||||||
-qmldir /usr/lib/qt5/qml \
|
|
||||||
|
export QTDIR="$PWD"
|
||||||
|
export LD_LIBRARY_PATH="$QTDIR/qtbase/lib:$QTDIR/qttools/lib:$LD_LIBRARY_PATH"
|
||||||
|
export QT_PLUGIN_PATH="$QTDIR/qtbase/plugins"
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
-prefix /usr/ \
|
||||||
|
-archdatadir /usr/lib/qt5 \
|
||||||
|
-bindir /usr/lib/qt5/bin \
|
||||||
-datadir /usr/share/qt5 \
|
-datadir /usr/share/qt5 \
|
||||||
-translationdir /usr/share/qt5/translations \
|
-docdir /usr/share/doc/qt5-$version \
|
||||||
-sysconfdir /etc/xdg \
|
-examplesdir /usr/share/doc/qt5-$version/examples \
|
||||||
-plugin-sql-{psql,mysql,sqlite,odbc} \
|
-headerdir /usr/include/qt5 \
|
||||||
|
-libdir /usr/lib \
|
||||||
|
-sysconfdir /usr/etc/xdg \
|
||||||
-confirm-license \
|
-confirm-license \
|
||||||
-opensource \
|
|
||||||
-dbus-linked \
|
-dbus-linked \
|
||||||
-openssl-linked \
|
-no-egl \
|
||||||
-system-harfbuzz \
|
|
||||||
-system-sqlite \
|
|
||||||
-optimized-qmake \
|
|
||||||
-nomake examples \
|
-nomake examples \
|
||||||
-no-rpath
|
-no-pch \
|
||||||
|
-no-rpath \
|
||||||
|
-no-separate-debug-info \
|
||||||
|
-no-strip \
|
||||||
|
-opengl desktop \
|
||||||
|
-opensource \
|
||||||
|
-openssl-linked \
|
||||||
|
-optimized-qmake \
|
||||||
|
-reduce-relocations \
|
||||||
|
-release \
|
||||||
|
-shared \
|
||||||
|
-skip qtwebengine
|
||||||
|
|
||||||
make
|
make
|
||||||
make INSTALL_ROOT=$PKG install
|
make -j1 INSTALL_ROOT=$PKG install
|
||||||
|
|
||||||
# Fix paths
|
# Fix paths
|
||||||
find $PKG/usr/lib -type f -name '*.prl' \
|
find $PKG/usr/lib/ -type f -name '*.prl' \
|
||||||
-exec sed -i -e '/^QmAKE_PRL_BUiLD_DiR/d' {} \;
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
|
||||||
|
|
||||||
sed -e "s|$PWD/qtbase|/usr/lib|g" \
|
sed -e "s|$PWD/qtbase|/usr/lib/qt5|g" \
|
||||||
-i $PKG/usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri
|
-i $PKG/usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri
|
||||||
|
|
||||||
install -d $PKG/usr/share/applications
|
rm -r $PKG/usr/share/doc
|
||||||
install -m644 $SRC/assistant.desktop $PKG/usr/share/applications/
|
|
||||||
install -m644 $SRC/designer.desktop $PKG/usr/share/applications/
|
|
||||||
install -m644 $SRC/linguist.desktop $PKG/usr/share/applications/
|
|
||||||
install -m644 $SRC/qdbusviewer.desktop $PKG/usr/share/applications/
|
|
||||||
|
|
||||||
mkdir -p $PKG/etc/profile.d
|
# Install useful symlinks
|
||||||
cat > $PKG/etc/profile.d/qt5.sh << EOf
|
install -d $PKG/usr/bin
|
||||||
# Begin /etc/profile.d/qt5.sh
|
for file in $PKG/usr/lib/qt5/bin/*; do
|
||||||
|
ln -s ../lib/qt5/bin/$(basename $file) $PKG/usr/bin/$(basename $file)-qt5
|
||||||
QT5PREFIX=$QT5PREFIX
|
|
||||||
QT5DIR=$QT5PREFIX/lib/qt5
|
|
||||||
QT5BINDIR=$QT5PREFIX/lib/qt5/bin
|
|
||||||
export QT5PREFIX QT5BINDIR QT5DIR
|
|
||||||
|
|
||||||
# End /etc/profile.d/qt5.sh
|
|
||||||
EOf
|
|
||||||
|
|
||||||
### symlink /usr/lib/qt5/bin
|
|
||||||
mkdir -p $PKG/usr/bin
|
|
||||||
|
|
||||||
for i in $PKG/usr/lib/qt5/bin/*; do
|
|
||||||
ln -sv /usr/lib/qt5/bin/$(basename $i) $PKG/usr/bin/$(basename $i)-qt5
|
|
||||||
done
|
done
|
||||||
|
|
||||||
cat > $PKG/usr/bin/setqt5 << EOF
|
# Add menu entries for all those hidden but great Qt applications:
|
||||||
if [ "x\$QT4BINDIR" != "x/usr/bin" ] && [ "x\$QT4BINDIR" != "x" ]; then pathremove $QT4BINDIR; fi
|
# # Qt5 logo:
|
||||||
if [ "x\$QT5BINDIR" != "x/usr/bin" ]; then pathprepend $QT5BINDIR; fi
|
install -d $PKG/usr/share/icons/hicolor/48x48/apps
|
||||||
echo \$PATH
|
|
||||||
|
install -m 0644 $SRC/qt5-logo.png $PKG/usr/share/icons/hicolor/48x48/apps/qt5-logo.png
|
||||||
|
|
||||||
|
# Assistant icons
|
||||||
|
install -m 0644 -D qttools/src/assistant/assistant/images/assistant.png $PKG/usr/share/icons/hicolor/32x32/apps/qt5-assistant.png
|
||||||
|
install -m 0644 -D qttools/src/assistant/assistant/images/assistant-128.png $PKG/usr/share/icons/hicolor/128x128/apps/qt5-assistant.png
|
||||||
|
|
||||||
|
# Designer icon
|
||||||
|
install -m 0644 -D qttools/src/designer/src/designer/images/designer.png $PKG/usr/share/icons/hicolor/128x128/apps/qt5-designer.png
|
||||||
|
|
||||||
|
# QDbusViewer icons
|
||||||
|
install -m 0644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer.png $PKG/usr/share/icons/hicolor/32x32/apps/qt5-qdbusviewer.png
|
||||||
|
install -m 0644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png $PKG/usr/share/icons/hicolor/128x128/apps/qt5-qdbusviewer.png
|
||||||
|
|
||||||
|
# Linguist icons
|
||||||
|
for icon in qttools/src/linguist/linguist/images/icons/linguist-*-32.png ; do
|
||||||
|
size=$(echo $(basename ${icon}) | cut -d- -f2)
|
||||||
|
install -m 0644 -D ${icon} $PKG/usr/share/icons/hicolor/${size}x${size}/apps/qt5-linguist.png
|
||||||
|
done
|
||||||
|
|
||||||
|
# And the .desktop files too:
|
||||||
|
install -d $PKG/usr/share/applications
|
||||||
|
cat <<EOF > $PKG/usr/share/applications/qt5-designer.desktop
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt5 Designer
|
||||||
|
GenericName=Interface Designer
|
||||||
|
Comment=Design GUIs for Qt5 applications
|
||||||
|
Exec=designer-qt5 -qt=5
|
||||||
|
Icon=qt5-designer
|
||||||
|
MimeType=application/x-designer;
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;
|
||||||
|
EOF
|
||||||
|
cat <<EOF > $PKG/usr/share/applications/qt5-assistant.desktop
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt5 Assistant
|
||||||
|
Comment=Shows Qt5 documentation and examples
|
||||||
|
Exec=assistant-qt5 -qt=5
|
||||||
|
Icon=qt5-assistant
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;Documentation;
|
||||||
|
EOF
|
||||||
|
cat <<EOF > $PKG/usr/share/applications/qt5-linguist.desktop
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt5 Linguist
|
||||||
|
Comment=Add translations to Qt5 applications
|
||||||
|
Exec=linguist-qt5 -qt=5
|
||||||
|
Icon=qt5-linguist
|
||||||
|
MimeType=text/vnd.trolltech.linguist;application/x-linguist;
|
||||||
|
Terminal=false
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;
|
||||||
|
EOF
|
||||||
|
cat <<EOF > $PKG/usr/share/applications/qt5-qdbusviewer.desktop
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Qt5 QDbusViewer
|
||||||
|
GenericName=Qt5 D-Bus Debugger
|
||||||
|
Comment=Debug D-Bus applications
|
||||||
|
Exec=qdbusviewer-qt5
|
||||||
|
Icon=qt5-qdbusviewer
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Qt;Development;Debugger;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
rm -rf $PKG/usr/share/doc
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Description: RDF / XML / N-Üçlülerini RDF üçlülerine ayrıştıran bir C kitaplığı
|
# Description: RDF / XML / N-Üçlülerini RDF üçlülerine ayrıştıran bir C kitaplığı
|
||||||
# URL: http://download.librdf.org/source/
|
# URL: http://download.librdf.org/source/
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: expat libxml2 curl icu
|
# Depends on: libxml2 icu
|
||||||
|
|
||||||
name=raptor
|
name=raptor
|
||||||
version=2.0.15
|
version=2.0.15
|
||||||
release=1
|
release=2
|
||||||
|
|
||||||
source=(http://librdf.org/dist/source/raptor2-$version.tar.gz)
|
source=(http://librdf.org/dist/source/raptor2-$version.tar.gz)
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,24 +1,36 @@
|
||||||
# Description: SQL veritabanı motoru
|
# Description: SQL veritabanı motoru
|
||||||
# URL: http://www.sqlite.org/
|
# URL: http://www.sqlite.org/
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: ncurses readline
|
# Depends on:
|
||||||
|
|
||||||
name=sqlite
|
name=sqlite
|
||||||
version=3.18.0
|
version=3.20.1
|
||||||
|
_srcver=3200100
|
||||||
release=1
|
release=1
|
||||||
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
||||||
|
|
||||||
source=(http://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
|
source=(http://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd sqlite-autoconf-${_version}
|
cd sqlite-autoconf-$_srcver
|
||||||
|
export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||||
CONFIG_SHELL=/bin/bash \
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||||
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
||||||
$CFLAGS" \
|
-DSQLITE_SECURE_DELETE \
|
||||||
./configure --prefix=/usr
|
-DSQLITE_MAX_VARIABLE_NUMBER=250000 \
|
||||||
|
-DSQLITE_MAX_EXPR_DEPTH=10000"
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--disable-static \
|
||||||
|
--disable-amalgamation \
|
||||||
|
--enable-fts3 \
|
||||||
|
--enable-fts4 \
|
||||||
|
--enable-fts5 \
|
||||||
|
--enable-rtree \
|
||||||
|
--enable-json1
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
# build additional tools
|
||||||
|
make
|
||||||
|
make DESTDIR=${PKG} install
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
name=webkit2gtk3
|
name=webkit2gtk3
|
||||||
version=2.17.4
|
version=2.17.4
|
||||||
release=1
|
release=2
|
||||||
|
|
||||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
|
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
|
||||||
build() {
|
build() {
|
||||||
|
|
38
talimatname/genel/webkitgtk2/icu59.patch
Normal file
38
talimatname/genel/webkitgtk2/icu59.patch
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
--- webkitgtk-2.16.1/Source/JavaScriptCore/API/JSStringRef.h.orig 2017-02-20 17:20:08.000000000 +0100
|
||||||
|
+++ webkitgtk-2.16.1/Source/JavaScriptCore/API/JSStringRef.h 2017-04-22 14:35:00.926530142 +0200
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
#include <stdbool.h>
|
||||||
|
#endif
|
||||||
|
#include <stddef.h> /* for size_t */
|
||||||
|
+#include <uchar.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
@@ -46,7 +47,7 @@
|
||||||
|
character. As with all scalar types, endianness depends on the underlying
|
||||||
|
architecture.
|
||||||
|
*/
|
||||||
|
- typedef unsigned short JSChar;
|
||||||
|
+ typedef char16_t JSChar;
|
||||||
|
#else
|
||||||
|
typedef wchar_t JSChar;
|
||||||
|
#endif
|
||||||
|
--- webkitgtk-2.16.1/Source/WebKit2/Shared/API/c/WKString.h.orig 2017-02-20 17:20:17.000000000 +0100
|
||||||
|
+++ webkitgtk-2.16.1/Source/WebKit2/Shared/API/c/WKString.h 2017-04-22 14:35:56.853196170 +0200
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
|
||||||
|
#include <WebKit/WKBase.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
+#include <uchar.h>
|
||||||
|
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#include <stdbool.h>
|
||||||
|
@@ -39,7 +40,7 @@
|
||||||
|
|
||||||
|
#if !defined(WIN32) && !defined(_WIN32) \
|
||||||
|
&& !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
|
||||||
|
- typedef unsigned short WKChar;
|
||||||
|
+ typedef char16_t WKChar;
|
||||||
|
#else
|
||||||
|
typedef wchar_t WKChar;
|
||||||
|
#endif
|
|
@ -1,20 +1,24 @@
|
||||||
# Description: WebKitGTK+, WebKit rendering motorunun tam özellikli bir portudur
|
# Description: WebKitGTK+, WebKit rendering motorunun tam özellikli bir portudur
|
||||||
# URL: http://webkitgtk.org/
|
# URL: http://webkitgtk.org/
|
||||||
# Packager: alihan-ozturk28@hotmail.com
|
# Packager: milisarge
|
||||||
# Depends on: libwebp libsecret geoclue gperf gtk2 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
|
# Depends on: libwebp libsecret geoclue gperf gtk2 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
|
||||||
|
|
||||||
name=webkitgtk2
|
name=webkitgtk2
|
||||||
version=2.4.11
|
version=2.4.11
|
||||||
release=1
|
release=2
|
||||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
|
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
||||||
|
webkitgtk-2.4.9-abs.patch
|
||||||
|
icu59.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd webkitgtk-$version
|
cd webkitgtk-$version
|
||||||
|
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
|
||||||
|
patch -Np1 -i ../icu59.patch
|
||||||
install -d build
|
install -d build
|
||||||
cd build
|
cd build
|
||||||
|
CXXFLAGS+=" -fno-delete-null-pointer-checks"
|
||||||
|
CFLAGS+=" -fno-delete-null-pointer-checks"
|
||||||
|
|
||||||
CXX="g++ -std=c++98"
|
|
||||||
../configure \
|
../configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--disable-geolocation \
|
--disable-geolocation \
|
||||||
|
@ -24,9 +28,12 @@ build() {
|
||||||
--enable-jit \
|
--enable-jit \
|
||||||
--libexecdir=/usr/lib/webkitgtk2 \
|
--libexecdir=/usr/lib/webkitgtk2 \
|
||||||
--with-gtk=2.0 \
|
--with-gtk=2.0 \
|
||||||
--disable-webkit2
|
--disable-webkit2 \
|
||||||
|
--disable-gtk-doc
|
||||||
|
|
||||||
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
||||||
make || make -j1
|
make
|
||||||
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
|
make -j1 DESTDIR=$PKG install
|
||||||
|
rm -rf $PKG/usr/share/gtk-doc
|
||||||
}
|
}
|
||||||
|
|
26
talimatname/genel/webkitgtk2/webkitgtk-2.4.9-abs.patch
Normal file
26
talimatname/genel/webkitgtk2/webkitgtk-2.4.9-abs.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp
|
||||||
|
--- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600
|
||||||
|
+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700
|
||||||
|
@@ -85,8 +85,8 @@
|
||||||
|
guint32 eventTime = getEventTime(event);
|
||||||
|
|
||||||
|
if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
|
||||||
|
- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
|
||||||
|
- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
|
||||||
|
+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
|
||||||
|
+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
|
||||||
|
&& (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime))
|
||||||
|
&& (buttonEvent->button == m_previousClickButton)))
|
||||||
|
m_currentClickCount++;
|
||||||
|
diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
|
||||||
|
--- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600
|
||||||
|
+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700
|
||||||
|
@@ -659,7 +659,7 @@
|
||||||
|
if (!std::isfinite(time))
|
||||||
|
return String::fromUTF8(_("indefinite time"));
|
||||||
|
|
||||||
|
- int seconds = static_cast<int>(abs(time));
|
||||||
|
+ int seconds = static_cast<int>(fabs(time));
|
||||||
|
int days = seconds / (60 * 60 * 24);
|
||||||
|
int hours = seconds / (60 * 60);
|
||||||
|
int minutes = (seconds / 60) % 60;
|
38
talimatname/genel/webkitgtk3/icu59.patch
Normal file
38
talimatname/genel/webkitgtk3/icu59.patch
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
--- webkitgtk-2.16.1/Source/JavaScriptCore/API/JSStringRef.h.orig 2017-02-20 17:20:08.000000000 +0100
|
||||||
|
+++ webkitgtk-2.16.1/Source/JavaScriptCore/API/JSStringRef.h 2017-04-22 14:35:00.926530142 +0200
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
#include <stdbool.h>
|
||||||
|
#endif
|
||||||
|
#include <stddef.h> /* for size_t */
|
||||||
|
+#include <uchar.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
@@ -46,7 +47,7 @@
|
||||||
|
character. As with all scalar types, endianness depends on the underlying
|
||||||
|
architecture.
|
||||||
|
*/
|
||||||
|
- typedef unsigned short JSChar;
|
||||||
|
+ typedef char16_t JSChar;
|
||||||
|
#else
|
||||||
|
typedef wchar_t JSChar;
|
||||||
|
#endif
|
||||||
|
--- webkitgtk-2.16.1/Source/WebKit2/Shared/API/c/WKString.h.orig 2017-02-20 17:20:17.000000000 +0100
|
||||||
|
+++ webkitgtk-2.16.1/Source/WebKit2/Shared/API/c/WKString.h 2017-04-22 14:35:56.853196170 +0200
|
||||||
|
@@ -28,6 +28,7 @@
|
||||||
|
|
||||||
|
#include <WebKit/WKBase.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
+#include <uchar.h>
|
||||||
|
|
||||||
|
#ifndef __cplusplus
|
||||||
|
#include <stdbool.h>
|
||||||
|
@@ -39,7 +40,7 @@
|
||||||
|
|
||||||
|
#if !defined(WIN32) && !defined(_WIN32) \
|
||||||
|
&& !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* RVCT */
|
||||||
|
- typedef unsigned short WKChar;
|
||||||
|
+ typedef char16_t WKChar;
|
||||||
|
#else
|
||||||
|
typedef wchar_t WKChar;
|
||||||
|
#endif
|
|
@ -5,16 +5,19 @@
|
||||||
|
|
||||||
name=webkitgtk3
|
name=webkitgtk3
|
||||||
version=2.4.11
|
version=2.4.11
|
||||||
release=1
|
release=2
|
||||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
||||||
webkitgtk-2.4.9-abs.patch)
|
webkitgtk-2.4.9-abs.patch
|
||||||
|
icu59.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd webkitgtk-$version
|
cd webkitgtk-$version
|
||||||
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
|
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
|
||||||
|
patch -Np1 -i ../icu59.patch
|
||||||
install -d build
|
install -d build
|
||||||
cd build
|
cd build
|
||||||
|
CXXFLAGS+=" -fno-delete-null-pointer-checks"
|
||||||
|
CFLAGS+=" -fno-delete-null-pointer-checks"
|
||||||
|
|
||||||
../configure \
|
../configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -24,8 +27,12 @@ build() {
|
||||||
--enable-video \
|
--enable-video \
|
||||||
--enable-jit \
|
--enable-jit \
|
||||||
--libexecdir=/usr/lib/webkitgtk3 \
|
--libexecdir=/usr/lib/webkitgtk3 \
|
||||||
--enable-introspection
|
--enable-introspection \
|
||||||
|
--disable-gtk-doc
|
||||||
|
|
||||||
make || make -j1
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
|
|
||||||
|
make
|
||||||
|
make -j1 DESTDIR=$PKG install
|
||||||
|
rm -rf $PKG/usr/share/gtk-doc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue