[Goodies-commits] r4561 - in thunar-thumbnailers/trunk: . xcf-thumbnailer
Erlend Davidson
erland at xfce.org
Mon Apr 14 16:47:30 CEST 2008
Author: erland
Date: 2008-04-14 14:47:29 +0000 (Mon, 14 Apr 2008)
New Revision: 4561
Added:
thunar-thumbnailers/trunk/xcf-thumbnailer/
thunar-thumbnailers/trunk/xcf-thumbnailer/Makefile.am
thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer
thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer.desktop.in
Modified:
thunar-thumbnailers/trunk/ChangeLog
thunar-thumbnailers/trunk/Makefile.am
thunar-thumbnailers/trunk/configure.in.in
Log:
New XCF (GIMP) thumbnailer
Thumbnailing of raw images doesn't require raw-thumbnailer (google code)
to be installed (though it is defintely prefered).
Modified: thunar-thumbnailers/trunk/ChangeLog
===================================================================
--- thunar-thumbnailers/trunk/ChangeLog 2008-04-14 04:54:09 UTC (rev 4560)
+++ thunar-thumbnailers/trunk/ChangeLog 2008-04-14 14:47:29 UTC (rev 4561)
@@ -1,3 +1,9 @@
+2008-04-14 Erlend Davidson <Erlend.Davidson at gmail.com>
+
+ * Added XCF (Gimp image) thumbnailer
+ * The raw-thumbnailer binary (based on libopen raw) is
+ no longer a hard dependency of raw-thumbnailer as dcraw is acceptable.
+
2008-03-10 Erlend Davidson <Erlend.Davidson at gmail.com>
* Added image/x-canon-cr2
Modified: thunar-thumbnailers/trunk/Makefile.am
===================================================================
--- thunar-thumbnailers/trunk/Makefile.am 2008-04-14 04:54:09 UTC (rev 4560)
+++ thunar-thumbnailers/trunk/Makefile.am 2008-04-14 14:47:29 UTC (rev 4561)
@@ -13,6 +13,7 @@
pdf-thumbnailer \
dvi-thumbnailer \
odf-thumbnailer \
+ xcf-thumbnailer \
mime
distclean-local:
Modified: thunar-thumbnailers/trunk/configure.in.in
===================================================================
--- thunar-thumbnailers/trunk/configure.in.in 2008-04-14 04:54:09 UTC (rev 4560)
+++ thunar-thumbnailers/trunk/configure.in.in 2008-04-14 14:47:29 UTC (rev 4561)
@@ -56,7 +56,7 @@
dnl *** check to see if raw-thumbnailer, needed for raw image thumbnailing, is on the path ***
AC_PATH_PROG(RAWTHUMBNAILER, raw-thumbnailer)
if test -z "$RAWTHUMBNAILER"; then
- AC_MSG_ERROR([Install raw-thumbnailer (http://code.google.com/p/raw-thumbnailer) before enabling raw image thumbnailing])
+ AC_MSG_WARN([Install raw-thumbnailer (http://code.google.com/p/raw-thumbnailer) for much faster raw image thumbnailing (falling back to dcraw)])
fi
dnl *** check to see if dcraw, needed for raw image thumbnailing, is on the path ***
AC_PATH_PROG(DCRAW, dcraw)
@@ -127,5 +127,6 @@
pdf-thumbnailer/Makefile
dvi-thumbnailer/Makefile
odf-thumbnailer/Makefile
+xcf-thumbnailer/Makefile
mime/Makefile
])
Added: thunar-thumbnailers/trunk/xcf-thumbnailer/Makefile.am
===================================================================
--- thunar-thumbnailers/trunk/xcf-thumbnailer/Makefile.am (rev 0)
+++ thunar-thumbnailers/trunk/xcf-thumbnailer/Makefile.am 2008-04-14 14:47:29 UTC (rev 4561)
@@ -0,0 +1,20 @@
+# $Id: Makefile.am 2296 2007-01-03 11:30:08Z benny $
+
+libexec_SCRIPTS = \
+ xcf-thumbnailer
+
+desktopdir = $(datadir)/thumbnailers
+desktop_in_files = \
+ xcf-thumbnailer.desktop.in
+%.desktop: %.desktop.in
+ sed -e "s,\@libexecdir\@,$(libexecdir),g" < $< > $@
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+EXTRA_DIST = \
+ $(desktop_in_files) \
+ $(libexec_SCRIPTS)
+
+DISTCLEANFILES = \
+ $(desktop_DATA)
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
Added: thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer
===================================================================
--- thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer (rev 0)
+++ thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer 2008-04-14 14:47:29 UTC (rev 4561)
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# Copyright 2007 Erlend Davidson <Erlend.Davidson at gmail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# eps-thumbnailer - Example thumbnailer script for EPS files.
+#
+# Usage: eps-thumbnailer eps-file png-file size
+#
+
+# command line parameters
+ifile=$1
+ofile=$2
+size=$3
+
+# invoke convert (ImageMagick)
+exec convert "xcf:$ifile" -scale "$sizex$size" "png:$ofile"
Property changes on: thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer
___________________________________________________________________
Name: svn:executable
+ *
Added: thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer.desktop.in
===================================================================
--- thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer.desktop.in (rev 0)
+++ thunar-thumbnailers/trunk/xcf-thumbnailer/xcf-thumbnailer.desktop.in 2008-04-14 14:47:29 UTC (rev 4561)
@@ -0,0 +1,9 @@
+
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=X-Thumbnailer
+Name=XCF Thumbnailer
+MimeType=image/x-xcf;
+X-Thumbnailer-Exec=@libexecdir@/xcf-thumbnailer %i %o %s
+GenericName=
More information about the Goodies-commits
mailing list