6July05: building geektoys [Long]



Issues:
--------

* coaster-0.1.4.2
nautilus-cd-burner-2.11.3 API has changed
        
        ==>./src/ncbmn/recorder.cc does not compile

to be resolved in version 0.1.5 [not yet available]

* evince-0.3.2
- Requires poppler version >= 3.3
- Upgrade poppler version: 3.2 -> 3.3
- evince builds, installs, and runs

* gDesklets-0.35
Building uncovered problems with a dependency,

        bindings/gnome-python-extras-2.11.2

gnome-python-bindings/gda does not build. There are a two of problems:

- some code is python-2.4.x specific
pygdavalue_conversions.c does not compile in a python-2.3.5 environment
owing to changes in  
        
        /usr/include/python-2.x/datetime.h

- some code is libgda-1.2 specific
gda.c needs to be rewritten to compile in a libgda-1.3.x environment.

I edited the top level makefile to avoid building gda:

                        #am__append_12 = gda

and filed a bug #307768.  The set of desklets that comes with gDesklets
does not use the gda support so gDesklets-0.35 builds and installs.

* gnomemeeting-1.21
Requires pwlib and openh323.

Attached are Makefiles for:
- geektoys / gnomemeeting
- bootstrap / pwlib
- bootstrap / openh323

* gworldclock-1.4.2
Tarball no longer exists. Need to update the version to 1.4.4

* liferea-0.9.2
The DBUS API has changed

        ==> ./src/ui_feedlist.c does not compile

Attached is an updated Makefile and a patch file for ui_feedlist.c

* gst-ffmpeg-0.8.5
gst-register-0.8 segfaults when attempting to register the plugin:

        ERROR: Caught a segmentation fault while loading plugin file:
        /opt/garnome/lib/gstreamer-0.8/libgstffmpeg.so

The GAR makefile post-process section should have caught this error,
which it failed to do. There are two reasons for this:

(1) The post-process target failed to execute because it had no
dependencies. It needs to be "FORCED".

(2) The "or" clause should contain "exit" rather than "true".

See attached Makefile.

The CVS code for gst-ffmeg works.  I installed it and rolled on.

* quick-lounge-applet-2.10.0
Fails to compile ./src/dlg-pick-applications.c because of changes in the
gnome-menu API.

Attached is an updated Makefile and a patch file for
dlg-pick-applications.c

* screen-0.14.1
Does not build because it was written for gnome-menus-2.10.x. 

An "experimental" version, 0.15.0, is now available that builds for both
gnome-menus-2.10.x and gnome-menus-2.11.x. 

Edit the Makefile

	GARVERSION=0.15.0


* thoggen-0.3
thoggen-0.3 does not build because of API changes in HAL & DBUS.

The latest code from CVS builds, installs, and runs.


-Joseph




-- 
joseph_sacco [at] comcast [dot] net
GARNAME = openh323
GARVERSION = 1.15.3
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/

LIBDEPS = bootstrap/pwlib



DESCRIPTION = openh323
define BLURB
 #FIXME: blurb goes here
endef


CONFIGURE_ENV = PWLIBDIR="/usr/local/src/GNOME/garnome-2.11-20050616.1615/bootstrap/pwlib/work/main.d/pwlib-1.8.4"

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) -enable-plugins

include ../category.mk
GARNAME = pwlib
GARVERSION = 1.8.4
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/

DESCRIPTION = pwlib
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) -enable-plugins

include ../category.mk
GARNAME = gnomemeeting
GARVERSION = 1.2.1
CATEGORIES = geektoys
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = platform/libgnomeui bootstrap/pwlib bootstrap/openh323 bootstrap/howl

DESCRIPTION = gnomemeeting
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --with-pwlib-dir=$(prefix) --with-openh323-dir=$(prefix)

include ../category.mk
 
CFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
CXXFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
CPPFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
LDFLAGS := $(shell echo $(CFLAGS) | sed -e 's/-O2/-O1/g')
GARNAME = liferea
GARVERSION = 0.9.2
CATEGORIES = geektoys
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = ui_feedlist.patch

