guile18-gtk stable port information

Package: guile18-gtk
Version: 2.0
Revision: 9
Patch: %n.patch
BuildDepends: <<
atk1 (>= 1.20.0-1) ,
cairo (>= 1.6-1) ,
expat1 ,
fontconfig2-dev (>= 2.4.1-1) ,
freetype219 (>= 2.3.5-1) ,
gettext-tools ,
glib2-dev (>= 2.14.0-1) ,
glitz ,
gmp ,
gtk+2-dev (>= 2.12.0-1) ,
gtkglarea2 (>= 1.99.0-1005) ,
guile18 ,
guile18-dev ,
guile18-libs ,
libgettext3-dev ,
libglade2 (>= 2.6.2-1) ,
libiconv-dev ,
libjpeg ,
libpng3 ,
libtiff ,
libtool14 ,
libxml2 (>= 2.6.30-1) ,
pango1-xft2-ft219-dev (>= 1.18.4-4) ,
pixman (>= 0.10.0-1) ,
pkgconfig (>= 0.21-1) ,
x11-dev ,
xft2-dev

<<
Depends: <<
gtk+2 (>= 2.12.0-1) ,
guile18 ,
%n-shlibs (>= %v-%r) ,
atk1-shlibs (>= 1.20.0-1) ,
glib2-shlibs (>= 2.14.0-1) ,
gmp-shlibs ,
gtk+2-shlibs (>= 2.12.0-1) ,
gtkglarea2-shlibs (>= 1.99.0-1005) ,
guile18-shlibs ,
libgettext3-shlibs ,
libglade2-shlibs (>= 2.6.2-1) ,
libiconv ,
libtool14-shlibs ,
libxml2-shlibs (>= 2.6.30-1) ,
pango1-xft2-ft219-shlibs (>= 1.18.4-4) ,
x11-shlibs
<<
Replaces: %n-shlibs (<< %v-%r)
Source: mirror:gnu:guile-gtk/guile-gtk-%v.tar.gz
Source-MD5: a450f9f5ffc3c482f8b10590d278776f
DocFiles: README AUTHORS NEWS COPYING
Description: Glue code to link gtk to guile
DescDetail: <<
This is some glue code to make Gtk accessible from Guile. It provides
a convenient interface for Scheme programmers to develop graphical
user interfaces. This version of guile-gtk is stripped down and
intended for people who want to use Gtk+-2.0 without Gnome.
Guile-gtk was started by Marius Vollmer and is
currently mantained by Ariel Rios and other
intrepid Guile hackers around the world.
<<
PatchScript: <<
perl -pi.bak -e 's|\$rpath/\$soname|%p/lib/\$soname|g' configure
perl -pi.bak -e 's|exec guile|exec guile-1.8|g' build-guile-gtk*
/bin/rm texinfo.tex
<<
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
SetLDFLAGS: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
CompileScript: <<
#!/bin/zsh -efv
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config PATH=%p/share/guile/1.8/scripts/binoverride:$PATH
./configure --prefix=%i --with-gtk-prefix=%p --infodir=%i/share/info --with-gdk-pixbuf=yes --with-glade=yes --with-gtkgl=yes
export GUILE_LOAD_PATH=%p/share/guile/1.8
make
<<
InstallScript: <<
#!/bin/zsh -efv
export PATH=%p/share/guile/1.8/scripts/binoverride:$PATH
export GUILE_LOAD_PATH=%p/share/guile/1.8
mkdir -p %i/share/guile/1.8
make install
mv %i/share/guile/gtk %i/share/guile/1.8/gtk
mv %i/share/guile/gtk-2.0 %i/share/guile/1.8/gtk-2.0
perl -pi -e 's|%d||g' %i/share/guile/1.8/gtk/config.scm
perl -pi -e 's|%d||g' %i/share/guile/1.8/gtk-2.0/config.scm
perl -pi -e 's|%d||g' %i/lib/*.la
mv %i/bin/build-guile-gtk %i/bin/build-guile18-gtk
mv %i/share/guile-gtk %i/share/guile18-gtk
<<
License: GPL
Maintainer: W. G. Scott
Homepage: http://www.gnu.org/software/guile-gtk/
#
###############################################################################
#
SplitOff: <<
Package: %N-shlibs
Depends: <<
atk1-shlibs (>= 1.20.0-1) ,
glib2-shlibs (>= 2.14.0-1) ,
gmp-shlibs ,
gtk+2-shlibs (>= 2.12.0-1) ,
gtkglarea2-shlibs (>= 1.99.0-1005) ,
guile18-shlibs ,
libgettext3-shlibs ,
libglade2-shlibs (>= 2.6.2-1) ,
libiconv ,
libtool14-shlibs ,
libxml2-shlibs (>= 2.6.30-1) ,
pango1-xft2-ft219-shlibs ,
x11-shlibs
<<
Files: <<
lib/lib*-2.0.0*.dylib
<<
Shlibs: <<
%p/lib/libguilegdkpixbuf-2.0.0.dylib 1.0.0 %n (>=2.0-1)
%p/lib/libguilegtk-2.0.0.dylib 1.0.0 %n (>=2.0-1)
%p/lib/libguileglade-2.0.0.dylib 1.0.0 %n (>=2.0-1)
%p/lib/libguilegtkgl-2.0.0.dylib 1.0.0 %n (>=2.0-9)
<<
<<
#
###############################################################################
#
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Conflicts: guile16-gtk-dev
Replaces: guile16-gtk-dev
Depends: %N-shlibs (= %v-%r)
Files: <<
include/*
lib/*.a
<<
<<
###############################################################################
SplitOff3: <<
Package: %N-doc
Conflicts: guile16-gtk-doc, guile16-gtk (<= 1.2-0.50-6)
Replaces: guile16-gtk-doc, guile16-gtk (<= 11.2-0.50-6)
Files: share/info
InfoDocs: guile-gtk.info
Description: Texinfo documentation files for guile18-gtk
<<
DescPackaging: <<
Advice and help from Jean-Francois Mertens and Paul Emsley is greatfully acknowledged.
I will happily turn this over to a more competent maintainer.
<<


guile18-gtk stable port .patch

diff -ruN guile-gtk-2.0-orig/gdk-2.0.defs guile-gtk-2.0/gdk-2.0.defs
--- guile-gtk-2.0-orig/gdk-2.0.defs 2007-08-07 10:45:30.000000000 -0700
+++ guile-gtk-2.0/gdk-2.0.defs 2007-08-07 10:46:50.000000000 -0700
@@ -1,6 +1,6 @@
;; -*- scheme -*-

-;; Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -2291,6 +2291,15 @@
(options
(includes "#include "
"#include "
- "#include ")
+ "#include "
+ "
+/* These macros not in pango 1.8.1 which comes with gtk 2.6.7 */
+#ifndef PANGO_PIXELS_FLOOR
+#define PANGO_PIXELS_FLOOR(d) (((int)(d)) >> 10)
+#endif
+#ifndef PANGO_PIXELS_CEIL
+#define PANGO_PIXELS_CEIL(d) (((int)(d) + 1023) >> 10)
+#endif")
+
(init-func "sgtk_init_gtk_gdk_glue")
(extra-init-code "sgtk_init_gdk_support ();"))

