Merge pull request #28 from giresun28/master

sddm.paketlendi
This commit is contained in:
Milis İşletim Sistemi 2016-07-23 11:09:51 +00:00 committed by GitHub
commit 8f60255617
6 changed files with 67 additions and 34 deletions

View File

@ -1,8 +1,6 @@
. lib/lsb/init-functions
if [ ! -z "`cards list|grep lxdm\ `" ]; then
log_failure_msg "${WARNING}lxdm${NORMAL} should be removed"
exit 1
fi
echo "Lxdm sistemden kaldırılıyor."
mps -s sddm
if ! getent group sddm > /dev/null; then
groupadd -g 64 --system sddm
@ -12,5 +10,5 @@ if ! getent passwd sddm > /dev/null; then
passwd -l sddm > /dev/null
fi
mkdir -p var/lib/sddm
chown -R sddm:sddm var/lib/sddm > /dev/null
mkdir -p /var/lib/sddm
chown -R sddm:sddm /var/lib/sddm > /dev/null

View File

@ -1,11 +1,11 @@
# Description : The SDDM package contains a lightweight display manager written in Qt and QML.
# URL: https://www.kde.org/
# Packager: pierre at nutyx dot org, fanch at nutyx dot org, tnut at nutyx dot org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: cmake qt5 upower consolekit2
run=(consolekit2)
name=sddm
release=1
version=0.12.0
version=0.13.0
source=( https://github.com/sddm/sddm/releases/download/v$version/${name}-$version.tar.xz)

View File

@ -1,10 +1,10 @@
# Description: Port of the portable web rendering engine WebKit to the GTK+ 2 and 3 platforms.
# URL: http://webkitgtk.org/
# Packager: pierre at nutyx dot org
# Depends on: enchant cmake gstreamer1-plugins-base xorg-libxt gtk2 gtk3 hunspell hyphen icu libgudev libsecret libsoup libwebp xorg-mesa ruby sqlite enchant geoclue gobject-introspection hicolor-icon-theme llvm harfbuzz gtk-doc libnotify
# Packager: alihan-ozturk28@hotmail.com
# Depends on: enchant cmake gstreamer1-plugins-base xorg-libxt gtk2 gtk3 hunspell icu libgudev libsecret libsoup libwebp xorg-mesa ruby sqlite geoclue gobject-introspection hicolor-icon-theme llvm harfbuzz libnotify
name=webkit2gtk3
version=2.10.7
version=2.12.3
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
@ -20,6 +20,7 @@ cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DPORT=GTK \
-DUSE_LIBHYPHEN=OFF \
-DLIB_INSTALL_DIR=/usr/lib \
-DENABLE_MINIBROWSER=ON \
-Wno-dev ..
@ -27,9 +28,4 @@ cmake -DCMAKE_BUILD_TYPE=Release \
make || make -j1
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
install -vdm755 $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
install -vm644 ../Documentation/webkit2gtk-4.0/html/* \
$PKG/usr/share/gtk-doc/html/webkit2gtk-4.0
install -vm644 ../Documentation/webkitdomgtk-4.0/html/* \
$PKG/usr/share/gtk-doc/html/webkit2gtk-4.0
}

View File

@ -1,22 +1,32 @@
# Description: engine of made Web free for the browsers web version 1
# URL: http://webkitgtk.org/
# Packager: pierre at nutyx dot org
# Depends on: libwebp libsecret geoclue gperf gtk2 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby gtk-doc
# Packager: alihan-ozturk28@hotmail.com
# Depends on: libwebp libsecret geoclue gperf gtk2 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
name=webkitgtk2
version=2.4.9
version=2.4.11
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
build() {
cd webkitgtk-$version
sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in
cd webkitgtk-$version
mkdir -vp build-1
install -d build
cd build
CXX="g++ -std=c++98"
../configure \
--prefix=/usr \
--disable-geolocation \
--disable-gtk-doc-html \
--disable-silent-rules \
--enable-video \
--enable-jit \
--libexecdir=/usr/lib/webkitgtk2 \
--with-gtk=2.0 \
--disable-webkit2
cp -a Documentation build-1
cd build-1
../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2
make || make -j1
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
}

View File

@ -1,15 +1,17 @@
# Description: Small, efficient and fast rendering engine for Web Browsers.
# URL: http://www.webkitgtk.org/
# Packager: milisarge
# Depends on: enchant xorg-glu gperf gstreamer-plugins-base gtk2 gtk3 harfbuzz icu libsecret libsoup libwebp ruby shared-mime-info xorg-libxt
# Depends on: libwebp libsecret geoclue gperf gtk2 gtk3 curl dbus gstreamer1-plugins-base icu enchant libsoup libxslt xorg-libxt ruby
name=webkitgtk3
version=2.4.11
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
webkitgtk-2.4.9-abs.patch)
build() {
cd webkitgtk-$version
patch -Np1 -i ../webkitgtk-2.4.9-abs.patch
install -d build
cd build
@ -21,8 +23,9 @@ build() {
--disable-silent-rules \
--enable-video \
--enable-jit \
--libexecdir=/usr/lib/webkitgtk3
make
make DESTDIR=$PKG install
--libexecdir=/usr/lib/webkitgtk3 \
--enable-introspection
make || make -j1
make DESTDIR=$PKG install || make -j1 DESTDIR=$PKG install
}

View 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;