Re: What are the most useful versions of Pango and dependencies for bug reporting?



On 2007-05-03 16:14-0400 Behdad Esfahbod wrote:

On Thu, 2007-05-03 at 12:52 -0700, Alan W. Irwin wrote:
I would like to build the latest version of Pango to see whether
what seems to be a bug in my old system version of Pango still persists. It
appears from http://www.pango.org/Download that jhbuild is the way to do
such Pango builds.

I have jhbuild checked out from subversion, but now I am a bit stuck on what
options to use in .jhbuildrc. Thus, please let me know your recommendations
for that file to get the most useful build of Pango (and all its
dependencies) for bug investigation and reporting.  Note, the libLASi
library depends on libpango so I just want to build Pango and its
dependencies, but nothing else from GNOME.

Cairo 1.4.6 and Pango 1.16.4 are the versions you want.  Not sure about
the jhbuild magic to get it do that.

I have figured that out and give a complete cookbook of my jhbuild of just
the pango stack (using the latest stable release versions that you
recommended) at
http://sourceforge.net/mailarchive/forum.php?forum_name=lasi-devel
(see the latest message there).

The particular e-mail in question can be found at

http://sourceforge.net/mailarchive/message.php?msg_name=Pine.LNX.4.60.0705051710180.28396%40puvpxnqrr.zlyna.ubzr

SourceForge archiving of attachments is problematic (one view of the above
e-mail gives one attachment, another gives the second attachment) so
I have attached .jhbuildrc and pango_stack.modules to this e-mail as well.

Thanks, Behdad, for your help with those version recommendations.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
# -*- mode: python -*-

# edit this file to match your settings, backup your ~/.jhbuildrc, and then
# copy this there

# what module set should be used.  The default at the moment is 'gnome28',
# but it can be any of the files in the modulesets directory, or even
# the URL of a module set file on a web server.
moduleset = 'pango_stack'

# A list of the modules to build.  Defaults to the Gnome Desktop and
# developer platform.
modules = [ 'pango' ]

# what directory should the source be checked out to?
checkoutroot = os.path.join(os.environ['HOME'], 'pango_stack')

# the prefix to configure/install modules to (must have write access)
prefix = os.path.join(os.environ['HOME'], 'pango_stack', 'install')

# extra arguments to pass to all autogen.sh scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'
autogenargs='--disable-static --disable-gtk-doc '

# set CFLAGS:
os.environ['CFLAGS'] = '-g -O2'
# set only if you have more than one CPU
# might break some builds
#makeargs = '-j2'


# a alternative install program to use.
# The included install-check program won't update timestamps if the
# header hasn't changed
os.environ['INSTALL'] = os.path.join(os.environ['HOME'],
                                     'bin', 'install-check')

# An alternative location to look for (or download to) all downloaded tarballs
tarballdir = os.path.join(checkoutroot, 'pkgs')


########## Workarounds ##########

# libxml2, libxslt, and gamin are totally inconsistent with the rest of Gnome
# about python.  See
# http://mail.gnome.org/archives/garnome-list/2005-July/msg00199.html
#
# WARNING: This will probably fail if you don't do a jhbuild bootstrap
# first to make sure that jhbuild installs python-2.4 in the prefix
#
os.environ['PYTHON'] = os.path.join(prefix, 'bin/python')
os.environ['PYTHONPATH'] = os.path.join(prefix, 'lib/python2.4/site-packages')

