Re: wrote EOG plugin: exif display

Emmanuel Touzery <[email protected]>
Newsgroups gmane.comp.gnome.apps.Eog
Message-ID <[email protected]>
Hello,
> You probably want to subst EXIFDISPLAY_LIBS and EXIFDISPLAY_CFLAGS here.
> (Good old copy&paste ;-) )
>
>    
OK, now I think I fixed it all. Also the distclean deleting the .ui 
files ;-)

The source code was modified but I changed the Makefile.am so pick up 
the new zip:
http://www2.arnes.si/~shvali/exif-display.zip

New diff for the configure.ac :

--- ../eog-plugins-orig/eog-plugins/configure.ac    2009-05-02 
22:27:20.000000000 +0200
+++ configure.ac    2009-05-26 21:36:22.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(EXIFDISPLAY_LIBS)
+    AC_SUBST(EXIFDISPLAY_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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.