Hi Daniel, On 25.05.2013, at 02:50, Daniel Wagner <wagne...@seas.upenn.edu> wrote:
> The more I looked at the gtk3 support we had so far, the more > uncomfortable I got with how different the interfaces were. Since it's > not really possible for a cabal package to depend on a compilation flag, > I feel like the right thing to do is to split gtk2 and gtk3 support into > separate packages. I've begun doing this, and I encourage interested > readers to pull the latest sources and try it out. > > There is at least one unfortunate drawback to this: there is now a > pretty fair amount of code duplication between the "gtk" and "gtk3" > packages. Ideas on how to handle this are welcome. > > ...in fact, just generally all feedback on this split is welcome. =) Before I try to do a visual diff: Could you detail what got duplicated? Just the cabal file and the Setup.hs? Or are there modules that cannot be customized using CPP flags? Cheers, Axel > ~d > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > _______________________________________________ > Gtk2hs-devel mailing list > Gtk2hs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel