+2004-09-17 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * buildscripts/guile-gnome.sh (SLIB_PATH): add SLIB_PATH to
+ GUILE_LOAD_PATH
+
2004-09-17 Jan Nieuwenhuizen <janneke@gnu.org>
* scm/output-gnome.scm: Small fixes.
2004-09-16 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * buildscripts/guile-gnome.sh (LD_LIBRARY_PATH): new script.
+
* lily/slur-scoring.cc (get_y_attachment_range): set end point
using base_attachment.
CONTRIBUTORS
+Antti Kaihola
Carl Sorensen
David Svoboda
Erik Sandberg
Guy Gascoigne-Piggford
Heikki Junes
Hendrik Maryns
+Jefferson dos Santos Felix
Kristof Bastiaensen
Michael Welsh Duggan
Pedro Kroger
# Where user built stuff will be installed
OPT=$HOME/usr/pkg
+SLIB_PATH=`locate slib/require.scm | head -1 | sed -s 's/require.scm//g'`
# What extra modules to pull (eg: EXTRA="libgnomecanvas libwnck")
EXTRA=${EXTRA-libgnomecanvas}
echo "." > CVS/Repository
cvs -z3 checkout -P pango
else
- wget ftp://ftp.gtk.org/pub/gtk/v2.5/pango-1.5.2.tar.gz
- tar -zf pango-1.5.2.tar.gz
+ wget -N ftp://ftp.gtk.org/pub/gtk/v2.5/pango-1.5.2.tar.gz
+ tar -xzf pango-1.5.2.tar.gz
ln -s pango-1.5.2 pango
fi
cd pango
PKG_CONFIG_PATH=$OPT/g-wrap/lib/pkgconfig:$PKG_CONFIG_PATH
LD_LIBRARY_PATH=$OPT/g-wrap/lib:$LD_LIBRARY_PATH
-GUILE_LOAD_PATH=$OPT/g-wrap/share/guile/site:$GUILE_LOAD_PATH
+GUILE_LOAD_PATH=$OPT/g-wrap/share/guile/site:$GUILE_LOAD_PATH:$SLIB_PATH
+
## 4. get g-wrap 2.0
## note that bleeding edge (2004-9-13) g-wrap breaks guile-gnome.
## ughr:
mkdir -p g-wrap/libffi
else
- wget http://savannah.nongnu.org/download/g-wrap/g-wrap-1.9.1.tar.gz
+ wget -N http://savannah.nongnu.org/download/g-wrap/g-wrap-1.9.1.tar.gz
tar zxf g-wrap-1.9.1.tar.gz
ln -s g-wrap-1.9.1 g-wrap
fi
PKG_CONFIG_PATH=$OPT/guile-gnome/lib/pkgconfig:$PKG_CONFIG_PATH
LD_LIBRARY_PATH=$OPT/guile-gnome/lib:$LD_LIBRARY_PATH
GUILE_LOAD_PATH=$OPT/guile-gnome/share/guile:$GUILE_LOAD_PATH
-
## 5. get guile-gnome
if ! pkg-config --atleast-version=$GGVERSION guile-gnome-glib; then
if [ -n "$BLOEDIGE_RAND" ]; then
fi
cd ..
else
- wget http://ambient.2y.net/wingo/tmp/guile-gnome-platform-$GGVERSION.tar.gz
+ wget -N http://ambient.2y.net/wingo/tmp/guile-gnome-platform-$GGVERSION.tar.gz
tar xzf guile-gnome-platform-$GGVERSION.tar.gz
ln -s guile-gnome-platform-$GGVERSION guile-gnome
cd guile-gnome
Polynomial p (0.0);
for (int j=0; j <= 3; j++)
{
- p += (control_[j][a] * binomial_coefficient (3, j))
- * Polynomial::power (j , Polynomial (0,1))*
- Polynomial::power (3 - j, Polynomial (1,-1));
+ p +=
+ (control_[j][a] * binomial_coefficient (3, j))
+ * Polynomial::power (j, Polynomial (0, 1))
+ * Polynomial::power (3 - j, Polynomial (1, -1));
}
return p;
/**
Flip around axis A
*/
-
void
Bezier::scale (Real x, Real y)
{
curve.control_[3][X_AXIS]);
Real x = xext.center ();
- if (!bezext.contains (xext[RIGHT]))
+ if (bezext.contains (x))
+ ;
+ else if (!bezext.contains (xext[RIGHT]))
x = xext[LEFT];
else if (!bezext.contains (xext[LEFT]))
x = xext[RIGHT];
(entry (list idx (1+ idx) distance)))
entry)))
(rods (map calc-rod (iota (1- no-systems))))
- (page-very-empty? (> space-left (/ page-height 3)))
+ (page-very-empty? (> space-left (/ page-height 1.5)))
(result (ly:solve-spring-rod-problem
springs rods space
(or page-very-empty? ragged?)))