MASTER_SITES = http://download.sourceforge.net/liferea/

LIBDEPS = platform/gtk+ platform/libgnomeui platform/GConf platform/libxml2 desktop/libgtkhtml

DESCRIPTION = lifearea
define BLURB
Liferea is an aggregator for online news feeds.
 
Liferea supports a number of different feed formats including RSS/RDF, CDF, 
Atom, OCS, and OPML. There are many other news readers available, but 
these others are not available for Linux or require many extra libraries 
to be installed. Liferea tries to fill this gap by being a fast, easy 
to use, easy to install news aggregator for GTK/GNOME.
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

include ../category.mk
--- ./src/ui_feedlist.c-	2005-05-08 12:03:51.000000000 -0400
+++ ./src/ui_feedlist.c	2005-07-06 09:22:52.000000000 -0400
@@ -821,7 +821,7 @@
 	dbus_connection_setup_with_g_main (connection, NULL);
 	    
 	/* Register for the FeedReader service on the bus, so we get method calls */
-    dbus_bus_acquire_service (connection, DBUS_RSS_SERVICE, 0, &error);
+    dbus_bus_request_name (connection, DBUS_RSS_SERVICE, 0, &error);
 	if (dbus_error_is_set (&error))
 	{
 		fprintf (stderr, "*** ui_feedlist.c: Failed to get dbus service: %s | %s\n", error.name, error.message);
--- ./src/dlg-pick-applications.c-	2005-06-18 21:15:25.000000000 -0400
+++ ./src/dlg-pick-applications.c	2005-06-18 21:56:24.000000000 -0400
@@ -20,6 +20,8 @@
  *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
  */
 
+#define  GMENU_I_KNOW_THIS_IS_UNSTABLE
+
 #include <config.h>
 #include <string.h>
 #include <gtk/gtk.h>
@@ -30,7 +32,7 @@
 #include <libgnome/gnome-desktop-item.h>
 #include <libgnomeui/gnome-help.h>
 #include <libgnomeui/gnome-window-icon.h>
-#include <menu-tree.h>
+#include <gmenu-tree.h>
 #include "dlg-pick-applications.h"
 #include "dlg-properties.h"
 #include "gtk-utils.h"
@@ -177,19 +179,19 @@
 void
 add_applications_from_dir (DialogData         *data,
 			   GtkTreeIter        *tree_iter,
-			   MenuTreeDirectory  *menu_dir)
+			   GMenuTreeDirectory  *menu_dir)
 {
 	QuickLounge *quick_lounge = data->quick_lounge;
 	GSList      *entries, *subdirs, *scan;
 	GtkTreeIter  iter;
 
-	subdirs = menu_tree_directory_get_subdirs (menu_dir);
+	subdirs = gmenu_tree_directory_get_contents (menu_dir);
 	for (scan = subdirs; scan; scan = scan->next) {
-		MenuTreeDirectory *dir = scan->data;
+		GMenuTreeItem     *dir = scan->data;
 		const char        *icon_path = NULL;
 		GdkPixbuf         *icon = NULL;
 
-		icon_path = menu_tree_directory_get_icon (dir);
+		icon_path = gmenu_tree_directory_get_icon (dir);
 		if (icon_path != NULL) 
 			icon = create_pixbuf (quick_lounge->icon_theme, icon_path, ICON_SIZE_MENU);
 
@@ -199,8 +201,8 @@
 				    USE_APP_COLUMN, FALSE,
 				    IS_LAUNCHER_COLUMN, FALSE,
 				    APP_ICON_COLUMN, icon,
-				    APP_NAME_COLUMN, menu_tree_directory_get_name (dir),
-				    APP_COMMENT_COLUMN, menu_tree_directory_get_comment (dir),
+				    APP_NAME_COLUMN, gmenu_tree_directory_get_name (dir),
+				    APP_COMMENT_COLUMN, gmenu_tree_directory_get_comment (dir),
 				    -1);
 
 		if (icon != NULL)
@@ -208,34 +210,34 @@
 
 		add_applications_from_dir (data, &iter, dir);
 
-		menu_tree_directory_unref (dir);
+		gmenu_tree_item_unref (dir);
 	}
 	g_slist_free (subdirs);
 
