diff options
author | kmoore <kmoore@FreeBSD.org> | 2009-06-17 23:06:49 +0800 |
---|---|---|
committer | kmoore <kmoore@FreeBSD.org> | 2009-06-17 23:06:49 +0800 |
commit | 9a8b31d7ccd1ce186e397c93b01e3db17cb88c8b (patch) | |
tree | bf71c587b2f7b62701b0be29dc426848a5ab0187 /graphics | |
parent | 862b8d0e7583f567727ef5eb98e45f9110b69ef4 (diff) | |
download | freebsd-ports-gnome-9a8b31d7ccd1ce186e397c93b01e3db17cb88c8b.tar.gz freebsd-ports-gnome-9a8b31d7ccd1ce186e397c93b01e3db17cb88c8b.tar.zst freebsd-ports-gnome-9a8b31d7ccd1ce186e397c93b01e3db17cb88c8b.zip |
- Add missing patch data
Approved by: miwi (mentor)
Diffstat (limited to 'graphics')
3 files changed, 105 insertions, 0 deletions
diff --git a/graphics/kipi-plugins-kde4/files/patch-cmake__modules__FindGdk.cmake b/graphics/kipi-plugins-kde4/files/patch-cmake__modules__FindGdk.cmake new file mode 100644 index 000000000000..75ae8f40124b --- /dev/null +++ b/graphics/kipi-plugins-kde4/files/patch-cmake__modules__FindGdk.cmake @@ -0,0 +1,48 @@ +--- ./cmake/modules/FindGdk.cmake.orig 2009-03-17 04:52:18.000000000 -0400 ++++ ./cmake/modules/FindGdk.cmake 2009-06-08 04:44:58.000000000 -0400 +@@ -16,33 +16,23 @@ + if(NOT WIN32) + # use pkg-config to get the directories and then use these values + # in the FIND_PATH() and FIND_LIBRARY() calls +- INCLUDE(UsePkgConfig) +- +- PKGCONFIG(gdk-pixbuf-2.0 _GDKIncDir _GDKLinkDir _GDKLinkFlags _GDKCflags) +- +- set(GDK_DEFINITIONS ${_GDKCflags}) ++ INCLUDE(FindPkgConfig) ++ PKG_CHECK_MODULES(GDK gdk-pixbuf-2.0) ++ + endif(NOT WIN32) + +- FIND_PATH(GDK_INCLUDE_DIR gdk-pixbuf/gdk-pixbuf.h /usr/include/gtk-2.0 +- ${_GDKIncDir} +- ) ++ FIND_PATH(GDK_INCLUDE_DIR NAMES gdk-pixbuf/gdk-pixbuf.h ++ PATHS ${GDK_INCLUDE_DIRS} PATH_SUFFIXES gtk-2.0) + +- FIND_LIBRARY(GDK_LIBRARIES NAMES gdk_pixbuf-2.0 +- PATHS +- ${_GDKLinkDir} +- ) +- +- if (GDK_INCLUDE_DIR AND GDK_LIBRARIES) +- SET(GDK_FOUND TRUE) +- else (GDK_INCLUDE_DIR AND GDK_LIBRARIES) +- SET(GDK_FOUND FALSE) +- endif (GDK_INCLUDE_DIR AND GDK_LIBRARIES) ++ FIND_LIBRARY(GDK_LIBRARY NAMES gdk_pixbuf-2.0 PATHS ${GDK_LIBRARY_DIRS}) + + include(FindPackageHandleStandardArgs) +- FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gdk DEFAULT_MSG GDK_INCLUDE_DIR GDK_LIBRARIES ) ++ FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gdk DEFAULT_MSG GDK_INCLUDE_DIR GDK_LIBRARY) ++ ++ IF(GDK_FOUND) ++ SET(GDK_LIBRARIES ${GDK_LIBRARY}) ++ ENDIF(GDK_FOUND) + +- MARK_AS_ADVANCED(GDK_INCLUDE_DIR GDK_LIBRARIES) ++ MARK_AS_ADVANCED(GDK_INCLUDE_DIR GDK_LIBRARY) + + endif (GDK_INCLUDE_DIR AND GDK_LIBRARIES) +- +-macro_bool_to_01(GDK_FOUND GDK_FOUND) diff --git a/graphics/kipi-plugins-kde4/files/patch-cmake__modules__FindGpod.cmake b/graphics/kipi-plugins-kde4/files/patch-cmake__modules__FindGpod.cmake new file mode 100644 index 000000000000..ad8baa56a67d --- /dev/null +++ b/graphics/kipi-plugins-kde4/files/patch-cmake__modules__FindGpod.cmake @@ -0,0 +1,11 @@ +--- ./cmake/modules/FindGpod.cmake.orig 2009-03-17 04:52:18.000000000 -0400 ++++ ./cmake/modules/FindGpod.cmake 2009-06-08 04:36:50.000000000 -0400 +@@ -24,7 +24,7 @@ + + set(GPOD_DEFINITIONS ${PC_GPOD_CFLAGS_OTHER}) + +- exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=0.7.0 libgpod-1.0 OUTPUT_VARIABLE _pkgconfigDevNull RETURN_VALUE GPOD_VERSION_OKAY) ++ exec_program(${PKG_CONFIG_EXECUTABLE} ARGS --atleast-version=0.7.0 libgpod-1.0 OUTPUT_VARIABLE _pkgconfigDevNull RETURN_VALUE GPOD_VERSION_OKAY) + + endif( NOT WIN32 ) + diff --git a/graphics/kipi-plugins-kde4/files/qt3to4headers.txt b/graphics/kipi-plugins-kde4/files/qt3to4headers.txt new file mode 100644 index 000000000000..75f06c344ce0 --- /dev/null +++ b/graphics/kipi-plugins-kde4/files/qt3to4headers.txt @@ -0,0 +1,46 @@ +s/<q3dragobject.h>/<Q3DragObject>/g +s/<q3frame.h>/<Q3Frame>/g +s/<q3groupbox.h>/<Q3GroupBox>/g +s/<q3hgroupbox.h>/<Q3HGroupBox>/g +s/<q3listview.h>/<Q3ListView>/g +s/<q3popupmenu.h>/<Q3PopupMenu>/g +s/<q3process.h>/<Q3Process>/g +s/<q3progressdialog.h>/<Q3ProgressDialog>/g +s/<q3strlist.h>/<Q3StrList>/g +s/<q3textview.h>/<Q3TextView>/g +s/<q3vbox.h>/<Q3VBox>/g +s/<q3vgroupbox.h>/<Q3VGroupBox>/g +s/<qapplication.h>/<QApplication>/g +s/<qbuttongroup.h>/<QButtonGroup>/g +s/<qcheckbox.h>/<QCheckBox>/g +s/<qcolor.h>/<QColor>/g +s/<qcombobox.h>/<QComboBox>/g +s/<qcursor.h>/<QCursor>/g +s/<qdesktopwidget.h>/<QDesktopWidget>/g +s/<qdir.h>/<QDir>/g +s/<qevent.h>/<QEvent>/g +s/<qfile.h>/<QFile>/g +s/<qfileinfo.h>/<QFileInfo>/g +s/<qfont.h>/<QFont>/g +s/<qfontmetrics.h>/<QFontMetrics>/g +s/<qgroupbox.h>/<QGroupBox>/g +s/<qimage.h>/<QImage>/g +s/<qlabel.h>/<QLabel>/g +s/<qlayout.h>/<QLayout>/g +s/<qlineedit.h>/<QLineEdit>/g +s/<qmatrix.h>/<QMatrix>/g +s/<qobject.h>/<QObject>/g +s/<qpainter.h>/<QPainter>/g +s/<qpalette.h>/<QPalette>/g +s/<qpixmap.h>/<QPixmap>/g +s/<qpointer.h>/<QPointer>/g +s/<qpushbutton.h>/<QPushButton>/g +s/<qradiobutton.h>/<QRadioButton>/g +s/<qregexp.h>/<QRegExp>/g +s/<qspinbox.h>/<QSpinBox>/g +s/<qstring.h>/<QString>/g +s/<qtextcodec.h>/<QTextCodec>/g +s/<qtextstream.h>/<QTextStream>/g +s/<qtimer.h>/<QTimer>/g +s/<qtooltip.h>/<QToolTip>/g +s/<qwidget.h>/<QWidget>/g |