graphics compiles as well

This commit is contained in:
espie 2008-01-21 23:54:56 +00:00
parent 6bd4daa538
commit 096a59b90e
9 changed files with 378 additions and 957 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2008/01/21 22:08:14 espie Exp $
# $OpenBSD: Makefile,v 1.7 2008/01/21 23:54:56 espie Exp $
# SUBDIR += accessibility
# SUBDIR += admin
@ -8,7 +8,7 @@
SUBDIR += base-workspace
# SUBDIR += edu
SUBDIR += games
# SUBDIR += graphics
SUBDIR += graphics
SUBDIR += libs
# SUBDIR += network
# SUBDIR += pim

View File

@ -1,28 +1,30 @@
# $OpenBSD: Makefile,v 1.4 2007/09/15 20:04:22 merdely Exp $
# $OpenBSD: Makefile,v 1.5 2008/01/21 23:54:56 espie Exp $
COMMENT= K Desktop Environment, graphics
DISTNAME= kdegraphics-${VERSION}
PKGNAME= ${DISTNAME}p1
COMMENT = K Desktop Environment, graphics
DISTNAME = kdegraphics-${VERSION}
PKGNAME = ${DISTNAME}
SHARED_LIBS += djvu 0.0 # .0.0
SHARED_LIBS += kghostviewlib 2.0 # .1.0
SHARED_LIBS += kscan 3.0 # .1.0
SHARED_LIBS += ligaturePluginGUI 0.0 # .2.0
SHARED_LIBS += ligaturecore 0.0 # .2.0
SHARED_LIBS += lkpovmodeler 0.0 # .0.0
SHARED_LIBS += gwenviewlib 0.0 # .1.0
SHARED_LIBS += kolourpaint4_lgpl 0.0 # .4.0
SHARED_LIBS += okularcore 0.0 # .1.0
LIB_DEPENDS+= kdecore.>=8,kde3support,kdefx,kdeprint,kdesu,kdeui,kio,kparts,kutils,kwalletclient::x11/kde4/libs \
LIB_DEPENDS+= kdecore.>=8,kde3support,kdeui,kio,kparts,kutils,kfile,khtml,kjs,knewstuff2,kpty,ktexteditor,phonon,solid,threadweaver::x11/kde4/libs \
poppler-qt4::print/poppler,-qt4 \
sane::graphics/sane-backends \
Imlib::graphics/imlib
chm::devel/chmlib \
djvulibre::graphics/djvulibre \
qimageblitz::x11/kde4/qimageblitz
WANTLIB += ICE SM X11 Xau Xcursor Xdmcp Xext Xft Xi Xinerama Xpm
WANTLIB += Xrandr Xrender Xtst c fontconfig freetype jpeg m png
WANTLIB += pthread stdc++ tiff util z
WANTLIB += Qt3Support QtDBus QtGui QtSvg QtXml
WANTLIB += Qt3Support QtDBus QtGui QtSvg QtXml QtNetwork
WANTLIB += gphoto2 gphoto2_port
WANTLIB += Half Iex IlmImf Imath bz2
WANTLIB += GL GLU Xmu Xxf86vm
WANTLIB += bz2
WANTLIB += Xxf86vm
WANTLIB += Xfixes dbus-1 exiv2 fam gif glib-2.0 gthread-2.0 iconv
WANTLIB += intl pcre pcreposix poppler streamanalyzer streams
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (kde/kdegraphics-3.80.3.tar.bz2) = OpqCNunPBt+tPpQlN8ZaUg==
RMD160 (kde/kdegraphics-3.80.3.tar.bz2) = C/fV21ufgBlfXL1xug8U1WOuA5U=
SHA1 (kde/kdegraphics-3.80.3.tar.bz2) = 7owIZbgdfUJ6yZWnR2FgNsY2klk=
SHA256 (kde/kdegraphics-3.80.3.tar.bz2) = 6ITSovYoeJn3kvoaWiXPaOJqcOncyh0sGvWbJjah+yQ=
SIZE (kde/kdegraphics-3.80.3.tar.bz2) = 5095188
MD5 (kde/kdegraphics-4.0.0.tar.bz2) = bK17Fl2ZxD0aGaA1BZiCHA==
RMD160 (kde/kdegraphics-4.0.0.tar.bz2) = GVRoO3hI4ocbSB7VM6+fmjk/PQ4=
SHA1 (kde/kdegraphics-4.0.0.tar.bz2) = niEXRMqQDYTaYLwxDUQKjZ+ovF4=
SHA256 (kde/kdegraphics-4.0.0.tar.bz2) = TlwvkHkfIMQpWlfbse37qsg54CEuvIQk0h+9+msK1wI=
SIZE (kde/kdegraphics-4.0.0.tar.bz2) = 2400253

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1 2007/04/02 20:27:52 espie Exp $
--- CMakeLists.txt.orig Tue Mar 27 21:26:09 2007
+++ CMakeLists.txt Tue Mar 27 21:26:14 2007
@@ -69,9 +69,9 @@ if (SANE_FOUND)
#add_subdirectory(kooka)
endif (SANE_FOUND)
-if (XVIDMODEEXTENSIONS_FOUND)
+if (X11_xf86vmode_FOUND)
add_subdirectory(kgamma)
-endif (XVIDMODEEXTENSIONS_FOUND)
+endif (X11_xf86vmode_FOUND)
if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND FREETYPE_FOUND AND FreeType2_FOUND)
add_subdirectory(kpovmodeler)

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-cmake_modules_FindFreeType2_cmake,v 1.1 2007/04/02 20:27:52 espie Exp $
--- cmake/modules/FindFreeType2.cmake.orig Tue Mar 27 21:12:09 2007
+++ cmake/modules/FindFreeType2.cmake Tue Mar 27 21:13:11 2007
@@ -1,7 +1,7 @@
# - Try to find FreeType2
# Once done this will define:
# FreeType2_FOUND - system has FreeType2
-# FreeType2_INCLUDE_DIR - incude paths to use FreeType2
+# FreeType2_INCLUDE_DIR - include paths to use FreeType2
# FreeType2_LIBRARIES - Link these to use FreeType2
#
# TODO: This script should use the program
@@ -16,6 +16,7 @@ IF(UNIX)
FIND_PATH(FreeType2_INCLUDE_DIR
freetype/config/ftheader.h
/usr/include/freetype2
+ /usr/X11R6/include/freetype2
)
FIND_LIBRARY(FreeType2_LIBRARIES

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-kuickshow_src_imagewindow_cpp,v 1.1.1.1 2007/03/22 22:24:33 espie Exp $
--- kuickshow/src/imagewindow.cpp.orig Thu Mar 22 00:36:47 2007
+++ kuickshow/src/imagewindow.cpp Thu Mar 22 00:37:21 2007
@@ -1158,7 +1158,8 @@ void ImageWindow::maximize()
void ImageWindow::slotProperties()
{
- KPropertiesDialog dlg( KUrl(filename()), this );
+ KUrl a(filename());
+ KPropertiesDialog dlg( a, this );
dlg.exec();
}

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-kuickshow_src_kuickshow_cpp,v 1.1.1.1 2007/03/22 22:24:33 espie Exp $
--- kuickshow/src/kuickshow.cpp.orig Wed Mar 21 17:57:45 2007
+++ kuickshow/src/kuickshow.cpp Wed Mar 21 18:01:38 2007
@@ -1216,7 +1216,8 @@ void KuickShow::toggleBrowser()
void KuickShow::slotOpenURL()
{
- KFileDialog dlg(KUrl(), kdata->fileFilter, this);
+ KUrl a;
+ KFileDialog dlg(a, kdata->fileFilter, this);
dlg.setMode( KFile::Files | KFile::Directory );
dlg.setCaption( i18n("Select Files or Folder to Open") );

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-ligature_plugins_CMakeLists_txt,v 1.1 2007/03/24 13:23:59 espie Exp $
--- ligature/plugins/CMakeLists.txt.orig Mon Feb 19 10:55:45 2007
+++ ligature/plugins/CMakeLists.txt Fri Mar 23 20:33:19 2007
@@ -13,6 +13,7 @@ if(TIFF_FOUND)
# check that the tiff library has TIFFReadRGBAImageOriented
macro_push_required_vars()
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${TIFF_LIBRARIES})
+ set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${TIFF_INCLUDE_DIR})
check_symbol_exists(TIFFReadRGBAImageOriented "tiffio.h" HAVE_TIFF_READ_RGBA_IMAGE_ORIENTED)
macro_pop_required_vars()
if (HAVE_TIFF_READ_RGBA_IMAGE_ORIENTED)

File diff suppressed because it is too large Load Diff