kdenlive-libspectre.paketlendi
This commit is contained in:
parent
cff6e09e72
commit
cebe5405ef
|
@ -1,7 +1,7 @@
|
||||||
# Description: A non-linear video editor for Linux using the MLT video framework
|
# Description: A non-linear video editor for Linux using the MLT video framework
|
||||||
# URL: http://www.kdenlive.org/
|
# URL: http://www.kdenlive.org/
|
||||||
# Packager: pierre at nutyx dot org
|
# 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 dvdauthor recordmydesktop xine-ui plasma-desktop
|
# 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
|
name=kdenlive
|
||||||
version=16.04.3
|
version=16.04.3
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
|
@ -1,20 +1,22 @@
|
||||||
# Description: library for the made of documents postscript
|
# Description: library for the made of documents postscript
|
||||||
# URL: http://libspectre.freedesktop.org/wiki/
|
# URL: http://libspectre.freedesktop.org/wiki/
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: alihan-ozturk28@hotmail.com
|
||||||
# Depends on: ghostscript
|
# Depends on: ghostscript
|
||||||
|
|
||||||
name=libspectre
|
name=libspectre
|
||||||
version=0.2.7
|
version=0.2.7
|
||||||
release=1
|
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() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
patch -Np1 -i ../libspectre-$version-ghostscript-9.18-1.patch
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue