Merge pull request #43 from giresun28/master

kdenlive-libspectre.paketlendi
This commit is contained in:
Milis İşletim Sistemi 2016-08-01 03:35:06 +00:00 committed by GitHub
commit f6cf10fe36
11 changed files with 182 additions and 30 deletions

View File

@ -1,14 +0,0 @@
# Description: sistem
# URL: sistem
# Packager: milisarge
# Depends on: lmdb phonon-qt4 phonon-qt5 libdbusmenu-qt5 libmbim libqmi modemmanager noto-fonts media-player-info openexr
name=kde-sistem
version=1
release=1
source=(talimat)
build() {
echo "kde sistem"
}

View File

@ -1,7 +1,7 @@
# Description: A non-linear video editor for Linux using the MLT video framework
# URL: http://www.kdenlive.org/
# Packager: pierre at nutyx dot org
# Depends on: kf5-knewstuff kf5-kplotting kf5-knotifyconfig kf5-kded kf5-kfilemetadata qt5-webkit mlt xorg-glu sdl-image hicolor-icon-theme qt5 kf5-extra-cmake-modules kf5-kdoctools v4l-utils ffmpeg cdrkit libdv dvdauthor recordmydesktop xine-ui plasma-desktop
# Packager: alihan-ozturk28@hotmail.com
# Depends on: kf5-knewstuff kf5-kplotting kf5-knotifyconfig kf5-kded kf5-kfilemetadata qt5-webkit mlt xorg-glu sdl-image hicolor-icon-theme qt5 kf5-extra-cmake-modules kf5-kdoctools v4l-utils ffmpeg cdrkit libdv recordmydesktop xine-ui plasma-desktop
name=kdenlive
version=16.04.3

View File

@ -0,0 +1,41 @@
Fixed error namespace for >=ghostscript-gpl-9.18
https://bugs.gentoo.org/563540
--- libspectre-0.2.7/libspectre/spectre-gs.c
+++ libspectre-0.2.7/libspectre/spectre-gs.c
@@ -43,12 +43,12 @@
if (code <= -100) {
switch (code) {
- case e_Fatal:
+ case gs_error_Fatal:
fprintf (stderr, "fatal internal error %d", code);
return TRUE;
break;
- case e_ExecStackUnderflow:
+ case gs_error_ExecStackUnderflow:
fprintf (stderr, "stack overflow %d", code);
return TRUE;
break;
@@ -109,9 +109,9 @@
set = _spectre_strdup_printf ("%d %d translate\n", -x, -y);
error = gsapi_run_string_continue (ghostscript_instance, set, strlen (set),
0, &exit_code);
- error = error == e_NeedInput ? 0 : error;
+ error = error == gs_error_NeedInput ? 0 : error;
free (set);
- if (error != e_NeedInput && critic_error_code (error)) {
+ if (error != gs_error_NeedInput && critic_error_code (error)) {
fclose (fd);
return FALSE;
}
@@ -126,7 +126,7 @@
read = fread (buf, sizeof (char), to_read, fd);
error = gsapi_run_string_continue (ghostscript_instance,
buf, read, 0, &exit_code);
- error = error == e_NeedInput ? 0 : error;
+ error = error == gs_error_NeedInput ? 0 : error;
left -= read;
}

View File

@ -1,20 +1,22 @@
# Description: library for the made of documents postscript
# URL: http://libspectre.freedesktop.org/wiki/
# Packager: pierre at nutyx dot org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: ghostscript
name=libspectre
version=0.2.7
release=1
source=(http://libspectre.freedesktop.org/releases/$name-$version.tar.gz)
source=(http://libspectre.freedesktop.org/releases/$name-$version.tar.gz
libspectre-$version-ghostscript-9.18-1.patch)
build() {
cd $name-$version
patch -Np1 -i ../libspectre-$version-ghostscript-9.18-1.patch
./configure --prefix=/usr \
--disable-static
--disable-static
make
make DESTDIR=$PKG install
make DESTDIR=$PKG install
}

View File

@ -0,0 +1 @@
auth required pam_unix_auth.so

View File

@ -7,7 +7,8 @@ name=plasma-workspace
version=5.7.2
release=1
source=( http://download.kde.org/stable/plasma/$version/$name-$version.tar.xz)
source=( http://download.kde.org/stable/plasma/$version/$name-$version.tar.xz
kscreensaver.pam)
build() {
cd $name-$version
@ -20,8 +21,8 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr \
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/bin/
sed -i "s:qtpaths:&-qt5:g" $PKG/usr/bin/startkde
sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startkde
sed 's|qtpaths|qtpaths-qt5|' -i $PKG/usr/bin/startplasmacompositor
mkdir -p $PKG/etc/pam.d
@ -38,4 +39,6 @@ EOF
install -v -dm755 $PKG/usr/share/xsessions
ln -sfv /usr/share/xsessions/plasma.desktop $PKG/usr/share/xsessions/kf5-plasma.desktop
install -D -m644 $SRC/kscreensaver.pam $PKG/etc/pam.d/kscreensaver
}

View File

@ -4,7 +4,7 @@
# Depends on: qt5 desktop-file-utils hunspell qt5-webkit
name=qupzilla
version=1.8.9
version=2.0.1
release=1
source=( https://github.com/QupZilla/qupzilla/releases/download/v$version/QupZilla-$version.tar.xz)

View File

@ -0,0 +1,12 @@
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.kde.powerdevil.backlighthelper.") == 0 &&
subject.isInGroup("users")) {
return polkit.Result.YES;
}
});

View File

@ -0,0 +1,100 @@
[Autologin]
# Autologin again on session exit
Relogin=false
# Autologin session
Session=plasma.desktop
# Autologin user
User=
[General]
# Halt command
HaltCommand=/sbin/shutdown -h -P now
# Initial NumLock state
# Valid values: on|off|none
# If property is set to none, numlock won't be changed
Numlock=none
# Reboot command
RebootCommand=/sbin/shutdown -r now
[Theme]
# Current theme name
Current=breeze
# Cursor theme
CursorTheme=breeze_cursors
# Face icon directory
# The files should be in username.face.icon format
FacesDir=/usr/share/sddm/faces
# Theme directory path
ThemeDir=/usr/share/sddm/themes
[Users]
# Default $PATH
DefaultPath=/bin:/usr/bin:/usr/sbin:/usr/local/bin
# Hidden shells
# Users with these shells as their default won't be listed
HideShells=
# Hidden users
HideUsers=
# Maximum user id for displayed users
MaximumUid=65000
# Minimum user id for displayed users
MinimumUid=1000
# Remember the session of the last successfully logged in user
RememberLastSession=true
# Remember the last successfully logged in user
RememberLastUser=true
[WaylandDisplay]
# Wayland session script path
# A script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session
# Session description directory
SessionDir=/usr/share/wayland-sessions
[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup
# Xstop script path
# A script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
# Minimum VT
# The lowest virtual terminal number that will be used.
MinimumVT=1
# X server path
ServerPath=/usr/bin/X
# Xsession script path
# A script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession
# Session description directory
SessionDir=/usr/share/xsessions
# Xauth path
XauthPath=/usr/bin/xauth
# Xephyr path
XephyrPath=/usr/bin/Xephyr

View File

@ -1,3 +1,4 @@
. lib/lsb/init-functions
sed -i "s/^id:[3-5]/id:5/" etc/inittab
log_success_msg2 "Init default set to 5 in the ${WARNING}/etc/inittab ${NORMAL}file"
sed -i "s/^id:[3-5]/id:5/" /etc/inittab
echo "Init default set to 5 in the /etc/inittab file"
ln -s /etc/init.d/sddm /etc/rc.d/rc5.d/S90sddm

View File

@ -1,13 +1,15 @@
# Description : The SDDM package contains a lightweight display manager written in Qt and QML.
# URL: https://www.kde.org/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: cmake qt5 upower consolekit2
# Depends on: cmake qt5 upower consolekit2
name=sddm
release=1
version=0.13.0
source=( https://github.com/sddm/sddm/releases/download/v$version/${name}-$version.tar.xz)
source=( https://github.com/sddm/sddm/releases/download/v$version/${name}-$version.tar.xz
sddm.conf
10-backlight.rules)
build() {
source /etc/blfs-bootscripts
@ -24,6 +26,10 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr \
make
make DESTDIR=$PKG install
install -m 644 -p $SRC/sddm.conf $PKG/etc/
install -m 644 -p $SRC/10-backlight.rules $PKG/etc/polkit-1/rules.d/
install -v -dm755 -o sddm -g sddm /var/lib/sddm
cat > $PKG/etc/pam.d/sddm << "EOF"
# Begin /etc/pam.d/sddm