-	entries = menu_tree_directory_get_entries (menu_dir);
+	entries = gmenu_tree_directory_get_contents (menu_dir);
 	for (scan = entries; scan; scan = scan->next) {
-		MenuTreeEntry *entry = scan->data;
+		GMenuTreeItem *entry = scan->data;
 		const char    *icon_path = NULL;
 		GdkPixbuf     *icon = NULL;
 
-		icon_path = menu_tree_entry_get_icon (entry);
+		icon_path = gmenu_tree_entry_get_icon (entry);
 		if (icon_path != NULL)
 			icon = create_pixbuf (quick_lounge->icon_theme, icon_path, ICON_SIZE_MENU);
 
 		gtk_tree_store_append (GTK_TREE_STORE (data->model), &iter, tree_iter);
 		gtk_tree_store_set (GTK_TREE_STORE (data->model), &iter,
-				    APP_URI_COLUMN, menu_tree_entry_get_desktop_file_path (entry),
+				    APP_URI_COLUMN, gmenu_tree_entry_get_desktop_file_path (entry),
 				    USE_APP_COLUMN, FALSE,
 				    IS_LAUNCHER_COLUMN, TRUE,
 				    APP_ICON_COLUMN, icon,
-				    APP_NAME_COLUMN, menu_tree_entry_get_name (entry),
-				    APP_COMMENT_COLUMN, menu_tree_entry_get_comment (entry),
+				    APP_NAME_COLUMN, gmenu_tree_entry_get_name (entry),
+				    APP_COMMENT_COLUMN, gmenu_tree_entry_get_comment (entry),
 				    -1);
 
 		if (icon != NULL)
 			g_object_unref (icon);
 
-		menu_tree_entry_unref (entry);
+		gmenu_tree_item_unref (entry);
 	}
 	g_slist_free (entries);
 }
@@ -245,20 +247,21 @@
 add_applications (DialogData  *data,
 		  const char  *menu_file)
 {
-	MenuTree           *menu_tree;
-	MenuTreeDirectory  *menu_dir;
+	GMenuTree           *gmenu_tree;
+	GMenuTreeDirectory  *menu_dir;
+        GMenuTreeFlags       gmt_flags;
 
-	menu_tree = menu_tree_lookup (menu_file);
-	if (menu_tree == NULL)
+	gmenu_tree = gmenu_tree_lookup (menu_file, gmt_flags);
+	if (gmenu_tree == NULL)
 		return;
 
-	menu_dir = menu_tree_get_root_directory (menu_tree);
+	menu_dir = gmenu_tree_get_root_directory (gmenu_tree);
 	add_applications_from_dir (data, NULL, menu_dir);
-	menu_tree_directory_unref (menu_dir);
+	gmenu_tree_item_unref (menu_dir);
 
 	gtk_tree_view_expand_all (GTK_TREE_VIEW (data->tree_view));
 
-	menu_tree_unref (menu_tree);
+	gmenu_tree_unref (gmenu_tree);
 }
 
 
GARNAME = quick-lounge-applet
GARVERSION = 2.10.0
CATEGORIES = geektoys
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES = dlg-pick-applications.patch

LIBDEPS = desktop/gnome-panel desktop/gnome-menus

DESCRIPTION = quick-lounge-applet
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

include ../category.mk
GARNAME = gst-ffmpeg
GARVERSION = 0.8.5
CATEGORIES = geektoys
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

MASTER_SITES = http://gstreamer.freedesktop.org/src/gst-ffmpeg/

LIBDEPS = desktop/gstreamer desktop/gst-plugins

DESCRIPTION = gst-ffmpeg
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS)

include ../category.mk

post-install: FORCE
	@echo " ==> Re-running gst-register..."
	@$(bindir)/gst-register-0.8 --gst-debug-level=0 > /dev/null || exit
	@$(MAKECOOKIE)

FORCE:


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