Package: gtk-canvas Version: 0.1.1 Revision: 23 BuildDepends: gtk+, glib, libiconv-dev, gettext-dev, x11-dev, imlib, gnome-libs-dev, libart2 (>= 2.3.16-2) #Depends: gtk+-shlibs, libgl, gnome-libs, gnome-libs-shlibs, imlib-shlibs, libart2-shlibs (>= 2.3.16-2) BuildDependsOnly: true Source: http://www.atai.org/%n/%n-%v.tar.gz Source-MD5: 6872220119a4a3c284fe54a186e2ed57 DocFiles: README AUTHORS NEWS COPYING Description: GTK widget for GNOME canvas DescDetail: << This is a straight port of the GNOME Cavnas from the stable gnome-libs 1.2.4 back to gtk+. The widget is called GtkCanvas. This widget behaves identically to the GnomeCanvas widget, with the same APIs, except the names are changed from gnome_canvas to gtk_canvas. Thus you can use the GNOME documentation on this widget. The test-gtkcanvas program in the /sw/share/gtk-canvas/test directory can serve as a starting point on learning to use the widget. << DescPackaging: << Why does this build its own libart? Because it appears to need to (try it without). << DescUsage: << Only the static library is supplied. To compile against it, you will also need to install the following packages: gtk+, glib, libiconv-dev, gettext-dev, x11-dev, imlib, gnome-libs-dev, libart2 (>= 2.3.16-2) << #PatchScript: perl -pi -e 's/include //g' **/*.c Patch: %N.patch ConfigureParams: --with-gtk-prefix=%p --with-imlib-prefix=%p InstallScript: << #!/bin/zsh -ef # Install gtk canvas cd gtk-canvas make install prefix=%i # # Install test programs cd ../test rm -f *.o make install cd .. mkdir -p %i/share/gtk-canvas cp -R test %i/share/gtk-canvas/. # # Install top level header files mkdir -p %i/include /usr/bin/install -c -m 644 gtk-canvas.h %i/include/gtk-canvas.h # # install libart headers #cd libart_lgpl #mkdir -p %i/include/libart_lgpl #/usr/bin/install -c -m 644 *.h %i/include/libart_lgpl/. # ln -s %p/include/libart-2.0/libart_lgpl %i/include/libart_lgpl << License: GPL Maintainer: W. G. Scott Homepage: http://www.atai.org/gtk-canvas/