Error when compiling gtk-qt-engine
Finally got around to installing Slackware on my desktop. Gone well so far, but I ran into my first problem! I'm not a big fan of the GTK2 look on all my applications, so I am trying to install gtk-qt-engine using sbopkg. Well, I get this error:
Code:
Ignoring potentially dangerous file name /tmp/SBo/gtk-qt-engine/src/qt_theme_draw.c |
Notice this line in the build script:
# Patch the source so it won't break while building patch -p0 < $CWD/include.patch Return to the slackbuilds,org web site and download the patch. :) http://slackbuilds.org/repository/13...gtk-qt-engine/ Patch: http://slackbuilds.org/slackbuilds/1.../include.patch |
Would have never guessed to look inside the actual script...
Well, where do I put this patch? In the directory where the slackbuild is? |
Yes, download and store to the same directory as the build script and tarball sources. :)
|
Quote:
Before: Code:
diff -Naur /tmp/SBo/gtk-qt-engine.orig/src/qt_theme_draw.c /tmp/SBo/gtk-qt-engine/src/qt_theme_draw.c Code:
# Patch the source so it won't break while building After: Code:
diff -Naur gtk-qt-engine.orig/src/qt_theme_draw.c gtk-qt-engine/src/qt_theme_draw.c Code:
# Patch the source so it won't break while building |
Maybe try this in the SlackBuild:
Code:
# Patch the source so it won't break while building Code:
--- qt_theme_draw.c-orig 2012-09-19 22:28:33.713964000 +0700 |
The recent patch*.txz package no longer allows absolute file names of the file to patch, if i understand the changelog about it correctly. The other problem is the glist.h include is an error.
|
Quote:
|
All times are GMT -5. The time now is 08:47 PM. |