guile18-gtk _unstable_ port information

Package: guile18-gtk
Version: 2.0
Revision: 9
Patch: %n.patch
BuildDepends: <<
atk1 (>= 1.20.0-1) ,
cairo (>= 1.6-1) ,
expat1 ,
fontconfig2-dev (>= 2.4.1-1) ,
freetype219 (>= 2.3.5-1) ,
gettext-tools ,
glib2-dev (>= 2.14.0-1) ,
glitz ,
gmp ,
gtk+2-dev (>= 2.12.0-1) ,
gtkglarea2 (>= 1.99.0-1005) ,
guile18 ,
guile18-dev ,
guile18-libs ,
libgettext3-dev ,
libglade2 (>= 2.6.2-1) ,
libiconv-dev ,
libjpeg ,
libpng3 ,
libtiff ,
libtool14 ,
libxml2 (>= 2.6.30-1) ,
pango1-xft2-ft219-dev (>= 1.18.4-4) ,
pixman (>= 0.10.0-1) ,
pkgconfig (>= 0.21-1) ,
x11-dev ,
xft2-dev

<<
Depends: <<
gtk+2 (>= 2.12.0-1) ,
guile18 ,
%n-shlibs (>= %v-%r) ,
atk1-shlibs (>= 1.20.0-1) ,
glib2-shlibs (>= 2.14.0-1) ,
gmp-shlibs ,
gtk+2-shlibs (>= 2.12.0-1) ,
gtkglarea2-shlibs (>= 1.99.0-1005) ,
guile18-shlibs ,
libgettext3-shlibs ,
libglade2-shlibs (>= 2.6.2-1) ,
libiconv ,
libtool14-shlibs ,
libxml2-shlibs (>= 2.6.30-1) ,
pango1-xft2-ft219-shlibs (>= 1.18.4-4) ,
x11-shlibs
<<
Replaces: %n-shlibs (<< %v-%r)
Source: mirror:gnu:guile-gtk/guile-gtk-%v.tar.gz
Source-MD5: a450f9f5ffc3c482f8b10590d278776f
DocFiles: README AUTHORS NEWS COPYING
Description: Glue code to link gtk to guile
DescDetail: <<
This is some glue code to make Gtk accessible from Guile. It provides
a convenient interface for Scheme programmers to develop graphical
user interfaces. This version of guile-gtk is stripped down and
intended for people who want to use Gtk+-2.0 without Gnome.
Guile-gtk was started by Marius Vollmer and is
currently mantained by Ariel Rios and other
intrepid Guile hackers around the world.
<<
PatchScript: <<
perl -pi.bak -e 's|\$rpath/\$soname|%p/lib/\$soname|g' configure
perl -pi.bak -e 's|exec guile|exec guile-1.8|g' build-guile-gtk*
/bin/rm texinfo.tex
<<
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
SetLDFLAGS: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
CompileScript: <<
#!/bin/zsh -efv
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config PATH=%p/share/guile/1.8/scripts/binoverride:$PATH
./configure --prefix=%i --with-gtk-prefix=%p --infodir=%i/share/info --with-gdk-pixbuf=yes --with-glade=yes --with-gtkgl=yes
export GUILE_LOAD_PATH=%p/share/guile/1.8
make
<<
InstallScript: <<
#!/bin/zsh -efv
export PATH=%p/share/guile/1.8/scripts/binoverride:$PATH
export GUILE_LOAD_PATH=%p/share/guile/1.8
mkdir -p %i/share/guile/1.8
make install
mv %i/share/guile/gtk %i/share/guile/1.8/gtk
mv %i/share/guile/gtk-2.0 %i/share/guile/1.8/gtk-2.0
perl -pi -e 's|%d||g' %i/share/guile/1.8/gtk/config.scm
perl -pi -e 's|%d||g' %i/share/guile/1.8/gtk-2.0/config.scm
perl -pi -e 's|%d||g' %i/lib/*.la
mv %i/bin/build-guile-gtk %i/bin/build-guile18-gtk
mv %i/share/guile-gtk %i/share/guile18-gtk
<<
License: GPL
Maintainer: W. G. Scott
Homepage: http://www.gnu.org/software/guile-gtk/
#
###############################################################################
#
SplitOff: <<
Package: %N-shlibs
Depends: <<
atk1-shlibs (>= 1.20.0-1) ,
glib2-shlibs (>= 2.14.0-1) ,
gmp-shlibs ,
gtk+2-shlibs (>= 2.12.0-1) ,
gtkglarea2-shlibs (>= 1.99.0-1005) ,
guile18-shlibs ,
libgettext3-shlibs ,
libglade2-shlibs (>= 2.6.2-1) ,
libiconv ,
libtool14-shlibs ,
libxml2-shlibs (>= 2.6.30-1) ,
pango1-xft2-ft219-shlibs ,
x11-shlibs
<<
Files: <<
lib/lib*-2.0.0*.dylib
<<
Shlibs: <<
%p/lib/libguilegdkpixbuf-2.0.0.dylib 1.0.0 %n (>=2.0-1)
%p/lib/libguilegtk-2.0.0.dylib 1.0.0 %n (>=2.0-1)
%p/lib/libguileglade-2.0.0.dylib 1.0.0 %n (>=2.0-1)
%p/lib/libguilegtkgl-2.0.0.dylib 1.0.0 %n (>=2.0-9)
<<
<<
#
###############################################################################
#
SplitOff2: <<
Package: %N-dev
BuildDependsOnly: True
Conflicts: guile16-gtk-dev
Replaces: guile16-gtk-dev
Depends: %N-shlibs (= %v-%r)
Files: <<
include/*
lib/*.a
<<
<<
###############################################################################
SplitOff3: <<
Package: %N-doc
Conflicts: guile16-gtk-doc, guile16-gtk (<= 1.2-0.50-6)
Replaces: guile16-gtk-doc, guile16-gtk (<= 11.2-0.50-6)
Files: share/info
InfoDocs: guile-gtk.info
Description: Texinfo documentation files for guile18-gtk
<<
DescPackaging: <<
Advice and help from Jean-Francois Mertens and Paul Emsley is greatfully acknowledged.
I will happily turn this over to a more competent maintainer.
<<


guile18-gtk _unstable_ port .patch

diff -ruN guile-gtk-2.0-orig/gdk-2.0.defs guile-gtk-2.0/gdk-2.0.defs
--- guile-gtk-2.0-orig/gdk-2.0.defs 2007-08-07 10:45:30.000000000 -0700
+++ guile-gtk-2.0/gdk-2.0.defs 2007-08-07 10:46:50.000000000 -0700
@@ -1,6 +1,6 @@
;; -*- scheme -*-

-;; Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -2291,6 +2291,15 @@
(options
(includes "#include "
"#include "
- "#include ")
+ "#include "
+ "
+/* These macros not in pango 1.8.1 which comes with gtk 2.6.7 */
+#ifndef PANGO_PIXELS_FLOOR
+#define PANGO_PIXELS_FLOOR(d) (((int)(d)) >> 10)
+#endif
+#ifndef PANGO_PIXELS_CEIL
+#define PANGO_PIXELS_CEIL(d) (((int)(d) + 1023) >> 10)
+#endif")
+
(init-func "sgtk_init_gtk_gdk_glue")
(extra-init-code "sgtk_init_gdk_support ();"))