paket-guncelleme
This commit is contained in:
parent
89fe2ee359
commit
3919beb9ef
|
@ -4,8 +4,8 @@
|
|||
# Depends on: icu python python3
|
||||
|
||||
name=boost
|
||||
version=1.60.0
|
||||
release=2
|
||||
version=1.65.1
|
||||
release=1
|
||||
_boostver=${version//./_}
|
||||
source=(https://downloads.sourceforge.net/project/${name}/${name}/${version}/${name}_${_boostver}.tar.bz2)
|
||||
|
||||
|
@ -48,7 +48,8 @@ build() {
|
|||
|
||||
./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3 \
|
||||
--with-libraries=python
|
||||
|
||||
|
||||
"${_stagedir}"/bin/b2 clean
|
||||
"${_stagedir}"/bin/b2 \
|
||||
variant=release \
|
||||
debug-symbols=off \
|
||||
|
|
|
@ -4,27 +4,19 @@
|
|||
# Depends on: rust cmake
|
||||
|
||||
name=cargo
|
||||
version=0.17.0
|
||||
version=0.21.1
|
||||
release=1
|
||||
|
||||
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)
|
||||
|
||||
build() {
|
||||
cd $name-$version/src/rust-installer
|
||||
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
|
||||
cd $name-$version/src/
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.crt
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -f $PKG/usr/lib/rustlib/{install.log,manifest-cargo,uninstall.sh,components,rust-installer-version}
|
||||
|
||||
install -d $PKG/usr/share/bash-completion/completions
|
||||
mv $PKG/usr/etc/bash_completion.d/cargo $PKG/usr/share/bash-completion/completions/cargo
|
||||
$SRC/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo build --release
|
||||
cd ..
|
||||
install -d $PKG/usr/bin
|
||||
install -d $PKG/usr/share/bash-completion/completions/
|
||||
cp target/release/cargo $PKG/usr/bin/
|
||||
cp $SRC/cargo-0.21.1/src/etc/cargo.bashcomp.sh $PKG/usr/share/bash-completion/completions/cargo
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
name=harfbuzz
|
||||
version=1.5.1
|
||||
release=1
|
||||
release=2
|
||||
source=(http://www.freedesktop.org/software/$name/release/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
|
|
|
@ -4,13 +4,20 @@
|
|||
# Depends on:
|
||||
|
||||
name=icu
|
||||
version=56.1
|
||||
version=59.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 () {
|
||||
cd $name/source
|
||||
CC=gcc CXX=g++ ./configure --prefix=/usr
|
||||
build() {
|
||||
cd icu/source
|
||||
|
||||
sed -i 's/xlocale/locale/' i18n/digitlst.cpp
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--sbindir=/usr/bin
|
||||
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
|
||||
|
||||
name=libtorrent-rasterbar
|
||||
version=1.1.0
|
||||
version=1.1.4
|
||||
_version=1_1_4
|
||||
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() {
|
||||
cd $name-$version
|
||||
cd libtorrent-libtorrent-$_version
|
||||
./autotool.sh
|
||||
patch -p1 -i $SRC/libtorrent-boost-1.65.patch
|
||||
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-python-binding
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
#CONFIG_SHELL=/bin/bash \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--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
|
||||
|
||||
# build python2 bindings (python3 bindings are built during 'make')
|
||||
python2 setup.py build
|
||||
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,15 +4,16 @@
|
|||
# Depends on: python
|
||||
|
||||
name=libxml2
|
||||
version=2.9.3
|
||||
version=2.9.5
|
||||
release=1
|
||||
|
||||
source=(ftp://xmlsoft.org/libxml2/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr \
|
||||
--disable-static --with-history
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr \
|
||||
--disable-static --with-history
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Depends on: pcre cmake libevent
|
||||
|
||||
name=mariadb
|
||||
version=10.2.6
|
||||
version=10.1.26
|
||||
release=1
|
||||
|
||||
source=(ftp://mirrors.fe.up.pt/pub/mariadb/mariadb-$version/source/mariadb-$version.tar.gz)
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
# Depends on:
|
||||
|
||||
name=nspr
|
||||
version=4.14
|
||||
version=4.16
|
||||
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 )
|
||||
build () {
|
||||
|
||||
cd $name-$version/$name
|
||||
|
|
|
@ -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ı
|
||||
# URL: http://qt-project.org/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5
|
||||
# Packager: milisarge
|
||||
# Depends on: cmake gstreamer1-plugins-base libwebp xorg-libxcomposite libxslt gstreamer1-plugins-good python ruby qt5 hyphen
|
||||
|
||||
name=qt5-webkit
|
||||
version=5.7.0
|
||||
_name=qtwebkit
|
||||
version=5.9.0
|
||||
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() {
|
||||
cd ${_namefqn}
|
||||
syncqt.pl-qt5 -version $version Source/sync.profile
|
||||
qmake-qt5
|
||||
|
||||
make
|
||||
make INSTALL_ROOT="$PKG" install
|
||||
cd $_name-opensource-src-$version
|
||||
patch -p1 -i $SRC/qt5-webkit-icu59.patch
|
||||
install -d build
|
||||
cd build
|
||||
qmake-qt5 ..
|
||||
make
|
||||
make INSTALL_ROOT=$PKG install
|
||||
|
||||
rm -rf /usr/share/doc
|
||||
find "$PKG/usr/lib" -type f -name '*.prl' \
|
||||
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||
|
||||
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
||||
find "$PKG/usr/lib" -type f -name '*.prl' \
|
||||
-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;
|
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
|
||||
# URL: http://qt-project.org/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# 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
|
||||
# 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
|
||||
|
||||
name=qt5
|
||||
version=5.7.0
|
||||
version=5.9.1
|
||||
release=1
|
||||
|
||||
_name=qt-everywhere-opensource-src-${version}
|
||||
|
||||
source=(http://download.qt.io/official_releases/qt/${version%.*}/$version/single/qt-everywhere-opensource-src-$version.tar.xz
|
||||
assistant.desktop
|
||||
designer.desktop
|
||||
qdbusviewer.desktop
|
||||
linguist.desktop)
|
||||
qt5-logo.png)
|
||||
|
||||
build() {
|
||||
|
||||
QT5PREFIX=/usr
|
||||
QT5DIR=$QT5PREFIX/lib/qt5
|
||||
QT5BINDIR=$QT5PREFIX/lib/qt5/bin
|
||||
|
||||
cd ${_name}*
|
||||
# Respect system CXX
|
||||
[ "$CXX" ] || CXX=g++
|
||||
sed -i "/^QMAKE_CXX\s/s|=.*|= $CXX|" qtbase/mkspecs/common/g++-base.conf
|
||||
|
||||
./configure -prefix $QT5PREFIX \
|
||||
-bindir $QT5BINDIR \
|
||||
-headerdir /usr/include/qt5 \
|
||||
-archdatadir $QT5DIR \
|
||||
-libdir /usr/lib \
|
||||
-docdir /usr/share/doc/qt5 \
|
||||
-plugindir /usr/lib/qt5/plugins \
|
||||
-importdir /usr/lib/qt5/imports \
|
||||
-qmldir /usr/lib/qt5/qml \
|
||||
-datadir /usr/share/qt5 \
|
||||
-translationdir /usr/share/qt5/translations \
|
||||
-sysconfdir /etc/xdg \
|
||||
-plugin-sql-{psql,mysql,sqlite,odbc} \
|
||||
-confirm-license \
|
||||
-opensource \
|
||||
-dbus-linked \
|
||||
-openssl-linked \
|
||||
-system-harfbuzz \
|
||||
-system-sqlite \
|
||||
-optimized-qmake \
|
||||
-nomake examples \
|
||||
-no-rpath
|
||||
# Remove obsolete xorg path
|
||||
sed -i 's|X11R6/||g' qtbase/mkspecs/*/*.conf
|
||||
|
||||
make
|
||||
make INSTALL_ROOT=$PKG install
|
||||
# Respect system CXXFLAGS
|
||||
sed -i "s|^\(QMAKE_CFLAGS_RELEASE.*\)|\1 ${CXXFLAGS}|" qtbase/mkspecs/common/gcc-base.conf
|
||||
|
||||
# Fix paths
|
||||
find $PKG/usr/lib -type f -name '*.prl' \
|
||||
-exec sed -i -e '/^QmAKE_PRL_BUiLD_DiR/d' {} \;
|
||||
|
||||
sed -e "s|$PWD/qtbase|/usr/lib|g" \
|
||||
-i $PKG/usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri
|
||||
# Respect system LDFLAGS
|
||||
sed -i "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" qtbase/mkspecs/common/g++-unix.conf
|
||||
|
||||
install -d $PKG/usr/share/applications
|
||||
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/
|
||||
export QTDIR="$PWD"
|
||||
export LD_LIBRARY_PATH="$QTDIR/qtbase/lib:$QTDIR/qttools/lib:$LD_LIBRARY_PATH"
|
||||
export QT_PLUGIN_PATH="$QTDIR/qtbase/plugins"
|
||||
|
||||
mkdir -p $PKG/etc/profile.d
|
||||
cat > $PKG/etc/profile.d/qt5.sh << EOf
|
||||
# Begin /etc/profile.d/qt5.sh
|
||||
./configure \
|
||||
-prefix /usr/ \
|
||||
-archdatadir /usr/lib/qt5 \
|
||||
-bindir /usr/lib/qt5/bin \
|
||||
-datadir /usr/share/qt5 \
|
||||
-docdir /usr/share/doc/qt5-$version \
|
||||
-examplesdir /usr/share/doc/qt5-$version/examples \
|
||||
-headerdir /usr/include/qt5 \
|
||||
-libdir /usr/lib \
|
||||
-sysconfdir /usr/etc/xdg \
|
||||
-confirm-license \
|
||||
-dbus-linked \
|
||||
-no-egl \
|
||||
-nomake examples \
|
||||
-no-pch \
|
||||
-no-rpath \
|
||||
-no-separate-debug-info \
|
||||
-no-strip \
|
||||
-opengl desktop \
|
||||
-opensource \
|
||||
-openssl-linked \
|
||||
-optimized-qmake \
|
||||
-reduce-relocations \
|
||||
-release \
|
||||
-shared \
|
||||
-skip qtwebengine
|
||||
|
||||
QT5PREFIX=$QT5PREFIX
|
||||
QT5DIR=$QT5PREFIX/lib/qt5
|
||||
QT5BINDIR=$QT5PREFIX/lib/qt5/bin
|
||||
export QT5PREFIX QT5BINDIR QT5DIR
|
||||
make
|
||||
make -j1 INSTALL_ROOT=$PKG install
|
||||
|
||||
# Fix paths
|
||||
find $PKG/usr/lib/ -type f -name '*.prl' \
|
||||
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
|
||||
|
||||
sed -e "s|$PWD/qtbase|/usr/lib/qt5|g" \
|
||||
-i $PKG/usr/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri
|
||||
|
||||
# End /etc/profile.d/qt5.sh
|
||||
EOf
|
||||
rm -r $PKG/usr/share/doc
|
||||
|
||||
### symlink /usr/lib/qt5/bin
|
||||
mkdir -p $PKG/usr/bin
|
||||
# Install useful symlinks
|
||||
install -d $PKG/usr/bin
|
||||
for file in $PKG/usr/lib/qt5/bin/*; do
|
||||
ln -s ../lib/qt5/bin/$(basename $file) $PKG/usr/bin/$(basename $file)-qt5
|
||||
done
|
||||
|
||||
for i in $PKG/usr/lib/qt5/bin/*; do
|
||||
ln -sv /usr/lib/qt5/bin/$(basename $i) $PKG/usr/bin/$(basename $i)-qt5
|
||||
done
|
||||
# Add menu entries for all those hidden but great Qt applications:
|
||||
# # Qt5 logo:
|
||||
install -d $PKG/usr/share/icons/hicolor/48x48/apps
|
||||
|
||||
cat > $PKG/usr/bin/setqt5 << EOF
|
||||
if [ "x\$QT4BINDIR" != "x/usr/bin" ] && [ "x\$QT4BINDIR" != "x" ]; then pathremove $QT4BINDIR; fi
|
||||
if [ "x\$QT5BINDIR" != "x/usr/bin" ]; then pathprepend $QT5BINDIR; fi
|
||||
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
|
||||
|
||||
rm -rf $PKG/usr/share/doc
|
||||
|
||||
}
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
# Description: RDF / XML / N-Üçlülerini RDF üçlülerine ayrıştıran bir C kitaplığı
|
||||
# URL: http://download.librdf.org/source/
|
||||
# Packager: milisarge
|
||||
# Depends on: expat libxml2 curl icu
|
||||
# Depends on: libxml2 icu
|
||||
|
||||
name=raptor
|
||||
version=2.0.15
|
||||
release=1
|
||||
release=2
|
||||
|
||||
source=(http://librdf.org/dist/source/raptor2-$version.tar.gz)
|
||||
build() {
|
||||
cd raptor2-$version
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-icu-config=/usr/bin/icu-config
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cd raptor2-$version
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-icu-config=/usr/bin/icu-config
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
|
|
@ -1,24 +1,36 @@
|
|||
# Description: SQL veritabanı motoru
|
||||
# URL: http://www.sqlite.org/
|
||||
# Packager: milisarge
|
||||
# Depends on: ncurses readline
|
||||
# Depends on:
|
||||
|
||||
name=sqlite
|
||||
version=3.18.0
|
||||
version=3.20.1
|
||||
_srcver=3200100
|
||||
release=1
|
||||
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
||||
|
||||
source=(http://www.sqlite.org/2017/sqlite-autoconf-${_version}.tar.gz)
|
||||
|
||||
build () {
|
||||
cd sqlite-autoconf-${_version}
|
||||
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
$CFLAGS" \
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
build() {
|
||||
cd sqlite-autoconf-$_srcver
|
||||
export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
-DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
|
||||
-DSQLITE_SECURE_DELETE \
|
||||
-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
|
||||
# build additional tools
|
||||
make
|
||||
make DESTDIR=${PKG} install
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
name=webkit2gtk3
|
||||
version=2.17.4
|
||||
release=1
|
||||
release=2
|
||||
|
||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
|
||||
build() {
|
||||
|
|
|
@ -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
|
||||
# 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
|
||||
|
||||
name=webkitgtk2
|
||||
version=2.4.11
|
||||
release=1
|
||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
|
||||
release=2
|
||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
||||
webkitgtk-2.4.9-abs.patch
|
||||
icu59.patch)
|
||||
|
||||
build() {
|
||||
cd webkitgtk-$version
|
||||
|
||||
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
|
||||
patch -Np1 -i ../icu59.patch
|
||||
install -d build
|
||||
cd build
|
||||
|
||||
CXX="g++ -std=c++98"
|
||||
CXXFLAGS+=" -fno-delete-null-pointer-checks"
|
||||
CFLAGS+=" -fno-delete-null-pointer-checks"
|
||||
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--disable-geolocation \
|
||||
|
@ -24,9 +28,12 @@ build() {
|
|||
--enable-jit \
|
||||
--libexecdir=/usr/lib/webkitgtk2 \
|
||||
--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 DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
|
||||
make
|
||||
make -j1 DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
|
|
@ -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;
|
|
@ -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
|
||||
version=2.4.11
|
||||
release=1
|
||||
release=2
|
||||
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
||||
webkitgtk-2.4.9-abs.patch)
|
||||
webkitgtk-2.4.9-abs.patch
|
||||
icu59.patch)
|
||||
|
||||
build() {
|
||||
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
|
||||
cd build
|
||||
CXXFLAGS+=" -fno-delete-null-pointer-checks"
|
||||
CFLAGS+=" -fno-delete-null-pointer-checks"
|
||||
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
|
@ -24,8 +27,12 @@ build() {
|
|||
--enable-video \
|
||||
--enable-jit \
|
||||
--libexecdir=/usr/lib/webkitgtk3 \
|
||||
--enable-introspection
|
||||
--enable-introspection \
|
||||
--disable-gtk-doc
|
||||
|
||||
make || make -j1
|
||||
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
|
||||
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
|
||||
make
|
||||
make -j1 DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share/gtk-doc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue