wrote EOG plugin: exif display



Hello,

    I wrote a new plugin for EOG: exif display (in C).

It displays the most important EXIF info in the sidebar and optionally in the status bar and shows in the sidebar per-channel or RGB histogram for the current picture.

    I put a screenshot there:
http://www2.arnes.si/~shvali/exif-display-screenshot.png

    And the source code is there:
http://www2.arnes.si/~shvali/exif-display.zip

I started based on the directory structure and the autoconf stuff of git.gnome.org/eog-plugins

To build it you can just copy the exif-display folder under the plugins/ folder in that GIT tree (next to "champlain, fit-to-width etc).

I changed the configure.ac, I put the changes at the bottom of this mail.

I wonder if you'd be interested to take this plugin in that git repository or somewhere else so that also others could use it. I think it's useful for people who care about digital photography, and it would get a much wider audience if it's in the main EOG repository.

There are probably some problems with the code also, I'm interested if you notice any.

    Any feedback welcome!

emmanuel

----------------------------

configure.ac patch:

--- eog-plugins-orig/eog-plugins/configure.ac 2009-05-02 22:27:20.000000000 +0200
+++ eog-plugins/configure.ac    2009-05-02 23:23:47.000000000 +0200
@@ -58,9 +58,9 @@

 AC_MSG_CHECKING([which plugins to build])

-ALL_PLUGINS="postr champlain fit-to-width"
-USEFUL_PLUGINS="postr champlain fit-to-width"
-DEFAULT_PLUGINS="postr champlain fit-to-width"
+ALL_PLUGINS="postr champlain fit-to-width exif-display"
+USEFUL_PLUGINS="postr champlain fit-to-width exif-display"
+DEFAULT_PLUGINS="postr champlain fit-to-width exif-display"

 PYTHON_ALL_PLUGINS="slideshowshuffle pythonconsole"
 PYTHON_USEFUL_PLUGINS="slideshowshuffle pythonconsole"
@@ -306,6 +306,24 @@
     fi
 fi

+# *********
+# ExifDisplay
+# *********
+plugin_defined exif-display
+if test "$?" = 1
+then
+
+    PKG_CHECK_MODULES(EXIFDISPLAY,
+        [ libexif >= 0.6.16 ],
+        [],[have_exifdisplay=no])
+    AC_SUBST(CHAMPLAIN_LIBS)
+    AC_SUBST(CHAMPLAIN_CFLAGS)
+    if test "x$have_exifdisplay" = "xno"
+    then
+        undef_plugin exif-display "libexif was not found"
+    fi
+fi
+
 if test -z "$disabled_plugins"
 then
     disabled_plugins="none"
@@ -328,6 +346,7 @@
 plugins/Makefile
 plugins/champlain/Makefile
 plugins/fit-to-width/Makefile
+plugins/exif-display/Makefile
 plugins/slideshowshuffle/Makefile
 plugins/postr/Makefile
 plugins/pythonconsole/Makefile




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]