FreeBSD Bugzilla – Attachment 148639 Details for
Bug 194595
[PATCH] graphics/luminance-qt5: Add missing dependencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
luminance-qt5-add-missing-dependencies.patch (text/plain), 4.15 KB, created by
Raphael Kubo da Costa
on 2014-10-25 13:58:04 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Raphael Kubo da Costa
Created:
2014-10-25 13:58:04 UTC
Size:
4.15 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 371478) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= luminance-hdr > DISTVERSION= 2.4.0 >-PORTREVISION= 4 >+PORTREVISION= 5 > CATEGORIES= graphics > MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} > PKGNAMESUFFIX= -qt5 >@@ -23,9 +23,10 @@ > libraw_r.so:${PORTSDIR}/graphics/libraw \ > libboost_system.so:${PORTSDIR}/devel/boost-libs > >-USES= cmake:outsource tar:bzip2 >-USE_QT5= buildtools_build gui sql webkit xml linguist_build \ >- imageformats_run concurrent qmake_build >+USES= cmake:outsource pkgconfig tar:bzip2 >+USE_QT5= concurrent declarative gui printsupport sql webkit xml \ >+ buildtools_build linguist_build qmake_build \ >+ imageformats_run > INSTALLS_ICONS= yes > > MAKE_JOBS_UNSAFE=yes >Index: files/patch-git_07e36ef8 >=================================================================== >--- files/patch-git_07e36ef8 (revision 0) >+++ files/patch-git_07e36ef8 (working copy) >@@ -0,0 +1,87 @@ >+This is a bug fix commit required to make the port work correctly with Qt 5.3. >+ >+commit 07e36ef892343b01bf13545866823e6a55044382 >+Author: Davide Anastasia <davide.anastasia@gmail.com> >+Date: Mon Sep 29 08:06:15 2014 +0100 >+ >+ Fix QPrinter support >+ >+--- CMakeLists.txt >++++ CMakeLists.txt >+@@ -18,19 +18,20 @@ include(cmake/Internationalization.cmake) >+ # to always look for includes there: >+ #set(CMAKE_INCLUDE_CURRENT_DIR ON) >+ >+-find_package(Qt5Core) >+-find_package(Qt5Concurrent) >+-find_package(Qt5Widgets) >+-find_package(Qt5Gui) >+-find_package(Qt5Declarative) >+-find_package(Qt5WebKit) >+-find_package(Qt5WebKitWidgets) >+-find_package(Qt5Xml) >+-find_package(Qt5Sql) >+-find_package(Qt5Network) >+-find_package(Qt5LinguistTools) >++find_package(Qt5Core REQUIRED) >++find_package(Qt5Concurrent REQUIRED) >++find_package(Qt5Widgets REQUIRED) >++find_package(Qt5Gui REQUIRED) >++find_package(Qt5Declarative REQUIRED) >++find_package(Qt5WebKit REQUIRED) >++find_package(Qt5WebKitWidgets REQUIRED) >++find_package(Qt5Xml REQUIRED) >++find_package(Qt5Sql REQUIRED) >++find_package(Qt5Network REQUIRED) >++find_package(Qt5LinguistTools REQUIRED) >++find_package(Qt5PrintSupport REQUIRED) >+ IF(WIN32) >+- find_package(Qt5WinExtras) >++ find_package(Qt5WinExtras) >+ ENDIF() >+ >+ # Include the qtmain lib if we are on the windows platform >+--- src/HelpBrowser/CMakeLists.txt >++++ src/HelpBrowser/CMakeLists.txt >+@@ -27,9 +27,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) >+ QT5_WRAP_CPP(FILES_MOC ${FILES_H}) >+ QT5_WRAP_UI(FILES_UI_H ${FILES_UI}) >+ >+- >+ ADD_LIBRARY(helpbrowser ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_UI_H} ${FILES_HXX}) >+-qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets) >++qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets PrintSupport) >+ >+ SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE) >+ SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} helpbrowser PARENT_SCOPE) >+--- src/HelpBrowser/helpbrowser.cpp >++++ src/HelpBrowser/helpbrowser.cpp >+@@ -30,6 +30,7 @@ for which a new license (GPL+exception) is in place. >+ #include "ui_HelpBrowser.h" >+ #include "ui_HelpSideBar.h" >+ >++#include <QDebug> >+ #include <QAction> >+ #include <QBuffer> >+ #include <QDir> >+@@ -45,8 +46,6 @@ for which a new license (GPL+exception) is in place. >+ #include <QModelIndex> >+ #include <QModelIndexList> >+ #include <QPainter> >+-#include <QPrinter> >+-#include <QPrintDialog> >+ #include <QProcess> >+ #include <QPushButton> >+ #include <QString> >+@@ -56,7 +55,10 @@ for which a new license (GPL+exception) is in place. >+ #include <QXmlDefaultHandler> >+ #include <QDesktopServices> >+ >+-#include <QDebug> >++#include <QtPrintSupport/QPrinter> >++#include <QtPrintSupport/QPrintDialog> >++ >++ >+ >+ #include "Common/global.h" >+ #include "HelpBrowser/schelptreemodel.h" > >Property changes on: files/patch-git_07e36ef8 >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
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 194595
: 148639