Re: How to hide mouse cursor?
simple code : just use blank cursor replace normal cursor void hide_cursor() { GdkCursor* cursor_blank = gdk_cursor_new(GDK_BLANK_CURSOR); gdk_window_set_cursor(gtk_widget_get_window(widget), cursor_blank); } void show_cursor() { GdkCursor* cursor_arrow = gdk_cursor_new(GDK_ARROW); gdk_window_set_cursor(gtk_widget_get_window(widget), cursor_current); } 2013/9/26 Woody Wu narkewo...@gmail.com On Wed, Sep 25, 2013 at 05:29:50PM +0200, LE GARREC Vincent wrote: gdk_window_set_cursor ??? Maybe works. Thank you anyway. I just found out a method to ask my window-manager to hide the cursor for me. 2013/9/25 Woody Wu narkewo...@gmail.com Hi, In GTk+, how do I hide mouse cursor in whole of my app? Since it supposed to be used in a touch-screen. Thanks in advance. -- I can't go back to yesterday - because I was a different person then ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list -- I can't go back to yesterday - because I was a different person then ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: Tree structure for a win32 application deployment
make a simple your_app.exe in root dir then just use winAPI LoadLibrary(gtk/bin/your_app.dll) then load your_main() function in your_app.dll 2012/2/10 Manuel Ferrero mferr...@reer.it J. Ali Harlow: How can I let my application know that the dlls are in a subdirectory? Setting PATH would work, or (assuming your app isn't intended to be run from the command line) you could use AppPaths: http://msdn.microsoft.com/en-**us/library/windows/desktop/** ee872121%28v=vs.85%29.aspxhttp://msdn.microsoft.com/en-us/library/windows/desktop/ee872121%28v=vs.85%29.aspx I don' twant to mess with the system environment PATH variable because I learned that's not the right way to work with GTK. I tried AppPaths, but it either I'm not able to make it work or it's not working at all (quite sure it's the first one) -- Regards, Manuel Ferrero RD department Reer SpA Tel. +39 011 2482215 Fax. +39 011 859867 L'utilizzo non autorizzato del presente messaggio e' vietato e potrebbe costituire reato. Se il presente messaggio non e' a Lei indirizzato, il suo contenuto non deve essere considerato come trasmesso o autorizzato dalla Reer SpA; in tale caso Le saremmo grati se, via e-mail, ce ne comunicasse l'errata ricezione. The unauthorized use of this e-mail is prohibited and could constitute an offence. If you are not the intended recipient of this message its contents shall be understood as neither given nor endorsed by Reer SpA. Please notify Reer SpA by e-mail immediately in that case. __**_ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/**listinfo/gtk-listhttp://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
1 the texts are English texts, no Chinese fonts no warning in console. 2 when I use GDK dll (2.24.0 version) , texts ok. 3 when switch pages, texts disappear and also texts backgroud color disappear, only gray window color left. I guess it's a bug of new gdk. 2012/1/19 Alexander Larsson al...@redhat.com On Thu, 2012-01-19 at 11:47 +0800, jun louis wrote: I found this BUG: I directly run gtk-demo.exe on win7 x64, use locale=zh_CN, texts disappear when switch page. I use msys, use LC_ALL=C then run gtk-demo, texts works fine! $ export LC_ALL=C $ ./gtk-demo.exe I use msys, use LC_ALL=zh_CN then run gtk-demo, texts disappear~~~ $ export LC_ALL=C $ ./gtk-demo.exe This is just a guess, but perhaps this is font related? Maybe it doesn't find the chinese fonts? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
Thanks, I try your method, but it's no use. I guess it's not a font bug, when run gtk-demo.exe, no warning on console.and all texts are English. The texts disappear like the GtkTextView control disappear, background also disappear, BUT line-num panel not disappear. 2012/1/19 Dieter Verfaillie diet...@optionexplicit.be On Thu, 19 Jan 2012 10:58:56 +0100, Alexander Larsson wrote: On Thu, 2012-01-19 at 11:47 +0800, jun louis wrote: I found this BUG: I directly run gtk-demo.exe on win7 x64, use locale=zh_CN, texts disappear when switch page. I use msys, use LC_ALL=C then run gtk-demo, texts works fine! $ export LC_ALL=C $ ./gtk-demo.exe I use msys, use LC_ALL=zh_CN then run gtk-demo, texts disappear~~~ $ export LC_ALL=C $ ./gtk-demo.exe This is just a guess, but perhaps this is font related? Maybe it doesn't find the chinese fonts? Maybe the attached pango.aliases can help. Copy it as etc/pango/pango.aliases and it will be picked up automatically when you next execute you app. There might be something missing for Chinese (don't have the means to test myself), but I think the list is fairly complete. mvg, Dieter ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
I found this BUG: I directly run gtk-demo.exe on win7 x64, use locale=zh_CN, texts disappear when switch page. I use msys, use LC_ALL=C then run gtk-demo, texts works fine! $ export LC_ALL=C $ ./gtk-demo.exe I use msys, use LC_ALL=zh_CN then run gtk-demo, texts disappear~~~ $ export LC_ALL=C $ ./gtk-demo.exe 2012/1/17 jun louis louisliang...@gmail.com I do not known how to fix this BUG now, I can not let other PC run gtk+-2.24.8 works without that BUG. After Chinese new year, I will try again, any one can give me some tips? gtk+-2.22 works OK. I try use all version of cairo dll, no one works. It sames not BUG of cairo, I guess it's a bug of gtk or gdk, but don't know how to find it. 2012/1/16 jun louis louisliang...@gmail.com I copy my fine version to other, It's not works, texts disappear when I swith page. I need more test. It's a magic BUG~~~ 2012/1/16 jun louis louisliang...@gmail.com Oh, I do not known what I do, It's OK now. When I replace cairo download from gtk.org, it's also error, but now, I do not change any thing, but every version of Gtk works fine! I replace cairo use mine, it's also works. and other version also works. I have another machine, works wrong, I will test again tomorrow. Thanks of all 2012/1/16 jun louis louisliang...@gmail.com Thanks, Alexander. BUT, It's no use when I use this one: http://www.gtk.org/download/win32.php I known another BUG about cairo: when I embed Direct3D window into Gtk window, I must set D3D device use High Precision FPU. or ALL Text on gtk window disappear. but in this case, only texts in GtkTextView that a page of GtkNotebook disappear, other texts worked fine! and only switch pages on GtkNotebook, the texts disappear. 2012/1/16 Alexander Larsson al...@redhat.com On Sun, 2012-01-15 at 15:31 +0800, jun louis wrote: I found that gtk+-2.24.8 became the current maintained version on win32, BUT I test a lot of version of gtk+-2.24.*, No one work better then gtk +-2.16. Simple run gtk-demo.exe, when click Source page then click Info page, all text disappear!!! This is due to some bugs in cairo, mostly: https://bugs.freedesktop.org/show_bug.cgi?id=42821 Use the patch from that bug, or use the cairo binary from http://www.gtk.org/download/win32.php which has the necessary patches. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
I do not known how to fix this BUG now, I can not let other PC run gtk+-2.24.8 works without that BUG. After Chinese new year, I will try again, any one can give me some tips? gtk+-2.22 works OK. I try use all version of cairo dll, no one works. It sames not BUG of cairo, I guess it's a bug of gtk or gdk, but don't know how to find it. 2012/1/16 jun louis louisliang...@gmail.com I copy my fine version to other, It's not works, texts disappear when I swith page. I need more test. It's a magic BUG~~~ 2012/1/16 jun louis louisliang...@gmail.com Oh, I do not known what I do, It's OK now. When I replace cairo download from gtk.org, it's also error, but now, I do not change any thing, but every version of Gtk works fine! I replace cairo use mine, it's also works. and other version also works. I have another machine, works wrong, I will test again tomorrow. Thanks of all 2012/1/16 jun louis louisliang...@gmail.com Thanks, Alexander. BUT, It's no use when I use this one: http://www.gtk.org/download/win32.php I known another BUG about cairo: when I embed Direct3D window into Gtk window, I must set D3D device use High Precision FPU. or ALL Text on gtk window disappear. but in this case, only texts in GtkTextView that a page of GtkNotebook disappear, other texts worked fine! and only switch pages on GtkNotebook, the texts disappear. 2012/1/16 Alexander Larsson al...@redhat.com On Sun, 2012-01-15 at 15:31 +0800, jun louis wrote: I found that gtk+-2.24.8 became the current maintained version on win32, BUT I test a lot of version of gtk+-2.24.*, No one work better then gtk +-2.16. Simple run gtk-demo.exe, when click Source page then click Info page, all text disappear!!! This is due to some bugs in cairo, mostly: https://bugs.freedesktop.org/show_bug.cgi?id=42821 Use the patch from that bug, or use the cairo binary from http://www.gtk.org/download/win32.php which has the necessary patches. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
Thanks, Alexander. BUT, It's no use when I use this one: http://www.gtk.org/download/win32.php I known another BUG about cairo: when I embed Direct3D window into Gtk window, I must set D3D device use High Precision FPU. or ALL Text on gtk window disappear. but in this case, only texts in GtkTextView that a page of GtkNotebook disappear, other texts worked fine! and only switch pages on GtkNotebook, the texts disappear. 2012/1/16 Alexander Larsson al...@redhat.com On Sun, 2012-01-15 at 15:31 +0800, jun louis wrote: I found that gtk+-2.24.8 became the current maintained version on win32, BUT I test a lot of version of gtk+-2.24.*, No one work better then gtk +-2.16. Simple run gtk-demo.exe, when click Source page then click Info page, all text disappear!!! This is due to some bugs in cairo, mostly: https://bugs.freedesktop.org/show_bug.cgi?id=42821 Use the patch from that bug, or use the cairo binary from http://www.gtk.org/download/win32.php which has the necessary patches. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
Oh, I do not known what I do, It's OK now. When I replace cairo download from gtk.org, it's also error, but now, I do not change any thing, but every version of Gtk works fine! I replace cairo use mine, it's also works. and other version also works. I have another machine, works wrong, I will test again tomorrow. Thanks of all 2012/1/16 jun louis louisliang...@gmail.com Thanks, Alexander. BUT, It's no use when I use this one: http://www.gtk.org/download/win32.php I known another BUG about cairo: when I embed Direct3D window into Gtk window, I must set D3D device use High Precision FPU. or ALL Text on gtk window disappear. but in this case, only texts in GtkTextView that a page of GtkNotebook disappear, other texts worked fine! and only switch pages on GtkNotebook, the texts disappear. 2012/1/16 Alexander Larsson al...@redhat.com On Sun, 2012-01-15 at 15:31 +0800, jun louis wrote: I found that gtk+-2.24.8 became the current maintained version on win32, BUT I test a lot of version of gtk+-2.24.*, No one work better then gtk +-2.16. Simple run gtk-demo.exe, when click Source page then click Info page, all text disappear!!! This is due to some bugs in cairo, mostly: https://bugs.freedesktop.org/show_bug.cgi?id=42821 Use the patch from that bug, or use the cairo binary from http://www.gtk.org/download/win32.php which has the necessary patches. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gtk+-2.24.8 became the current maintained version on win32 ??
I copy my fine version to other, It's not works, texts disappear when I swith page. I need more test. It's a magic BUG~~~ 2012/1/16 jun louis louisliang...@gmail.com Oh, I do not known what I do, It's OK now. When I replace cairo download from gtk.org, it's also error, but now, I do not change any thing, but every version of Gtk works fine! I replace cairo use mine, it's also works. and other version also works. I have another machine, works wrong, I will test again tomorrow. Thanks of all 2012/1/16 jun louis louisliang...@gmail.com Thanks, Alexander. BUT, It's no use when I use this one: http://www.gtk.org/download/win32.php I known another BUG about cairo: when I embed Direct3D window into Gtk window, I must set D3D device use High Precision FPU. or ALL Text on gtk window disappear. but in this case, only texts in GtkTextView that a page of GtkNotebook disappear, other texts worked fine! and only switch pages on GtkNotebook, the texts disappear. 2012/1/16 Alexander Larsson al...@redhat.com On Sun, 2012-01-15 at 15:31 +0800, jun louis wrote: I found that gtk+-2.24.8 became the current maintained version on win32, BUT I test a lot of version of gtk+-2.24.*, No one work better then gtk +-2.16. Simple run gtk-demo.exe, when click Source page then click Info page, all text disappear!!! This is due to some bugs in cairo, mostly: https://bugs.freedesktop.org/show_bug.cgi?id=42821 Use the patch from that bug, or use the cairo binary from http://www.gtk.org/download/win32.php which has the necessary patches. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
gtk+-2.24.8 became the current maintained version on win32 ??
I found that gtk+-2.24.8 became the current maintained version on win32, BUT I test a lot of version of gtk+-2.24.*, No one work better then gtk+-2.16. Simple run gtk-demo.exe, when click Source page then click Info page, all text disappear!!! Any one known this BUG? I run test on Windows7 x64(locate zh_CN), and download gtk+ from http://ftp.acc.umu.se/pub/GNOME/binaries/win32/gtk+/2.24/ or download from: http://software.opensuse.org/download.html?project=windows:mingw:win32package=mingw32-gtk2 or compiler myself. every test use blank environment(no other version dll) test use both MS-windows and Raleigh theme. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: MinGW versus GTK libintl.dll.a building GTK in Windows
I just open libintl.h:433, remove this line(#define setlocale libintl_setlocale). it's enought for test. if I want to publish my app, will download gtk and other packages from opensuse mingw build http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/noarch/ http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/noarch/ 2011/11/25 Dieter Verfaillie diet...@optionexplicit.be On 01/07/2011 13:22, Dieter Verfaillie wrote: On 21/02/2011 19:11, Ian wrote: I'm trying to build gtk 2.22.1 under Windows. I ran configure from mingw, which passed OK, then make which made gdk OK, but then gave this error making gtk: libtool: link: gcc -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -mms-bitfields -o .libs/gtk-update-icon-cache.exe updateiconcache.o -LC:/GTK/GTK-2.22.1/lib/ -LC:/GTK/GTK-2.22.1/lib -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -L/mingw/lib c:/mingw/lib/libintl.dll.a /mingw/lib/libiconv.dll.a -L/mingw/lib updateiconcache.o: In function `main': c:\Users\Ian\Development\GTK\GTK\gtk+-2.22.1\gtk/updateiconcache.c:1657: undefined reference to `libintl_setlocale' Stumbled across the same thing last week while working on glib when trying out a freshly installed MinGW/MSYS through the new mingw-get package manager. The newer MinGW tools now come with NLS support out of the box, which explains why we didn't have this problem with say a gcc-4.5.0 era MinGW. The quick workaround I'm using for now (from an MSYS bash session): $ mv /mingw/lib/libintl.a /mingw/lib/libintl.a_ $ mv /mingw/lib/libintl.dll.a /mingw/lib/libintl.dll.a_ $ mv /mingw/lib/libintl.la /mingw/lib/libintl.la_ The proper solution would be to figure out why ./configure picks the libintl version from /ming/lib instead of /c/GTK/lib even when /c/GTK/bin is on PATH *before* /mingw/bin. But I'm busy with other things atm... Just got bitten by this again on a new install (on a new machine) and I think this might simply be the case of /mingw/share/aclocal/intl.m4 being picked up instead of /c/GTK/share/aclocal/intl.m4 (or where ever the gettext-tools package lives on your machine) when running ./configure. So it might be possible to fix this by exporting ACLOCAL_FLAGS=-I /c/GTK/share/aclocal in addition to PATH and PKG_CONFIG_PATH before executing ./configure to get around this. Without moving around those .(l)a files as mentioned above. Well, haven't yet tested this idea and probably wont have much time to do so until week 49 :/ mvg, Dieter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk+ 2.24.8 on win32 GtkTextView or GtkNoteBook BUG
I Run gtk-demo.exe or other gtk program use Gtk+-2.24.8, When I switch page(for example switch Info/Souce page in gtk-demo.exe), the GtkTextView disappear(maybe texts in GtkTextViewdisappear), but scrollbar or other widget work well. Any one known this problem? I am using Windows7 64-bit msys, compile gtk+-2.24.8 use mingw32 GCC-4.5.2, test using the MS-Windows GTK+ theme and other themes. GtkTextView disappear when switch notebook to other sheet then back to sheet with GtkTextView. GtkScrolledWindow worked fine, scroll bar can drag with mouse, but TextView disappear so scroll on text not work. also test use gtk+-2.24.8 download from https://build.opensuse.org/project/packages?project=windows%3Amingw%3Awin32. 2011/11/16 jun louis louisliang...@gmail.com I am using Windows7 64-bit msys, compile gtk+-2.24.8 use mingw32 GCC-4.5.2 Other package download from ftp.gnome.org. test using the MS-Windows GTK+ theme and other themes. GtkTextView disappear when switch notebook to other sheet then back to sheet with GtkTextView. GtkScrolledWindow worked fine, scroll bar can drag with mouse, but TextView disappear so scroll on text not work. 2011/11/15 Dieter Verfaillie diet...@optionexplicit.be On Fri, 11 Nov 2011 14:29:07 +0800, jun louis wrote: I Run gtk-demo.exe or other gtk program use Gtk+-2.24.8 compiled today, When I switch page(for example switch Info/Souce page in gtk-demo.exe), the GtkTextView disappear(maybe texts in GtkTextViewdisappear), but scrollbar or other widget work well. Any one known this problem? Have not encountered this when testing on Windows XP or Windows 7 when using the MS-Windows GTK+ theme. On what Windows version are you encountering this behavior? mvg, Dieter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Gtk+ 2.24.8 on win32 GtkTextView or GtkNoteBook BUG
I am using Windows7 64-bit msys, compile gtk+-2.24.8 use mingw32 GCC-4.5.2 Other package download from ftp.gnome.org. test using the MS-Windows GTK+ theme and other themes. GtkTextView disappear when switch notebook to other sheet then back to sheet with GtkTextView. GtkScrolledWindow worked fine, scroll bar can drag with mouse, but TextView disappear so scroll on text not work. 2011/11/15 Dieter Verfaillie diet...@optionexplicit.be On Fri, 11 Nov 2011 14:29:07 +0800, jun louis wrote: I Run gtk-demo.exe or other gtk program use Gtk+-2.24.8 compiled today, When I switch page(for example switch Info/Souce page in gtk-demo.exe), the GtkTextView disappear(maybe texts in GtkTextViewdisappear), but scrollbar or other widget work well. Any one known this problem? Have not encountered this when testing on Windows XP or Windows 7 when using the MS-Windows GTK+ theme. On what Windows version are you encountering this behavior? mvg, Dieter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk+ 2.24.8 on win32 GtkTextView or GtkNoteBook BUG
I Run gtk-demo.exe or other gtk program use Gtk+-2.24.8 compiled today, When I switch page(for example switch Info/Souce page in gtk-demo.exe), the GtkTextView disappear(maybe texts in GtkTextViewdisappear), but scrollbar or other widget work well. Any one known this problem? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk-devel-list Digest, Vol 88, Issue 15
This error because of parser.py Conflict with python builtin module parser. when import parser in codegen_main.py cause error. so I rename parser.py to xxparser.py then, modify codegen_main.py, replace parser with xxparser, compile succeed! good luck! 2011/8/18 gtk-devel-list-requ...@gnome.org Send gtk-devel-list mailing list submissions to gtk-devel-list@gnome.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.gnome.org/mailman/listinfo/gtk-devel-list or, via email, send a message with subject or body 'help' to gtk-devel-list-requ...@gnome.org You can reach the person managing the list at gtk-devel-list-ow...@gnome.org When replying, please edit your Subject line so it is more specific than Re: Contents of gtk-devel-list digest... Today's Topics: 1. Re: make glib-2.29.16 fails on codegen_main.py (George Brink) 2. Re: make glib-2.29.16 fails on codegen_main.py (Dieter Verfaillie) -- Message: 1 Date: Wed, 17 Aug 2011 17:40:55 -0400 From: George Brink siberian...@yahoo.com To: gtk-devel-list@gnome.org Subject: Re: make glib-2.29.16 fails on codegen_main.py Message-ID: j2hch8$s94$1...@dough.gmane.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 8/16/2011 3:31 PM, Dieter Verfaillie wrote: You seem to be hitting the same stuff I have already encountered, so you might also be interested in my windows branch here: https://github.com/dieterv/glib/tree/windows Yes, I am trying to build GTK+3 on Windows... without any luck for now. Your branch also is not very easy to use. You did not published ready to use configure script, and automake from MSYS does show a lot of errors while attempting to make a new configure. -- Message: 2 Date: Thu, 18 Aug 2011 09:21:54 +0200 From: Dieter Verfaillie diet...@optionexplicit.be To: George Brink siberian...@yahoo.com Cc: gtk-devel-list@gnome.org Subject: Re: make glib-2.29.16 fails on codegen_main.py Message-ID: 20110818092154.17612la93j6al...@webmail.linuxsystems.be Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; format=flowed Quoting George Brink siberian...@yahoo.com: On 8/16/2011 3:31 PM, Dieter Verfaillie wrote: You seem to be hitting the same stuff I have already encountered, so you might also be interested in my windows branch here: https://github.com/dieterv/glib/tree/windows Yes, I am trying to build GTK+3 on Windows... without any luck for now. Hang in there, it's possible. Have had it working (even with introspection support) for some time now. The mswindows theme engine is broken though... Your branch also is not very easy to use. You did not published ready to use configure script, and automake from MSYS does show a lot of errors while attempting to make a new configure. Well, it's a branch, not a source tarball so you are indeed expected to either: - fix MSYS (haven't had time yet to build a mingw-get-able repo for this) or; - you can also simply NOCONFIGURE=1 ./autogen on a Linux box/vm and do everything else with MinGW/MSYS. mvg, Dieter This message was sent using IMP, the Internet Messaging Program. -- ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list End of gtk-devel-list Digest, Vol 88, Issue 15 ** ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Gtk+ 3.0 and MS Windows
It's NOT difficult to Make Gtk+ 3.0 under Mingw with Gcc-4.5. But now, it's not worked good enought. I don't known what you need, may be this method can help you: 1. fetch dependance packages on http://ftp.gnome.org/pub/GNOME/binaries/win32/ * gtk+-bundle_2.22.1-20101227_ win32.zip = unzip to d:/gtk/ * glib-dev_2.28.1-1_win32.zip = unzip to d:/gtk, replace old one * glib_2.28.1-1_win32.zip = unzip to d:/gtk, replace old one 2. fetch all source packages on http://ftp.gnome.org/pub/GNOME/sources/ * fetch new ATK src( I use atk-1.33.6 ) = unzip to d:/gtk/src/atk-1.33.6/ * fetch new Gtk src( I use gtk+3.0.4 ) = unzip to d:/gtk/src/gtk+-3.0.4/ 3. compile ATK GTK * fix pkg-config BUG on win32, only generate an script file: pkg-config.sh #!/bin/sh if pkg-config $@ /dev/null 21 ; then res=true else res=false fi pkg-config $@ | tr -d \\r $res * run msys.bat and set PATH export PKG_CONFIG=/the/path/you/generated/pkg-config.sh export PATH=$PATH:/d/gtk/bin cd /d/gtk/src/atk-1.33.6 ./configure --prefix=/d/gtk make make install cd /d/gtk/src/gtk+-3.0.4 ./configure --prefix=/d/gtk --enable-static=no --enable-shared=yes make make install 4. run gtk3-demo.exe lots of BUGS not fixed. 2011/3/25 jcup...@gmail.com On 24 March 2011 21:04, John Stowers john.stowers.li...@gmail.com wrote: On Thu, 2011-03-24 at 10:01 +0100, Maarten Bosmans wrote: If you like, I have a python script (that works on both Linux and Windows) that downloads a package with all dependencies and extracts the binaries. Combined with the OBS automatically building the latest packages, it makes keeping your Windows program up to date quite easy. I would be interested in that script please. I use jhbuild for this. You write a simple bit of xml saying what packages your project depends on and it will download, patch, configure, compile and install them for you automatically. I use it on linux to cross-compile win32 applications, but I imagine it would work on Windows as well, though very slowly. I have the files for my project, plus a README, here: https://github.com/jcupitt/build-win32/tree/8211330d76d992e69d47d9ae44aefc1d77d95ffe/7.24 There's an nsis thing that will automatically build a setup.exe as well. John ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list