You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(6) |
Jul
(27) |
Aug
(17) |
Sep
|
Oct
(8) |
Nov
(23) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(43) |
Feb
(12) |
Mar
(10) |
Apr
(12) |
May
(16) |
Jun
(15) |
Jul
(15) |
Aug
|
Sep
(1) |
Oct
(25) |
Nov
(39) |
Dec
(7) |
2004 |
Jan
(12) |
Feb
|
Mar
(1) |
Apr
(48) |
May
(44) |
Jun
(17) |
Jul
(38) |
Aug
(42) |
Sep
(17) |
Oct
(12) |
Nov
(7) |
Dec
(14) |
2005 |
Jan
(67) |
Feb
(59) |
Mar
(47) |
Apr
(78) |
May
(15) |
Jun
(59) |
Jul
(38) |
Aug
(28) |
Sep
(11) |
Oct
(16) |
Nov
(27) |
Dec
(7) |
2006 |
Jan
(11) |
Feb
(17) |
Mar
(16) |
Apr
(8) |
May
(16) |
Jun
(22) |
Jul
(5) |
Aug
(1) |
Sep
(6) |
Oct
(32) |
Nov
(42) |
Dec
(24) |
2007 |
Jan
(44) |
Feb
(25) |
Mar
(54) |
Apr
(21) |
May
(47) |
Jun
(13) |
Jul
(30) |
Aug
(34) |
Sep
(9) |
Oct
(37) |
Nov
(28) |
Dec
(27) |
2008 |
Jan
(21) |
Feb
(17) |
Mar
(38) |
Apr
(26) |
May
(15) |
Jun
(44) |
Jul
(62) |
Aug
(49) |
Sep
(66) |
Oct
(86) |
Nov
(43) |
Dec
(128) |
2009 |
Jan
(134) |
Feb
(120) |
Mar
(113) |
Apr
(39) |
May
(121) |
Jun
(81) |
Jul
(79) |
Aug
(87) |
Sep
(54) |
Oct
(40) |
Nov
(26) |
Dec
(21) |
2010 |
Jan
(30) |
Feb
(44) |
Mar
(57) |
Apr
(46) |
May
(117) |
Jun
(69) |
Jul
(51) |
Aug
(103) |
Sep
(62) |
Oct
(24) |
Nov
(37) |
Dec
(50) |
2011 |
Jan
(21) |
Feb
(12) |
Mar
(16) |
Apr
(9) |
May
(25) |
Jun
(19) |
Jul
(13) |
Aug
(8) |
Sep
(31) |
Oct
(26) |
Nov
(16) |
Dec
(10) |
2012 |
Jan
(5) |
Feb
(9) |
Mar
(19) |
Apr
(17) |
May
(7) |
Jun
(16) |
Jul
(11) |
Aug
(14) |
Sep
(10) |
Oct
(1) |
Nov
(10) |
Dec
(38) |
2013 |
Jan
(9) |
Feb
(16) |
Mar
(11) |
Apr
(1) |
May
(3) |
Jun
(3) |
Jul
|
Aug
(11) |
Sep
(11) |
Oct
(3) |
Nov
(4) |
Dec
(8) |
2014 |
Jan
|
Feb
(4) |
Mar
(13) |
Apr
(3) |
May
(17) |
Jun
|
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(7) |
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(4) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Hamish M. <ham...@gm...> - 2014-03-19 04:57:07
|
I have not been able to get a truly Mac like feel, but here is a summary of what I have been doing... I use MacPorts because the combination of Gtk3 (using quartz) and WebKitGtk seems to be better supported there. Using gtk-osx also works well if you do not need WebKitGtk. In my /opt/local/etc/macports/variants.conf file I have +gcc48 -x11 +no_x11 +quartz +gtk3 Then I installed the Gtk libraries with something like... port install gtk3 gtk-osx-application webkit-gtk3 You need to make sure GHC uses MacPorts gmp and iconv. I installed ghc 7.6.3 with... port install ghc I installed ghc 7.8 RC2 from source with... ./configure --with-iconv-includes=/opt/local/include --with-iconv-libraries=/opt/local/lib --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib --with-gcc=gcc-mp-4.8 --prefix=/Users/hamish/ghc-rc I installed ghcjs (since it outputs native code as well as javascript) with... ghcjs-boot --init --with-iconv-includes=/opt/local/include --with-iconv-libraries=/opt/local/lib --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib You should be able to do something like this to install the Haskell libs cabal install gtk3 gtksourceview3 webkitgtk3 webkitgtk3-javascriptcore -fhave-quartz-gtk --with-gcc=gcc-mp-4.8 If you want to use the OS X menu bar... cabal install gtk3-mac-integration --with-gcc=gcc-mp-4.8 Then call applicationNew and applicationSetMenuBar in your app. It will hide the Gtk menu bar and put all the items on the OS X menu. For the Gtk theme, I find Adwaita works well and does not clash too much with OS X... port install gnome-themes-standard Easiest way to select it is in ~/.config/gtk-3.0/settings.ini ... [Settings] gtk-theme-name = Adwaita If you want to know how to make a relocatable OS X .app bundle that includes Gtk, you can take a look at the Leksah build script (it is not pretty)... https://github.com/leksah/leksah/blob/master/osx/makedmg.sh It uses this https://github.com/jralls/gtk-mac-bundler On 19 Mar 2014, at 12:40, Conal Elliott <co...@co...> wrote: > I forgot to mention that I want native Quartz GUIs (not via X11). > > I used the brew formula at https://github.com/zwaldowski/homebrew-quartz/blob/master/Formula/gtk%2B3.rb with "--without-x" to get gtk3 brew-installed and then continued with "cabal install gtk3 --with-gcc=gcc-4.8". The gtk2hs demos seem to work and no obvious sign of X11 server, but but they still look like Gnome, and don't quite feel like a Mac application. > > Any other experience with native gtk3 and native Quartz? > > Thanks, - Conal > > > On Tue, Mar 18, 2014 at 1:59 PM, Conal Elliott <co...@co...> wrote: > I want to get my functional GUI & graphics libraries working again, and I use Mac OS (10.9.2) and homebrew. Is this a working combination? I started installing the gtk3 package, but I don't know how to install the gtk+-3.0 that caball-installing gtk3 tells me I need. > > Any pointers? Thanks, -- Conal > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech_______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |
From: Conal E. <co...@co...> - 2014-03-18 23:41:11
|
I forgot to mention that I want native Quartz GUIs (not via X11). I used the brew formula at https://github.com/zwaldowski/homebrew-quartz/blob/master/Formula/gtk%2B3.rbwith "--without-x" to get gtk3 brew-installed and then continued with "cabal install gtk3 --with-gcc=gcc-4.8". The gtk2hs demos seem to work and no obvious sign of X11 server, but but they still look like Gnome, and don't quite feel like a Mac application. Any other experience with native gtk3 and native Quartz? Thanks, - Conal On Tue, Mar 18, 2014 at 1:59 PM, Conal Elliott <co...@co...> wrote: > I want to get my functional GUI & graphics libraries working again, and I > use Mac OS (10.9.2) and homebrew. Is this a working combination? I started > installing the gtk3 package, but I don't know how to install the gtk+-3.0 > that caball-installing gtk3 tells me I need. > > Any pointers? Thanks, -- Conal > |
From: <tim...@se...> - 2014-03-18 21:55:09
|
Hey, When you get it working, would you mind giving roconnor (http://www.computing.dcu.ie/~roconnor/) a ping? He requested (http://www.reddit.com/r/haskell/comments/18ejjt/packages_youd_love_to_see_resurrected/) this. "" Perhaps I can suggest a rather strange method: install on a VM and ssh -X into it. I have read many rants by OS-X people about building GTK. It boils down to the fact that OS-X has a very incompatible build toolchain and, well, you just cannot build GTK on OS-X reliably (this is macs fault, not gtks!). Tim " ---------- Původní zpráva ---------- Od: Conal Elliott <co...@co...> Komu: gtk...@li... Datum: 18. 3. 2014 22:00:33 Předmět: [Gtk2hs-users] gtk3 on Mac with native quartz? " I want to get my functional GUI & graphics libraries working again, and I use Mac OS (10.9.2) and homebrew. Is this a working combination? I started installing the gtk3 package, but I don't know how to install the gtk+-3.0 that caball-installing gtk3 tells me I need. Any pointers? Thanks, -- Conal ---------------------------------------------------------------------------- -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech___________________________________________ ____ Gtk2hs-users mailing list Gtk...@li... https://lists.sourceforge.net/lists/listinfo/gtk2hs-users"" |
From: Conal E. <co...@co...> - 2014-03-18 20:59:42
|
I want to get my functional GUI & graphics libraries working again, and I use Mac OS (10.9.2) and homebrew. Is this a working combination? I started installing the gtk3 package, but I don't know how to install the gtk+-3.0 that caball-installing gtk3 tells me I need. Any pointers? Thanks, -- Conal |
From: Oswald, M. <mic...@si...> - 2014-03-04 10:29:05
|
Hello Hamish, > Michael, can you please try reverting this change... > > https://github.com/gtk2hs/gtk2hs/commit/c12c9018b38d629d33347d9654cef59 > 57f65ca86 Indeed, this fixed the issue. Thanks very much! Lg, Michael |
From: Hamish M. <ham...@gm...> - 2014-03-04 07:06:36
|
I think this might be my fault. I had trouble getting gcc to play nice on windows and for some reason g++ was working ok. Michael, can you please try reverting this change... https://github.com/gtk2hs/gtk2hs/commit/c12c9018b38d629d33347d9654cef5957f65ca86 If that fixes it, I will revert the change in github and spend some time this weekend finding out why gcc was failing to work on my Windows build machine. On 4 Mar 2014, at 19:40, Axel Simon <Axe...@in...> wrote: > Hi Michael, > > it sounds a bit like a compiler mismatch. I think Gtk2Hs tries to build C programs using ghc which normally knows which compiler to use. Can you try to build with verbose -v? > > Cheers, > Axel > > On Mar 3, 2014, at 3:31 PM, Michael Oswald <mic...@si...> wrote: > >> Hi all, >> >> I get a strange linking error with gtk2 0.12.5.x on a SLES 11 System: >> >> /home2/oswald2/.cabal/lib/i386-linux-ghc-7.6.3/gtk-0.12.5.4/libHSgtk- >> 0.12.5.4.a(hsgthread.o):(.eh_frame+0x11): undefined reference to >> `__gxx_personality_v0' >> collect2: ld returned 1 exit status >> >> The system is a Suse Linux Enterprise Server 11 which has GTK 2.18.9 >> installed. >> On the other system which uses openSuSE 12.3 the same code compiles and >> works. >> >> ghc --version >> The Glorious Glasgow Haskell Compilation System, version 7.6.3 >> >> gcc --version >> gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] >> >> Does anybody have an idea? >> >> lg, >> Michael >> >> >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gtk2hs-users mailing list >> Gtk...@li... >> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk_______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |
From: Axel S. <Axe...@in...> - 2014-03-04 06:40:53
|
Hi Michael, it sounds a bit like a compiler mismatch. I think Gtk2Hs tries to build C programs using ghc which normally knows which compiler to use. Can you try to build with verbose -v? Cheers, Axel On Mar 3, 2014, at 3:31 PM, Michael Oswald <mic...@si...> wrote: > Hi all, > > I get a strange linking error with gtk2 0.12.5.x on a SLES 11 System: > > /home2/oswald2/.cabal/lib/i386-linux-ghc-7.6.3/gtk-0.12.5.4/libHSgtk- > 0.12.5.4.a(hsgthread.o):(.eh_frame+0x11): undefined reference to > `__gxx_personality_v0' > collect2: ld returned 1 exit status > > The system is a Suse Linux Enterprise Server 11 which has GTK 2.18.9 > installed. > On the other system which uses openSuSE 12.3 the same code compiles and > works. > > ghc --version > The Glorious Glasgow Haskell Compilation System, version 7.6.3 > > gcc --version > gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] > > Does anybody have an idea? > > lg, > Michael > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |
From: Michael O. <mic...@si...> - 2014-03-03 14:35:13
|
Hi all, I get a strange linking error with gtk2 0.12.5.x on a SLES 11 System: /home2/oswald2/.cabal/lib/i386-linux-ghc-7.6.3/gtk-0.12.5.4/libHSgtk- 0.12.5.4.a(hsgthread.o):(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status The system is a Suse Linux Enterprise Server 11 which has GTK 2.18.9 installed. On the other system which uses openSuSE 12.3 the same code compiles and works. ghc --version The Glorious Glasgow Haskell Compilation System, version 7.6.3 gcc --version gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] Does anybody have an idea? lg, Michael |
From: 汤波云 <tan...@ho...> - 2014-02-25 01:47:49
|
The minimal reproducible example is gtk2hs-demo-progressThreadedRTS.exe (gtk2hs-demo-progress.exe doesn't have this bug) How to reproducible the bug: run the demo program and then try to move it or resize it. The error message:Glib:ERROR:gthread-win32.c:640:g_thread_xp_AcquireSRWLockExclusive: assertion failed:(!lock->writer_locked)This application has requested the Runtime to terminate it in an unusual way. build system info:ghc-7.6.3gtk+3.10.6 build with mingw bundled in ghc, following the BUILD_ALL.BAT scriptlibraries and build scripts are here:http://www.tarnyko.net/repo/gtk3_build_system/GTK+3.10.6_build_system-win32-v1/libs/ OS info:WinXP and Win7 all have this bug. The same program under arch linux behaved normally |
From: ladyrainicorn <vin...@gm...> - 2014-02-08 22:44:39
|
ladyrainicorn <vin.l.scratch <at> gmail.com> writes: > > Get the new version from github, and run `cabal install -f-no-fmode- binary`, > sorry. > > https://github.com/gtk2hs/gtk2hs/commit/490fb040bf4551e819c4ead3538b5cafb47e > f243 > _______________________________________________ > Gtk2hs-users mailing list > Gtk2hs-users <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > Actually, -f-no-fmode-binary doesn't work, I can't figure out how to set the flag. You can edit the cabal file to say the default is False, though. |
From: ladyrainicorn <vin...@gm...> - 2014-02-08 22:15:11
|
汤波云 <tangboyun <at> hotmail.com> writes: > > Dear All: On windows, when attempting to linking with gtk ( gtk - 2.24 all in one bundle), I got following error: > > > Loading package cairo-0.12.5.0 ... linking ... done. > Loading package glib-0.12.5.0 ... linking ... done. > Loading package gio-0.12.5.0 ... linking ... done. > Loading package pango-0.12.5.0 ... linking ... done. > Loading package gtk-0.12.5.0 ... ghc.exe: panic! (the 'impossible' happened) > (GHC version 7.6.3 for i386-unknown-mingw32): > loadObj "C:\\Users\\tangboyun\\AppData\\Roaming\\cabal\\gtk- 0.12.5.0\\ghc-7.6.3\\HSgtk-0.12.5.0.o": failed > > Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug > > ghc.exe: Unknown PEi386 section name `.eh_frame' (while processing: C:\Users\tangboyun\AppData\Roaming\cabal\gtk-0.12.5.0\ghc-7.6.3\HSgtk- 0.12.5.0.o) > > > After removing the .eh_frame section from the object file using objcopy > objcopy.exe --remove-section .eh_frame HSgtk-0.12.5.0.o > > I got follwing error: > > Loading package cairo-0.12.5.0 ... linking ... done. > Loading package glib-0.12.5.0 ... linking ... done. > Loading package gio-0.12.5.0 ... linking ... done. > Loading package pango-0.12.5.0 ... linking ... done. > Loading package gtk-0.12.5.0 ... linking ... ghc.exe: unable to load package `gtk-0.12.5.0' > ghc.exe: C:\Users\tangboyun\AppData\Roaming\cabal\gtk-0.12.5.0\ghc- 7.6.3\HSgtk-0.12.5.0.o: unknown symbol `__imp___fmode' > > > > When attempting to linking with gtk3 (3.6.4 all in one bundle from http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip), I got following error: > Loading package cairo-0.12.5.0 ... linking ... done. > Loading package glib-0.12.5.0 ... linking ... done. > Loading package gio-0.12.5.0 ... linking ... done. > Loading package pango-0.12.5.0 ... <command line>: can't load .so/.DLL for: m.dll (addDLL: could not load DLL) > > After fooling the compiler with the trick mentioned in https://ghc.haskell.org/trac/ghc/ticket/3242 > > > I got the same .eh_frame and unknown symbol `__imp___fmode' error aforementioned. > > > -------------------------------------------------------------------------- ---- > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk? id=84349831&iu=/4140/ostg.clktrk > > _______________________________________________ > Gtk2hs-users mailing list > Gtk2hs-users <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > Also note https://github.com/ghc/ghc/commit/7e32b2a931714d886db4d4aa07f8fb5c606930b9 for proper .eh_frame handling in ghc. |
From: ladyrainicorn <vin...@gm...> - 2014-02-08 22:10:13
|
汤波云 <tangboyun <at> hotmail.com> writes: > > Dear All: On windows, when attempting to linking with gtk ( gtk - 2.24 all in one bundle), I got following error: > > > Loading package cairo-0.12.5.0 ... linking ... done. > Loading package glib-0.12.5.0 ... linking ... done. > Loading package gio-0.12.5.0 ... linking ... done. > Loading package pango-0.12.5.0 ... linking ... done. > Loading package gtk-0.12.5.0 ... ghc.exe: panic! (the 'impossible' happened) > (GHC version 7.6.3 for i386-unknown-mingw32): > loadObj "C:\\Users\\tangboyun\\AppData\\Roaming\\cabal\\gtk- 0.12.5.0\\ghc-7.6.3\\HSgtk-0.12.5.0.o": failed > > Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug > > ghc.exe: Unknown PEi386 section name `.eh_frame' (while processing: C:\Users\tangboyun\AppData\Roaming\cabal\gtk-0.12.5.0\ghc-7.6.3\HSgtk- 0.12.5.0.o) > > > After removing the .eh_frame section from the object file using objcopy > objcopy.exe --remove-section .eh_frame HSgtk-0.12.5.0.o > > I got follwing error: > > Loading package cairo-0.12.5.0 ... linking ... done. > Loading package glib-0.12.5.0 ... linking ... done. > Loading package gio-0.12.5.0 ... linking ... done. > Loading package pango-0.12.5.0 ... linking ... done. > Loading package gtk-0.12.5.0 ... linking ... ghc.exe: unable to load package `gtk-0.12.5.0' > ghc.exe: C:\Users\tangboyun\AppData\Roaming\cabal\gtk-0.12.5.0\ghc- 7.6.3\HSgtk-0.12.5.0.o: unknown symbol `__imp___fmode' > > > > When attempting to linking with gtk3 (3.6.4 all in one bundle from http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip), I got following error: > Loading package cairo-0.12.5.0 ... linking ... done. > Loading package glib-0.12.5.0 ... linking ... done. > Loading package gio-0.12.5.0 ... linking ... done. > Loading package pango-0.12.5.0 ... <command line>: can't load .so/.DLL for: m.dll (addDLL: could not load DLL) > > After fooling the compiler with the trick mentioned in https://ghc.haskell.org/trac/ghc/ticket/3242 > > > I got the same .eh_frame and unknown symbol `__imp___fmode' error aforementioned. > > > -------------------------------------------------------------------------- ---- > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk? id=84349831&iu=/4140/ostg.clktrk > > _______________________________________________ > Gtk2hs-users mailing list > Gtk2hs-users <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > Get the new version from github, and run `cabal install -f-no-fmode-binary`, sorry. https://github.com/gtk2hs/gtk2hs/commit/490fb040bf4551e819c4ead3538b5cafb47e f243 |
From: Jens P. <ju...@co...> - 2013-12-30 15:13:03
|
On 28 December 2013 20:19, Hamish Mackenzie <ham...@gm...>wrote: > Looks like some interfaces were removed. I have regenerated the DOM > interface files > from newer webkit IDL files and uploaded a 0.12.5.1 version. Please try > again. Thanks Hamish! Both webkit-0.12.5.1 and webkitgtk3-0.12.5.1 build for me fine on Fedora 20. :-) Cheers, Jens > I tried to build webkit and webkitgtk3 0.12.5 on Fedora 20 (just > released) and ran into: > : > > Cannot find a definition for `WebKitDOMBarInfo' in the header file. > : > > This is with upstream webkitgtk3-2.2.3 (and webkitgtk 2.2.3). > |
From: Hamish M. <ham...@gm...> - 2013-12-28 11:20:04
|
Looks like some interfaces were removed. I have regenerated the DOM interface files from newer webkit IDL files and uploaded a 0.12.5.1 version. Please try again. On 23 Dec 2013, at 18:30, Jens Petersen <ju...@co...> wrote: > I tried to build webkit and webkitgtk3 0.12.5 on Fedora 20 (just released) and ran into: > > $ cabal install webkitgtk3 > : > Configuring webkitgtk3-0.12.5... > Building webkitgtk3-0.12.5... > Preprocessing library webkitgtk3-0.12.5... > gtk2hsC2hs: Errors during expansion of binding hooks: > > ./Graphics/UI/Gtk/WebKit/Types.chs:1100: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `WebKitDOMBarInfo' in the header file. > ./Graphics/UI/Gtk/WebKit/Types.chs:1865: (column 12) [ERROR] > >>> Unknown identifier! > Cannot find a definition for `WebKitDOMMemoryInfo' in the header file. > > Failed to install webkitgtk3-0.12.5 > : > > Same error occurs for "cabal install webkit". > > This is with upstream webkitgtk3-2.2.3 (and webkitgtk 2.2.3). > Anyone else seen this or know how to deal with it? > > Thanks, Jens > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |
From: Robert H. <ro...@ry...> - 2013-12-26 10:35:11
|
Hi, I'm trying to create tooltips with dynamic content by using the query-tooltip signal. Problem is that this signal never actually seems to fire. I'm wondering whether I'm doing something wrong. For example, using the code > module Main where > > import Graphics.UI.Gtk > import Control.Monad.IO.Class > > main :: IO () > main = > do > _ <- initGUI > > window <- windowNew > button <- buttonNew > > set window [ containerBorderWidth := 10 > , containerChild := button > ] > > set button [ buttonLabel := "Hello, World" > , widgetHasTooltip := True > ] > > _ <- on button queryTooltip $ \_ _ tooltip -> > do > putStrLn "QUERY TOOLTIP" > tooltipSetText tooltip (Just "Prints a greeting.") > return True > > _ <- on button buttonActivated (putStrLn "CLICK") > > _ <- on window deleteEvent $ > do > liftIO (putStrLn "DESTROY" >> mainQuit) > return False > > widgetShowAll window > > mainGUI does not cause a tooltip to pop up, however the corresponding code in C (see http://lpaste.net/97558) works as expected. Am I doing something wrong on the Haskell code? I'm using the GHC (v7.6.3) and gtk2hs (v0.12.4) that come with Debian Sid. Greetings, Robert |
From: Jens P. <ju...@co...> - 2013-12-23 05:30:21
|
I tried to build webkit and webkitgtk3 0.12.5 on Fedora 20 (just released) and ran into: $ cabal install webkitgtk3 : Configuring webkitgtk3-0.12.5... Building webkitgtk3-0.12.5... Preprocessing library webkitgtk3-0.12.5... gtk2hsC2hs: Errors during expansion of binding hooks: ./Graphics/UI/Gtk/WebKit/Types.chs:1100: (column 12) [ERROR] >>> Unknown identifier! Cannot find a definition for `WebKitDOMBarInfo' in the header file. ./Graphics/UI/Gtk/WebKit/Types.chs:1865: (column 12) [ERROR] >>> Unknown identifier! Cannot find a definition for `WebKitDOMMemoryInfo' in the header file. Failed to install webkitgtk3-0.12.5 : Same error occurs for "cabal install webkit". This is with upstream webkitgtk3-2.2.3 (and webkitgtk 2.2.3). Anyone else seen this or know how to deal with it? Thanks, Jens |
From: 汤波云 <tan...@ho...> - 2013-12-21 14:58:12
|
Dear All: On windows, when attempting to linking with gtk ( gtk - 2.24 all in one bundle), I got following error: Loading package cairo-0.12.5.0 ... linking ... done.Loading package glib-0.12.5.0 ... linking ... done.Loading package gio-0.12.5.0 ... linking ... done.Loading package pango-0.12.5.0 ... linking ... done.Loading package gtk-0.12.5.0 ... ghc.exe: panic! (the 'impossible' happened) (GHC version 7.6.3 for i386-unknown-mingw32): loadObj "C:\\Users\\tangboyun\\AppData\\Roaming\\cabal\\gtk-0.12.5.0\\ghc-7.6.3\\HSgtk-0.12.5.0.o": failed Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug ghc.exe: Unknown PEi386 section name `.eh_frame' (while processing: C:\Users\tangboyun\AppData\Roaming\cabal\gtk-0.12.5.0\ghc-7.6.3\HSgtk-0.12.5.0.o) After removing the .eh_frame section from the object file using objcopy objcopy.exe --remove-section .eh_frame HSgtk-0.12.5.0.o I got follwing error:Loading package cairo-0.12.5.0 ... linking ... done.Loading package glib-0.12.5.0 ... linking ... done.Loading package gio-0.12.5.0 ... linking ... done.Loading package pango-0.12.5.0 ... linking ... done.Loading package gtk-0.12.5.0 ... linking ... ghc.exe: unable to load package `gtk-0.12.5.0'ghc.exe: C:\Users\tangboyun\AppData\Roaming\cabal\gtk-0.12.5.0\ghc-7.6.3\HSgtk-0.12.5.0.o: unknown symbol `__imp___fmode' When attempting to linking with gtk3 (3.6.4 all in one bundle from http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip), I got following error:Loading package cairo-0.12.5.0 ... linking ... done.Loading package glib-0.12.5.0 ... linking ... done.Loading package gio-0.12.5.0 ... linking ... done.Loading package pango-0.12.5.0 ... <command line>: can't load .so/.DLL for: m.dll (addDLL: could not load DLL) After fooling the compiler with the trick mentioned in https://ghc.haskell.org/trac/ghc/ticket/3242 I got the same .eh_frame and unknown symbol `__imp___fmode' error aforementioned. |
From: Michael S. <ms...@gm...> - 2013-12-11 18:10:49
|
Hello gtk2hs-users, I found something and Im not still convinced it is a bug. I tried using an ActionGroup with Accel but the keyboard's keys dont trigger the actions. Same Actions are in deed triggered by the menu perfectly. I originally ported from a python implementation (See below) which works just fine on the same machine (Ubuntu, Linux 3.11.0-12-generic, gtk3 is also installed). Please tell me Im missing to do something in the code. Do I use the wrong string representation of the keys like "<Control>q" ? Then where is the specification of those strings? Thank you very much http://lpaste.net/96853 keyboard events <https://fpcomplete.com/ide?title=keyboard%20events%20&paste=http://lpaste.net/raw/96853> 1 <http://lpaste.net/96853#line1> 2 <http://lpaste.net/96853#line2> 3 <http://lpaste.net/96853#line3> 4 <http://lpaste.net/96853#line4> 5 <http://lpaste.net/96853#line5> 6 <http://lpaste.net/96853#line6> 7 <http://lpaste.net/96853#line7> 8 <http://lpaste.net/96853#line8> 9 <http://lpaste.net/96853#line9> 10 <http://lpaste.net/96853#line10> 11 <http://lpaste.net/96853#line11> 12 <http://lpaste.net/96853#line12> 13 <http://lpaste.net/96853#line13> 14 <http://lpaste.net/96853#line14> 15 <http://lpaste.net/96853#line15> 16 <http://lpaste.net/96853#line16> 17 <http://lpaste.net/96853#line17> 18 <http://lpaste.net/96853#line18> 19 <http://lpaste.net/96853#line19> 20 <http://lpaste.net/96853#line20> 21 <http://lpaste.net/96853#line21> 22 <http://lpaste.net/96853#line22> 23 <http://lpaste.net/96853#line23> 24 <http://lpaste.net/96853#line24> 25 <http://lpaste.net/96853#line25> 26 <http://lpaste.net/96853#line26> 27 <http://lpaste.net/96853#line27> 28 <http://lpaste.net/96853#line28> 29 <http://lpaste.net/96853#line29> 30 <http://lpaste.net/96853#line30> 31 <http://lpaste.net/96853#line31> 32 <http://lpaste.net/96853#line32> 33 <http://lpaste.net/96853#line33> 34 <http://lpaste.net/96853#line34> 35 <http://lpaste.net/96853#line35> 36 <http://lpaste.net/96853#line36> 37 <http://lpaste.net/96853#line37> 38 <http://lpaste.net/96853#line38> 39 <http://lpaste.net/96853#line39> newActions window ... = do newa <- actionNew "NEWA" "New" (Just "Neue Argumentation") (Just stockNew) opna <- actionNew "OPNA" "Open" (Just "Öffne Argumentations-Datei") (Just stockOpen) sava <- actionNew "SAVA" "Save" (Just "Speichern") (Just stockSave) svaa <- actionNew "SVAA" "Save As" (Just "Speichern als ..") (Just stockSaveAs) exia <- actionNew "EXIA" "Exit" (Just "Schließen") (Just stockQuit) let second_level = [newa,opna,sava,svaa,cuta,copa,psta,hlpa,cona] --Action Activate Events onActionActivate exia (widgetDestroy window) onActionActivate svaa (saveFileDialog ...) onActionActivate opna (openFileDialog ...) onActionActivate cona (...) --ActionGroup agr <- actionGroupNew "AGR" mapM_ (actionGroupAddAction agr) first_level mapM_ (\ act -> actionGroupAddActionWithAccel agr act Nothing) second_level mapM_ prAct second_level mapM_ actionConnectAccelerator second_level mapM_ (\act -> actionSetSensitive act True) second_level --Keyboard Controles actionGroupAddActionWithAccel agr exia (Just "<Control>q") actionGroupAddActionWithAccel agr svaa (Just "<Ctrl>-s") actionGroupAddActionWithAccel agr opna (Just "<Control>o") --actionSetAccelPath opna "<Actions>/AGR/OPNA" {- working python equivalent exit = gtk.ImageMenuItem(gtk.STOCK_QUIT, agr) key, mod = gtk.accelerator_parse("<Control>Q") exit.add_accelerator("activate", agr, key, mod, gtk.ACCEL_VISIBLE) exit.connect("activate", gtk.main_quit) -} --actionGroupAddActionWithAccel agr cona (Just "<ctrl>e") return agr |
From: Alexander P. <ke...@ya...> - 2013-12-07 17:52:50
|
Problem disappeared after rm -rf ~/.ghc ~/.cabal and start from scratch. Probably I have done something wrong with cabal fixing unrelated packages. Anyhow I got runhaskell error: GHCi runtime linker: fatal error: I found a duplicate definition for symbol locale_charset importing Graphics.UI.Gtk This seems to be runhaskell problem, ghc and even import in ghci work fine. 07.12.2013, 20:55, "Alexander Pakhomov" <ke...@ya...>: > Hi. I got > /usr/local/lib/libcairo.a: unknown symbol `FcPatternDestroy' > error message. > FcPatternDestroy is in /usr/X11R6/libfontconfig.so. It is in dependencies of libcairo.so. Is there any way to use libcairo.so instead of libcairo.a? Or how can I tell ghc to use libfontconfig.so when loading libcairo.a? > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |
From: Alexander P. <ke...@ya...> - 2013-12-07 16:54:48
|
Hi. I got /usr/local/lib/libcairo.a: unknown symbol `FcPatternDestroy' error message. FcPatternDestroy is in /usr/X11R6/libfontconfig.so. It is in dependencies of libcairo.so. Is there any way to use libcairo.so instead of libcairo.a? Or how can I tell ghc to use libfontconfig.so when loading libcairo.a? |
From: Hamish M. <ham...@gm...> - 2013-11-18 02:20:13
|
I am keen to get updated Gtk2Hs packages into Hackage (so that I can do the same for Leksah). If someone grants me (HamishMackenzie) access, I would be happy to upload candidate packages to Hackage. I have updated the version numbers and pointed the Source-Repository fields to point at github https://github.com/gtk2hs/gtk2hs/commit/b6769ccd7627147c115c5b615d96704d6368bb57 I am not aware of any outstanding bugs. To make it easier to install Gtk2Hs on Windows I have added the header files, import libraries and pkg-config files to the latest Leksah binary installer. To build Gtk2Hs on Windows * Download Leksah binary - current one is... http://www.leksah.org/packages/leksah-0.13.2.8-ghc-7.6.3.exe * Install Leksah in C:\Leksah (or another dir without spaces in the path) * Add C:\Leksah\bin to your PATH * Follow the instructions here... https://github.com/gtk2hs/gtk2hs I would like to do the same for OS X, but the Leksah OS X binary uses the macports libiconv (so it would not work with the standard builds of GHC). Thanks, Hamish |
From: J H <jam...@gm...> - 2013-11-07 03:38:10
|
So far, this is all I have run into, but admittedly I haven't done extensive testing. If you want, I can get my lib further along, and do more testing and give you a summary of what I find. It might be easier to get a handle on how big of a conversion project this will be at that time.... thanks Jamshid On Mon, Nov 4, 2013 at 7:27 PM, Daniel Wagner <da...@wa...>wrote: > Hm. At the moment, gtk2hs doesn't really support creating new widgets > from within Haskell. So it doesn't surprise me that something breaks if > you find a way to do that. I'm personally pretty happy turning unsafe > FFI calls to safe ones; but is this the only thing that will need to > change? I wonder what other unsafe calls assume that all widgets are > implemented in C? > > ~d > > On 2013-11-04 00:26, J H wrote: > > Hi all- > > > > I've used bindings-gobject to create a new widget with its own > > property... And everything worked great with gtk2hs except one small > > thing. "get" (which wraps g_object_get_property) is declared as an > > unsafe ffi call, so when it tried to call my haskell getter function, > > it failed. Upon simply deleting the word "unsafe" from line 126 in > > System/Glib/Properties.chs, everything worked. > > > > Is this something that could be changed in the official release? > > > > thanks > > > > Jamshid > > > > > > > ------------------------------------------------------------------------------ > > Android is increasing in popularity, but the open development platform > > that > > developers love is also attractive to malware creators. Download this > > white > > paper to learn more about secure code signing practices that can help > > keep > > Android apps secure. > > > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > > > > _______________________________________________ > > Gtk2hs-users mailing list > > Gtk...@li... > > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > |
From: Daniel W. <da...@wa...> - 2013-11-05 03:27:29
|
Hm. At the moment, gtk2hs doesn't really support creating new widgets from within Haskell. So it doesn't surprise me that something breaks if you find a way to do that. I'm personally pretty happy turning unsafe FFI calls to safe ones; but is this the only thing that will need to change? I wonder what other unsafe calls assume that all widgets are implemented in C? ~d On 2013-11-04 00:26, J H wrote: > Hi all- > > I've used bindings-gobject to create a new widget with its own > property... And everything worked great with gtk2hs except one small > thing. "get" (which wraps g_object_get_property) is declared as an > unsafe ffi call, so when it tried to call my haskell getter function, > it failed. Upon simply deleting the word "unsafe" from line 126 in > System/Glib/Properties.chs, everything worked. > > Is this something that could be changed in the official release? > > thanks > > Jamshid > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform > that > developers love is also attractive to malware creators. Download this > white > paper to learn more about secure code signing practices that can help > keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > > _______________________________________________ > Gtk2hs-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users |
From: J H <jam...@gm...> - 2013-11-04 05:27:01
|
Hi all- I've used bindings-gobject to create a new widget with its own property... And everything worked great with gtk2hs except one small thing. "get" (which wraps g_object_get_property) is declared as an unsafe ffi call, so when it tried to call my haskell getter function, it failed. Upon simply deleting the word "unsafe" from line 126 in System/Glib/Properties.chs, everything worked. Is this something that could be changed in the official release? thanks Jamshid |
From: J H <jam...@gm...> - 2013-10-23 17:36:01
|
I think there is some value in letting these functions be available to the outside world. Part of my project is to streamline the process of widget, property and signal creation, so that a user could extend gtk in pure Haskell. Imagine a library of pure Haskell widgets containers, and compound items. It also helps with functional reactive programming, as the GTK signal could be the basis of behavior updates, and we wouldn't want to be limited to the few signals already provided. (ie- adobe flex has the "Bind" keyword which allows any variable to be an FRP source by automatically creating a signal associated with it). Perhaps such functions would make sense to an end user if documented in this context.... For now I've just added a copy of Signals.hs to my project, and this will keep things up and running for a while, although this probably isn't a great long term solution. Thanks! On Tue, Oct 22, 2013 at 10:53 PM, Axel Simon <Axe...@in...> wrote: > Hi Jamshid, > > On Oct 23, 2013, at 3:46 AM, J H <jam...@gm...> wrote: > > > > > Hi gang- > > > > I am working on a wrapper library for gtk2hs, and part of the > functionality I am offering is the ability to add new signals to gtk. So > far it works great, but I need some functions in Signals.chs. This module > is hidden for some reason, so I basically had to copy paste to get things > to work. > > > > Is there a reason this is hidden? Could that change in the future? > > > > The "historic" reasoning why Singals.chs and many other internals are not > exported is that we wanted to present the user only with the functions that > are necessary to do GUI programming. In particular, we did not want to > expose any function that took Ptr types since there would always be a user > friendlier way with a newtype and an according memory management > infrastructure. > > If one wants to build extensions, it is certainly problematic to do so > using this setup. One could export the internal functions but not document > them. One could also try to separate out the low-level stuff into a > separate package and tell users not to use it (this will be tricky I > think). The approach that the various packages use with respect to > Signals.chs is that they generate the required Signals.chs file themselves > using the tools in the Gtk2Hs repository. This might also be a way forward > for your package. > > Regards, > Axel > > > Jamshid > > > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk_______________________________________________ > > Gtk2hs-users mailing list > > Gtk...@li... > > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > > |