On Thu, 2005-06-23 at 18:53 +0200, Mark Wielaard wrote:
> On Wed, 2005-06-22 at 16:08 +0200, Ziga Mahkovec wrote:
> > I'm using jhbuild to build both, using the gtk28 moduleset
> > and pinning down Cairo to the "SNAPSHOT_0_5_0" branch.
> 
> I am just unable to get any combination working. I always get:
> (.:14323): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> And nothing works, I just get some empty windows if I am lucky.
> 
> My .jhbuildrc is attached. Could you tell me how it differs from yours?

No significant changes, but I'm attaching mine anyway.  Did you wipe out
$prefix before building?

Also, which application are you testing?  I'm mostly doing BufferedImage
work, so it's possible I never triggered that code path.

-- 
Ziga
# -*- mode: python -*-
import glob
import re

# modules to build (deps are also built)
moduleset = 'gtk28'
modules = ['gtk+']

baseroot = os.path.join(os.environ['HOME'], 'jhbuild')

# where the sources are checked out to
checkoutroot = os.path.join(baseroot, 'sources')

# the root build directory for packages that support non-srcdir builds
buildroot = os.path.join(baseroot, 'build')

# the prefix to install things to (user must have write access)
prefix = os.path.join(baseroot, 'install')

# arguments to pass to autogen script
autogenargs = '--disable-static --disable-gtk-doc'

# module-specific autogen arguments
# GDB doesn't support --disable-static
module_autogenargs['gdb'] = ''
# build the GTK peers and the Cairo Graphics2D backend
module_autogenargs['gcj'] = '--enable-languages=java --enable-java-awt=gtk 
--enable-gtk-cairo'

# arguments to pass to make
makeargs = 'CFLAGS="-g -O0" CPPFLAGS="-g -O0" CXXFLAGS="-g -O0" GCJFLAGS="-g 
-O0"'

# module-specific make arguments
# Python doesn't support overriding CFLAGS
module_makeargs['python'] = ''
module_makeargs['gcj'] = 'CFLAGS="-g -O0" CFLAGS_FOR_TARGET="-g -O0" 
CPPFLAGS="-g -O0" CXXFLAGS="-g -O0" GCJFLAGS="-g -O0"'

# install-check only installs headers if they've changed
os.environ['INSTALL'] = os.path.join(os.environ['HOME'], 'bin', 'install-check')

# build CLASSPATH for Java-GNOME
#for jar in glob.glob(os.path.join(prefix, 'share', 'java', '*.jar')):
#    if not re.search("-", os.path.basename(jar)):
#        prependpath('CLASSPATH', jar)

# set the build directory pattern for those packages that support
# non-srcdir builds -- foo will be built in a directory called
# foo-bld.
builddir_pattern = '%s-bld'

# points LD_LIBRARY_PATH at the build directory, to eliminate the need
# to re-install after every rebuild.  If you're not working on x86
# linux you'll need to modify the platform string.
#prependpath('LD_LIBRARY_PATH', os.path.join(buildroot, 'gcj-bld', 
'i686-pc-linux-gnu', 'libjava', '.libs'))
branches['cairo'] = 'SNAPSHOT_0_5_0'
_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to