summaryrefslogtreecommitdiff
path: root/source/kde/kdegraphics
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdegraphics')
-rwxr-xr-xsource/kde/kdegraphics/kdegraphics.SlackBuild5
-rw-r--r--source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff13
-rw-r--r--source/kde/kdegraphics/local.options1
-rw-r--r--source/kde/kdegraphics/slack-desc6
4 files changed, 21 insertions, 4 deletions
diff --git a/source/kde/kdegraphics/kdegraphics.SlackBuild b/source/kde/kdegraphics/kdegraphics.SlackBuild
index 50447b3f..a33ffbcc 100755
--- a/source/kde/kdegraphics/kdegraphics.SlackBuild
+++ b/source/kde/kdegraphics/kdegraphics.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -47,6 +47,8 @@ echo "Building kdegraphics-$VERSION..."
tar xvf $CWD/../src/kdegraphics-$VERSION.tar.?z* || exit 1
cd kdegraphics-$VERSION
+zcat $CWD/kdegraphics.gwenview.jpeg8.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -57,6 +59,7 @@ find . \
mkdir -p build
cd build
cmake \
+ $KDE_OPT_ARGS \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
diff --git a/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff b/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff
new file mode 100644
index 00000000..8d509f4d
--- /dev/null
+++ b/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff
@@ -0,0 +1,13 @@
+--- ./gwenview/lib/jpegcontent.cpp.orig 2009-05-14 12:26:10.000000000 -0500
++++ ./gwenview/lib/jpegcontent.cpp 2010-05-17 21:08:10.000000000 -0500
+@@ -455,9 +455,8 @@
+
+ // Init transformation
+ jpeg_transform_info transformoption;
++ memset(&transformoption, 0, sizeof(jpeg_transform_info));
+ transformoption.transform = findJxform(d->mTransformMatrix);
+- transformoption.force_grayscale = false;
+- transformoption.trim = false;
+ jtransform_request_workspace(&srcinfo, &transformoption);
+
+ /* Read source file as DCT coefficients */
diff --git a/source/kde/kdegraphics/local.options b/source/kde/kdegraphics/local.options
new file mode 100644
index 00000000..aae3c765
--- /dev/null
+++ b/source/kde/kdegraphics/local.options
@@ -0,0 +1 @@
+BUILD=2
diff --git a/source/kde/kdegraphics/slack-desc b/source/kde/kdegraphics/slack-desc
index a06b949e..7184942e 100644
--- a/source/kde/kdegraphics/slack-desc
+++ b/source/kde/kdegraphics/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
kdegraphics: kdegraphics (KDE graphics programs)
kdegraphics:
-kdegraphics: Graphics programs for KDE, including gwenview, kcolorchooser,
-kdegraphics: kbackgroundsnapshot, kolourpaint, kruler, ksnapshot, okular, and
-kdegraphics: xf86gammacfg.
+kdegraphics: Graphics programs for the KDE Software Compilation, including
+kdegraphics: gwenview, kcolorchooser, kbackgroundsnapshot, kolourpaint, kruler,
+kdegraphics: ksnapshot, okular, and xf86gammacfg.
kdegraphics:
kdegraphics:
kdegraphics: