libegg r922 - in trunk: . libegg libegg/bookmarkfile libegg/combo libegg/combo-old libegg/desktopentries libegg/dock libegg/druid libegg/fileselector libegg/filesystem libegg/iconlist libegg/md5 libegg/menu libegg/pixbufthumbnail libegg/print libegg/print-operation libegg/print-operation/modules libegg/recent-files libegg/recentchooser libegg/recentchooser/xdgmime libegg/regex libegg/regex/pcre libegg/sequence libegg/toolbar



Author: vuntz
Date: Wed Dec 24 14:34:19 2008
New Revision: 922
URL: http://svn.gnome.org/viewvc/libegg?rev=922&view=rev

Log:
2008-12-24  Vincent Untz  <vuntz gnome org>

	* configure.in:
	* libegg/Makefile.am:
	* libegg/bookmarkfile/*:
	* libegg/combo-old/*:
	* libegg/combo/*:
	* libegg/desktopentries/*:
	* libegg/druid/*:
	* libegg/fileselector/*:
	* libegg/filesystem/*:
	* libegg/iconlist/*:
	* libegg/md5/*:
	* libegg/menu/*:
	* libegg/print-operation/*:
	* libegg/print/*:
	* libegg/recent-files/*:
	* libegg/recentchooser/*:
	* libegg/regex/*:
	* libegg/sequence/*:
	* libegg/toolbar/*: remove code that has been integrated in glib/gtk+
	and update build system accordingly.

	* libegg/dock/Makefile.am: use proper CFLAGS/LIBS

	* libegg/pixbufthumbnail/Makefile.am:
	* libegg/pixbufthumbnail/README:
	* libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c:
	(egg_pixbuf_has_failed_thumbnail),
	(egg_pixbuf_save_failed_thumbnail),
	(egg_pixbuf_get_thumbnail_filename): Use GChecksum instead of EggMd5.
	Fix bug #554869.


Added:
   trunk/libegg/desktopentries/README   (contents, props changed)
      - copied, changed from r921, /trunk/libegg/desktopentries/THIS_IS_DEPRECATED_USE_G_KEY_FILE
   trunk/libegg/print/README
   trunk/libegg/recent-files/README   (contents, props changed)
      - copied, changed from r921, /trunk/libegg/recent-files/THIS_IS_DEPRECATED_USE_GTK_RECENT_CHOOSER
   trunk/libegg/sequence/README
Removed:
   trunk/libegg/bookmarkfile/Makefile.am
   trunk/libegg/bookmarkfile/bookmark-spec.dtd
   trunk/libegg/bookmarkfile/bookmark-spec.xml
   trunk/libegg/bookmarkfile/eggbookmarkfile.c
   trunk/libegg/bookmarkfile/eggbookmarkfile.h
   trunk/libegg/bookmarkfile/test-file.xbel
   trunk/libegg/bookmarkfile/test-one.xbel
   trunk/libegg/bookmarkfile/testbookmarkfile.c
   trunk/libegg/combo-old/ChangeLog
   trunk/libegg/combo-old/HACKING
   trunk/libegg/combo-old/Makefile.am
   trunk/libegg/combo-old/badhack.h
   trunk/libegg/combo-old/eggcellview.c
   trunk/libegg/combo-old/eggcellview.h
   trunk/libegg/combo-old/eggcellviewmenuitem.c
   trunk/libegg/combo-old/eggcellviewmenuitem.h
   trunk/libegg/combo-old/eggcombobox.c
   trunk/libegg/combo-old/eggcombobox.h
   trunk/libegg/combo-old/eggcomboboxpicker.c
   trunk/libegg/combo-old/eggcomboboxpicker.h
   trunk/libegg/combo-old/eggcomboboxtext.c
   trunk/libegg/combo-old/eggcomboboxtext.h
   trunk/libegg/combo-old/eggentry.c
   trunk/libegg/combo-old/eggentry.h
   trunk/libegg/combo-old/egghistoryentry.c
   trunk/libegg/combo-old/egghistoryentry.h
   trunk/libegg/combo-old/egghistorylist.c
   trunk/libegg/combo-old/egghistorylist.h
   trunk/libegg/combo-old/eggsplinner.c
   trunk/libegg/combo-old/eggsplinner.h
   trunk/libegg/combo-old/entry-arrow-hack
   trunk/libegg/combo-old/table-menu-patch
   trunk/libegg/combo-old/test-entry.c
   trunk/libegg/combo-old/test.c
   trunk/libegg/combo/ChangeLog
   trunk/libegg/combo/HACKING
   trunk/libegg/combo/Makefile.am
   trunk/libegg/combo/eggcellview.c
   trunk/libegg/combo/eggcellview.h
   trunk/libegg/combo/eggcellviewmenuitem.c
   trunk/libegg/combo/eggcellviewmenuitem.h
   trunk/libegg/combo/eggcombobox.c
   trunk/libegg/combo/eggcombobox.h
   trunk/libegg/combo/eggcomboboxentry.c
   trunk/libegg/combo/eggcomboboxentry.h
   trunk/libegg/combo/table-menu-patch
   trunk/libegg/combo/test.c
   trunk/libegg/desktopentries/Makefile.am
   trunk/libegg/desktopentries/THIS_IS_DEPRECATED_USE_G_KEY_FILE
   trunk/libegg/desktopentries/eggdesktopentries.c
   trunk/libegg/desktopentries/eggdesktopentries.h
   trunk/libegg/desktopentries/eggdirfuncs.c
   trunk/libegg/desktopentries/eggdirfuncs.h
   trunk/libegg/desktopentries/testentries.c
   trunk/libegg/desktopentries/testentries.desktop
   trunk/libegg/druid/Makefile.am
   trunk/libegg/druid/eggdruid.c
   trunk/libegg/druid/eggdruid.h
   trunk/libegg/druid/eggdruiddialog.c
   trunk/libegg/druid/eggdruiddialog.h
   trunk/libegg/druid/eggdruidpage.c
   trunk/libegg/druid/eggdruidpage.h
   trunk/libegg/druid/eggdruidpagestandard.c
   trunk/libegg/druid/eggdruidpagestandard.h
   trunk/libegg/druid/test-druid.c
   trunk/libegg/fileselector/Makefile.am
   trunk/libegg/fileselector/eggfileselector.c
   trunk/libegg/fileselector/eggfileselector.h
   trunk/libegg/fileselector/testfileselector.c
   trunk/libegg/filesystem/Makefile.am
   trunk/libegg/filesystem/eggfilefilter.c
   trunk/libegg/filesystem/eggfilefilter.h
   trunk/libegg/filesystem/eggfilesystem-unix.c
   trunk/libegg/filesystem/eggfilesystem-unix.h
   trunk/libegg/filesystem/eggfilesystem-vfs.c
   trunk/libegg/filesystem/eggfilesystem-vfs.h
   trunk/libegg/filesystem/eggfilesystem.c
   trunk/libegg/filesystem/eggfilesystem.h
   trunk/libegg/filesystem/eggfilesystemutil.c
   trunk/libegg/filesystem/eggfilesystemutil.h
   trunk/libegg/filesystem/testfilesystem.c
   trunk/libegg/iconlist/Makefile.am
   trunk/libegg/iconlist/eggiconlist.c
   trunk/libegg/iconlist/eggiconlist.h
   trunk/libegg/iconlist/gnome-textfile.png
   trunk/libegg/iconlist/prop-editor.c
   trunk/libegg/iconlist/prop-editor.h
   trunk/libegg/iconlist/testiconlist.c
   trunk/libegg/md5/Makefile.am
   trunk/libegg/md5/eggmd5.c
   trunk/libegg/md5/eggmd5.h
   trunk/libegg/md5/testeggmd5.c
   trunk/libegg/menu/ChangeLog
   trunk/libegg/menu/Makefile.am
   trunk/libegg/menu/egg-accel-dialog.c
   trunk/libegg/menu/egg-accel-dialog.h
   trunk/libegg/menu/egg-action-group.c
   trunk/libegg/menu/egg-action-group.h
   trunk/libegg/menu/egg-action.c
   trunk/libegg/menu/egg-action.h
   trunk/libegg/menu/egg-markup.c
   trunk/libegg/menu/egg-markup.h
   trunk/libegg/menu/egg-menu-merge.c
   trunk/libegg/menu/egg-menu-merge.h
   trunk/libegg/menu/egg-menu.h
   trunk/libegg/menu/egg-radio-action.c
   trunk/libegg/menu/egg-radio-action.h
   trunk/libegg/menu/egg-toggle-action.c
   trunk/libegg/menu/egg-toggle-action.h
   trunk/libegg/menu/howitshouldwork.txt
   trunk/libegg/menu/merge-1.ui
   trunk/libegg/menu/merge-2.ui
   trunk/libegg/menu/merge-3.ui
   trunk/libegg/menu/test-actions.c
   trunk/libegg/menu/test-merge.c
   trunk/libegg/print-operation/AUTHORS
   trunk/libegg/print-operation/COPYING
   trunk/libegg/print-operation/ChangeLog
   trunk/libegg/print-operation/INSTALL
   trunk/libegg/print-operation/Makefile.am
   trunk/libegg/print-operation/NEWS
   trunk/libegg/print-operation/TODO
   trunk/libegg/print-operation/acconfig.h
   trunk/libegg/print-operation/autogen.sh
   trunk/libegg/print-operation/configure.in
   trunk/libegg/print-operation/eggintl.h
   trunk/libegg/print-operation/eggpagesetup.c
   trunk/libegg/print-operation/eggpagesetup.h
   trunk/libegg/print-operation/eggpagesetupunixdialog.c
   trunk/libegg/print-operation/eggpagesetupunixdialog.h
   trunk/libegg/print-operation/eggpapersize.c
   trunk/libegg/print-operation/eggpapersize.h
   trunk/libegg/print-operation/eggprint-win32.c
   trunk/libegg/print-operation/eggprint-win32.h
   trunk/libegg/print-operation/eggprint.h
   trunk/libegg/print-operation/eggprintbackend.c
   trunk/libegg/print-operation/eggprintbackend.h
   trunk/libegg/print-operation/eggprintcontext.c
   trunk/libegg/print-operation/eggprintcontext.h
   trunk/libegg/print-operation/eggprintenums.h
   trunk/libegg/print-operation/eggprinter-private.h
   trunk/libegg/print-operation/eggprinter.c
   trunk/libegg/print-operation/eggprinter.h
   trunk/libegg/print-operation/eggprinteroption.c
   trunk/libegg/print-operation/eggprinteroption.h
   trunk/libegg/print-operation/eggprinteroptionset.c
   trunk/libegg/print-operation/eggprinteroptionset.h
   trunk/libegg/print-operation/eggprinteroptionwidget.c
   trunk/libegg/print-operation/eggprinteroptionwidget.h
   trunk/libegg/print-operation/eggprintjob.c
   trunk/libegg/print-operation/eggprintjob.h
   trunk/libegg/print-operation/eggprintmarshal.list
   trunk/libegg/print-operation/eggprintoperation-dummy.c
   trunk/libegg/print-operation/eggprintoperation-private.h
   trunk/libegg/print-operation/eggprintoperation-unix.c
   trunk/libegg/print-operation/eggprintoperation-win32.c
   trunk/libegg/print-operation/eggprintoperation.c
   trunk/libegg/print-operation/eggprintoperation.h
   trunk/libegg/print-operation/eggprintsettings.c
   trunk/libegg/print-operation/eggprintsettings.h
   trunk/libegg/print-operation/eggprintunixdialog.c
   trunk/libegg/print-operation/eggprintunixdialog.h
   trunk/libegg/print-operation/modules/
   trunk/libegg/print-operation/paper_names.c
   trunk/libegg/print-operation/printedit.c
   trunk/libegg/print-operation/test.ppd
   trunk/libegg/print-operation/testprint.c
   trunk/libegg/print-operation/testprintfileoperation.c
   trunk/libegg/print-operation/testprintfileoperation.h
   trunk/libegg/print-operation/testshowdialog.c
   trunk/libegg/print/Makefile.am
   trunk/libegg/print/eggprint.h
   trunk/libegg/print/eggprintdialog.c
   trunk/libegg/print/eggprintdialog.h
   trunk/libegg/print/eggprintjob.c
   trunk/libegg/print/eggprintjob.h
   trunk/libegg/print/eggprintsettings.c
   trunk/libegg/print/eggprintsettings.h
   trunk/libegg/print/testprint.c
   trunk/libegg/recent-files/ChangeLog-20020813
   trunk/libegg/recent-files/Makefile.am
   trunk/libegg/recent-files/THIS_IS_DEPRECATED_USE_GTK_RECENT_CHOOSER
   trunk/libegg/recent-files/TODO
   trunk/libegg/recent-files/bonobo-view-test.c
   trunk/libegg/recent-files/egg-recent-files-module.c
   trunk/libegg/recent-files/egg-recent-files-vfs.conf
   trunk/libegg/recent-files/egg-recent-item.c
   trunk/libegg/recent-files/egg-recent-item.h
   trunk/libegg/recent-files/egg-recent-model.c
   trunk/libegg/recent-files/egg-recent-model.h
   trunk/libegg/recent-files/egg-recent-test.glade
   trunk/libegg/recent-files/egg-recent-test.xml
   trunk/libegg/recent-files/egg-recent-util.c
   trunk/libegg/recent-files/egg-recent-util.h
   trunk/libegg/recent-files/egg-recent-view-bonobo.c
   trunk/libegg/recent-files/egg-recent-view-bonobo.h
   trunk/libegg/recent-files/egg-recent-view-gtk.c
   trunk/libegg/recent-files/egg-recent-view-gtk.h
   trunk/libegg/recent-files/egg-recent-view-uimanager.c
   trunk/libegg/recent-files/egg-recent-view-uimanager.h
   trunk/libegg/recent-files/egg-recent-view.c
   trunk/libegg/recent-files/egg-recent-view.h
   trunk/libegg/recent-files/egg-recent.h
   trunk/libegg/recent-files/gtk-view-test.c
   trunk/libegg/recent-files/populate-recent.c
   trunk/libegg/recent-files/uimanager-view-test.c
   trunk/libegg/recentchooser/Makefile.am
   trunk/libegg/recentchooser/TODO
   trunk/libegg/recentchooser/eggrecent.h
   trunk/libegg/recentchooser/eggrecentchooser.c
   trunk/libegg/recentchooser/eggrecentchooser.h
   trunk/libegg/recentchooser/eggrecentchooserdefault.c
   trunk/libegg/recentchooser/eggrecentchooserdefault.h
   trunk/libegg/recentchooser/eggrecentchooserdialog.c
   trunk/libegg/recentchooser/eggrecentchooserdialog.h
   trunk/libegg/recentchooser/eggrecentchoosermenu.c
   trunk/libegg/recentchooser/eggrecentchoosermenu.h
   trunk/libegg/recentchooser/eggrecentchooserprivate.h
   trunk/libegg/recentchooser/eggrecentchooserutils.c
   trunk/libegg/recentchooser/eggrecentchooserutils.h
   trunk/libegg/recentchooser/eggrecentchooserwidget.c
   trunk/libegg/recentchooser/eggrecentchooserwidget.h
   trunk/libegg/recentchooser/eggrecentfilter.c
   trunk/libegg/recentchooser/eggrecentfilter.h
   trunk/libegg/recentchooser/eggrecentmanager.c
   trunk/libegg/recentchooser/eggrecentmanager.h
   trunk/libegg/recentchooser/fnmatch.c
   trunk/libegg/recentchooser/populate-recent.c
   trunk/libegg/recentchooser/recently-used.xbel
   trunk/libegg/recentchooser/test-recent-menu.c
   trunk/libegg/recentchooser/test-recent-menu.glade
   trunk/libegg/recentchooser/test-recent-widget.c
   trunk/libegg/recentchooser/xdgmime/
   trunk/libegg/regex/Makefile.am
   trunk/libegg/regex/eggregex.c
   trunk/libegg/regex/eggregex.h
   trunk/libegg/regex/pcre/
   trunk/libegg/regex/testregex.c
   trunk/libegg/sequence/Makefile.am
   trunk/libegg/sequence/eggsequence.c
   trunk/libegg/sequence/eggsequence.h
   trunk/libegg/sequence/testsequence.c
   trunk/libegg/toolbar/Makefile.am
   trunk/libegg/toolbar/TODO
   trunk/libegg/toolbar/eggradiotoolbutton.c
   trunk/libegg/toolbar/eggradiotoolbutton.h
   trunk/libegg/toolbar/eggseparatortoolitem.c
   trunk/libegg/toolbar/eggseparatortoolitem.h
   trunk/libegg/toolbar/eggtoggletoolbutton.c
   trunk/libegg/toolbar/eggtoggletoolbutton.h
   trunk/libegg/toolbar/eggtoolbar.c
   trunk/libegg/toolbar/eggtoolbar.h
   trunk/libegg/toolbar/eggtoolbutton.c
   trunk/libegg/toolbar/eggtoolbutton.h
   trunk/libegg/toolbar/eggtoolitem.c
   trunk/libegg/toolbar/eggtoolitem.h
   trunk/libegg/toolbar/gtkexample.c
   trunk/libegg/toolbar/prop-editor.c
   trunk/libegg/toolbar/prop-editor.h
   trunk/libegg/toolbar/test-drag.c
   trunk/libegg/toolbar/test-toolbar.c
   trunk/libegg/toolbar/toolbar-api.txt
   trunk/libegg/toolbar/toolbar-ideas.txt
Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/libegg/Makefile.am
   trunk/libegg/bookmarkfile/README
   trunk/libegg/dock/Makefile.am
   trunk/libegg/md5/README
   trunk/libegg/pixbufthumbnail/Makefile.am
   trunk/libegg/pixbufthumbnail/README
   trunk/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c
   trunk/libegg/print-operation/README
   trunk/libegg/recentchooser/README
   trunk/libegg/regex/README

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Wed Dec 24 14:34:19 2008
@@ -67,21 +67,9 @@
 AC_SUBST(EGG_LIBS)
 AC_SUBST(EGG_CFLAGS)
 
-PKG_CHECK_MODULES(EGG_RECENT, gtk+-2.0 >= 2.0.0 gnome-vfs-2.0 libbonoboui-2.0 librsvg-2.0 libgnomeui-2.0)
-AC_SUBST(EGG_RECENT_LIBS)
-AC_SUBST(EGG_RECENT_CFLAGS)
-
-PKG_CHECK_MODULES(EGG_EXEC, libglade-2.0 libgnome-2.0 >= 2.0.0 gtk+-2.0 >= 2.0.0)
-AC_SUBST(EGG_EXEC_LIBS)
-AC_SUBST(EGG_EXEC_CFLAGS)
-
-PKG_CHECK_MODULES(EGG_VFS_FS, gnome-vfs-2.0 libgnomeui-2.0)
-AC_SUBST(EGG_VFS_FS_LIBS)
-AC_SUBST(EGG_VFS_FS_CFLAGS)
-
-PKG_CHECK_MODULES(EGG_VFS_MODULE, gnome-vfs-module-2.0)
-AC_SUBST(EGG_VFS_MODULE_LIBS)
-AC_SUBST(EGG_VFS_MODULE_CFLAGS)
+PKG_CHECK_MODULES(EGG_DOCK, libglade-2.0)
+AC_SUBST(EGG_DOCK_LIBS)
+AC_SUBST(EGG_DOCK_CFLAGS)
 
 PKG_CHECK_MODULES(EGG_XML, libxml-2.0)
 AC_SUBST(EGG_XML_LIBS)
@@ -91,14 +79,6 @@
 AC_SUBST(EGG_TRAY_LIBS)
 AC_SUBST(EGG_TRAY_CFLAGS)
 
-PKG_CHECK_MODULES(EGG_DESKTOP_ENTRIES, glib-2.0 >= 2.4.0)
-AC_SUBST(EGG_DESKTOP_ENTRIES_LIBS)
-AC_SUBST(EGG_DESKTOP_ENTRIES_CFLAGS)
-
-PKG_CHECK_MODULES(EGG_RECENT, gtk+-2.0 >= 2.0.0 gnome-vfs-2.0 libbonoboui-2.0 librsvg-2.0 libgnomeui-2.0)
-AC_SUBST(EGG_RECENT_LIBS)
-AC_SUBST(EGG_RECENT_CFLAGS)
-
 PKG_CHECK_MODULES(EGG_LIBGNOMEUI, libgnomeui-2.0)
 AC_SUBST(EGG_LIBGNOMEUI_LIBS)
 AC_SUBST(EGG_LIBGNOMEUI_CFLAGS)
@@ -133,17 +113,6 @@
 ## check if we have the X11 gtk+ backend
 AM_CONDITIONAL(HAVE_GTK_TARGET_X11, test `$PKG_CONFIG --variable=target gtk+-2.0` = x11)
 
-dnl
-dnl check if we have gtk+ 2.1.x (again - for multihead support)
-dnl
-AC_MSG_CHECKING([for gtk+ multihead support])
-if $PKG_CONFIG --atleast-version 2.1.0 gtk+-2.0; then
-   AC_DEFINE(HAVE_GTK_MULTIHEAD,,[gtk+ with multihead support found])
-   AC_MSG_RESULT(yes)
-else
-   AC_MSG_RESULT(no)
-fi
-
 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`  
 AC_SUBST(GLIB_GENMARSHAL)
 
@@ -168,33 +137,17 @@
 Makefile
 libegg/Makefile
 libegg/util/Makefile
-libegg/druid/Makefile
-libegg/filesystem/Makefile
-libegg/menu/Makefile
-libegg/iconlist/Makefile
 libegg/background-monitor/Makefile
 libegg/sidebar/Makefile
-libegg/fileselector/Makefile
 libegg/tray/Makefile
 libegg/treeviewutils/Makefile
-libegg/toolbar/Makefile
 libegg/column-chooser/Makefile
-libegg/recent-files/Makefile
-libegg/combo/Makefile
 libegg/toolbareditor/Makefile
 libegg/dock/Makefile
 libegg/datetime/Makefile
-libegg/desktopentries/Makefile
-libegg/regex/Makefile
-libegg/regex/pcre/Makefile
-libegg/sequence/Makefile
-libegg/md5/Makefile
 libegg/pixbufthumbnail/Makefile
 libegg/thumbnailpreview/Makefile
 libegg/iconchooser/Makefile
-libegg/bookmarkfile/Makefile
-libegg/recentchooser/Makefile
-libegg/recentchooser/xdgmime/Makefile
 libegg/smclient/Makefile
 libegg/fileformatchooser/Makefile
 libegg/toolpalette/Makefile

Modified: trunk/libegg/Makefile.am
==============================================================================
--- trunk/libegg/Makefile.am	(original)
+++ trunk/libegg/Makefile.am	Wed Dec 24 14:34:19 2008
@@ -5,14 +5,8 @@
 endif
 endif
 
-if HAVE_GTK24
-else
-menu_SUBDIRS = menu
-endif
-
 if HAVE_GTK25
 thumbnail_SUBDIRS = \
-  md5 \
   pixbufthumbnail \
   thumbnailpreview
 endif
@@ -32,10 +26,10 @@
   background-monitor
 endif
 
-SUBDIRS = util column-chooser treeviewutils toolbar $(menu_SUBDIRS) iconlist \
-  sidebar druid filesystem $(background_monitor_SUBDIRS) recent-files \
-  $(tray_SUBDIRS) dock datetime desktopentries $(thumbnail_SUBDIRS) \
-  $(iconchooser_SUBDIRS) bookmarkfile recentchooser regex sequence smclient \
+SUBDIRS = util column-chooser treeviewutils \
+  sidebar $(background_monitor_SUBDIRS) \
+  $(tray_SUBDIRS) dock datetime $(thumbnail_SUBDIRS) \
+  $(iconchooser_SUBDIRS) smclient \
   fileformatchooser $(gtk215_SUBDIRS)
 
 INCLUDES = \

Modified: trunk/libegg/bookmarkfile/README
==============================================================================
--- trunk/libegg/bookmarkfile/README	(original)
+++ trunk/libegg/bookmarkfile/README	Wed Dec 24 14:34:19 2008
@@ -1,56 +1,3 @@
-EggBookmarkFile
-===============
+This module has been merged in GLib 2.12:
 
-*** NOTICE ***
-
-  This code has been included in GLib 2.11.  Use this code for
-  testing and profiling only.
-
-*** NOTICE ***
-
-This is a parser/writer object for accessing the desktop bookmark storage
-files.
-
-The desktop bookmark storage uses a subclassed XBEL format, with these
-namespaces defined:
-
-	bookmark:http://www.freedesktop.org/standard/desktop-bookmark
-	mime:http://www.freedesktop.org/standard/shared-mime-info
-
-The following elements and relative attributes are defined in the previous
-namespaces:
-
-Elements			Attributes
-------------------------------------------
-bookmark:applications
-bookmark:application
-				name
-				exec
-				count
-				timestamp
-bookmark:groups
-bookmark:group
-bookmark:private
-bookmark:icon
-				href
-				type
-mime:mime-type
-				type
-
-All these elements must be contained inside a metadata element, with its
-attribute "owner" set to "http://freedesktop.org";.
-
-+++
-
-For more informations, see:
-
-* XBEL
-http://pyxml.sourceforge.net/topics/xbel/
-
-* Desktop Bookmarks Draft:
-http://devel.emmanuelebassi.net/papers/bookmark-spec.html
-
-* Shared MIME Info
-http://freedesktop.org/wiki/Standards_2fshared_2dmime_2dinfo_2dspec
-
-$ Last Revision: ebassi 2005-12-04 15:45 (+0100) $
+EggBookmarkFile has become GBookmarkFile

Copied: trunk/libegg/desktopentries/README (from r921, /trunk/libegg/desktopentries/THIS_IS_DEPRECATED_USE_G_KEY_FILE)
==============================================================================
--- /trunk/libegg/desktopentries/THIS_IS_DEPRECATED_USE_G_KEY_FILE	(original)
+++ trunk/libegg/desktopentries/README	Wed Dec 24 14:34:19 2008
@@ -0,0 +1,3 @@
+This module has been merged in GLib 2.6:
+
+EggDesktopEntries has become GKeyFile

Modified: trunk/libegg/dock/Makefile.am
==============================================================================
--- trunk/libegg/dock/Makefile.am	(original)
+++ trunk/libegg/dock/Makefile.am	Wed Dec 24 14:34:19 2008
@@ -1,6 +1,6 @@
 INCLUDES = \
 	$(EGG_CFLAGS) \
-	$(EGG_EXEC_CFLAGS) \
+	$(EGG_DOCK_CFLAGS) \
 	$(EGG_XML_CFLAGS) \
 	-DG_LOG_DOMAIN=\"Egg\" \
 	-DG_DISABLE_DEPRECATED \
@@ -51,7 +51,7 @@
 
 libegg_dock_la_LIBADD = \
 	$(EGG_LIBS) \
-	$(EGG_EXEC_LIBS) \
+	$(EGG_DOCK_LIBS) \
 	$(EGG_XML_LIBS) \
 	$(top_builddir)/libegg/util/libeggutil.la
 

Modified: trunk/libegg/md5/README
==============================================================================
--- trunk/libegg/md5/README	(original)
+++ trunk/libegg/md5/README	Wed Dec 24 14:34:19 2008
@@ -1,3 +1,3 @@
-This is an implementation of the 16-byte MD5 hash algorithm with some related utilities.
+This module has been merged in GLib 2.16:
 
-It's mostly copied from libgnomeui, and intended for GLib.
+EggMd5 has become GChecksum

Modified: trunk/libegg/pixbufthumbnail/Makefile.am
==============================================================================
--- trunk/libegg/pixbufthumbnail/Makefile.am	(original)
+++ trunk/libegg/pixbufthumbnail/Makefile.am	Wed Dec 24 14:34:19 2008
@@ -1,8 +1,7 @@
 # This file will be processed with automake-1.7 to create Makefile.in
 
 INCLUDES = \
-	$(EGG_CFLAGS) \
-	-I$(top_srcdir)/libegg/md5
+	$(EGG_CFLAGS)
 
 noinst_LTLIBRARIES = \
 	libeggpixbufthumbnail.la
@@ -11,8 +10,7 @@
 	-DG_LOG_DOMAIN=\""EggPixbufThumbnail"\"
 
 libeggpixbufthumbnail_la_LIBADD = \
-	$(EGG_LIBS) \
-	$(top_builddir)/libegg/md5/libeggmd5.la
+	$(EGG_LIBS)
 
 libeggpixbufthumbnail_la_SOURCES = \
 	egg-pixbuf-thumbnail.c \
@@ -28,7 +26,6 @@
 
 testeggpixbufthumbnail_LDADD = \
 	$(EGG_LIBS) \
-	$(top_builddir)/libegg/md5/libeggmd5.la \
 	$(top_builddir)/libegg/pixbufthumbnail/libeggpixbufthumbnail.la
 
 testeggpixbufthumbnail_SOURCES = \

Modified: trunk/libegg/pixbufthumbnail/README
==============================================================================
--- trunk/libegg/pixbufthumbnail/README	(original)
+++ trunk/libegg/pixbufthumbnail/README	Wed Dec 24 14:34:19 2008
@@ -1,5 +1,5 @@
 This is an implementation of the Freedesktop.org thumbnailing specification
-for GdkPixbuf. It requires the md5 lib from libegg as well.
+for GdkPixbuf.
 
 It functions primarily as a loading/saving API, with convenience functions for
 reading the standardized thumbnail metadata values.

Modified: trunk/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c
==============================================================================
--- trunk/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c	(original)
+++ trunk/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.c	Wed Dec 24 14:34:19 2008
@@ -33,12 +33,12 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <glib.h>
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 
 #include <gdk-pixbuf/gdk-pixbuf-io.h>
 
-#include "eggmd5.h"
 #include "egg-pixbuf-thumbnail.h"
 
 
@@ -317,7 +317,6 @@
   return (!data_required);
 }
 
-
 /* *************************************** *
  *  Global Thumbnails Directory Functions  *
  * *************************************** */
@@ -1125,7 +1124,7 @@
 
   retval = FALSE;
   
-  md5 = egg_str_get_md5_str (uri);
+  md5 = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1);
   basename = g_strconcat (md5, ".png", NULL);
   g_free (md5);
   filename = g_build_filename (g_get_home_dir (), ".thumbnails", FAIL_DIR_NAME,
@@ -1187,7 +1186,7 @@
       return;
     }
 
-  md5 = egg_str_get_md5_str (uri);
+  md5 = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1);
   basename = g_strconcat (md5, ".png", NULL);
   g_free (md5);
   filename = g_build_filename (g_get_home_dir (), ".thumbnails", FAIL_DIR_NAME,
@@ -1899,7 +1898,7 @@
   else
     home_dir = g_get_tmp_dir ();
 
-  md5 = egg_str_get_md5_str (uri);
+  md5 = g_compute_checksum_for_string (G_CHECKSUM_MD5, uri, -1);
   basename = g_strconcat (md5, ".png", NULL);
   filename = g_build_filename (home_dir, ".thumbnails", SIZE_TO_DIR (size),
 			       basename, NULL);

Modified: trunk/libegg/print-operation/README
==============================================================================
--- trunk/libegg/print-operation/README	(original)
+++ trunk/libegg/print-operation/README	Wed Dec 24 14:34:19 2008
@@ -1,138 +1,3 @@
-This is the printing code that we'd like to get into Gtk+ 2.10.
-
-The code consists of several parts. First we have the highlevel
-portable print API that most apps are supposed to use, plus
-implementations for win32 and unix. Then we have the code for the Unix
-print dialog which is used for the unix implementation of the
-highlevel code, but is also availible on unix only for apps like OOo
-and Firefox to use as a "native" print dialog. The dialog is split
-into common code and code implementing cups support. The cups support
-is in a module behind a generic backend interface, so other implementations
-are possible.
-
-Here is a highlevel walktrough of the sources:
-
-Highlevel API
-=============
-* eggprint.h
-
-General include file which is meant to pull in all interesting headers
-for printing.
-
-* eggprintoperation.[ch]
-* eggprintoperation-private.h
-
-This defines the main object you interact with when printing. When the
-user selects print you allocate an EggPrintOperation, set some data
-like page size, old print settings, nr of pages, current page, etc and
-kick it off. It will then show a dialog, let the user select a printer
-and options. When the user finished the dialog various signals will be
-emited on the EggPrintOperation, the main one being draw_page() which
-you are supposed to catch and render the page using cairo.
-
-* eggprintcontext.[ch]
-
-This is an object that gets passed to the begin_print,
-request_page_setup, draw_page and end_print signals on the print
-operation. It lets you get the cairo context and important rendering
-information like page size and resolution. It also lets you easily
-create pango layoungs/contexts that match the font metrics of the
-cairo surface.
-
-* eggprintsettings.[ch]
-
-This object represents the settings of a print dialog in a
-system-independent way. Its basically a key-string = value-string
-hashtable with some predefined keys that you can use for convenience
-(although an implementation can use more keys than the predefined
-ones). The main use for this object is that once you've printed you
-can get a settings object that represents the settings the user chose,
-and the next time you print you can pass that in so that the user
-doesn't have to re-set all his settings. Its also possible to
-enumerate the settings so that you can easily save the settings for
-the next time your app runs, or even in a document. The predefined
-keys try to use shared values as much as possible so that moving such
-a document between systems still works.
-
-* eggpapersize.[ch]
-* paper_names.c
-
-Object that handles paper sizes. We use a standard called "PWG
-5101.1-2002 PWG: Standard for Media Standardized Names" to name the
-page sizes (and to get the data for the page sizes).
-
-* eggpagesetup.[ch]
-This object stored the page size, orientation and margins. The idea is
-that you can pass/get one of these from the page setup dialog and then
-send it to the print object when printing. The margins specified in this
-object is the "print margins", i.e. the parts of the page that the
-printer cannot print on. The idea of splitting this out of the print
-settins is that these affect the actual layout of the page, and thus
-needs to be set long before user prints. So, we have a page setup
-dialog and a page setup object that it returns.
-
-* eggprintenums.h
-Various enums needed for printing
-
-* eggprintoperation-win32.c
-* eggprint-win32.[ch]
-Win32 implementation of the highlevel API
-
-* eggprintoperation-unix.c
-Unix implementation of the highlevel API
-
-Unix Print Dialog
-=================
-* eggprintunixdialog.[ch]
-The print dialog code. The header is availible only on unix systems. I
-think it will be put in a separate include directory and have its own
-pkg-config module that you can use to get the headers.
-
-* eggpagesetupunixdialog.[ch]:
-The page setup dialog. Similarly to EggPrintUnixDialog this will not
-be availible on all platforms. For a platform independent version of
-this use egg_print_run_page_setup_dialog() from eggprintoperation.h.
-
-* eggprintbackend.[ch]
-* eggprinter.[ch]
-* eggprinter-private.h
-A printer backend implements the EggPrintBackend interface, which
-hands out EggPrinter objects to the dialog.
-
-* eggprinteroption.[ch]
-* eggprinteroptionset.[ch]
-The backend hands the dialog code a set of EggPrinterOption objects
-that describe the possible settings that a printer has. For instance,
-the cups implementation generates these from the ppd file for the
-printer. 
-
-* eggprinteroptionwidget.[ch]
-Widget that can display an EggPrinterOption
-
-*eggprintjob.[ch]
-*eggprintjob-private.h
-Code to handle sending a print job to the printer
-
-* modules/printbackends/cups/*.[ch]
-Cups implementation of EggPrintBackend
-
-* modules/printbackends/pdf/*.[ch]
-Print-to-file implementation of EggPrintBackend, prints to a pdf
-
-Test Code
-=========
-
-* printedit.c
-A simple editor that lets you print
-
-* testprintfileoperation.[ch]
-And example of how you can derive from EggPrintOperation to implement
-printing.
-
-* testprint.c
-A small test app that shows how you print using the high level api,
-using both g_signal_connect and using TestPrintFileOperation.
-
-* testshowdialog.c
-Just shows a print dialog
+This module has been merged in GTK+ 2.10:
 
+You should now use GtkPrint

Added: trunk/libegg/print/README
==============================================================================
--- (empty file)
+++ trunk/libegg/print/README	Wed Dec 24 14:34:19 2008
@@ -0,0 +1,3 @@
+This module has been merged in GTK+ 2.10:
+
+You should now use GtkPrint

Copied: trunk/libegg/recent-files/README (from r921, /trunk/libegg/recent-files/THIS_IS_DEPRECATED_USE_GTK_RECENT_CHOOSER)
==============================================================================
--- /trunk/libegg/recent-files/THIS_IS_DEPRECATED_USE_GTK_RECENT_CHOOSER	(original)
+++ trunk/libegg/recent-files/README	Wed Dec 24 14:34:19 2008
@@ -0,0 +1,3 @@
+This module has been merged in GTK+ 2.10:
+
+EggRecent* has become GtkRecent*

Modified: trunk/libegg/recentchooser/README
==============================================================================
--- trunk/libegg/recentchooser/README	(original)
+++ trunk/libegg/recentchooser/README	Wed Dec 24 14:34:19 2008
@@ -1,219 +1,3 @@
-libegg/recentchooser/README:
-============================
+This module has been merged in GTK+ 2.10:
 
-*** NOTICE ***
-
-  This code has been included in GTK 2.9.0.
-
-*** NOTICE ***
-
-** About **
-
-This is the proposed replacement for the recent-files module that lives in
-libegg.
-
-Recently used resources are handled by an object called RecentManager, which
-keeps a list of them; the resources are indexed by their URI, and stored on
-disk using the Desktop Bookmarks specification (the list is located into the
-${HOME}/.recently-used.xbel file).  Changes in the storage will be monitored
-by the RecentManager object.
-
-You should use the RecentManager object for adding and looking up resources
-into the Recently Used Resources list.
-
-Visualization of the items in the list is left to the implementors of the
-RecentChooser GInterface, which offers a uniform API for accessors to the
-recently used resources list.
-
-** Dependecies **
-
-The code depends on:
-
- + GLib
- + GTK+
- + the XDG Shared MIME Database (for xdgmime)
- + the Desktop Bookmark specification parser (libegg/bookmarkfile)
-
-** Provided widgets **
-
-These widgets should be considered as default viewers:
-	
-  * EggRecentChooserMenu: a simple GtkMenu, to be used as the sub-menu
-    for an 'Open Recent' menu item, or as the menu of a GtkMenuToolButton
-    widget.
-	
-  * EggRecentChooserWidget: a complex widget, composed of a GtkTreeView
-    showing a list of recently used resources, complete with icons and
-    meta-data such as full location, MIME Type, etc.
-
-  * EggRecentChooserDialog: a dialog widget containing a
-    EggRecentChooserWidget.
-
-** Frequently Asked Questions **
-
-Q: Why did you wrote the RecentManager?
-A: The code living recent-files started to bit-rot, after being unmaintained
-   for a long time; also, we never made clear whether the RecentModel code
-   should live in a Gnome platform library on the same level of libgnome,
-   or on a lower position on the dependency chain.  The RecentManager code
-   should go into Gtk, so it does not depend on anything more than GLib and Gtk
-
-Q: Shouldn't you have tried to save the RecentModel object first?
-A: I tried, at first.  It soon became obvious that the RecentModel code had
-   become a collection of hacks, especially WRT visualization, trying to hide
-   its usage of Gnome-VFS; also, the storage file format was subject to a
-   review process, both for enhancements and for interoperability.  The model
-   code would have been subject to a mass rewrite process anyway.
-
-Q: No, really, I liked the RecentModel API, can't you please keep it?
-A: The short answer is no.  The long answer is: it's not worth it.
-   The RecentModel tried to retrieve for itself most of the metadata
-   reguarding a recently used resource.  While this kept the API simple
-   (what you had to do was to feed it a URI, in most of the cases),
-   it also had a negative impact on the performances of the RecentModel
-   object - which, obviously, negatively impacted on the overall performance
-   of the widgets.  Even if you did not use Gnome-VFS, the RecentModel was
-   depending on it for querying the file metadata; if you did use it, you ended
-   up with twice the number of the queries: one did by you code, and one did
-   by the RecentModel code; this, especially in a networked environment, had
-   caused many performance issues that the only solution was to create a
-   RecentItem by yourself - and that made the API as complex as the
-   RecentManager API could be (in fact, a bit more complex, since a RecentData
-   structure is very lightweight when compared to a RecentItem object).
-
-Q: You even changed the viewer widget.  Why did you scrapped the entire
-   EggRecentViewGtk object?
-A: I really hated its name.
-
-Q: Now, be serious...
-A: Okay: I hated the whole thing - starting from the name.
-   It was a clever hack, which tried to be useful for both the "inlined
-   recent files" and the "recent files sub-menu" concepts.  But it was an
-   hack - which, clever or not, had passed the point of being maintainable.
-   The interface upon which was based was too simple for being useful
-   (EggRecentView only has two methods: "set_model" and "get_model"), so it
-   had to be refactored; the menu API was too dependent on the RecentModel
-   code - which led to separation issues when it came to visualization; for
-   instance, you don't sort a ListStore: you pass a sorting function to the
-   TreeView, so that you can have multiple views of the same data.  The same
-   should happen with the Recently Used Resources List: same data, multiple
-   viewers. Oh, and did I mention that the name was ugly?
-
-Q: Why the RecentChooserMenu shows up in a sub-menu?  Wasn't this removed
-   from the HIG?
-A: It was indeed removed, and I consider it a mistake made by the GUP.  The
-   rationale for its removal was, shortly: "recently used files should live on
-   the same level of the Open menu item"; which could be fine - if it didn't
-   bring up issues involving latency when building the File menu; or issues
-   involving the total utility of a list composed of just four items.  I
-   believe that the "Open Recent" menu just as appears in OS-X should be the
-   right approach, WRT recently used resources shown in a menu.  Also, this
-   keeps the code compact (the entire RecentChooserMenu size is < 1 kLOC), and
-   maintainable.
-
-Q: What if I wanted an inlined recently used resources list?
-A: It's not difficult to build, using the list returned by the RecentManager;
-   you don't even need to implement a widget:
-   
-     ...
-     menu_item = gtk_separator_menu_item_new ();
-     gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), menu_item);
-     gtk_widget_show (menu_item);
-     
-     manager = egg_recent_manager_new ();
-     egg_recent_manager_set_limit (manager, 4);
-     egg_recent_manager_set_sort_type (manager, EGG_RECENT_SORT_MRU);
-     
-     items = egg_recent_manager_get_items (manager);
-     for (l = items, count = 1; l != NULL; l = l->next, count++)
-       {
-         EggRecentInfo *info = (EggRecentInfo *) l->data;
-         gchar *text, *name;
-         
-         name = egg_recent_info_get_display_name (info);
-         text = g_strdup_printf ("_%d. %s", count, name);
-         
-         menu_item = gtk_menu_item_new_with_mnemonic (text);
-         gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), menu_item);
-         gtk_widget_show (menu_item);
-         
-         egg_recent_info_unref (info);
-       }
-     
-     g_list_free (item);
-     
-     menu_item = gtk_separator_menu_item_new ();
-     gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), menu_item);
-     gtk_widget_show (menu_item);
-     ...
-   
-   Less than thirty lines of code.
-
-   Obviously, this could be done inside the UIManager, for instance, and all
-   you'd have to do would be adding a placeholder tag like "<recent-items/>"
-   to the UIManager definitions.
-
-Q: Do you plan to create a inlined menu widget?
-A: Eventually; if the HIG does not change, or if the demand is high enough.
-   Or you could implement it.  It's Open Source, you know...
-
-Q: In which library this code should go?
-A: Inside Gtk+, starting from the 2.9 development cycle (I hope).
-
-Q: Why Gtk?  Why not libgnome?
-A: We are in the process of getting rid of libgnome, and Gtk makes sense.
-
-Q: The old recent-files code depended on libgnomevfs.  Why yours does not?
-A: The recent-files code depended on libgnomevfs for the fancy stuff needed
-   in order to retrieve the MIME type of a file, and on the conversion of the
-   URI in order to be displayable; also, it needed libgnomevfs for the monitor
-   on the storage file.  The MIME stuff could go away, since we require the
-   user of this code to pass the MIME type of the resource when registering it;
-   it makes sense, because if you used libgnomevfs yourself in your code,
-   you wouldn't have to check the MIME type twice.  Also, many of the UTF-8
-   and URI manipulation code it's now available directly inside GLib.  At the
-   end of the day, we needed only the GnomeVFSMonitor from libgnomevfs - and
-   that could be easily replaced with a timed poll() on the file.
-
-Q: The old recent-files code depended on libgnomeui.  Why yours does not?
-A: The only left-over of the libgnomeui dependency inside libegg/recent-files
-   was the usage of gnome_icon_lookup() function.  I removed it, and switched
-   to the same system used by the GtkFileChooser object (we'll also share the
-   cache, so it should even be more efficient once this code goes in).
-
-Q: Why did you have to change the format of the storage file?
-A: Because the old format, as defined by the recent-file spec, has shown its
-   limits, since the day it has been proposed.  Also, that spec is still a
-   draft after three years, and itâs not used by anyone else but GNOME.
-
-Q: What limits the recent-file spec has?
-A: It lacks the meta-data needed to know which applications registered a
-   recently used resources.  It lacks descriptors for meta-data such as a
-   human readable name for the recently used resource.
-
-Q: But recently used files need not a human readable name. Why should we
-   use it?
-A: The âhuman readableâ name and description are not mandatory. Anyway, a user
-   might have set that meta-data on its document; we strongly encourage the
-   existence of this meta-data for other purposes, such searching (see Beagle
-   et al.). It would be totally unfriendly to show the file name instead of
-   what the user decided to use as a name for that document. Also, âWireless
-   adapter WX-6615 Manualâ (my first entry in the recently used documents ATM)
-   is more readable than âwx-6615.pdfâ.
-
-Q: Still, a recent file is not bookmark; then, why allow things that a bookmark
-   allows on a recently used file pointer?
-A: For me, a recent file is a bookmark to a file, with a lifetime that is kept
-   artificially short, so it makes perfectly sense to use a bookmark-definition
-   language in order to store it.  You are gladly invited to prove me wrong,
-   by providing examples on how a recent file pointer could be described apart
-   from using a URI and meta-data, and how XBEL fails to be up to the task.
-
-Q: We could extend the recent-file spec, then, instead of using XBEL; did you
-   think about it?
-A: Yes, in fact I did. The first proposal of the desktop-bookmark spec used an
-   updated version of the recent-file spec, but it was shot down, and usage of
-   XBEL was proposed.
-
--- ebassi <ebassi (AT) gmail (DOT) com>
-++ $Revision: 1.5 $
+EggRecent* has become GtkRecent*

Modified: trunk/libegg/regex/README
==============================================================================
--- trunk/libegg/regex/README	(original)
+++ trunk/libegg/regex/README	Wed Dec 24 14:34:19 2008
@@ -1,11 +1,3 @@
-This directory contains regular expression api which should eventually 
-land in GLib. We have put it here, since it didn't get enough testing
-to put it into GLib 2.6. 
+This module has been merged in GLib 2.14:
 
-TODO items:
-- Improve the Unicode support by making PCRE use the GLib Unicode functions.
-- Maybe change the replace functions to replace only one match.
-
-July 2 2004
-
-Matthias
+EggRegex has become GRegex

Added: trunk/libegg/sequence/README
==============================================================================
--- (empty file)
+++ trunk/libegg/sequence/README	Wed Dec 24 14:34:19 2008
@@ -0,0 +1,3 @@
+This module has been merged in GLib 2.14:
+
+EggSequence has become GSequence



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