From 6761c8a1e5b58239536700d59c5e751e3adf015a Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 3 Feb 2010 00:27:04 +0000 Subject: [PATCH] Tumbler is a D-Bus service for applications to request thumbnails for various URI schemes and MIME types. It is an implementation of the thumbnail management D-Bus specification described on Tumbler is used in Thunar, Xfce and is currently being prepared for Maemo 6. WWW: http://git.xfce.org/apps/tumbler PR: ports/142866 Submitted by: Ashish SHUKLA --- graphics/Makefile | 1 + graphics/tumbler/Makefile | 84 +++++++++++++++++++++++++++++++++++++ graphics/tumbler/distinfo | 3 ++ graphics/tumbler/pkg-descr | 8 ++++ graphics/tumbler/pkg-plist | 85 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 181 insertions(+) create mode 100644 graphics/tumbler/Makefile create mode 100644 graphics/tumbler/distinfo create mode 100644 graphics/tumbler/pkg-descr create mode 100644 graphics/tumbler/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index 1d36c94c4deb..8d99c5a6f149 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -894,6 +894,7 @@ SUBDIR += truevision SUBDIR += tulip SUBDIR += tumble + SUBDIR += tumbler SUBDIR += uDrawGraph SUBDIR += ufraw SUBDIR += uniconvertor diff --git a/graphics/tumbler/Makefile b/graphics/tumbler/Makefile new file mode 100644 index 000000000000..5ad277e9ec92 --- /dev/null +++ b/graphics/tumbler/Makefile @@ -0,0 +1,84 @@ +# New ports collection makefile for: tumbler +# Date created: 2010-01-15 +# Whom: Ashish SHUKLA +# +# $FreeBSD$ +# + +PORTNAME= tumbler +PORTVERSION= 0.1.1 +CATEGORIES= graphics xfce +MASTER_SITES= http://archive.xfce.org/src/apps/${PORTNAME}/0.1/ + +MAINTAINER= wahjava@gmail.com +COMMENT= D-Bus service for generating thumbnails + +BUILD_DEPENDS= dbus-binding-tool:${PORTSDIR}/devel/dbus-glib \ + ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \ + ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \ + ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib \ + ${LOCALBASE}/libdata/pkgconfig/libpng.pc:${PORTSDIR}/graphics/png \ + glib>=2.16.0:${PORTSDIR}/devel/glib20 \ + dbus>=1.0.0:${PORTSDIR}/devel/dbus \ + dbus-glib>=0.72:${PORTSDIR}/devel/dbus-glib \ + png>=1.2.0:${PORTSDIR}/graphics/png + +OPTIONS= GTK2 "Enable GdkPixBuf thumbnailer plugin" On \ + JPEG "Enable JPEG thumbnailer plugin with EXIF support" On \ + FREETYPE "Enable Freetype font thumbnailer plugin" On \ + XDG "Enable freedesktop.org cache plugin" On + +USE_BZIP2= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= "CFLAGS=-I${LOCALBASE}/include" "LDFLAGS=-L${LOCALBASE}/lib" +USE_GNOME= glib20 gnomehack +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_GETTEXT= yes + +.include + +.if defined(WITH_GTK2) +BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 \ + gtk>=2.14:${PORTSDIR}/x11-toolkits/gtk20 +USE_GNOME+= gtk20 +PLIST_SUB+= GTK2="" +WITH_PLUGINS= true +.elif defined(WITHOUT_GTK2) +CONFIGURE_ARGS+= --disable-pixbuf-thumbnailer +PLIST_SUB+= GTK2="@comment " +.endif + +.if defined(WITH_JPEG) +LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg +PLIST_SUB+= JPEG="" +WITH_PLUGINS= true +.elif defined(WITHOUT_JPEG) +CONFIGURE_ARGS+= --disable-jpeg-thumbnailer +PLIST_SUB+= JPEG="@comment " +.endif + +.if defined(WITH_FREETYPE) +BUILD_DEPENDS+= freetype-config:${PORTSDIR}/print/freetype2 +PLIST_SUB+= FREETYPE="" +WITH_PLUGINS= true +.elif defined(WITHOUT_FREETYPE) +CONFIGURE_ARGS+= --disable-font-thumbnailer +PLIST_SUB+= FREETYPE="@comment " +.endif + +.if defined(WITHOUT_XDG) +CONFIGURE_ARGS+= --disable-xdg-cache +PLIST_SUB+= XDG="@comment " +.elif defined(WITH_XDG) +PLIST_SUB+= XDG="" +WITH_PLUGINS= true +.endif + +.if defined(WITH_PLUGINS) +PLIST_SUB+= PLUGINS="" +.else +PLIST_SUB+= PLUGINS="@comment " +.endif + +.include diff --git a/graphics/tumbler/distinfo b/graphics/tumbler/distinfo new file mode 100644 index 000000000000..7ddb9367828a --- /dev/null +++ b/graphics/tumbler/distinfo @@ -0,0 +1,3 @@ +MD5 (tumbler-0.1.1.tar.bz2) = f3f9c549ddac430904f61d80ebf7d1ac +SHA256 (tumbler-0.1.1.tar.bz2) = cd600beb28ec2438efb1124ac45203389e7eb537608b7fbbafe25d62fab954ae +SIZE (tumbler-0.1.1.tar.bz2) = 412032 diff --git a/graphics/tumbler/pkg-descr b/graphics/tumbler/pkg-descr new file mode 100644 index 000000000000..dfcb5e9ecf35 --- /dev/null +++ b/graphics/tumbler/pkg-descr @@ -0,0 +1,8 @@ +Tumbler is a D-Bus service for applications to request thumbnails for +various URI schemes and MIME types. It is an implementation of the +thumbnail management D-Bus specification described on + +Tumbler is used in Thunar, Xfce and is currently being prepared for +Maemo 6. + +WWW: http://git.xfce.org/apps/tumbler diff --git a/graphics/tumbler/pkg-plist b/graphics/tumbler/pkg-plist new file mode 100644 index 000000000000..b70594be7e02 --- /dev/null +++ b/graphics/tumbler/pkg-plist @@ -0,0 +1,85 @@ +include/tumbler-1/tumbler/tumbler-abstract-thumbnailer.h +include/tumbler-1/tumbler/tumbler-cache-plugin.h +include/tumbler-1/tumbler/tumbler-cache.h +include/tumbler-1/tumbler/tumbler-config.h +include/tumbler-1/tumbler/tumbler-enum-types.h +include/tumbler-1/tumbler/tumbler-error.h +include/tumbler-1/tumbler/tumbler-file-info.h +include/tumbler-1/tumbler/tumbler-glib-extensions.h +include/tumbler-1/tumbler/tumbler-marshal.h +include/tumbler-1/tumbler/tumbler-provider-factory.h +include/tumbler-1/tumbler/tumbler-provider-plugin.h +include/tumbler-1/tumbler/tumbler-thumbnail-flavor.h +include/tumbler-1/tumbler/tumbler-thumbnail.h +include/tumbler-1/tumbler/tumbler-thumbnailer-provider.h +include/tumbler-1/tumbler/tumbler-thumbnailer.h +include/tumbler-1/tumbler/tumbler-util.h +include/tumbler-1/tumbler/tumbler.h +lib/libtumbler-1.a +lib/libtumbler-1.la +lib/libtumbler-1.so +lib/libtumbler-1.so.0 +libdata/pkgconfig/tumbler-1.pc +%%XDG%%lib/tumbler-1/plugins/cache/tumbler-cache-plugin.so +%%XDG%%lib/tumbler-1/plugins/cache/tumbler-xdg-cache.a +%%XDG%%lib/tumbler-1/plugins/cache/tumbler-xdg-cache.la +%%XDG%%lib/tumbler-1/plugins/cache/tumbler-xdg-cache.so +%%FREETYPE%%lib/tumbler-1/plugins/tumbler-font-thumbnailer.a +%%FREETYPE%%lib/tumbler-1/plugins/tumbler-font-thumbnailer.la +%%FREETYPE%%lib/tumbler-1/plugins/tumbler-font-thumbnailer.so +%%JPEG%%lib/tumbler-1/plugins/tumbler-jpeg-thumbnailer.a +%%JPEG%%lib/tumbler-1/plugins/tumbler-jpeg-thumbnailer.la +%%JPEG%%lib/tumbler-1/plugins/tumbler-jpeg-thumbnailer.so +%%GTK2%%lib/tumbler-1/plugins/tumbler-pixbuf-thumbnailer.a +%%GTK2%%lib/tumbler-1/plugins/tumbler-pixbuf-thumbnailer.la +%%GTK2%%lib/tumbler-1/plugins/tumbler-pixbuf-thumbnailer.so +libexec/tumblerd +share/dbus-1/services/org.xfce.Tumbler.Cache1.service +share/dbus-1/services/org.xfce.Tumbler.Manager1.service +share/dbus-1/services/org.xfce.Tumbler.Thumbnailer1.service +share/gtk-doc/html/tumbler/TumblerAbstractThumbnailer.html +share/gtk-doc/html/tumbler/api-index-full.html +share/gtk-doc/html/tumbler/extension-api.html +share/gtk-doc/html/tumbler/extension-tutorial.html +share/gtk-doc/html/tumbler/home.png +share/gtk-doc/html/tumbler/index.html +share/gtk-doc/html/tumbler/index.sgml +share/gtk-doc/html/tumbler/left.png +share/gtk-doc/html/tumbler/miscellaneous.html +share/gtk-doc/html/tumbler/object-tree.html +share/gtk-doc/html/tumbler/pt01.html +share/gtk-doc/html/tumbler/right.png +share/gtk-doc/html/tumbler/style.css +share/gtk-doc/html/tumbler/thumbnails.html +share/gtk-doc/html/tumbler/tumbler-tumbler-cache.html +share/gtk-doc/html/tumbler/tumbler-tumbler-config.html +share/gtk-doc/html/tumbler/tumbler-tumbler-enum-types.html +share/gtk-doc/html/tumbler/tumbler-tumbler-error.html +share/gtk-doc/html/tumbler/tumbler-tumbler-file-info.html +share/gtk-doc/html/tumbler/tumbler-tumbler-provider-factory.html +share/gtk-doc/html/tumbler/tumbler-tumbler-provider-plugin.html +share/gtk-doc/html/tumbler/tumbler-tumbler-thumbnail.html +share/gtk-doc/html/tumbler/tumbler-tumbler-thumbnailer-provider.html +share/gtk-doc/html/tumbler/tumbler.devhelp +share/gtk-doc/html/tumbler/tumbler.devhelp2 +share/gtk-doc/html/tumbler/up.png +share/locale/ast/LC_MESSAGES/tumbler.mo +share/locale/ca/LC_MESSAGES/tumbler.mo +share/locale/da/LC_MESSAGES/tumbler.mo +share/locale/en_GB/LC_MESSAGES/tumbler.mo +share/locale/fr/LC_MESSAGES/tumbler.mo +share/locale/gl/LC_MESSAGES/tumbler.mo +share/locale/ja/LC_MESSAGES/tumbler.mo +share/locale/lv/LC_MESSAGES/tumbler.mo +share/locale/pt/LC_MESSAGES/tumbler.mo +share/locale/sv/LC_MESSAGES/tumbler.mo +share/locale/tr/LC_MESSAGES/tumbler.mo +share/locale/zh_CN/LC_MESSAGES/tumbler.mo +@dirrm share/gtk-doc/html/tumbler +@dirrmtry share/gtk-doc/html +@dirrmtry share/gtk-doc/ +%%XDG%%@dirrm lib/tumbler-1/plugins/cache +%%PLUGINS%%@dirrm lib/tumbler-1/plugins +%%PLUGINS%%@dirrm lib/tumbler-1 +@dirrm include/tumbler-1/tumbler +@dirrm include/tumbler-1