# jhbuild no longer automatically looks in /usr/lib/pkgconfig, so we need to
# tell it to do so
addpath('PKG_CONFIG_PATH', '/usr/lib/pkgconfig')
<?xml version="1.0" ?>
<moduleset>
  <tarball id="libXft" supports-non-srcdir-builds="no" version="2.1.7">
    <source href="http://xlibs.freedesktop.org/release/libXft-2.1.7.tar.bz2";
    md5sum="3e311b4095283d59488b95c8bd772521" size="237056"/>
    <branch checkoutdir="libXft" module="xorg/lib/libXft" repo="git.freedesktop.org"/>
    <dependencies>
      <dep package="fontconfig"/>
    </dependencies>
  </tarball>
  <tarball id="gnome-common" version="2.18.0">
    <source 
    href="http://download.gnome.org/sources/gnome-common/2.18/gnome-common-2.18.0.tar.bz2"; 
    md5sum="567172e685fc0783b1d6ab9843a85d6a" size="62628"/>
    <branch/>
  </tarball>
  <tarball id="cairo" version="1.4.6">
    <source href="http://cairographics.org/releases/cairo-1.4.6.tar.gz";
    md5sum="ae16e73f9dca46ac93b4ce435e93773c" size="3181592"/>
    <dependencies>
      <dep package="fontconfig"/>
      <dep package="gtk-doc"/>
      <dep package="freetype"/>
    </dependencies>
    <after>
      <dep package="glitz"/>
    </after>
  </tarball>
  <tarball id="fontconfig" version="2.4.2">
    <source href="http://www.fontconfig.org/release/fontconfig-2.4.2.tar.gz"; 
    md5sum="f035852f521b54677f2b5c9e2f6d54a4" size="1278340"/>
    <dependencies>
      <dep package="freetype"/>
    </dependencies>
  </tarball>
  <tarball id="libgpg-error" version="1.4">
    <source 
    href="http://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.4.tar.bz2"; 
    md5sum="2ea1e25b7a6f9365c969403af4a6dbc5" size="467196"/>
  </tarball>
  <tarball id="libgcrypt" version="1.2.2">
    <source 
    href="http://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.2.2.tar.bz2"; 
    md5sum="4a8a9a7572892ae3803a5aa558e52e02" size="780315"/>
    <dependencies>
      <dep package="libgpg-error"/>
    </dependencies>
  </tarball>
  <tarball id="glib" version="2.12.12">
    <source
    href="http://download.gnome.org/sources/glib/2.12/glib-2.12.12.tar.bz2";
    md5sum="0b3a42098243d054475ff6eb51ed2be1" size="2938743"/>
    <branch/>
    <dependencies>
      <dep package="gtk-doc"/>
    </dependencies>
  </tarball>
  <tarball id="gtk-doc" version="1.8">
    <source 
    href="http://download.gnome.org/sources/gtk-doc/1.8/gtk-doc-1.8.tar.bz2"; 
    md5sum="e61595df21431db28c83fe4c7d4a4fa8" size="186203"/>
    <branch/>
    <dependencies>
      <dep package="libxslt"/>
      <dep package="scrollkeeper"/>
    </dependencies>
  </tarball>
  <tarball id="intltool" version="0.35.5">
    <source
    href="http://download.gnome.org/sources/intltool/0.35/intltool-0.35.5.tar.bz2"; 
    md5sum="f52d5fa7f128db94e884cd21dd45d2e2" size="134902"/>
    <branch/>
    <dependencies>
      <dep package="gnome-common"/>
    </dependencies>
  </tarball>
  <tarball id="libxml2" version="2.6.27">
    <source
    href="http://download.gnome.org/sources/libxml2/2.6/libxml2-2.6.27.tar.bz2"; 
    md5sum="3617f7dc07534025a4898f2b62fb46df" size="3442536"/>
    <branch/>
  </tarball>
  <tarball id="libxslt" version="1.1.20">
    <source 
    href="http://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.20.tar.bz2"; 
    md5sum="aa0b4817c38104d9a724ee12b81e286e" size="2341454"/>
    <branch/>
    <dependencies>
      <dep package="libxml2"/>
      <dep package="libgcrypt"/>
    </dependencies>
  </tarball>
  <tarball id="pango" version="1.16.4">
    <source
    href="http://download.gnome.org/sources/pango/1.16/pango-1.16.4.tar.bz2";
    md5sum="025e2ac5e40cac163aae4653aeef559c" size="1355938"/>
    <branch/>
    <dependencies>
      <dep package="gnome-common"/>
      <dep package="glib"/>
      <dep package="cairo"/>
      <dep package="freetype"/>
      <dep package="libXft"/>
    </dependencies>
  </tarball>
  <tarball id="scrollkeeper" supports-non-srcdir-builds="no" version="0.3.14">
    <source
    href="http://easynews.dl.sourceforge.net/sourceforge/scrollkeeper/scrollkeeper-0.3.14.tar.gz"; 
    md5sum="161eb3f29e30e7b24f84eb93ac696155" size="679513"/>
    <dependencies>
      <dep package="libxml2"/>
      <dep package="libxslt"/>
      <dep package="intltool"/>
    </dependencies>
    <patches>
      <patch file="scrollkeeper_clean_xml_validation_context.patch" strip="1"/>
      <patch file="scrollkeeper_language_fix.patch" strip="1"/>
      <patch file="scrollkeeper_rw_offset_fix.patch" strip="1"/>
      <patch file="scrollkeeper_empty_url_string.patch" strip="1"/>
    </patches>
  </tarball>
  <tarball id="freetype" version="2.3.4">
    <source 
    href="http://heanet.dl.sourceforge.net/sourceforge/freetype/freetype-2.3.4.tar.bz2"; 
    md5sum="1a6c59a7723d637c78672e7784da865d" size="1277929"/>
    <branch/>
  </tarball>
</moduleset>


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