Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330958 Details for
Bug 445230
media-libs/mlt-0.8.6[qt4] - Make dependency on kde-base/kdelibs:4 optional.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to be applied on sources
mlt-0.8.6-kdelibs-automagic.patch (text/plain), 3.23 KB, created by
SÅ‚awomir Nizio
on 2012-11-29 17:55:58 UTC
(
hide
)
Description:
patch to be applied on sources
Filename:
MIME Type:
Creator:
SÅ‚awomir Nizio
Created:
2012-11-29 17:55:58 UTC
Size:
3.23 KB
patch
obsolete
>diff --git a/src/modules/qimage/configure b/src/modules/qimage/configure >index a75b75a..04a93d5 100755 >--- a/src/modules/qimage/configure >+++ b/src/modules/qimage/configure >@@ -12,6 +12,7 @@ QImage options: > --kde-includedir - Location of KDE include directory [/usr/include/kde] > --exif-libdir - Location of libexif lib directory [/usr/lib] > --exif-includedir - Location of libexif include directory [/usr/include/libexif] >+ --without-kde - Don't link to KDE libraries > > EOF > >@@ -42,6 +43,7 @@ else > > export force_qt3= > export qt4_found= >+ export without_kde= > > for i in "$@" > do >@@ -53,6 +55,7 @@ else > --exif-libdir=* ) exif_libdir="${i#--exif-libdir=}" ;; > --exif-includedir=* ) exif_includedir="${i#--exif-includedir=}" ;; > --force-qt3 ) force_qt3="true" ;; >+ --without-kde ) without_kde="true" ;; > esac > done > >@@ -112,7 +115,7 @@ else > echo QTLIBS=-L$qimage_libdir -lQtCore -lQtGui -lQtXml -lQtSvg >> config.mak > fi > else >- if [ -d "$kde_includedir" ] >+ if [ "$without_kde" = "" ] && [ -d "$kde_includedir" ] > then > echo "#define USE_KDE3" >> config.h > echo "USE_KDE3=1" >> config.mak >@@ -121,7 +124,7 @@ else > echo QTCXXFLAGS=-I$qimage_includedir -I$kde_includedir -DQT_THREAD_SUPPORT >> config.mak > echo QTLIBS=-L$qimage_libdir -L$kde_libdir -lqt-mt >> config.mak > else >- echo "qimage: KDE environment not found - disabling extra image formats" >+ echo "qimage: KDE environment not found or disabled by request - disabling extra image formats" > echo "#define USE_QT3" >> config.h > echo "USE_QT3=1" >> config.mak > echo QTCXXFLAGS=-I$qimage_includedir -DQT_THREAD_SUPPORT>> config.mak >@@ -144,26 +147,29 @@ else > fi > fi > >- kde4-config >- if [ $? -eq 0 ] && [ "$qt4_found" != "" ] >+ if [ "$without_kde" = "" ] > then >- # test if we have KDE4, required on some systems to get QImage extra formats (xcf, ...) >- if [ "$kde_includedir" = "" ] >+ kde4-config >+ if [ $? -eq 0 ] && [ "$qt4_found" != "" ] > then >- kde_includedir=`kde4-config --install include` >- fi >- if [ "$kde_libdir" = "" ] >- then >- kde_libdir=`kde4-config --install lib` >- fi >- if [ -d "$kde_includedir" ] && [ -d "$kde_libdir" ] >- then >- echo "KDE version 4.x detected, will enable extra image formats" >- echo "#define USE_KDE4" >> config.h >- echo "USE_KDE4=1" >> config.mak >- echo KDECXXFLAGS=-I$kde_includedir >> config.mak >- # the -L with kde4/devel is for Fedora >- echo KDELIBS=-L$kde_libdir -L${kde_libdir}/kde4/devel -lkdecore >> config.mak >+ # test if we have KDE4, required on some systems to get QImage extra formats (xcf, ...) >+ if [ "$kde_includedir" = "" ] >+ then >+ kde_includedir=`kde4-config --install include` >+ fi >+ if [ "$kde_libdir" = "" ] >+ then >+ kde_libdir=`kde4-config --install lib` >+ fi >+ if [ -d "$kde_includedir" ] && [ -d "$kde_libdir" ] >+ then >+ echo "KDE version 4.x detected, will enable extra image formats" >+ echo "#define USE_KDE4" >> config.h >+ echo "USE_KDE4=1" >> config.mak >+ echo KDECXXFLAGS=-I$kde_includedir >> config.mak >+ # the -L with kde4/devel is for Fedora >+ echo KDELIBS=-L$kde_libdir -L${kde_libdir}/kde4/devel -lkdecore >> config.mak >+ fi > fi > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 445230
:
330956
| 330958 |
330960
|
330966