diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2011-03-30 21:20:14 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2011-03-30 21:20:14 +0000 |
commit | ab46a116a0602bb83ea588a77af84171e0f36939 (patch) | |
tree | 028e76cb8cf795d6705944e680c9830e53d4f7e3 /science/kst2 | |
parent | 80043e0072f7a296d08cda31a33d2c9aa9f992ea (diff) | |
download | ports-ab46a116a0602bb83ea588a77af84171e0f36939.tar.gz ports-ab46a116a0602bb83ea588a77af84171e0f36939.zip |
Notes
Diffstat (limited to 'science/kst2')
-rw-r--r-- | science/kst2/Makefile | 67 | ||||
-rw-r--r-- | science/kst2/distinfo | 4 | ||||
-rw-r--r-- | science/kst2/files/patch-cmake__CMakeLists.txt | 48 | ||||
-rw-r--r-- | science/kst2/files/patch-cmake__src__kst__CMakeLists.txt | 27 | ||||
-rw-r--r-- | science/kst2/files/patch-kst.pri | 10 | ||||
-rw-r--r-- | science/kst2/files/patch-kst.pro | 11 | ||||
-rw-r--r-- | science/kst2/files/patch-src__libkst__libkst.pro | 13 | ||||
-rw-r--r-- | science/kst2/files/patch-src__libkst__measuretime.cpp | 20 | ||||
-rw-r--r-- | science/kst2/pkg-plist | 191 |
9 files changed, 246 insertions, 145 deletions
diff --git a/science/kst2/Makefile b/science/kst2/Makefile index 72994ccab0c6..c81bea5862d1 100644 --- a/science/kst2/Makefile +++ b/science/kst2/Makefile @@ -5,55 +5,68 @@ # $FreeBSD$ PORTNAME= kst -PORTVERSION= 2.0.2 -PORTREVISION= 2 +DISTVERSION= 2.0.3 CATEGORIES= science kde -MASTER_SITES= SF/${PORTNAME}/Kst%20${PORTVERSION}/ +MASTER_SITES= SF/${PORTNAME}/Kst%20${DISTVERSION:C/-r.*//}/ MAINTAINER= makc@FreeBSD.org COMMENT= Data viewing and plotting tool -LIB_DEPENDS= cfitsio.0:${PORTSDIR}/astro/cfitsio \ - gsl.15:${PORTSDIR}/math/gsl +LIB_DEPENDS= gsl.15:${PORTSDIR}/math/gsl +RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info LATEST_LINK= kst2 +USE_CMAKE= yes USE_QT_VER= 4 QT_COMPONENTS= gui xml designer svg opengl \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes -QMAKE_ARGS+= -unix -recursive -CONFIGURE_ENV+= INSTALL_PREFIX=${PREFIX} +CMAKE_SOURCE_PATH= ${WRKSRC}/cmake +CMAKE_ARGS+= -Dkst_install_prefix=${PREFIX} -STRIP_FILES= bin/kst2 lib/libkst2*.so.1.0.0 lib/kst/libkst2*.so +MAN1= kst2.1 -DESKTOP_ENTRIES= "Kst 2" \ - "Data viewing and plotting tool" \ - "${PREFIX}/share/pixmaps/kst.png" \ - "kst2" \ - "" \ - false +OPTIONS= FITS "Support for data in FITS format" off \ + NETCDF "Support for data in NetCDF format" off -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if ${OSVERSION} <= 700042 -IGNORE= does not compile on 6.x +.if defined(WITH_FITS) +LIB_DEPENDS+= cfitsio.0:${PORTSDIR}/astro/cfitsio +PLIST_SUB+= FITS="" +.else +PLIST_SUB+= FITS="@comment " .endif -do-configure: - cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} ${QMAKEFLAGS} +.if defined(WITH_NETCDF) +LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf +PLIST_SUB+= NETCDF="" +.else +PLIST_SUB+= NETCDF="@comment " +.endif + +post-patch: + ${REINPLACE_CMD} -e '/^Icon=/s,kst,${PREFIX}/share/pixmaps/kst2.png,' \ + ${WRKSRC}/src/kst/*kst.desktop + ${REINPLACE_CMD} -e '/^Exec=kst2/s,-caption "%c" %i %m,%f,' \ + ${WRKSRC}/src/kst/kst.desktop -post-configure: -#fix build when Qt-3.x is installed - ${FIND} -d ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ - -e '/^CFLAGS.*=/s|-I/usr/local/include||' \ - -e '/^CXXFLAGS.*=/s|-I/usr/local/include||' +pre-configure: +.if !defined(WITH_FITS) + ${REINPLACE_CMD} -e '/find_package(CFITSIO)/d' \ + ${CMAKE_SOURCE_PATH}/CMakeLists.txt +.endif +.if !defined(WITH_NETCDF) + ${REINPLACE_CMD} -e '/find_package(Netcdf)/d' \ + ${CMAKE_SOURCE_PATH}/CMakeLists.txt +.endif post-install: - ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,} ${MKDIR} ${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/src/images/kst.png ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/src/images/kst.png ${PREFIX}/share/pixmaps/kst2.png + @-update-mime-database ${PREFIX}/share/mime -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/science/kst2/distinfo b/science/kst2/distinfo index 7dc68b551055..18d7ac73932c 100644 --- a/science/kst2/distinfo +++ b/science/kst2/distinfo @@ -1,2 +1,2 @@ -SHA256 (kst-2.0.2.tar.gz) = 8e4eab9e93c95f39f6246b82840afaad763b677745451408a44c8a85ddb71852 -SIZE (kst-2.0.2.tar.gz) = 10491674 +SHA256 (kst-2.0.3.tar.gz) = 6f6eb90c561fd0d3b5143ca8c3d0094859609126a47baeb58245cdbbe7130451 +SIZE (kst-2.0.3.tar.gz) = 10768666 diff --git a/science/kst2/files/patch-cmake__CMakeLists.txt b/science/kst2/files/patch-cmake__CMakeLists.txt new file mode 100644 index 000000000000..87b2dc03503d --- /dev/null +++ b/science/kst2/files/patch-cmake__CMakeLists.txt @@ -0,0 +1,48 @@ +--- ./cmake/CMakeLists.txt.orig 2011-03-28 23:24:54.000000000 +0400 ++++ ./cmake/CMakeLists.txt 2011-03-30 22:24:15.779356501 +0400 +@@ -96,17 +96,6 @@ + + # React on options + +-if(kst_release) +- set(CMAKE_BUILD_TYPE Release) +-else() +- set(CMAKE_BUILD_TYPE Debug) +-endif() +- +-if(kst_verbose) +- set(CMAKE_VERBOSE_MAKEFILE 1) +-else() +- set(CMAKE_VERBOSE_MAKEFILE 0) +-endif() + + if(kst_install_prefix) + set(CMAKE_INSTALL_PREFIX ${kst_install_prefix} CACHE PATH "User's choice for install prefix" FORCE) +@@ -130,7 +119,7 @@ + endif() + + #path to install the .desktop files +-set(kst_install_plugin_desktop_file_path share/services/kst) ++set(kst_install_plugin_desktop_file_path share/services/kst2) + + + +@@ -177,7 +166,9 @@ + + configure_file(${kst_dir}/cmake/config.h.cmake ${CMAKE_BINARY_DIR}/config.h) + +-include_directories(${CMAKE_BINARY_DIR} ${QT_INCLUDES}) ++find_package(OpenGL) ++ ++include_directories(${CMAKE_BINARY_DIR} ${QT_INCLUDES} ${OPENGL_INCLUDE_DIR}) + + message(STATUS "Build summary----------------------------------") + message(STATUS) +@@ -203,7 +194,6 @@ + endif() + + if (NOT APPLE) +- add_subdirectory(misc) + endif() + + diff --git a/science/kst2/files/patch-cmake__src__kst__CMakeLists.txt b/science/kst2/files/patch-cmake__src__kst__CMakeLists.txt new file mode 100644 index 000000000000..0a561668f394 --- /dev/null +++ b/science/kst2/files/patch-cmake__src__kst__CMakeLists.txt @@ -0,0 +1,27 @@ +--- ./cmake/src/kst/CMakeLists.txt.orig 2011-03-28 23:24:54.000000000 +0400 ++++ ./cmake/src/kst/CMakeLists.txt 2011-03-30 22:22:29.406950318 +0400 +@@ -37,9 +37,7 @@ + if(UNIX AND NOT APPLE) + set(man ${CMAKE_BINARY_DIR}/${kst_binary_name}.1) + configure_file(${kst_dir}/src/kst/kst.1.txt ${man}) +- install(CODE "execute_process(COMMAND gzip ${man})") +- set_source_files_properties(${man}.gz PROPERTIES GENERATED TRUE) +- install(FILES ${man}.gz DESTINATION share/man/man1) ++ install(FILES ${man} DESTINATION man/man1) + + set(k ${kst_dir}/src/kst) + install(FILES ${k}/kstplugin.desktop +@@ -48,9 +46,8 @@ + ${k}/kstbasicplugin.desktop + ${k}/kstfilter.desktop + ${k}/kstextension.desktop +- DESTINATION share/servicetypes/kst) +- install(FILES ${k}/kst.desktop DESTINATION share/applnk/Graphics) +- install(FILES ${k}/kstui.rc DESTINATION share/apps/kst) +- install(FILES ${k}/x-kst.desktop DESTINATION share/mimelink/application) +- install(FILES ${k}/kst.desktop DESTINATION share/applications) ++ DESTINATION share/servicetypes/kst2) ++ install(FILES ${k}/kstui.rc DESTINATION share/apps/kst2) ++ install(FILES ${k}/x-kst.desktop DESTINATION share/mime/application) ++ install(FILES ${k}/kst.desktop DESTINATION share/applications RENAME kst2.desktop) + endif() diff --git a/science/kst2/files/patch-kst.pri b/science/kst2/files/patch-kst.pri deleted file mode 100644 index 14aa1232e08f..000000000000 --- a/science/kst2/files/patch-kst.pri +++ /dev/null @@ -1,10 +0,0 @@ ---- ./kst.pri.orig 2010-08-10 11:48:14.000000000 +0400 -+++ ./kst.pri 2010-08-23 20:35:48.741714646 +0400 -@@ -23,7 +23,6 @@ - QT += core xml - - CONFIG += warn_on --!win32:CONFIG += silent - - DEBUG_MODE = $$(KST_DEBUG_MODE) - contains(DEBUG_MODE, 1) { diff --git a/science/kst2/files/patch-kst.pro b/science/kst2/files/patch-kst.pro deleted file mode 100644 index bffe197dda85..000000000000 --- a/science/kst2/files/patch-kst.pro +++ /dev/null @@ -1,11 +0,0 @@ ---- ./kst.pro.orig 2010-09-27 11:32:51.000000000 +0400 -+++ ./kst.pro 2010-11-13 23:53:45.113750666 +0300 -@@ -9,7 +9,5 @@ - src/libkstapp \ - src/kst \ - src/d2asc \ -- src/plugins \ -- tests -+ src/plugins - --!win32-msvc*:SUBDIRS += tests/dirfile_maker diff --git a/science/kst2/files/patch-src__libkst__libkst.pro b/science/kst2/files/patch-src__libkst__libkst.pro deleted file mode 100644 index bfcb831d2c03..000000000000 --- a/science/kst2/files/patch-src__libkst__libkst.pro +++ /dev/null @@ -1,13 +0,0 @@ ---- ./src/libkst/libkst.pro.orig 2010-04-27 16:37:12.000000000 +0400 -+++ ./src/libkst/libkst.pro 2010-05-20 01:18:58.740810983 +0400 -@@ -61,8 +61,8 @@ - vscalar.cpp - - #!win32:SOURCES += stdinsource.cpp --!macx:!win32:SOURCES += sysinfo.c \ -- psversion.c -+# !macx:!win32:SOURCES += sysinfo.c \ -+# psversion.c - - HEADERS += builtindatasources.h \ - builtinprimitives.h \ diff --git a/science/kst2/files/patch-src__libkst__measuretime.cpp b/science/kst2/files/patch-src__libkst__measuretime.cpp deleted file mode 100644 index 8fa4d890e385..000000000000 --- a/science/kst2/files/patch-src__libkst__measuretime.cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- ./src/libkst/measuretime.cpp.orig 2009-12-01 10:15:36.000000000 +0300 -+++ ./src/libkst/measuretime.cpp 2010-02-19 00:41:22.998033638 +0300 -@@ -67,7 +67,7 @@ - started = st.QuadPart * frequency; - #else - timespec t; -- clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t); -+ clock_gettime(CLOCK_PROF, &t); - started = 1.0 * t.tv_sec + 1e-9 * t.tv_nsec; - #endif - interval = 0; -@@ -82,7 +82,7 @@ - double now = st.QuadPart * frequency; - #else - timespec t; -- clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t); -+ clock_gettime(CLOCK_PROF, &t); - double now = 1.0 * t.tv_sec + 1e-9 * t.tv_nsec; - #endif - interval += now - started; diff --git a/science/kst2/pkg-plist b/science/kst2/pkg-plist index 7317a84daa11..79680c738c29 100644 --- a/science/kst2/pkg-plist +++ b/science/kst2/pkg-plist @@ -1,65 +1,132 @@ bin/kst2 -lib/kst/libkst2data_ascii.so -lib/kst/libkst2data_fitsimage.so -lib/kst/libkst2data_qimagesource.so -lib/kst/libkst2data_sampledatasource.so -lib/kst/libkstplugin_akima.so -lib/kst/libkstplugin_akimaperiodic.so -lib/kst/libkstplugin_autocorrelation.so -lib/kst/libkstplugin_bin.so -lib/kst/libkstplugin_chop.so -lib/kst/libkstplugin_convolve.so -lib/kst/libkstplugin_crosscorrelation.so -lib/kst/libkstplugin_crossspectrum.so -lib/kst/libkstplugin_cspline.so -lib/kst/libkstplugin_csplineperiodic.so -lib/kst/libkstplugin_cumulativesum.so -lib/kst/libkstplugin_deconvolve.so -lib/kst/libkstplugin_differentiation.so -lib/kst/libkstplugin_effectivebandwidth.so -lib/kst/libkstplugin_filterbutterworthbandpass.so -lib/kst/libkstplugin_filterbutterworthbandstop.so -lib/kst/libkstplugin_filterbutterworthhighpass.so -lib/kst/libkstplugin_filterbutterworthlowpass.so -lib/kst/libkstplugin_filterdespike.so -lib/kst/libkstplugin_fitexponential_unweighted.so -lib/kst/libkstplugin_fitexponential_weighted.so -lib/kst/libkstplugin_fitgaussian_unweighted.so -lib/kst/libkstplugin_fitgaussian_weighted.so -lib/kst/libkstplugin_fitgradient_unweighted.so -lib/kst/libkstplugin_fitgradient_weighted.so -lib/kst/libkstplugin_fitkneefrequency.so -lib/kst/libkstplugin_fitlinear_unweighted.so -lib/kst/libkstplugin_fitlinear_weighted.so -lib/kst/libkstplugin_fitlorentzian_unweighted.so -lib/kst/libkstplugin_fitlorentzian_weighted.so -lib/kst/libkstplugin_fitpolynomial_unweighted.so -lib/kst/libkstplugin_fitpolynomial_weighted.so -lib/kst/libkstplugin_fitsinusoid_unweighted.so -lib/kst/libkstplugin_fitsinusoid_weighted.so -lib/kst/libkstplugin_linearinterpolation.so -lib/kst/libkstplugin_noiseaddition.so -lib/kst/libkstplugin_periodogram.so -lib/kst/libkstplugin_phase.so -lib/kst/libkstplugin_polynomialinterpolation.so -lib/kst/libkstplugin_shift.so -lib/kst/libkstplugin_statistics.so -lib/kst/libkstplugin_syncbin.so -lib/libkst2app.so -lib/libkst2app.so.1 -lib/libkst2app.so.1.0 -lib/libkst2app.so.1.0.0 -lib/libkst2lib.so -lib/libkst2lib.so.1 -lib/libkst2lib.so.1.0 -lib/libkst2lib.so.1.0.0 +lib/kst2/plugins/libkst2_dataobject_bin.so +lib/kst2/plugins/libkst2_dataobject_chop.so +lib/kst2/plugins/libkst2_dataobject_convolution_convolve.so +lib/kst2/plugins/libkst2_dataobject_convolution_deconvolve.so +lib/kst2/plugins/libkst2_dataobject_correlation_autocorrelation.so +lib/kst2/plugins/libkst2_dataobject_correlation_crosscorrelation.so +lib/kst2/plugins/libkst2_dataobject_crossspectrum.so +lib/kst2/plugins/libkst2_dataobject_differentiation.so +lib/kst2/plugins/libkst2_dataobject_effectivebandwidth.so +lib/kst2/plugins/libkst2_dataobject_genericfilter.so +lib/kst2/plugins/libkst2_dataobject_interpolations_akima.so +lib/kst2/plugins/libkst2_dataobject_interpolations_akimaperiodic.so +lib/kst2/plugins/libkst2_dataobject_interpolations_cspline.so +lib/kst2/plugins/libkst2_dataobject_interpolations_csplineperiodic.so +lib/kst2/plugins/libkst2_dataobject_interpolations_linear.so +lib/kst2/plugins/libkst2_dataobject_interpolations_polynomial.so +lib/kst2/plugins/libkst2_dataobject_linefit.so +lib/kst2/plugins/libkst2_dataobject_lockin.so +lib/kst2/plugins/libkst2_dataobject_noiseaddition.so +lib/kst2/plugins/libkst2_dataobject_periodogram.so +lib/kst2/plugins/libkst2_dataobject_phase.so +lib/kst2/plugins/libkst2_dataobject_shift.so +lib/kst2/plugins/libkst2_dataobject_statistics.so +lib/kst2/plugins/libkst2_dataobject_syncbin.so +lib/kst2/plugins/libkst2_datasource_ascii.so +%%FITS%%lib/kst2/plugins/libkst2_datasource_fitsimage.so +%%NETCDF%%lib/kst2/plugins/libkst2_datasource_netcdf.so +lib/kst2/plugins/libkst2_datasource_qimagesource.so +lib/kst2/plugins/libkst2_datasource_sampledatasource.so +lib/kst2/plugins/libkst2_filters_butterworth_bandpass.so +lib/kst2/plugins/libkst2_filters_butterworth_bandstop.so +lib/kst2/plugins/libkst2_filters_butterworth_highpass.so +lib/kst2/plugins/libkst2_filters_butterworth_lowpass.so +lib/kst2/plugins/libkst2_filters_cumulativesum.so +lib/kst2/plugins/libkst2_filters_despike.so +lib/kst2/plugins/libkst2_filters_differentiation.so +lib/kst2/plugins/libkst2_fits_exponential_unweighted.so +lib/kst2/plugins/libkst2_fits_exponential_weighted.so +lib/kst2/plugins/libkst2_fits_gaussian_unweighted.so +lib/kst2/plugins/libkst2_fits_gaussian_weighted.so +lib/kst2/plugins/libkst2_fits_gradient_unweighted.so +lib/kst2/plugins/libkst2_fits_gradient_weighted.so +lib/kst2/plugins/libkst2_fits_kneefrequency.so +lib/kst2/plugins/libkst2_fits_linear_unweighted.so +lib/kst2/plugins/libkst2_fits_linear_weighted.so +lib/kst2/plugins/libkst2_fits_lorentzian_unweighted.so +lib/kst2/plugins/libkst2_fits_lorentzian_weighted.so +lib/kst2/plugins/libkst2_fits_polynomial_unweighted.so +lib/kst2/plugins/libkst2_fits_polynomial_weighted.so +lib/kst2/plugins/libkst2_fits_sinusoid_unweighted.so +lib/kst2/plugins/libkst2_fits_sinusoid_weighted.so +lib/libkst2app.a +lib/libkst2core.so +lib/libkst2core.so.2 +lib/libkst2core.so.2.0.3 lib/libkst2math.so -lib/libkst2math.so.1 -lib/libkst2math.so.1.0 -lib/libkst2math.so.1.0.0 +lib/libkst2math.so.2 +lib/libkst2math.so.2.0.3 lib/libkst2widgets.so -lib/libkst2widgets.so.1 -lib/libkst2widgets.so.1.0 -lib/libkst2widgets.so.1.0.0 -share/pixmaps/kst.png -@dirrm lib/kst +lib/libkst2widgets.so.2 +lib/libkst2widgets.so.2.0.3 +share/applications/kst2.desktop +share/apps/kst2/kstui.rc +share/mime/application/x-kst.desktop +share/pixmaps/kst2.png +share/services/kst2/kstdata_ascii.desktop +%%FITS%%share/services/kst2/kstdata_fitsimage.desktop +%%NETCDF%%share/services/kst2/kstdata_netcdf.desktop +share/services/kst2/kstdata_qimagesource.desktop +share/services/kst2/kstdata_sampledatasource.desktop +share/services/kst2/kstplugin_akima.desktop +share/services/kst2/kstplugin_akimaperiodic.desktop +share/services/kst2/kstplugin_autocorrelation.desktop +share/services/kst2/kstplugin_bin.desktop +share/services/kst2/kstplugin_chop.desktop +share/services/kst2/kstplugin_convolve.desktop +share/services/kst2/kstplugin_crosscorrelation.desktop +share/services/kst2/kstplugin_crossspectrum.desktop +share/services/kst2/kstplugin_csplineperiodic.desktop +share/services/kst2/kstplugin_cumulativesum.desktop +share/services/kst2/kstplugin_deconvolve.desktop +share/services/kst2/kstplugin_differentiation.desktop +share/services/kst2/kstplugin_effectivebandwidth.desktop +share/services/kst2/kstplugin_filter_butterworth_bandpass.desktop +share/services/kst2/kstplugin_filter_butterworth_bandstop.desktop +share/services/kst2/kstplugin_filter_butterworth_highpass.desktop +share/services/kst2/kstplugin_filter_butterworth_lowpass.desktop +share/services/kst2/kstplugin_filter_despike.desktop +share/services/kst2/kstplugin_fits_exponential_unweighted.desktop +share/services/kst2/kstplugin_fits_exponential_weighted.desktop +share/services/kst2/kstplugin_fits_gaussian_unweighted.desktop +share/services/kst2/kstplugin_fits_gaussian_weighted.desktop +share/services/kst2/kstplugin_fits_gradient_unweighted.desktop +share/services/kst2/kstplugin_fits_gradient_weighted.desktop +share/services/kst2/kstplugin_fits_kneefrequency.desktop +share/services/kst2/kstplugin_fits_linear_unweighted.desktop +share/services/kst2/kstplugin_fits_linear_weighted.desktop +share/services/kst2/kstplugin_fits_lorentzian_unweighted.desktop +share/services/kst2/kstplugin_fits_lorentzian_weighted.desktop +share/services/kst2/kstplugin_fits_polynomial_unweighted.desktop +share/services/kst2/kstplugin_fits_polynomial_weighted.desktop +share/services/kst2/kstplugin_fits_sinusoid_unweighted.desktop +share/services/kst2/kstplugin_fits_sinusoid_weighted.desktop +share/services/kst2/kstplugin_genericfilter.desktop +share/services/kst2/kstplugin_linear.desktop +share/services/kst2/kstplugin_linefit.desktop +share/services/kst2/kstplugin_lockin.desktop +share/services/kst2/kstplugin_noiseaddition.desktop +share/services/kst2/kstplugin_periodogram.desktop +share/services/kst2/kstplugin_phase.desktop +share/services/kst2/kstplugin_polynomial.desktop +share/services/kst2/kstplugin_shift.desktop +share/services/kst2/kstplugin_statistics.desktop +share/services/kst2/kstplugin_syncbin.desktop +share/servicetypes/kst2/kstbasicplugin.desktop +share/servicetypes/kst2/kstdataobjectplugin.desktop +share/servicetypes/kst2/kstdatasourceplugin.desktop +share/servicetypes/kst2/kstextension.desktop +share/servicetypes/kst2/kstfilter.desktop +share/servicetypes/kst2/kstplugin.desktop +@dirrm share/servicetypes/kst2 +@dirrmtry share/servicetypes +@dirrm share/services/kst2 +@dirrmtry share/services +@dirrm share/apps/kst2 +@dirrmtry share/apps +@dirrmtry share/applications +@dirrm lib/kst2/plugins +@dirrm lib/kst2 +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true |