gtk-osx-users Mailing List for GTK+ Mac OS X (Page 4)
Status: Beta
Brought to you by:
jralls
This list is closed, nobody may subscribe to it.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(33) |
Aug
(12) |
Sep
(28) |
Oct
(1) |
Nov
(30) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(3) |
Feb
(22) |
Mar
(31) |
Apr
(49) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(42) |
Sep
(62) |
Oct
(11) |
Nov
(28) |
Dec
(16) |
2011 |
Jan
(11) |
Feb
(44) |
Mar
(43) |
Apr
(53) |
May
(54) |
Jun
(54) |
Jul
(15) |
Aug
(11) |
Sep
(8) |
Oct
(2) |
Nov
(4) |
Dec
(4) |
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
(2) |
2013 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(8) |
Jul
(6) |
Aug
(4) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(1) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(18) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(13) |
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(9) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris S. <cps...@ya...> - 2013-06-27 11:35:12
|
Hi, I'm trying to perform an installation on OSX 10.8.4. After running jhbuild build python I'm getting the following error: *** Checking out python *** [2/2] curl --continue-at - -L http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.xz -o /Users/chris/gtk/source/pkgs/Python-2.7.3.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9742k 100 9742k 0 0 312k 0 0:00:31 0:00:31 --:--:-- 375k jhbuild build: failed to unpack /Users/chris/gtk/source/pkgs/Python-2.7.3.tar.xz Any idea what's going on here? Cheers, Chris |
From: John R. <jr...@ce...> - 2013-01-10 01:31:55
|
On Jan 9, 2013, at 11:35 AM, John A. Vink <ja...@ne...> wrote: > I am very confused. I'm trying to build Gtk+ as a pre-requisite for building WireShark. So I'm following the instructions at <https://live.gnome.org/GTK+/OSX/Building> for building Gtk+. I get to the stage "jhbuild build meta-gtk-osx-core", which you say builds Gtk+, but it fails, because you say I have not built Gtk+. > > I am inexperienced in building Gtk+, in that I've never gotten it to build before. By "experienced", I mean that you can write programs with Gtk+ yourself, including the autoconf/automake configuration. Gtk-OSX is intended for developers/maintainers of Gtk+ programs who want to port them as standalone applications to Mac users. It's not a slam-dunk, though building the core meta-module is intended to be... but when it isn't, I expect the person having trouble to be able to understand the process and what failed and to provide an accurate report, perhaps including what he did to get it to work. That apparently isn't you. So to explain what's going on, you first must understand that each meta-module (bootstrap, meta-gtk-osx-bootstrap, meta-gtk-osx-core, etc.) is a collection of several modules, of which gtk-mac-integration is the last. Each module goes through 4 stages, checkout (e.g., retrieving the tarball and unpacking it), configuration (normally running configure), build (running make), and install (running make install). Each stage must complete properly to go on to the next one. If it fails, you're presented with a menu of things to do about it, one of which is "ignore the problem and keep going". Since you got to configuring gtk-mac-integration without having installed Gtk+, you must have selected that at least once. You shouldn't have, because that's the set of errors that will explain what's wrong with your system. An error message saying that something earlier in the sequence failed isn't at all helpful. As for Wireshark, two notes: First, they already have Mac binaries at http://www.wireshark.org/download.html, and second, it appears from their README.mac (http://anonsvn.wireshark.org/viewvc/trunk/README.macos?revision=46953&view=markup), it only works for X11, not quartz. Gtk-osx builds the quartz version of Gtk+ -- that's the whole point of it -- so you're likely headed down the wrong path. Regards, John Ralls |
From: John A. V. <ja...@ne...> - 2013-01-09 19:35:23
|
I am very confused. I'm trying to build Gtk+ as a pre-requisite for building WireShark. So I'm following the instructions at <https://live.gnome.org/GTK+/OSX/Building> for building Gtk+. I get to the stage "jhbuild build meta-gtk-osx-core", which you say builds Gtk+, but it fails, because you say I have not built Gtk+. I am inexperienced in building Gtk+, in that I've never gotten it to build before. |
From: John A. V. <ja...@ne...> - 2013-01-09 08:07:30
|
I subscribed this afternoon. I think there's something you needed to do. Gtk-osx-users Subscription results Your subscription request has been received, and will soon be acted upon. Depending on the configuration of this mailing list, your subscription request may have to be first confirmed by you via email, or approved by the list moderator. If confirmation is required, you will soon get a confirmation email which contains further instructions. Gtk-osx-users list run by jralls at ceridwen.us Gtk-osx-users administrative interface (requires authorization) Overview of all lists.sourceforge.net mailing lists Geeknet Privacy Policy |
From: John R. <jr...@ce...> - 2013-01-09 04:17:24
|
On Jan 8, 2013, at 6:24 PM, John A. Vink <ja...@ne...> wrote: > Here's the error I get when I do "~/.local/bin/jhbuild build meta-gtk-osx-core" > > This is the tail end. There's 100 lines or so of output. Let me know if you need more. > > checking for GLIB - version >= 2.14.0... yes (version 2.34.1) > checking for GLib >= 2.31.0... yes > checking for gtkdoc-check... /Users/jav/gtk/inst/bin/gtkdoc-check > checking for gtkdoc-rebase... /Users/jav/gtk/inst/bin/gtkdoc-rebase > checking for gtkdoc-mkpdf... /Users/jav/gtk/inst/bin/gtkdoc-mkpdf > checking whether to build gtk-doc documentation... no > Specified Gtk Version check > checking for MAC... no > checking for MAC... no > configure: error: GTK+-2.0 Wersion 2.10 or higher or GTK+-3.0 Version 2.90.0 or higher is required to build gtk-mac-integration > *** Error during phase configure of gtk-mac-integration: ########## Error running ./configure --prefix /Users/jav/gtk/inst --libdir '/Users/jav/gtk/inst/lib' --disable-python *** [19/20] > I told you to subscribe. This is the last message I will pass in unless you do. You already established that Gtk+ wasn't installed, and this error obviously reflects that. jhbuild will have stopped when Gtk+ failed to build or install, and to continue you must have told it to ignore the error and continue. I conclude that you're either too inexperienced to be attempting this or trolling. You may prove me wrong by analyzing for yourself why Gtk+ is failing to build and attempting to solve it for yourself, and if you fail, describing what you have done to attempt to remedy the problem -- after subscribing to the list. Regards, John Ralls |
From: John A. V. <ja...@ne...> - 2013-01-09 02:24:59
|
Here's the error I get when I do "~/.local/bin/jhbuild build meta-gtk-osx-core" This is the tail end. There's 100 lines or so of output. Let me know if you need more. checking for GLIB - version >= 2.14.0... yes (version 2.34.1) checking for GLib >= 2.31.0... yes checking for gtkdoc-check... /Users/jav/gtk/inst/bin/gtkdoc-check checking for gtkdoc-rebase... /Users/jav/gtk/inst/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /Users/jav/gtk/inst/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... no Specified Gtk Version check checking for MAC... no checking for MAC... no configure: error: GTK+-2.0 Wersion 2.10 or higher or GTK+-3.0 Version 2.90.0 or higher is required to build gtk-mac-integration *** Error during phase configure of gtk-mac-integration: ########## Error running ./configure --prefix /Users/jav/gtk/inst --libdir '/Users/jav/gtk/inst/lib' --disable-python *** [19/20] [1] Rerun phase configure [2] Ignore error and continue to build [3] Give up on module [4] Start shell [5] Reload configuration [6] Go to phase "wipe directory and start over" [7] Go to phase "clean" [8] Go to phase "distclean" choice: |
From: John R. <jr...@ce...> - 2013-01-08 03:31:58
|
On Jan 7, 2013, at 4:49 PM, John A. Vink <ja...@ne...> wrote: > Does one of these commands build Gtk+? > > jhbuild bootstrap > jhbuild build meta-gtk-osx-bootstrap > > Those two commands seemed to run OK. > > It's this command that fails: > > jhbuild build meta-gtk-osx-core > > Here's the contents of my gtk/inst/lib/pkgconfig/ > > atk.pc gdk-pixbuf-2.0.pc libffi.pc > cairo-ft.pc gio-2.0.pc liblzma.pc > cairo-gobject.pc gio-unix-2.0.pc libpng.pc@ > cairo-pdf.pc glib-2.0.pc libpng15.pc > cairo-png.pc gmodule-2.0.pc libxml-2.0.pc > cairo-ps.pc gmodule-export-2.0.pc libxslt.pc > cairo-quartz-font.pc gmodule-no-export-2.0.pc pango.pc > cairo-quartz.pc gobject-2.0.pc pangocairo.pc > cairo-script.pc gobject-introspection-1.0.pc pixman-1.pc > cairo-svg.pc gobject-introspection-no-export-1.0.pc python-2.7.pc > cairo.pc gthread-2.0.pc python.pc@ > expat.pc libexslt.pc python2.pc@ > > I don't have PKG_CONFIG_PATH set. > > Here's what happens when I run pkg-config: > > jav> ~/.local/bin/jhbuild shell > Prefix: /Users/jav/gtk/inst > Entered jhbuild shell, type 'exit' to return. > jav> pkg-config --cflags gtk+-2.0 gtk+-3.0 > Package gtk+-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `gtk+-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk+-2.0' found > Package gtk+-3.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `gtk+-3.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk+-3.0' found > .`jhbuild build meta-gtk-osx-core` builds gtk+-2.0, and `jhbuild build meta-gtk-osx-gtk3` builds gtk+-3.0. Based on the installed packages, looks like it failed building gtk+. So what error messages did you get? Please subscribe to the list to post. Regards, John Ralls |
From: John A. V. <ja...@ne...> - 2013-01-08 00:56:11
|
Does one of these commands build Gtk+? jhbuild bootstrap jhbuild build meta-gtk-osx-bootstrap Those two commands seemed to run OK. It's this command that fails: jhbuild build meta-gtk-osx-core Here's the contents of my gtk/inst/lib/pkgconfig/ atk.pc gdk-pixbuf-2.0.pc libffi.pc cairo-ft.pc gio-2.0.pc liblzma.pc cairo-gobject.pc gio-unix-2.0.pc libpng.pc@ cairo-pdf.pc glib-2.0.pc libpng15.pc cairo-png.pc gmodule-2.0.pc libxml-2.0.pc cairo-ps.pc gmodule-export-2.0.pc libxslt.pc cairo-quartz-font.pc gmodule-no-export-2.0.pc pango.pc cairo-quartz.pc gobject-2.0.pc pangocairo.pc cairo-script.pc gobject-introspection-1.0.pc pixman-1.pc cairo-svg.pc gobject-introspection-no-export-1.0.pc python-2.7.pc cairo.pc gthread-2.0.pc python.pc@ expat.pc libexslt.pc python2.pc@ I don't have PKG_CONFIG_PATH set. Here's what happens when I run pkg-config: jav> ~/.local/bin/jhbuild shell Prefix: /Users/jav/gtk/inst Entered jhbuild shell, type 'exit' to return. jav> pkg-config --cflags gtk+-2.0 gtk+-3.0 Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' found |
From: John R. <jr...@ce...> - 2012-12-18 03:49:53
|
On Dec 17, 2012, at 4:29 PM, John A. Vink <ja...@ne...> wrote: > Hi, > > I'm trying to build on Mac OS X 10.8.2. I'm following the instructions at https://live.gnome.org/GTK+/OSX/Building. > > All works fine until I get to the step: > > jhbuild build meta-gtk-osx-core > > This ends up failing here: > > Specified Gtk Version check > checking for MAC... no > checking for MAC... no > configure: error: GTK+-2.0 Wersion 2.10 or higher or GTK+-3.0 Version 2.90.0 or higher is required to build gtk-mac-integration > *** Error during phase configure of gtk-mac-integration: ########## Error running ./configure --prefix /Users/jav/gtk/inst --libdir '/Users/jav/gtk/inst/lib' --disable-python *** [20/21] > > What am I doing wrong? Looks like a pkg-config problem. Did Gtk+ (either 2.24 or 3.6) build? Is the .pc file in gtk/inst/lib/pkgconfig? Do you have PKG_CONFIG_PATH defined in your environment in a way that would override one that jhbuild sets up? Try starting a jhbuild shell and running `pkg-config --cflags gtk+-2.0 gtk+-3.0`. Regards, John Ralls |
From: John A. V. <ja...@ne...> - 2012-12-18 01:24:19
|
Hi, I'm trying to build on Mac OS X 10.8.2. I'm following the instructions at https://live.gnome.org/GTK+/OSX/Building. All works fine until I get to the step: jhbuild build meta-gtk-osx-core This ends up failing here: Specified Gtk Version check checking for MAC... no checking for MAC... no configure: error: GTK+-2.0 Wersion 2.10 or higher or GTK+-3.0 Version 2.90.0 or higher is required to build gtk-mac-integration *** Error during phase configure of gtk-mac-integration: ########## Error running ./configure --prefix /Users/jav/gtk/inst --libdir '/Users/jav/gtk/inst/lib' --disable-python *** [20/21] What am I doing wrong? Thanks, JAV |
From: Chris S. <cps...@ya...> - 2012-11-27 23:36:44
|
I fixed the build problem by using: jhbuild bootstrap --ignore-system Cheers, Chris ________________________________ From: Chris Share <cps...@ya...> To: "gtk...@li..." <gtk...@li...> Sent: Wednesday, 28 November 2012 9:42 AM Subject: [gtk-osx-users] [Gtk-osx-users] Error During Build Phase of GTK+ (on OSX 10.8.2) Hi, I'm getting an error when trying to build GTK+ on OSX 10.8.2. Here's the error: aclocal.m4:680: GTK_DOC_CHECK is expanded from... configure.in:1595: the top level configure.in:151: error: possibly undefined macro: dnl If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /Users/chris/gtk/inst/bin/autoconf failed with exit status: 1 *** Error during phase configure of gtk+: ########## Error running autoreconf -fis && ./configure --prefix /Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --with-gdktarget=quartz --enable-quartz-relocation --disable-introspection *** [19/21] How do I fix this? Cheers, Chris ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net _______________________________________________ Gtk-osx-users mailing list Gtk...@li... https://lists.sourceforge.net/lists/listinfo/gtk-osx-users _______________________________________________ Gtk-osx-users-list mailing list Gtk...@gn... https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list |
From: Chris S. <cps...@ya...> - 2012-11-27 22:42:53
|
Hi, I'm getting an error when trying to build GTK+ on OSX 10.8.2. Here's the error: aclocal.m4:680: GTK_DOC_CHECK is expanded from... configure.in:1595: the top level configure.in:151: error: possibly undefined macro: dnl If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /Users/chris/gtk/inst/bin/autoconf failed with exit status: 1 *** Error during phase configure of gtk+: ########## Error running autoreconf -fis && ./configure --prefix /Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --with-gdktarget=quartz --enable-quartz-relocation --disable-introspection *** [19/21] How do I fix this? Cheers, Chris |
From: John R. <jr...@ce...> - 2012-11-27 12:56:21
|
On Nov 27, 2012, at 9:31 PM, Chris Share <cps...@ya...> wrote: > So to fix this should I delete the current .jhbuildrc-custom file and start the build process again? You could do that, particularly if you mean to start from running gtk-osx-build-setup.sh again, since that will copy a new .jhbuildrc-custom for you. If you haven't bothered to customize the old one at all, that might be the best course. Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2012-11-27 12:32:03
|
So to fix this should I delete the current .jhbuildrc-custom file and start the build process again? ________________________________ From: John Ralls <jr...@ce...> To: Chris Share <cps...@ya...>; GTK+-2 OSX Users <gtk...@li...> Sent: Tuesday, 27 November 2012 11:09 PM Subject: Re: [gtk-osx-users] [Gtk-osx-users] Problem Building on 10.8.2 On Nov 27, 2012, at 9:36 AM, Chris Share <cps...@ya...> wrote: > Hi, > > I did some work with gtk-osx a couple of years ago and managed to get it working. > > I'm currently working on OSX 10.8.2 and would like to use gtk-osx for a new project I'm working on. > > However, I'm having some problems with the build: > > I've downloaded and run > > sh gtk-osx-build-setup.sh > > and I've also added ~/.local/bin to my path. > > When I try to start the build process I get the following error: > > New-MacBook:~ chris$ jhbuild bootstrap > Traceback (most recent call last): > File "/Users/chris/Source/jhbuild/jhbuild/config.py", line 212, in load > execfile(self.filename, config) > File "/Users/chris/.jhbuildrc", line 538, in <module> > execfile(_userrc) > File "/Users/chris/.jhbuildrc-custom", line 112, in <module> > if _osx_version.startswith("8"): > AttributeError: 'float' object has no attribute 'startswith' > jhbuild: could not load config file > > What am I missing here? When Lion came out I changed _osx_version from a string to a float so that I could use < and > with it. Your .jhbuildrc-custom is from before that. BTW, I also changed _osx_version so that it has the expected value rather than the offset-by-4 value of yore, so Tiger is now 4.x instead of "8*. If you need to support pre-Lion Macs with your app, be sure to read the notes about using Xcode3 at https://live.gnome.org/GTK%2B/OSX/Building#Installing_XCode_3_on_XCode_4_systems Regards, John Ralls |
From: John R. <jr...@ce...> - 2012-11-27 12:10:20
|
On Nov 27, 2012, at 9:36 AM, Chris Share <cps...@ya...> wrote: > Hi, > > I did some work with gtk-osx a couple of years ago and managed to get it working. > > I'm currently working on OSX 10.8.2 and would like to use gtk-osx for a new project I'm working on. > > However, I'm having some problems with the build: > > I've downloaded and run > > sh gtk-osx-build-setup.sh > > and I've also added ~/.local/bin to my path. > > When I try to start the build process I get the following error: > > New-MacBook:~ chris$ jhbuild bootstrap > Traceback (most recent call last): > File "/Users/chris/Source/jhbuild/jhbuild/config.py", line 212, in load > execfile(self.filename, config) > File "/Users/chris/.jhbuildrc", line 538, in <module> > execfile(_userrc) > File "/Users/chris/.jhbuildrc-custom", line 112, in <module> > if _osx_version.startswith("8"): > AttributeError: 'float' object has no attribute 'startswith' > jhbuild: could not load config file > > What am I missing here? When Lion came out I changed _osx_version from a string to a float so that I could use < and > with it. Your .jhbuildrc-custom is from before that. BTW, I also changed _osx_version so that it has the expected value rather than the offset-by-4 value of yore, so Tiger is now 4.x instead of "8*. If you need to support pre-Lion Macs with your app, be sure to read the notes about using Xcode3 at https://live.gnome.org/GTK%2B/OSX/Building#Installing_XCode_3_on_XCode_4_systems Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2012-11-27 00:36:25
|
Hi, I did some work with gtk-osx a couple of years ago and managed to get it working. I'm currently working on OSX 10.8.2 and would like to use gtk-osx for a new project I'm working on. However, I'm having some problems with the build: I've downloaded and run sh gtk-osx-build-setup.sh and I've also added ~/.local/bin to my path. When I try to start the build process I get the following error: New-MacBook:~ chris$ jhbuild bootstrap Traceback (most recent call last): File "/Users/chris/Source/jhbuild/jhbuild/config.py", line 212, in load execfile(self.filename, config) File "/Users/chris/.jhbuildrc", line 538, in <module> execfile(_userrc) File "/Users/chris/.jhbuildrc-custom", line 112, in <module> if _osx_version.startswith("8"): AttributeError: 'float' object has no attribute 'startswith' jhbuild: could not load config file What am I missing here? Cheers, Chris |
From: Monteeuse A. <ale...@mo...> - 2012-06-22 18:56:04
|
Boa tarde, Solicito o encaminhamento deste e-mail aos responsáveis por Manutenção Industrial e Segurança do Trabalho. A MONTEEUSE fabrica uma linha completa Andaimes Tubulares, que tem grande diferencial de qualidade, a começar pela espessura de seus tubos, solda e acabamento. Disponibilizamos todos os itens que podem ser adicionados aos conjuntos para uma maior segurança e atender às exigências da NR18 (inclusive as alterações de 2012), além da nova NR35, específica para trabalhos em altura. O produto top de linha da empresa é o Andaime Plataforma, que tem um conceito inovador para trabalho em altura com segurança e produtividade bem superiores aos tubulares. É regulável a cada 25 cm, o que lhe propicia uma grande flexibilidade. Esse aspecto da regulagem junto com sua capacidade de carga (1500 kg) e firmeza, são os grandes diferenciais que fazem com que este equipamento seja um sucesso de vendas. Seguindo os mesmos padrões de qualidade e durabilidade, fabricamos também Escoras Metálicas para construção civil feitas em tubos de aço com espessuras entre 2,25mm e 3mm. Todo material possui ART de fabricação assinado pelo engenheiro responsável. Em anexo seguem os folders informativos dos equipamentos de nossa linha de produtos. Também há bastante informação em nosso site www.monteeuseandaimes.com.br (http://emkt.monteeuseandaimes.com.br/lt.php?c=934&m=863&nl=438&s=4e08b37b51cd99259741d3a5386dfca4&lid=11459&l=-http--www.monteeuseandaimes.com.br/), inclusive vídeos e detalhes construtivos dos mesmos. Com as recentes modificações na NR18 e NR35 e a crescente preocupação das empresas com a segurança, nossos produtos são cada vez mais requisitados. Estamos a disposição para lhe fornecer informações que necessite. Click here to unsubscribe from future mailings: http://emkt.monteeuseandaimes.com.br/box.php?nl=438&c=934&m=863&s=4e08b37b51cd99259741d3a5386dfca4&funcml=unsub2 |
From: Pierre B. <pie...@la...> - 2012-02-21 16:12:23
|
Hi list, Since I updated my jhbuild installation on december 20th, there is no way to write any character involving an <Alt> in the gtk application I package for MacOS. I've seen the archive of a thread on gtk-devel about this issue but I did not manage to get what was done in the end. I've seen on bugzilla that gedit faced the same kind of issue (my application is gtk2 not 3 so maybe it is different) and fixed it but I did not find how. I'm able to write "{ \\ ~ }" in a toy application just involving a TextBuffer. I'm sorry to distrub the all list with that but is there any clue somewhere of how to handle it? All the best, Pierre Boutillier |
From: John R. <jr...@ce...> - 2011-12-18 15:46:14
|
On Dec 18, 2011, at 5:15 AM, Eli Clement wrote: > Hi, > > thank you John for pervious mail concerning Bug 655065 [1]. After your > suggested patch, my gtk+3.0 is properly installed on mac osx lion. > Unfortunately in my next step when building meta-gtk-osx-python-gtk3 i > get the following error: > > > checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes > checking for pkg-config... /Users/eli/gtk/inst/bin/pkg-config > checking pkg-config is at least version 0.16... yes > checking for GLIB - version >= 2.0.0... yes (version 2.28.8) > checking whether to build gtk-doc documentation... no > checking for gtkdoc-check... /Users/eli/gtk/inst/bin/gtkdoc-check > Specified Gtk Version check > checking for MAC... yes > checking GTK+ Version... "3.2.0" > checking Python Version... checking whether > /Users/eli/gtk/inst/bin/python version >= 2.3.5... yes > checking for /Users/eli/gtk/inst/bin/python version... 2.7 > checking for /Users/eli/gtk/inst/bin/python platform... darwin > checking for /Users/eli/gtk/inst/bin/python script directory... > ${prefix}/lib/python2.7/site-packages > checking for /Users/eli/gtk/inst/bin/python extension module > directory... ${exec_prefix}/lib/python2.7/site-packages > checking Python Headers... checking for headers required to compile > python extensions... found > configure: Switch on Gtk+ Version > checking for PYGOBJECT... no > checking PyGObject 3.0... PyGObject 3.0.0 or newer > checking PyGObject-Codegen-2.0... checking for pygobject-codegen-2.0... no > pygobject-codegen-2.0 script not found > checking Gtk GIR... checking for > /Users/eli/gtk/inst/share/gir-1.0/Gtk-3.0.gir... yes > checking whether to build Python bindings... configure: error: > Couldn't find the required Python tools. > *** Error during phase configure of gtk-mac-integration-python: > ########## Error running ./configure --prefix /Users/eli/gtk/inst > --libdir '/Users/eli/gtk/inst/lib' --enable-python *** [25/26] > > > > As you can see i have a Python 2.7 installation, did jhbuild builds > (bootstrap, meta-gtk-osx-bootstrap, meta-gtk-osx-gtk3) successfully. > Any idea how to tackle this? > (the source version of gtk-mac-integration is gtk-mac-integration-1.0.1) > > Will you please *subscribe* to the list so I don't have to moderate your posts? The released gtk-mac-integration doesn't build with pygi. It's fixed in git master, I just haven't rolled a new release. Regards, John Ralls |
From: Eli C. <eli...@gm...> - 2011-12-18 13:15:21
|
Hi, thank you John for pervious mail concerning Bug 655065 [1]. After your suggested patch, my gtk+3.0 is properly installed on mac osx lion. Unfortunately in my next step when building meta-gtk-osx-python-gtk3 i get the following error: checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes checking for pkg-config... /Users/eli/gtk/inst/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB - version >= 2.0.0... yes (version 2.28.8) checking whether to build gtk-doc documentation... no checking for gtkdoc-check... /Users/eli/gtk/inst/bin/gtkdoc-check Specified Gtk Version check checking for MAC... yes checking GTK+ Version... "3.2.0" checking Python Version... checking whether /Users/eli/gtk/inst/bin/python version >= 2.3.5... yes checking for /Users/eli/gtk/inst/bin/python version... 2.7 checking for /Users/eli/gtk/inst/bin/python platform... darwin checking for /Users/eli/gtk/inst/bin/python script directory... ${prefix}/lib/python2.7/site-packages checking for /Users/eli/gtk/inst/bin/python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking Python Headers... checking for headers required to compile python extensions... found configure: Switch on Gtk+ Version checking for PYGOBJECT... no checking PyGObject 3.0... PyGObject 3.0.0 or newer checking PyGObject-Codegen-2.0... checking for pygobject-codegen-2.0... no pygobject-codegen-2.0 script not found checking Gtk GIR... checking for /Users/eli/gtk/inst/share/gir-1.0/Gtk-3.0.gir... yes checking whether to build Python bindings... configure: error: Couldn't find the required Python tools. *** Error during phase configure of gtk-mac-integration-python: ########## Error running ./configure --prefix /Users/eli/gtk/inst --libdir '/Users/eli/gtk/inst/lib' --enable-python *** [25/26] As you can see i have a Python 2.7 installation, did jhbuild builds (bootstrap, meta-gtk-osx-bootstrap, meta-gtk-osx-gtk3) successfully. Any idea how to tackle this? (the source version of gtk-mac-integration is gtk-mac-integration-1.0.1) Thanks! |
From: John R. <jr...@ce...> - 2011-12-17 18:24:33
|
On Dec 17, 2011, at 9:13 AM, Eli Clement wrote: > Hi, > > I have a fresh mac os x lion installation where i want to develop > Python apps with GTK+-3.0 > I tried to install GTK using the procedure mentioned at: > https://live.gnome.org/GTK%2B/OSX/Building > (I only want the gtk+-3.0 and python related stuff, so no gtk+2 and > pygtk anymore) > > I did the following install: > > $ sh gtk-osx-build-setup.sh > $ jhbuild bootstrap > $ jhbuild build meta-gtk-osx-bootstrap > > Everything went fine, except in the following build (at gtk3 build > step 20 of 23): > > $ jhbuild build meta-gtk-osx-gtk3 > > The following error keeps coming out..... > > ... > ... > ... > CXX autotestkeywords-autotestkeywords.o > CXXLD autotestkeywords > Undefined symbols for architecture x86_64: > "_objc_msgSend_fixup", referenced from: > l_objc_msgSend_fixup_autorelease in autotestkeywords-autotestkeywords.o > (maybe you meant: l_objc_msgSend_fixup_autorelease) > ld: symbol(s) not found for architecture x86_64 > collect2: ld returned 1 exit status > make[3]: *** [autotestkeywords] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > *** Error during phase build of gtk+-3.0: ########## Error running > make *** [20/23] > > > > > > Any help or suggestions to get a gtk3, python up and running on a mac > os x lion system using jhbuild? Or do I have to build extra gtk2 stuff > to get the gtk3 working? > Ah, Bug 655065 [1]. Apply the patch [2] and it should work. Regards, John Ralls [1] https://bugzilla.gnome.org/show_bug.cgi?id=655065 [2] https://bugzilla.gnome.org/attachment.cgi?id=198657 |
From: Eli C. <eli...@gm...> - 2011-12-17 17:13:27
|
Hi, I have a fresh mac os x lion installation where i want to develop Python apps with GTK+-3.0 I tried to install GTK using the procedure mentioned at: https://live.gnome.org/GTK%2B/OSX/Building (I only want the gtk+-3.0 and python related stuff, so no gtk+2 and pygtk anymore) I did the following install: $ sh gtk-osx-build-setup.sh $ jhbuild bootstrap $ jhbuild build meta-gtk-osx-bootstrap Everything went fine, except in the following build (at gtk3 build step 20 of 23): $ jhbuild build meta-gtk-osx-gtk3 The following error keeps coming out..... ... ... ... CXX autotestkeywords-autotestkeywords.o CXXLD autotestkeywords Undefined symbols for architecture x86_64: "_objc_msgSend_fixup", referenced from: l_objc_msgSend_fixup_autorelease in autotestkeywords-autotestkeywords.o (maybe you meant: l_objc_msgSend_fixup_autorelease) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[3]: *** [autotestkeywords] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 *** Error during phase build of gtk+-3.0: ########## Error running make *** [20/23] Any help or suggestions to get a gtk3, python up and running on a mac os x lion system using jhbuild? Or do I have to build extra gtk2 stuff to get the gtk3 working? greets and thanks in advance! |
From: John R. <jr...@ce...> - 2011-11-26 21:29:05
|
On Nov 26, 2011, at 1:05 PM, Anthony J Bybell wrote: > It's best to explain this one with some examples. Version-wise, I'm using the modulesets that was updated a couple of days ago. I have some workarounds in my code that fix this problem for me, but they appear to be hiding some behavior in GDK. > > svn co https://gtkwave.svn.sourceforge.net/svnroot/gtkwave gtkwave > cd gtkwave/gtkwave3 > ./configure --disable-xz > make > cd src > ./gtkwave ../examples/des.vzt ../examples/des.sav > > This should compile for you; I don't think you need to --disable-tcl. Click on the signals pane and try pressing cmd-a, shift-cmd-a and you will see that the signal names highlight and unhighlight as they should. > > cmd-q to exit. > > Now go into signalwindow.c function osx_timer() and then comment out the 4 consecutive lines around line 684 containing gtk_widget_hide()/gtk_widget_show(). > > make > ./gtkwave ../examples/des.vzt ../examples/des.sav > > Click on the signals pane and try pressing cmd-a, shift-cmd-a and you will see that the signal names update much later (if at all), or finally update when you move pointer focus out of the signals pane. > > For some reason I'm coming across delayed updates in gdk calls becoming visible to my signalarea and wavearea widgets. > > The same can be seen in a deprecated widget CTree (shown directly below the "SST" label): > Look in treesearch_gtk2.c and search for the comment text "workaround" in the functions tree_[collapse|expand]_callback(). > > With the gtk_widget_hide()/gtk_widget_show() present when you click on (+)/(-) the widget does what it should. Otherwise it doesn't update until the tree loses focus, or if it updates, the update is partial. > > I am wondering if there is some weirdness in that gdk_display_sync()/gdk_display_flush() actually need to do something, if there's a rendering pipeline that needs to be flushed, or there's a missing copy from a widget's backing store or whatever that is no problem with X11 but needs to be kicked when Quartz is used. At first I thought this simply was a CTree problem, but as I'm seeing it with widgets returned by gtk_drawing_area_new(), I'm wondering if it's something a little more fundamental concerning the interplay with GDK. I think this is beyond the scope of this list. Please file a bug at https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B and component quartz. Thanks. Regards, John Ralls |
From: Anthony J B. <by...@us...> - 2011-11-26 21:05:38
|
It's best to explain this one with some examples. Version-wise, I'm using the modulesets that was updated a couple of days ago. I have some workarounds in my code that fix this problem for me, but they appear to be hiding some behavior in GDK. svn co https://gtkwave.svn.sourceforge.net/svnroot/gtkwave gtkwave cd gtkwave/gtkwave3 ./configure --disable-xz make cd src ./gtkwave ../examples/des.vzt ../examples/des.sav This should compile for you; I don't think you need to --disable-tcl. Click on the signals pane and try pressing cmd-a, shift-cmd-a and you will see that the signal names highlight and unhighlight as they should. cmd-q to exit. Now go into signalwindow.c function osx_timer() and then comment out the 4 consecutive lines around line 684 containing gtk_widget_hide ()/gtk_widget_show(). make ./gtkwave ../examples/des.vzt ../examples/des.sav Click on the signals pane and try pressing cmd-a, shift-cmd-a and you will see that the signal names update much later (if at all), or finally update when you move pointer focus out of the signals pane. For some reason I'm coming across delayed updates in gdk calls becoming visible to my signalarea and wavearea widgets. The same can be seen in a deprecated widget CTree (shown directly below the "SST" label): Look in treesearch_gtk2.c and search for the comment text "workaround" in the functions tree_[collapse|expand]_callback(). With the gtk_widget_hide()/gtk_widget_show() present when you click on (+)/(-) the widget does what it should. Otherwise it doesn't update until the tree loses focus, or if it updates, the update is partial. I am wondering if there is some weirdness in that gdk_display_sync ()/gdk_display_flush() actually need to do something, if there's a rendering pipeline that needs to be flushed, or there's a missing copy from a widget's backing store or whatever that is no problem with X11 but needs to be kicked when Quartz is used. At first I thought this simply was a CTree problem, but as I'm seeing it with widgets returned by gtk_drawing_area_new(), I'm wondering if it's something a little more fundamental concerning the interplay with GDK. Thanks, -Tony |
From: John R. <jr...@ce...> - 2011-11-25 22:06:25
|
On Nov 23, 2011, at 11:36 PM, Anthony J Bybell wrote: > DnD works fine without crashing for my app with the latest modulesets build so I've been busy porting it to OSX. > > However, I've had problems with missing pixmaps/pixbufs (no crashes), yet any stock GTK icon images for stuff work. For my custom ones, I'm only using gdk_pixmap_create_from_xpm_d() and xg_get_pixbuf_from_pix_and_mask() on in-memory xpm images specified by a char** pointer. Instead of just this in my app build shell script: > > ~/.local/bin/ige-mac-bundler gtkwave.bundle > > I also need to add: > > <binary> > ${prefix}/lib/gdk-pixbuf-2.0/* > </binary> > > to my gtkwave.bundle which I suppose is expected based on prior postings I've seen, however I discovered I need to add the following to my shell script to post-process after ige-mac-bundler: > > gdk-pixbuf-query-loaders | \ > sed 's#/Users/.*loaders/#@executable_path/../Resources/lib/gdk-pixbuf-2.0/loaders/#' \ > > ~/Desktop/gtkwave.app/Contents/Resources/etc/gtk-2.0/gdk-pixbuf.loaders > > ...am I missing something fundamental with ige-mac-bundler in that I have to create that .loaders file or is this what I'm supposed to be doing? My custom images render fine once I do that extra step. > > The lib/gdk-pixbuf-2.0 block is included in the example: <binary> ${prefix}/lib/gdk-pixbuf-2.0/${pkg:${gtk}:gtk_binary_version}/*.so </binary> The second should be done for you by gtk-mac-bundler. Gdk-pixbuf's installation profile has changed in the last year (it was part of gtk from 2.14 or so, don't remember, to 2.22. With 2.24 it's back to being a separate package.) Perhaps your version of ige-mac-bundler is out of date? Regards, John Ralls |