Commit 9ac2ddd3 authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens

autogen.sh Removed gtk-doc check as its not currently needed.

2006-06-20  Kevin Cozens  <kcozens@cvs.gnome.org>

	* autogen.sh
	* configure.in: Removed gtk-doc check as its not currently needed.

	* Makefile.am: Oops...The notes file is called notes.rtf.

	* plug-ins/sphere.rb: Added calls to context-push/pop.
parent a32e817e
2006-06-20 Kevin Cozens <kcozens@cvs.gnome.org>
* autogen.sh
* configure.in: Removed gtk-doc check as its not currently needed.
* Makefile.am: Oops...The notes file is called notes.rtf.
* plug-ins/sphere.rb: Added calls to context-push/pop.
2006-06-20 Kevin Cozens <kcozens@cvs.gnome.org>
* autogen.sh
......
......@@ -50,7 +50,7 @@ EXTRA_DIST = \
intltool-merge.in \
intltool-update.in \
enumconvert.rb \
notes.rtf \
notes.txt \
todo.txt
DISTCLEANFILES = \
......
......@@ -112,35 +112,6 @@ if test x$LIBTOOLIZE != x; then
check_version $VER $LIBTOOL_REQUIRED_VERSION
fi
# check if gtk-doc is explicitely disabled
for ag_option in $AUTOGEN_CONFIGURE_ARGS $@
do
case $ag_option in
-disable-gtk-doc | --disable-gtk-doc)
enable_gtk_doc=no
;;
esac
done
if test x$enable_gtk_doc = xno; then
echo "skipping test for gtkdocize"
else
echo -n "checking for gtkdocize ... "
if (gtkdocize --version) < /dev/null > /dev/null 2>&1; then
echo "yes"
else
echo
echo " You must have gtk-doc installed to compile $PROJECT."
echo " Install the appropriate package for your distribution,"
echo " or get the source tarball at"
echo " http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/"
echo " You can also use the option --disable-gtk-doc to skip"
echo " this test but then you will not be able to generate a"
echo " configure script that can build the API documentation."
DIE=1
fi
fi
echo -n "checking for autoconf >= $AUTOCONF_REQUIRED_VERSION ... "
if ($AUTOCONF --version) < /dev/null > /dev/null 2>&1; then
VER=`$AUTOCONF --version | head -n 1 \
......@@ -285,18 +256,6 @@ fi
$LIBTOOLIZE --force || exit $?
if test x$enable_gtk_doc = xno; then
if test -f gtk-doc.make; then :; else
echo "EXTRA_DIST = missing-gtk-doc" > gtk-doc.make
fi
echo "WARNING: You have disabled gtk-doc."
echo " As a result, you will not be able to generate the API"
echo " documentation and 'make dist' will not work."
echo
else
gtkdocize || exit $?
fi
# optionally feature autoheader
($AUTOHEADER --version) < /dev/null > /dev/null 2>&1 && $AUTOHEADER || exit 1
......
......@@ -382,17 +382,6 @@ AM_CHECK_RUBY(1.8.4,,
[AC_MSG_ERROR([rg_check_error([Ruby 1.8.4 or better], [it])])])
######################################
# Checks for gtk-doc and docbook-tools
######################################
GTK_DOC_CHECK([1.0])
dnl NOTE: We need to use a separate automake conditional for this
dnl to make this work with the tarballs.
AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
#########################################
# Allow to configure the gimp environment
#########################################
......
......@@ -26,9 +26,11 @@ def run(run_mode, radius = 100, light = 45, shadow = true, bg_color = Gimp::Rgb.
width = radius * 3.75
height = radius * 2.5
PDB.gimp_context_push()
PDB.gimp_image_undo_disable(img)
img = PDB.gimp_image_new(width, height, 0)
PDB.gimp_image_undo_disable(img)
old_fg = Context.get_foreground
old_bg = PDB.gimp_context_get_background
......@@ -78,6 +80,7 @@ def run(run_mode, radius = 100, light = 45, shadow = true, bg_color = Gimp::Rgb.
PDB.gimp_image_undo_enable(img)
end
PDB.gimp_context_pop()
PDB.gimp_display_new(img)
return [Gimp::Param.IMAGE(img)]
......@@ -105,4 +108,4 @@ RubyFu.register(
&method(:run)
)
RubyFu.main
\ No newline at end of file
RubyFu.main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment