Fri Apr 26 15:32:01 2024 UTC (16d)
graphics/qimageblitz: restore
Still used, got my grep wrong, sorry
(wiz)
diff -r0 -r1.3 pkgsrc/graphics/qimageblitz/DESCR
diff -r0 -r1.39 pkgsrc/graphics/qimageblitz/Makefile
diff -r0 -r1.4 pkgsrc/graphics/qimageblitz/PLIST
diff -r0 -r1.36 pkgsrc/graphics/qimageblitz/buildlink3.mk
diff -r0 -r1.8 pkgsrc/graphics/qimageblitz/distinfo
diff -r0 -r1.3 pkgsrc/graphics/qimageblitz/patches/patch-blitz_CMakeLists.txt
diff -r0 -r1.3 pkgsrc/graphics/qimageblitz/patches/patch-blitz_convolve.cpp
Blitz is an interm image effect library that people can use until KDE4.1 is
released. KImageEffect, the old image effect class is being dropped for KDE4.0
and the replacement, Quasar, won't be ready until KDE4.1. Blitz gives people
something to use in the meantime.
# $NetBSD: Makefile,v 1.39 2024/04/26 15:32:01 wiz Exp $
DISTNAME= qimageblitz-0.0.6
PKGREVISION= 28
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_KDE:=qimageblitz/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/qimageblitz
COMMENT= Interm graphical effect and filter library for KDE4.0
USE_LANGUAGES+= c c++
USE_CMAKE= yes
#BUILD_MAKE_FLAGS+= VERBOSE=1
PKGCONFIG_OVERRIDE+= blitz/qimageblitz.pc.cmake
pre-configure:
${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.4 2024/04/26 15:32:01 wiz Exp $
bin/blitztest
include/qimageblitz/blitzcpu.h
include/qimageblitz/qimageblitz.h
include/qimageblitz/qimageblitz_export.h
lib/libqimageblitz.so
lib/libqimageblitz.so.4
lib/libqimageblitz.so.4.0.0
lib/pkgconfig/qimageblitz.pc
# $NetBSD: buildlink3.mk,v 1.36 2024/04/26 15:32:01 wiz Exp $
BUILDLINK_TREE+= qimageblitz
.if !defined(QIMAGEBLITZ_BUILDLINK3_MK)
QIMAGEBLITZ_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.qimageblitz+= qimageblitz>=0.0.4
BUILDLINK_ABI_DEPENDS.qimageblitz+= qimageblitz>=0.0.6nb28
BUILDLINK_PKGSRCDIR.qimageblitz?= ../../graphics/qimageblitz
.include "../../x11/qt4-libs/buildlink3.mk"
.endif # QIMAGEBLITZ_BUILDLINK3_MK
BUILDLINK_TREE+= -qimageblitz
$NetBSD: distinfo,v 1.8 2024/04/26 15:32:01 wiz Exp $
BLAKE2s (qimageblitz-0.0.6.tar.bz2) = c88b6dd40a81539a75fa889a1b4917d8e430975c9f725f6a8995be6e7663384f
SHA512 (qimageblitz-0.0.6.tar.bz2) = dbd506c01622824efdec69640eb95e737d7848fa15d33351084a6499ca2321d7bc08e080d1e443f8ab9015cd2967c10d9b5aa2f3c6eaa7558153821c46133af9
Size (qimageblitz-0.0.6.tar.bz2) = 57617 bytes
SHA1 (patch-blitz_CMakeLists.txt) = 031a5a4cb70fd8a5d600444ce95ebc653a66d050
SHA1 (patch-blitz_convolve.cpp) = 300f7da93b1704a6bc7f481161c59ba110a2ebf5
$NetBSD: patch-blitz_CMakeLists.txt,v 1.3 2024/04/26 15:32:01 wiz Exp $
Fix SunPro detection.
--- blitz/CMakeLists.txt.orig 2010-07-28 18:06:14.000000000 +0000
+++ blitz/CMakeLists.txt
@@ -49,9 +49,9 @@ endif(COMMAND cmake_policy)
add_library(qimageblitz SHARED ${blitz_LIB_SRCS} ${blitz_LIB_EXTRA_SRCS})
target_link_libraries(qimageblitz ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
-if (NOT CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_NAME MATCHES SunOS)
+if (CMAKE_COMPILER_IS_SUNPRO AND CMAKE_SYSTEM_NAME MATCHES SunOS)
target_link_libraries(qimageblitz -lm -lsunmath)
-endif (NOT CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_NAME MATCHES SunOS)
+endif (CMAKE_COMPILER_IS_SUNPRO AND CMAKE_SYSTEM_NAME MATCHES SunOS)
set_target_properties(qimageblitz PROPERTIES
VERSION ${BLITZ_LIB_MAJOR_VERSION}.${BLITZ_LIB_MINOR_VERSION}.${BLITZ_LIB_PATCH_VERSION}
$NetBSD: patch-blitz_convolve.cpp,v 1.3 2024/04/26 15:32:01 wiz Exp $
Fix float* return type.
--- blitz/convolve.cpp.orig 2010-07-28 18:06:14.000000000 +0000
+++ blitz/convolve.cpp
@@ -940,7 +940,7 @@ float* BlitzPrivate::getBlurKernel(int &
long i;
if(sigma == 0.0)
- return(false);
+ return(NULL);
if(kernel_width == 0)
kernel_width = 3;