Building 2.11-20050715.1850 [long]



I have successfully built and installed 2.11-20050715.1850.  

Everything builds except coaster-1.4.2, which is incompatible with the
2.11.x branch. We await version 1.5.

Preparation
-----------
* Setting the PYTHON environment variable
I wanted to build using python-2.4.1, which on my system is installed in
a non-standard place under /opt/python-2.4.1.

In theory... Setting PYTHON in gar.conf.mk to

        PYTHON=/opt/python-2.4.1/bin/python

should work.

In practice... It does, except in two cases:
* ./platform/libxml2-2.6.20 [bug #308004]
* ./platform/libxslt-1.1.14 [bug #310787]

For these two, "configure" does not quite do the right thing. See the
bug reports.

I worked around this problem by running manually editing the work-source
makefiles.

./bootstrap 
-------------
* In order to build ./geektoys/, two previously reported additions are
required:
        - openh323
        - pwlib

makefiles and checksums are attached.

./freedesktop
--------------
* xft has been replaced by libXft
Per Bob K, xft is now obsolete and hase been replaced by libXft.
makefile and checksum are attached.

A collateral effect of this naming change is a change in LIBDEPS
for ./platform/gtk+

--- Makefile-   2005-07-16 08:58:49.000000000 -0400
+++ Makefile    2005-07-16 11:37:46.000000000 -0400
@@ -4,7 +4,7 @@
 DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
 PATCHFILES = garnome-fixes.diff hack-around-cairo-redraw-foo.diff

-LIBDEPS = freedesktop/fontconfig freedesktop/xft platform/glib platform/atk platform/pango platform/gnome-mime-data
+LIBDEPS = freedesktop/fontconfig freedesktop/libXft platform/glib platform/atk platform/pango platform/gnome-mime-data

 DESCRIPTION = gtk+
 define BLURB

* dbus-0.34 & hal-0.52
There is a nasty dependency loop:

	mono -> dbus -> gtk-sharp1.0 -> mono

that I fixed in the latest 2.10 snapshot, garnome-2.10-20050714.1730.
See attached makefiles.

If you are running a system that uses redhat-like initialization
scripts, you may wish to have the hal and dbus builds create init files
that start up the GARNOME versions of hal and dbus.

These init files are *not* automatically installed, but are created in
the $(WORKSRC) directory. See the attached makefiles for dbus and hal.

FYI... There are newer versions of hal & dbus, 0.5.3 & 0.35.1, but they
are not quite ready for prime time.  email has been sent to the author.

./desktop
-----------
* control-center
configure will fail unless ./freeesktop/xft is updated
by ./freedesktop/libXft


* evolution & evolution-data-server
In order for message exchange to be supported, openldap muste be
enabled.

Edit the respective GARNOME makefiles, appending

	--enable-openldap

to CONFIGURE_ARGS 

* gnome-volume-manager
The patch, garnome-fixes.diff, is no longer required.  Edit the
makefile:

--- Makefile-   2005-07-16 23:14:40.000000000 -0400
+++ Makefile    2005-07-16 23:18:44.000000000 -0400
@@ -2,7 +2,7 @@
 GARVERSION = 1.3.2
 CATEGORIES = desktop
 DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
-PATCHFILES = garnome-fixes.diff
+PATCHFILES =

 LIBDEPS = platform/libgnomeui freedesktop/dbus freedesktop/hal


./office
----------
* fribidi
build chokes because of "--enable-debug" CONFIGURE_ARG. The debug code
present in the CVS version is missing from the stable branch.

See attached makefile.

./geektoys
----------
* coaster
coaster-1.4.2 is broken. Will need version 1.5 to be compatible with the
2.11.x branch. Not yet available.

* gDesklets
version 0.35 is no longer available. Bump version to 0.35.2

* revelation
Requires a python module found in
	pycrypto-2.0.x

I discovered this because I started with a clean install of python-2.4.1
with no additional packages.

./mono
Some of the check sums are wrong. Some of the makefiles require minor
"tweaks" that I submitted earlier. I have attached makefiles.  A new
checksum can be generated using

	make makesum

./hacker-tools
---------------
Now that there exists a working version of valgrind-2.4.0-ppc, all the
tools can be make to build.  The patches to memprof-0.51 submitted
earlier have not [yet] made it into the snapshots.

-Joseph

-- 
joseph_sacco [at] comcast [dot] net
f9d25921281843fd2304da494b2e04e2  download/openh323-1.15.3.tar.gz
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="$(CURDIR)/../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
fc638a64216b7751271c539ee4ccd0a8  download/pwlib-1.8.4.tar.gz
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
e8bab0995bdb96bf0efd06706aeb0494  download/libXft-2.1.7.tar.gz
GARNAME = libXft
GARVERSION = 2.1.7
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://xlibs.freedesktop.org/release/

LIBDEPS = freedesktop/fontconfig freedesktop/xrender

DESCRIPTION = libXft
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 = dbus
GARVERSION = 0.34
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://dbus.freedesktop.org/releases/

LIBDEPS = platform/glib platform/libxml2
LIBDEPS += $(shell if [ -e $(bindir)/mono ]; \
then echo " mono/gtk-sharp1.0"; fi )


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

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

CONFIGURE_ARGS = $(DIRPATHS) --enable-glib --with-xml=libxml

# to enable redhat style init scipts uncomment the next line
#CONFIGURE_ARGS +=  --with-init-scripts=redhat --with-system-pid-file=$(prefix)/var/run/messagebus.pid 

CONFIGURE_ARGS += $(shell if [ -e $(bindir)/mono ]; \
then echo " --enable-mono"; fi )

include ../category.mk

CC := $(shell echo $(CC) | sed -e 's/ccache //g')
CXX := $(shell echo $(CXX) | sed -e 's/ccache //g')
GARNAME = gtk-sharp
GARVERSION = 1.0.10
CATEGORIES = mono
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = garnome-fixes.diff

MASTER_SITES = http://go-mono.com/sources/gtk-sharp/

LIBDEPS = platform/gtk+ platform/atk desktop/gtkhtml desktop/vte 

# ensure mono has been installed while avoiding a dependency loop
#      mono-> dbus-> gtk-sharp1.0 -> mono
#
LIBDEPS += $(shell if [ ! -e $(bindir)/mono ]; \
then echo " mono/mono"; fi )

DESCRIPTION = gtk-sharp
MAINTAINER = Joseph Sacco <joseph_sacco comcast net>
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 = mono
GARVERSION = 1.1.8.2
CATEGORIES = mono
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

LIBDEPS = platform/glib platform/gtk+ desktop/gtkhtml desktop/librsvg

DESCRIPTION = mono
MAINTAINER = Joseph Sacco <joseph_sacco comcast net>
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:
	@echo -n " ==> Checking if dbus-sharp has been built... "
	@if [ ! -e $(libdir)/pkgconfig/dbus-sharp.pc ]; then \
		echo "No." ; \
		$(MAKE) -C ../../freedesktop/dbus cookieclean ; \
		$(MAKE) -C ../../freedesktop/dbus install ; \
	else \
		echo "Yes." ; \
	fi
GARNAME = hal
GARVERSION = 0.5.2
CATEGORIES = freedesktop
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
PATCHFILES = upstream-fixes.diff

MASTER_SITES = http://freedesktop.org/~david/dist/

LIBDEPS = freedesktop/dbus

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

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

# to enable redhat style init scipts uncomment the next line
CONFIGURE_ARGS = $(DIRPATHS) --with-init-scripts=redhat --with-pid-file=$(prefix)/var/run/haldaemon.pid

include ../category.mk

CC := $(shell echo $(CC) | sed -e 's/ccache //g')
CXX := $(shell echo $(CXX) | sed -e 's/ccache //g')
GARNAME = fribidi
GARVERSION = 0.10.5
CATEGORIES = office
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

MASTER_SITES = http://fribidi.org/download/

DESCRIPTION = fribidi
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

CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-debug,,')
GARNAME = beagle
GARVERSION = 0.0.12
CATEGORIES = mono
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = mono/gtk-sharp2.0 mono/gecko-sharp1.0 mono/evolution-sharp geektoys/gmime

DESCRIPTION = beagle
MAINTAINER = Joseph Sacco <joseph_sacco comcast net>
define BLURB
 #FIXME: blurb goes here
endef

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

CONFIGURE_ARGS = $(DIRPATHS) --with-mozilla=firefox

include ../category.mk

pre-configure:
	@echo -n " ==> Does gmine need to be rebuilt with mono extensions? "
	@if [ ! -e $(libdir)/pkgconfig/gmime-sharp.pc  ]; then \
		echo "Yes." ; \
		$(MAKE) -C ../../geektoys/gmime cookieclean ; \
		$(MAKE) -C ../../geektoys/gmime install ; \
	else \
		echo "No." ; \
	fi
GARNAME = f-spot
GARVERSION = 0.0.13
CATEGORIES = mono
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = mono/gtk-sharp1.0

DESCRIPTION = f-spot
MAINTAINER = Joseph Sacco <joseph_sacco comcast net>
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 = gtksourceview-sharp
GARVERSION = 0.5
CATEGORIES = mono
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz

LIBDEPS = mono/gtk-sharp1.0 desktop/gtksourceview

DESCRIPTION = gtksourceview-sharp
MAINTAINER = Joseph Sacco <joseph_sacco comcast net>
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 = memprof
GARVERSION = 0.5.1
CATEGORIES = hacker-tools
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2

LIBDEPS = platform/libgnomeui platform/GConf
PATCHFILES = memprof.patch

DESCRIPTION = memprof
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
--- ./bfdutils.c-	2005-02-17 17:04:02.000000000 -0500
+++ ./bfdutils.c	2005-02-17 17:04:15.000000000 -0500
@@ -164,7 +164,7 @@
 				 * into the internals instead. :-(
 				 */
 				/* (*func) (addr, bfd_section_size (map->abfd, section), user_data); */
-				(*func) (addr, section->_cooked_size, user_data);
+				(*func) (addr, section->size, user_data);
 			}
 		}
 }
--- ./memintercept-utils.c-	2005-02-17 16:59:56.000000000 -0500
+++ ./memintercept-utils.c	2005-07-11 10:02:08.000000000 -0400
@@ -30,6 +30,12 @@
 
 #include "memintercept-utils.h"
 
+/* include atomic operations macros from glibc */
+#ifndef __KERNEL__
+#define __KERNEL__
+#endif
+#include <asm/atomic.h>
+
 static int
 write_all (int         fd,
 	   const void *buf,
@@ -264,30 +270,22 @@
 uint32_t
 mi_atomic_increment(uint32_t *addr)
 {
-#if defined (__GNUC__) && defined (__i386__)
-	uint32_t result;
-	__asm__ __volatile__("lock; xaddl %0, %1; incl %0"
-			     : "=r"(result), "=m"(*(addr))
-			     : "0" (1), "m"(*(addr)) : "memory");
-	return result;
+#if defined (__GNUC__)
+	return((uint32_t)atomic_inc_return((atomic_t *)addr));
 #else
 	/* Hope for the best */
-	return *++p;
+	return *++addr;
 #endif
 }
 
 uint32_t
 mi_atomic_decrement(uint32_t *addr)
 {
-#if defined (__GNUC__) && defined (__i386__)
-	uint32_t result;
-	__asm__ __volatile__("lock; xaddl %0, %1; decl %0"
-			     : "=r"(result), "=m"(*(addr))
-			     : "0" (-1), "m"(*(addr)) : "memory");
-	return result;
+#if defined (__GNUC__)
+	return((uint32_t)atomic_dec_return((atomic_t *)addr));
 #else
 	/* Hope for the best */
-	return *--p;
+	return *--addr;
 #endif
 }
 
--- ./stack-frame.c-	2005-02-17 17:02:22.000000000 -0500
+++ ./stack-frame.c	2005-02-17 17:02:37.000000000 -0500
@@ -69,7 +69,7 @@
 
 #define HAVE_FRAME_ACCESSORS
 
-#if defined (__GNUC__) && defined (__i386__)
+#if defined (__GNUC__) 
 typedef struct stack_frame_struct stack_frame;
 struct stack_frame_struct {
     stack_frame *next;


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