Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 14:20:18 +0800
From:      Martin Wilke <miwi@bsdhash.org>
To:        Max Brazhnikov <makc@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r314930 - in head/deskutils/strigi: . files
Message-ID:  <6DFBD6E0-5E01-46E2-B43F-410FBA6CF2C3@bsdhash.org>
In-Reply-To: <201303221340.r2MDekYC055966@svn.freebsd.org>
References:  <201303221340.r2MDekYC055966@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I think this broke the build

http://miwibox.org/tb/index.php?action=3Ddescribe_port&id=3D127

- Martin

On Mar 22, 2013, at 9:40 PM, Max Brazhnikov <makc@freebsd.org> wrote:

> Author: makc
> Date: Fri Mar 22 13:40:46 2013
> New Revision: 314930
> URL: http://svnweb.freebsd.org/changeset/ports/314930
>=20
> Log:
>  - Update to 0.7.8
>  - Adjust Qt4 components
>  - Convert to USES
>  - Allow to build with different FFmpeg ports. Build with ffmpeg-0.7
>    by default, since other KDE ports depend on it. It'll be switched
>    to ffmpeg1 for KDE SC 4.10
>=20
> Added:
>  head/deskutils/strigi/files/
>  =
head/deskutils/strigi/files/patch-libstreamanalyzer__cmake__FindFFmpeg.cma=
ke   (contents, props changed)
>  =
head/deskutils/strigi/files/patch-libstreamanalyzer__plugins__endplugins__=
CMakeLists.txt   (contents, props changed)
>  head/deskutils/strigi/files/patch-libstreams__CMakeLists.txt   =
(contents, props changed)
> Modified:
>  head/deskutils/strigi/Makefile
>  head/deskutils/strigi/distinfo   (contents, props changed)
>  head/deskutils/strigi/pkg-descr   (contents, props changed)
>  head/deskutils/strigi/pkg-plist   (contents, props changed)
>=20
> Modified: head/deskutils/strigi/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/deskutils/strigi/Makefile	Fri Mar 22 13:39:57 2013	=
(r314929)
> +++ head/deskutils/strigi/Makefile	Fri Mar 22 13:40:46 2013	=
(r314930)
> @@ -2,17 +2,14 @@
> # $FreeBSD$
>=20
> PORTNAME=3D	strigi
> -PORTVERSION=3D	0.7.7
> -PORTREVISION=3D	5
> +PORTVERSION=3D	0.7.8
> CATEGORIES=3D	deskutils
> -MASTER_SITES=3D	http://rdieter.fedorapeople.org/strigi/
> -#MASTER_SITES=3D	http://www.vandenoever.info/software/strigi/ \
> -#		SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
> +MASTER_SITES=3D	http://www.vandenoever.info/software/strigi/
>=20
> MAINTAINER=3D	kde@FreeBSD.org
> COMMENT=3D	Desktop searching program
>=20
> -LIB_DEPENDS=3D	avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
> +LIB_DEPENDS=3D	=
avcodec${FFMPEG_SUFFIX}:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX} \
> 		clucene-core:${PORTSDIR}/textproc/clucene \
> 		dbus-1:${PORTSDIR}/devel/dbus \
> 		exiv2.12:${PORTSDIR}/graphics/exiv2 \
> @@ -20,12 +17,16 @@ LIB_DEPENDS=3D	avcodec.1:${PORTSDIR}/multi
>=20
> USE_QT4=3D	corelib gui dbus moc_build uic_build qmake_build =
rcc_build
> USE_BZIP2=3D	yes
> -USE_GNOME=3D	libxml2 pkgconfig
> +USE_GNOME=3D	libxml2
> +USE_PKGCONFIG=3D	build
> USE_FAM=3D	yes
> USE_LDCONFIG=3D	yes
> -USE_CMAKE=3D	yes
> +USES=3D		cmake
> MAKE_JOBS_UNSAFE=3D	yes
>=20
> +# supported versions: ffmpeg, ffmpeg1, ffmpeg-devel
> +FFMPEG_SUFFIX?=3D	#
> +
> post-patch:
> 	${MKDIR} ${WRKSRC}
> 	${REINPLACE_CMD} -e \
>=20
> Modified: head/deskutils/strigi/distinfo
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/deskutils/strigi/distinfo	Fri Mar 22 13:39:57 2013	=
(r314929)
> +++ head/deskutils/strigi/distinfo	Fri Mar 22 13:40:46 2013	=
(r314930)
> @@ -1,2 +1,2 @@
> -SHA256 (strigi-0.7.7.tar.bz2) =3D =
76c559a8d53071e175b1d31f09818987733dfabec98ba9520665b206a15f32f3
> -SIZE (strigi-0.7.7.tar.bz2) =3D 807093
> +SHA256 (strigi-0.7.8.tar.bz2) =3D =
43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989
> +SIZE (strigi-0.7.8.tar.bz2) =3D 810574
>=20
> Added: =
head/deskutils/strigi/files/patch-libstreamanalyzer__cmake__FindFFmpeg.cma=
ke
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ =
head/deskutils/strigi/files/patch-libstreamanalyzer__cmake__FindFFmpeg.cma=
ke	Fri Mar 22 13:40:46 2013	(r314930)
> @@ -0,0 +1,45 @@
> +--- ./libstreamanalyzer/cmake/FindFFmpeg.cmake.orig	2013-03-01 =
07:07:31.562142000 +0000
> ++++ ./libstreamanalyzer/cmake/FindFFmpeg.cmake	2013-03-06 =
00:32:09.269367542 +0000
> +@@ -71,13 +71,15 @@
> +       ${PC_LIB${_component}_INCLUDEDIR}
> +       ${PC_LIB${_component}_INCLUDE_DIRS}
> +     PATH_SUFFIXES
> +-      ffmpeg
> ++      ffmpeg${FFMPEG_SUFFIX}
> +   )
> +=20
> +   find_library(${_component}_LIBRARIES NAMES ${_library}
> +-      HINTS
> ++    HINTS
> +       ${PC_LIB${_component}_LIBDIR}
> +       ${PC_LIB${_component}_LIBRARY_DIRS}
> ++    PATH_SUFFIXES
> ++      ffmpeg${FFMPEG_SUFFIX}
> +   )
> +=20
> +   set(${_component}_DEFINITIONS  ${PC_${_component}_CFLAGS_OTHER} =
CACHE STRING "The ${_component} CFLAGS.")
> +@@ -97,13 +99,18 @@
> + # Check for cached results. If there are skip the costly part.
> + if (NOT FFMPEG_LIBRARIES)
> +=20
> ++  # Look for ffmpeg1 by default. Use empty suffix for ffmpeg-0.7
> ++  if (NOT FFMPEG_SUFFIX)
> ++    set(FFMPEG_SUFFIX 1)
> ++  endif ()
> ++
> +   # Check for all possible component.
> +-  find_component(AVCODEC  libavcodec  avcodec  libavcodec/avcodec.h)
> +-  find_component(AVFORMAT libavformat avformat =
libavformat/avformat.h)
> +-  find_component(AVDEVICE libavdevice avdevice =
libavdevice/avdevice.h)
> +-  find_component(AVUTIL   libavutil   avutil   libavutil/avutil.h)
> +-  find_component(SWSCALE  libswscale  swscale  libswscale/swscale.h)
> +-  find_component(POSTPROC libpostproc postproc =
libpostproc/postprocess.h)
> ++  find_component(AVCODEC  libavcodec${FFMPEG_SUFFIX}  =
avcodec${FFMPEG_SUFFIX}  libavcodec/avcodec.h)
> ++  find_component(AVFORMAT libavformat${FFMPEG_SUFFIX} =
avformat${FFMPEG_SUFFIX} libavformat/avformat.h)
> ++  find_component(AVDEVICE libavdevice${FFMPEG_SUFFIX} =
avdevice${FFMPEG_SUFFIX} libavdevice/avdevice.h)
> ++  find_component(AVUTIL   libavutil${FFMPEG_SUFFIX}   =
avutil${FFMPEG_SUFFIX}   libavutil/avutil.h)
> ++  find_component(SWSCALE  libswscale${FFMPEG_SUFFIX}  =
swscale${FFMPEG_SUFFIX}  libswscale/swscale.h)
> ++  find_component(POSTPROC libpostproc${FFMPEG_SUFFIX} =
postproc${FFMPEG_SUFFIX} libpostproc/postprocess.h)
> +=20
> +   # Check if the required components were found and add their stuff =
to the FFMPEG_* vars.
> +   foreach (_component ${FFmpeg_FIND_COMPONENTS})
>=20
> Added: =
head/deskutils/strigi/files/patch-libstreamanalyzer__plugins__endplugins__=
CMakeLists.txt
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ =
head/deskutils/strigi/files/patch-libstreamanalyzer__plugins__endplugins__=
CMakeLists.txt	Fri Mar 22 13:40:46 2013	(r314930)
> @@ -0,0 +1,13 @@
> +# Reorder include directories to fix build when multiple ffmpeg =
installed
> +#
> +--- ./libstreamanalyzer/plugins/endplugins/CMakeLists.txt.orig	=
2011-12-07 20:28:33.000000000 +0000
> ++++ ./libstreamanalyzer/plugins/endplugins/CMakeLists.txt	=
2013-03-06 00:58:08.824363575 +0000
> +@@ -32,7 +32,7 @@
> + endif(XINE_FOUND)
> +=20
> + if(FFMPEG_FOUND)
> +-  include_directories( ${FFMPEG_INCLUDE_DIRS} )
> ++  include_directories(BEFORE ${FFMPEG_INCLUDE_DIRS} )
> +   add_definitions(-D__STDC_CONSTANT_MACROS)
> +   ADD_STRIGIEA(ffmpeg ffmpegendanalyzer.cpp)
> +   #set_target_properties( ffmpeg PROPERTIES COMPILE_FLAGS =
"${FFMPEG_DEFINITIONS}" )
>=20
> Added: head/deskutils/strigi/files/patch-libstreams__CMakeLists.txt
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/deskutils/strigi/files/patch-libstreams__CMakeLists.txt	=
Fri Mar 22 13:40:46 2013	(r314930)
> @@ -0,0 +1,22 @@
> +--- ./libstreams/CMakeLists.txt.orig	2013-02-05 21:34:57.000000000 =
+0000
> ++++ ./libstreams/CMakeLists.txt	2013-03-06 22:02:36.587664409 =
+0000
> +@@ -46,9 +46,6 @@
> + # check for visibility support
> + macro_check_gcc_visibility(__STRIGI_HAVE_GCC_VISIBILITY)
> +=20
> +-# Generate include/strigi/strigiconfig.h and lib/config.h
> +-include(ConfigureChecks.cmake)
> +-
> + # check for required packages
> + find_package(ZLIB)
> + set_package_properties(ZLIB PROPERTIES
> +@@ -75,6 +72,9 @@
> +                        TYPE REQUIRED
> +                       )
> +=20
> ++# Generate include/strigi/strigiconfig.h and lib/config.h
> ++include(ConfigureChecks.cmake)
> ++
> + feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
> +=20
> + ##### building and testing #####
>=20
> Modified: head/deskutils/strigi/pkg-descr
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/deskutils/strigi/pkg-descr	Fri Mar 22 13:39:57 2013	=
(r314929)
> +++ head/deskutils/strigi/pkg-descr	Fri Mar 22 13:40:46 2013	=
(r314930)
> @@ -6,4 +6,4 @@ fastest and smallest desktop searching p
> Strigi can index different file formats, including the contents of
> the archive files.
>=20
> -WWW:	http://strigi.sourceforge.net/
> +WWW: http://www.vandenoever.info/software/strigi/
>=20
> Modified: head/deskutils/strigi/pkg-plist
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/deskutils/strigi/pkg-plist	Fri Mar 22 13:39:57 2013	=
(r314929)
> +++ head/deskutils/strigi/pkg-plist	Fri Mar 22 13:40:46 2013	=
(r314930)
> @@ -70,27 +70,30 @@ include/strigi/tarinputstream.h
> include/strigi/textutils.h
> include/strigi/variant.h
> include/strigi/zipinputstream.h
> +lib/cmake/LibSearchClient/LibSearchClientConfig.cmake
> +lib/cmake/LibStreamAnalyzer/LibStreamAnalyzerConfig.cmake
> +lib/cmake/LibStreamAnalyzer/LibStreamAnalyzerConfigVersion.cmake
> +lib/cmake/LibStreams/LibStreamsConfig.cmake
> +lib/cmake/LibStreams/LibStreamsConfigVersion.cmake
> +lib/cmake/LibStreams/LibStreamsTargets-%%CMAKE_BUILD_TYPE%%.cmake
> +lib/cmake/LibStreams/LibStreamsTargets.cmake
> +lib/cmake/Strigi/StrigiConfig.cmake
> +lib/cmake/Strigi/StrigiConfigVersion.cmake
> lib/libsearchclient.so
> lib/libsearchclient.so.0
> -lib/libsearchclient.so.0.7.7
> -lib/libsearchclient/LibSearchClientConfig.cmake
> +lib/libsearchclient.so.0.7.8
> lib/libstreamanalyzer.so
> lib/libstreamanalyzer.so.0
> -lib/libstreamanalyzer.so.0.7.7
> -lib/libstreamanalyzer/LibStreamAnalyzerConfig.cmake
> +lib/libstreamanalyzer.so.0.7.8
> lib/libstreams.so
> lib/libstreams.so.0
> -lib/libstreams.so.0.7.7
> -lib/libstreams/LibStreamsConfig.cmake
> -lib/libstreams/LibStreamsTargets-%%CMAKE_BUILD_TYPE%%.cmake
> -lib/libstreams/LibStreamsTargets.cmake
> +lib/libstreams.so.0.7.8
> lib/libstrigihtmlgui.so
> lib/libstrigihtmlgui.so.0
> -lib/libstrigihtmlgui.so.0.7.7
> +lib/libstrigihtmlgui.so.0.7.8
> lib/libstrigiqtdbusclient.so
> lib/libstrigiqtdbusclient.so.0
> -lib/libstrigiqtdbusclient.so.0.7.7
> -lib/strigi/StrigiConfig.cmake
> +lib/libstrigiqtdbusclient.so.0.7.8
> lib/strigi/strigiea_digest.so
> lib/strigi/strigiea_ffmpeg.so
> lib/strigi/strigiea_jpeg.so
> @@ -115,21 +118,23 @@ libdata/pkgconfig/libstreamanalyzer.pc
> libdata/pkgconfig/libstreams.pc
> share/dbus-1/services/org.freedesktop.xesam.searcher.service
> share/dbus-1/services/vandenoever.strigi.service
> -%%DATADIR%%/fieldproperties/homeless.rdfs
> -%%DATADIR%%/fieldproperties/nao_data.rdfs
> -%%DATADIR%%/fieldproperties/ncal_data.rdfs
> -%%DATADIR%%/fieldproperties/nco_data.rdfs
> -%%DATADIR%%/fieldproperties/nexif_data.rdfs
> -%%DATADIR%%/fieldproperties/nfo_data.rdfs
> -%%DATADIR%%/fieldproperties/nid3_data.rdfs
> -%%DATADIR%%/fieldproperties/nie_data.rdfs
> -%%DATADIR%%/fieldproperties/nmo_data.rdfs
> -%%DATADIR%%/fieldproperties/strigi.rdfs
> -@dirrmtry %%DATADIR%%/fieldproperties
> -@dirrmtry %%DATADIR%%
> +share/strigi/fieldproperties/homeless.rdfs
> +share/strigi/fieldproperties/nao_data.rdfs
> +share/strigi/fieldproperties/ncal_data.rdfs
> +share/strigi/fieldproperties/nco_data.rdfs
> +share/strigi/fieldproperties/nexif_data.rdfs
> +share/strigi/fieldproperties/nfo_data.rdfs
> +share/strigi/fieldproperties/nid3_data.rdfs
> +share/strigi/fieldproperties/nie_data.rdfs
> +share/strigi/fieldproperties/nmo_data.rdfs
> +share/strigi/fieldproperties/strigi.rdfs
> +@dirrmtry share/strigi/fieldproperties
> +@dirrmtry share/strigi
> @dirrmtry lib/strigi
> -@dirrmtry lib/libstreams
> -@dirrmtry lib/libstreamanalyzer
> -@dirrmtry lib/libsearchclient
> +@dirrmtry lib/cmake/Strigi
> +@dirrmtry lib/cmake/LibStreams
> +@dirrmtry lib/cmake/LibStreamAnalyzer
> +@dirrmtry lib/cmake/LibSearchClient
> +@dirrmtry lib/cmake
> @dirrmtry include/strigi/qtdbus
> @dirrmtry include/strigi
>=20

+-----------------oOO--(_)--OOo-------------------------+
With best Regards,
       Martin Wilke (miwi_(at)_FreeBSD.org)

Mess with the Best, Die like the Rest




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6DFBD6E0-5E01-46E2-B43F-410FBA6CF2C3>