1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

- Fix pkg-plist (unbreak)

- Fix core dumps
- portlint(1)
This commit is contained in:
Alex Dupre 2006-04-24 16:33:04 +00:00
parent 77df46e556
commit 8931dc99cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160333
14 changed files with 116 additions and 16 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= digikam
PORTVERSION= 0.8.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -22,20 +22,16 @@ LIB_DEPENDS= kexif.1:${PORTSDIR}/graphics/libkexif \
sqlite3.8:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS= dcraw:${PORTSDIR}/graphics/dcraw
BROKEN= Incorrect pkg-plist
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_KDELIBS_VER=3
USE_REINPLACE= yes
USE_GETTEXT= yes
CONFIGURE_ARGS+=--program-prefix=''
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamalbums.cpp.orig Mon Apr 24 17:00:12 2006
+++ digikam/kioslave/digikamalbums.cpp Mon Apr 24 17:01:13 2006
@@ -206,7 +206,7 @@ void kio_digikamalbums::special(const QB
os << albumid;
os << name;
os << date;
- os << stbuf.st_size;
+ os << static_cast<size_t>(stbuf.st_size);
os << dims;
}

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamdates.cpp.orig Mon Apr 24 17:00:27 2006
+++ digikam/kioslave/digikamdates.cpp Mon Apr 24 17:01:39 2006
@@ -248,7 +248,7 @@ void kio_digikamdates::special(const QBy
*os << dirid;
*os << name;
*os << date;
- *os << stbuf.st_size;
+ *os << static_cast<size_t>(stbuf.st_size);
*os << dims;
count++;

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamsearch.cpp.orig Mon Apr 24 17:00:37 2006
+++ digikam/kioslave/digikamsearch.cpp Mon Apr 24 17:01:58 2006
@@ -214,7 +214,7 @@ void kio_digikamsearch::special(const QB
*os << dirid;
*os << name;
*os << date;
- *os << stbuf.st_size;
+ *os << static_cast<size_t>(stbuf.st_size);
*os << dims;
count++;

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamtags.cpp.orig Mon Apr 24 17:00:47 2006
+++ digikam/kioslave/digikamtags.cpp Mon Apr 24 17:02:11 2006
@@ -193,7 +193,7 @@ void kio_digikamtagsProtocol::special(co
*os << dirid;
*os << name;
*os << date;
- *os << stbuf.st_size;
+ *os << static_cast<size_t>(stbuf.st_size);
*os << dims;
count++;

View File

@ -0,0 +1,11 @@
--- digikam/showfoto/Makefile.in.orig Mon Apr 24 17:10:55 2006
+++ digikam/showfoto/Makefile.in Mon Apr 24 17:11:14 2006
@@ -403,7 +403,7 @@
xdg_appsdir = @xdg_appsdir@
xdg_directorydir = @xdg_directorydir@
xdg_menudir = @xdg_menudir@
-SUBDIRS = pics mimetypes
+SUBDIRS = pics
#>- METASOURCES = AUTO
INCLUDES = -I$(top_srcdir)/digikam/utilities/imageeditor \
-I$(top_srcdir)/digikam/libs/thumbbar/ \

View File

@ -359,7 +359,6 @@ share/locale/sv/LC_MESSAGES/digikam.mo
share/locale/ta/LC_MESSAGES/digikam.mo
share/locale/tr/LC_MESSAGES/digikam.mo
share/locale/zh_CN/LC_MESSAGES/digikam.mo
share/mimelnk/image/x-raw.desktop
share/services/digikamalbums.protocol
share/services/digikamdates.protocol
share/services/digikamimageplugin_core.desktop

View File

@ -7,7 +7,7 @@
PORTNAME= digikam
PORTVERSION= 0.8.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -22,20 +22,16 @@ LIB_DEPENDS= kexif.1:${PORTSDIR}/graphics/libkexif \
sqlite3.8:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS= dcraw:${PORTSDIR}/graphics/dcraw
BROKEN= Incorrect pkg-plist
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_KDELIBS_VER=3
USE_REINPLACE= yes
USE_GETTEXT= yes
CONFIGURE_ARGS+=--program-prefix=''
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamalbums.cpp.orig Mon Apr 24 17:00:12 2006
+++ digikam/kioslave/digikamalbums.cpp Mon Apr 24 17:01:13 2006
@@ -206,7 +206,7 @@ void kio_digikamalbums::special(const QB
os << albumid;
os << name;
os << date;
- os << stbuf.st_size;
+ os << static_cast<size_t>(stbuf.st_size);
os << dims;
}

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamdates.cpp.orig Mon Apr 24 17:00:27 2006
+++ digikam/kioslave/digikamdates.cpp Mon Apr 24 17:01:39 2006
@@ -248,7 +248,7 @@ void kio_digikamdates::special(const QBy
*os << dirid;
*os << name;
*os << date;
- *os << stbuf.st_size;
+ *os << static_cast<size_t>(stbuf.st_size);
*os << dims;
count++;

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamsearch.cpp.orig Mon Apr 24 17:00:37 2006
+++ digikam/kioslave/digikamsearch.cpp Mon Apr 24 17:01:58 2006
@@ -214,7 +214,7 @@ void kio_digikamsearch::special(const QB
*os << dirid;
*os << name;
*os << date;
- *os << stbuf.st_size;
+ *os << static_cast<size_t>(stbuf.st_size);
*os << dims;
count++;

View File

@ -0,0 +1,11 @@
--- digikam/kioslave/digikamtags.cpp.orig Mon Apr 24 17:00:47 2006
+++ digikam/kioslave/digikamtags.cpp Mon Apr 24 17:02:11 2006
@@ -193,7 +193,7 @@ void kio_digikamtagsProtocol::special(co
*os << dirid;
*os << name;
*os << date;
- *os << stbuf.st_size;
+ *os << static_cast<size_t>(stbuf.st_size);
*os << dims;
count++;

View File

@ -0,0 +1,11 @@
--- digikam/showfoto/Makefile.in.orig Mon Apr 24 17:10:55 2006
+++ digikam/showfoto/Makefile.in Mon Apr 24 17:11:14 2006
@@ -403,7 +403,7 @@
xdg_appsdir = @xdg_appsdir@
xdg_directorydir = @xdg_directorydir@
xdg_menudir = @xdg_menudir@
-SUBDIRS = pics mimetypes
+SUBDIRS = pics
#>- METASOURCES = AUTO
INCLUDES = -I$(top_srcdir)/digikam/utilities/imageeditor \
-I$(top_srcdir)/digikam/libs/thumbbar/ \

View File

@ -359,7 +359,6 @@ share/locale/sv/LC_MESSAGES/digikam.mo
share/locale/ta/LC_MESSAGES/digikam.mo
share/locale/tr/LC_MESSAGES/digikam.mo
share/locale/zh_CN/LC_MESSAGES/digikam.mo
share/mimelnk/image/x-raw.desktop
share/services/digikamalbums.protocol
share/services/digikamdates.protocol
share/services/digikamimageplugin_core.desktop