[Goodies-commits] r2319 - in thunar-thumbnailers/trunk: . ps-thumbnailer raw-thumbnailer tex-thumbnailer

Erlend Davidson erland at xfce.org
Mon Jan 8 20:46:26 CET 2007


Author: erland
Date: 2007-01-08 19:46:26 +0000 (Mon, 08 Jan 2007)
New Revision: 2319

Added:
   thunar-thumbnailers/trunk/ps-thumbnailer/
   thunar-thumbnailers/trunk/ps-thumbnailer/Makefile.am
   thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer
   thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer.desktop.in
   thunar-thumbnailers/trunk/raw-thumbnailer/
   thunar-thumbnailers/trunk/raw-thumbnailer/Makefile.am
   thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer
   thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer.desktop.in
Modified:
   thunar-thumbnailers/trunk/
   thunar-thumbnailers/trunk/ChangeLog
   thunar-thumbnailers/trunk/Makefile.am
   thunar-thumbnailers/trunk/configure.in.in
   thunar-thumbnailers/trunk/tex-thumbnailer/tex-thumbnailer.desktop.in
Log:
Added Jens Luedicke's Raw thumbnailer.
Updated ps thumbnailer
Corrected the .desktop file for tex-thumbnailer


Property changes on: thunar-thumbnailers/trunk
___________________________________________________________________
Name: svn:ignore
   + 


Modified: thunar-thumbnailers/trunk/ChangeLog
===================================================================
--- thunar-thumbnailers/trunk/ChangeLog	2007-01-08 13:49:37 UTC (rev 2318)
+++ thunar-thumbnailers/trunk/ChangeLog	2007-01-08 19:46:26 UTC (rev 2319)
@@ -1,3 +1,9 @@
+2007-01-08	Erlend Davidson <E.R.M.Davidson at sms.ed.ac.uk>
+
+	* Added a raw image thumbnailer (raw-thumbnailer/) [Jens Luedicke]
+	* Corrected .desktop file in tex-thumbnailer to use only one key
+
+
 2007-01-06	Erlend Davidson <E.R.M.Davidson at sms.ed.ac.uk>
 
 	* Added a postscript thumbnailer (ps-thumbnailer/)

Modified: thunar-thumbnailers/trunk/Makefile.am
===================================================================
--- thunar-thumbnailers/trunk/Makefile.am	2007-01-08 13:49:37 UTC (rev 2318)
+++ thunar-thumbnailers/trunk/Makefile.am	2007-01-08 19:46:26 UTC (rev 2319)
@@ -3,7 +3,8 @@
 SUBDIRS =								\
 	eps-thumbnailer							\
 	tex-thumbnailer							\
-	ps-thumbnailer
+	ps-thumbnailer							\
+	raw-thumbnailer
 
 distclean-local:
 	rm -rf *.spec *.cache *~

Modified: thunar-thumbnailers/trunk/configure.in.in
===================================================================
--- thunar-thumbnailers/trunk/configure.in.in	2007-01-08 13:49:37 UTC (rev 2318)
+++ thunar-thumbnailers/trunk/configure.in.in	2007-01-08 19:46:26 UTC (rev 2319)
@@ -45,4 +45,5 @@
 eps-thumbnailer/Makefile
 tex-thumbnailer/Makefile
 ps-thumbnailer/Makefile
+raw-thumbnailer/Makefile
 ])

Added: thunar-thumbnailers/trunk/ps-thumbnailer/Makefile.am
===================================================================
--- thunar-thumbnailers/trunk/ps-thumbnailer/Makefile.am	                        (rev 0)
+++ thunar-thumbnailers/trunk/ps-thumbnailer/Makefile.am	2007-01-08 19:46:26 UTC (rev 2319)
@@ -0,0 +1,20 @@
+# $Id: Makefile.am 2296 2007-01-03 11:30:08Z benny $
+
+libexec_SCRIPTS =							\
+	ps-thumbnailer
+
+desktopdir = $(datadir)/thumbnailers
+desktop_in_files =							\
+	ps-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/ps-thumbnailer/ps-thumbnailer
===================================================================
--- thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer	                        (rev 0)
+++ thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer	2007-01-08 19:46:26 UTC (rev 2319)
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# ps-thumbnailer - thumbnailer script for PS files.
+#
+# Usage: sp-thumbnailer ps-file png-file size
+#
+
+# command line parameters
+ifile=$1
+ofile=$2
+size=$3
+
+# invoke convert (ImageMagick)
+exec convert "ps:$ifile[0]" -scale "$sizex$size" "png:$ofile"


Property changes on: thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer
___________________________________________________________________
Name: svn:executable
   + *

Added: thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer.desktop.in
===================================================================
--- thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer.desktop.in	                        (rev 0)
+++ thunar-thumbnailers/trunk/ps-thumbnailer/ps-thumbnailer.desktop.in	2007-01-08 19:46:26 UTC (rev 2319)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=X-Thumbnailer
+Name=PS Thumbnailer
+TryExec=convert
+MimeType=application/postscript;
+X-Thumbnailer-Exec=@libexecdir@/ps-thumbnailer %i %o %s
+
+# vi:set encoding=UTF-8:

Added: thunar-thumbnailers/trunk/raw-thumbnailer/Makefile.am
===================================================================
--- thunar-thumbnailers/trunk/raw-thumbnailer/Makefile.am	                        (rev 0)
+++ thunar-thumbnailers/trunk/raw-thumbnailer/Makefile.am	2007-01-08 19:46:26 UTC (rev 2319)
@@ -0,0 +1,20 @@
+# $Id: Makefile.am 2296 2007-01-03 11:30:08Z benny $
+
+libexec_SCRIPTS =							\
+	raw-thumbnailer
+
+desktopdir = $(datadir)/thumbnailers
+desktop_in_files =							\
+	raw-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/raw-thumbnailer/raw-thumbnailer
===================================================================
--- thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer	                        (rev 0)
+++ thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer	2007-01-08 19:46:26 UTC (rev 2319)
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# dcraw-thumbnailer - Thumbnailer script for RAW files.
+#
+# Usage: dcraw-thumbnailer raw-file png-file size
+#
+
+# command line parameters
+ifile=$1
+ofile=$2
+size=$3
+ 
+# invoke convert (ImageMagick)
+exec dcraw -c -e $ifile | convert - -scale "$sizex$size" "png:$ofile"


Property changes on: thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer
___________________________________________________________________
Name: svn:executable
   + *

Added: thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer.desktop.in
===================================================================
--- thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer.desktop.in	                        (rev 0)
+++ thunar-thumbnailers/trunk/raw-thumbnailer/raw-thumbnailer.desktop.in	2007-01-08 19:46:26 UTC (rev 2319)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=X-Thumbnailer
+Name=Raw Thumbnailer
+TryExec=dcraw;convert
+MimeType=image/x-canon-crw;image/x-fuji-raf;image/x-minolta-mrw;image/x-nikon-nef;image/x-kodak-dcr;image/x-kodak-kdc;image/x-olympus
+X-Thumbnailer-Exec=@libexecdir@/raw-thumbnailer %i %o %s

Modified: thunar-thumbnailers/trunk/tex-thumbnailer/tex-thumbnailer.desktop.in
===================================================================
--- thunar-thumbnailers/trunk/tex-thumbnailer/tex-thumbnailer.desktop.in	2007-01-08 13:49:37 UTC (rev 2318)
+++ thunar-thumbnailers/trunk/tex-thumbnailer/tex-thumbnailer.desktop.in	2007-01-08 19:46:26 UTC (rev 2319)
@@ -3,7 +3,6 @@
 Encoding=UTF-8
 Type=X-Thumbnailer
 Name=TEX Thumbnailer
-TryExec=latex
-TryExec=convert
+TryExec=latex;convert
 MimeType=text/x-tex;
 X-Thumbnailer-Exec=@libexecdir@/tex-thumbnailer %i %o %s




More information about the Goodies-commits mailing list