Hi Jens, Thanks for your patch!
I can't apply your patch because i can't access code.haskell.org too. I have add `deom` directory under every sub-directory to ready for split non-core packages. Can you add those `demo` directory to `extra-source-files`, and send patch again? I will apply your patch when code.haskell.org restore. Thanks, -- Andy Jens Petersen <peter...@haskell.org> writes: > Hi > > http://code.haskell.org seems to be down currently (so my repo is > probably not up to date) and I can't "darcs send" right now, so here > is a simple traditional patch that adds the Gtk2HsSetup.hs files to > the .cabal files so that "cabal sdist" includes them in hackages. > > Please apply or I can send a darcs patch when the server is back up. > > Jens > > ps (I was a bit disturbed at first that "darcs send" requires http > access but that is probably reasonable to make sure one's repo isn't > behind I guess, though annoying when the main repo is down.) > > Reading pristine 185 done, 988 queued. > 0000000183-3114f92e272c8795c9e86b57907cef > Wed May 5 16:22:51 EST 2010 Jens Petersen <peter...@haskell.org> > * add Gtk2HsSetup.hs to .cabal files > diff -rN -u old-gtk2hs/cairo/cairo.cabal new-gtk2hs/cairo/cairo.cabal > --- old-gtk2hs/cairo/cairo.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/cairo/cairo.cabal 2010-05-05 17:09:35.000000000 +1000 > @@ -17,6 +17,7 @@ > Category: Graphics > Tested-With: GHC == 6.10.4 > extra-source-files: cairo-gtk2hs.h > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/gconf/gconf.cabal new-gtk2hs/gconf/gconf.cabal > --- old-gtk2hs/gconf/gconf.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/gconf/gconf.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -18,6 +18,7 @@ > require it. > Category: System > Tested-With: GHC == 6.12.1 > +Extra-Source-Files: Gtk2HsSetup.hs > > x-Types-File: System/Gnome/GConf/Types.chs > x-Types-ModName: System.Gnome.GConf.Types > diff -rN -u old-gtk2hs/gio/gio.cabal new-gtk2hs/gio/gio.cabal > --- old-gtk2hs/gio/gio.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/gio/gio.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -22,6 +22,7 @@ > x-Types-File: System/GIO/Types.chs > x-Types-ModName: System.GIO.Types > x-Types-Forward: Graphics.UI.GtkInternals > +Extra-Source-Files: Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/glade/glade.cabal new-gtk2hs/glade/glade.cabal > --- old-gtk2hs/glade/glade.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/glade/glade.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -17,10 +17,12 @@ > > Category: Graphics > Tested-With: GHC == 6.12.1 > + > x-Types-File: Graphics/UI/Gtk/Glade/Types.chs > x-Types-ModName: Graphics.UI.Gtk.Glade.Types > x-Types-Forward: *Graphics.UI.GtkInternals > x-Types-Destructor: objectUnrefFromMainloop > +Extra-Source-Files: Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/glib/glib.cabal new-gtk2hs/glib/glib.cabal > --- old-gtk2hs/glib/glib.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/glib/glib.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -18,6 +18,7 @@ > Category: System > Tested-With: GHC == 6.10.4 > Extra-Source-Files: > + Gtk2HsSetup.hs > System/Glib/hsgclosure.c > System/Glib/hsgclosure.h > > @@ -39,7 +40,7 @@ > cpp-options: -DUSE_GCLOSURE_SIGNALS_IMPL > c-sources: System/Glib/hsgclosure.c > include-dirs: System/Glib > - > + > exposed-modules: > System.Glib > System.Glib.GError > diff -rN -u old-gtk2hs/gnomevfs/gnomevfs.cabal > new-gtk2hs/gnomevfs/gnomevfs.cabal > --- old-gtk2hs/gnomevfs/gnomevfs.cabal 2010-05-05 17:09:35.000000000 > +1000 > +++ new-gtk2hs/gnomevfs/gnomevfs.cabal 2010-05-05 17:09:36.000000000 > +1000 > @@ -25,6 +25,7 @@ > x-Types-Forward: Graphics.UI.GtkInternals > Extra-Source-Files: hsgnomevfs-2.14.h > System/Gnome/VFS/hsfileinfo.h > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/gtk/gtk.cabal new-gtk2hs/gtk/gtk.cabal > --- old-gtk2hs/gtk/gtk.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/gtk/gtk.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -25,6 +25,7 @@ > Graphics/UI/Gtk/General/hsgthread.h > template-hsc-gtk2hs.h > Graphics/UI/Gtk/Signals.chs.template > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/gtkglext/gtkglext.cabal > new-gtk2hs/gtkglext/gtkglext.cabal > --- old-gtk2hs/gtkglext/gtkglext.cabal 2010-05-05 17:09:35.000000000 > +1000 > +++ new-gtk2hs/gtkglext/gtkglext.cabal 2010-05-05 17:09:36.000000000 > +1000 > @@ -20,6 +20,7 @@ > x-Types-ModName: Graphics.UI.Gtk.OpenGL.Types > x-Types-Forward: *Graphics.UI.GtkInternals > x-Types-Destructor: objectUnrefFromMainloop > +Extra-Source-Files: Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/gtksourceview2/gtksourceview2.cabal > new-gtk2hs/gtksourceview2/gtksourceview2.cabal > --- old-gtk2hs/gtksourceview2/gtksourceview2.cabal 2010-05-05 > 17:09:35.000000000 +1000 > +++ new-gtk2hs/gtksourceview2/gtksourceview2.cabal 2010-05-05 > 17:09:36.000000000 +1000 > @@ -22,6 +22,7 @@ > x-Types-Forward: *Graphics.UI.GtkInternals > x-Types-Destructor: objectUnrefFromMainloop > Extra-Source-Files: gtksourceview2.h > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/pango/pango.cabal new-gtk2hs/pango/pango.cabal > --- old-gtk2hs/pango/pango.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/pango/pango.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -19,6 +19,7 @@ > Tested-With: GHC == 6.10.4 > extra-source-files: template-hsc-gtk2hs.h > hspango.h > + Gtk2HsSetup.hs > > x-Types-File: Graphics/Rendering/Pango/Types.chs > x-Types-ModName: Graphics.Rendering.Pango.Types > diff -rN -u old-gtk2hs/svgcairo/svgcairo.cabal > new-gtk2hs/svgcairo/svgcairo.cabal > --- old-gtk2hs/svgcairo/svgcairo.cabal 2010-05-05 17:09:35.000000000 > +1000 > +++ new-gtk2hs/svgcairo/svgcairo.cabal 2010-05-05 17:09:36.000000000 > +1000 > @@ -19,6 +19,7 @@ > x-Types-Forward: *Graphics.UI.GtkInternals > x-Types-Destructor: objectUnrefFromMainloop > Extra-Source-Files: svgcairo.h > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/vte/vte.cabal new-gtk2hs/vte/vte.cabal > --- old-gtk2hs/vte/vte.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/vte/vte.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -23,6 +23,7 @@ > x-Types-Forward: *Graphics.UI.GtkInternals > x-Types-Destructor: objectUnrefFromMainloop > Extra-Source-Files: Graphics/UI/Gtk/Vte/VteCharAttrFields.h > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > diff -rN -u old-gtk2hs/webkit/webkit.cabal new-gtk2hs/webkit/webkit.cabal > --- old-gtk2hs/webkit/webkit.cabal 2010-05-05 17:09:35.000000000 +1000 > +++ new-gtk2hs/webkit/webkit.cabal 2010-05-05 17:09:36.000000000 +1000 > @@ -25,6 +25,7 @@ > x-Types-Forward: *Graphics.UI.GtkInternals > x-Types-Destructor: objectUnrefFromMainloop > Extra-Source-Files: hswebkit.h > + Gtk2HsSetup.hs > > Source-Repository head > type: darcs > ------------------------------------------------------------------------------ > _______________________________________________ > Gtk2hs-devel mailing list > Gtk2hs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel ------------------------------------------------------------------------------ _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel