Re: [gtk-osx-users] ITSTool building error with Python built before.

2022-08-16 Thread John Ralls
0 (clang-1300.0.29.3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import libxml2 >>>> > > But not with python 3.10: > bld% ./xnadalib-2022/bin/python3 > Python 3.10.2 (main,

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-24 Thread John Ralls
might want to get the Additional Tools for Xcode 13 from https://developer.apple.com/downloads. It includes Quartz Debug that might enable you to fake retina resolution if your MBA has enough GPU to support it. Regards, John Ralls > On Jun 24, 2022, at 2:17 PM, John Ralls wrote: > >

Re: [gtk-osx-users] Black screen on ARM based Macs

2022-06-24 Thread John Ralls
/gdkwindow-quartz.c#L352. Regards, John Ralls > On Jun 24, 2022, at 12:01 PM, Miroslav Rajcic wrote: > > Hi John, > > you can find the installer with new build here: > http://notecase.sourceforge.net/temp/notecase-4.6.4pre1.pkg > > Thanks for the help. > > Best regards

Re: [gtk-osx-users] Setting up JHBuild environment and forcing builds if patches have changed

2022-01-23 Thread John Ralls
runner uses. `jhbuild build --skip foo foo` builds and installs all of the dependencies. Tar up the prefix and put the tarball somewhere that the CI runner can find it and add a step to your CI recipe to retrieve and un-tar it. Build your project using the CI runner's build recipe. Regards, Joh

Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.

2022-01-17 Thread John Ralls
> On Jan 17, 2022, at 12:21 PM, Pascal wrote: > > >> Le 18 mai 2021 à 23:53, John Ralls a écrit : > ... >> Examining the config.log from the year-ago build shows complaints about not >> finding libbrotlidec, so with autotools it's definitely an optional package

Re: [gtk-osx-users] Newer macOS version (12.0) than being linked (11.0)

2022-01-14 Thread John Ralls
quot;image/png" "" > "png" "" > > % ls > /usr/local/xnadalib-2021/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png* > /usr/local/xnadalib-2021/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so* > > It seems

Re: [gtk-osx-users] gtk-osx-setup.sh minor error.

2022-01-07 Thread John Ralls
it? > Dang, I thought I'd removed that. Yes, it's harmless. And now it's gone. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] Error during phase checkout of libjpeg: file hash is incorrect

2022-01-06 Thread John Ralls
ith the expected hash of > the library itself, rather than a corruption during download. > > How can I fix that? If you've cloned the repository you can put the new hash in the module, then file a merge request on gitlab. Otherwise you can tell me and I'll fix it,

Re: [gtk-osx-users] Newer macOS version (12.0) than being linked (11.0)

2021-12-30 Thread John Ralls
e. > >>> I have MacPorts installed in /opt/local but not in PATH. >>> Should I delete XDG_CACHE_HOME folder before building GTK? >> >> I don't know, sorry. My feeling is that you shouldn't need to do so. > > When looking in environnement

Re: [gtk-osx-users] GTK MACOS: jhbuild fails with ModuleNotFoundError: No module named 'pipenv'

2021-11-09 Thread John Ralls
mebrew > > I wonder if that matters. Huh, didn't notice that. It will need to be fixed before building anything, but it shouldn't have anything to do with pipenv not working. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-u

Re: [gtk-osx-users] Updating GTK3: ninja error.

2021-09-27 Thread John Ralls
ir > /usr/local/xnadalib-2021/bin/g-ir-scanner --no-libtool --namespace=Gtk > --nsversion=3.0 --warn-all --output gtk/Gtk-3.0.gir --c- > ... > dyld: Symbol not found: _gtk_file_chooser_widget_accessible_get_type > Referenced from: &

Re: [gtk-osx-users] Hello World with gtk

2021-08-26 Thread John Ralls
> On Aug 26, 2021, at 11:14 AM, David Price via gtk-osx-users-list > wrote: > > Hello > > I finally managed to use jhbuild to install gtk. Thanks to John Ralls for > helping me with the Rust problem. > > Now I am trying to do the basic GTK Hello World in Rust

Re: [gtk-osx-users] Another jhbuild problem

2021-08-26 Thread John Ralls
Very good. RUSTUP isn't RUSTUP_HOME, which needs to point to where the toolchains live, something I didn't really understand when I wrote that section of gtk-osx-setup.sh. I think I know how to fix it. Regards, John Ralls > On Aug 26, 2021, at 4:21 AM, David Price wrote: > >

Re: [gtk-osx-users] Another jhbuild problem

2021-08-25 Thread John Ralls
it. Regards, John Ralls > On Aug 25, 2021, at 1:37 PM, David Price wrote: > > > Hi > > I already have Rust installed (~/.rustup) and have been using it for a while. > Do you recommend uninstalling it, then re-running jhbuild? > > David > > > > On

Re: [gtk-osx-users] Another jhbuild problem

2021-08-25 Thread John Ralls
uot;configure" > [8] Go to phase "clean" > [9] Go to phase "distclean" > choice: Rust can't find its toolchain. It would normally look in $RUSTUP_HOME; in a clean macOS that's set in ~/.new_local/bin/jhbuild to ~/.new_local and the toolchains shoul

Re: [gtk-osx-users] Could not detect Ninja

2021-08-25 Thread John Ralls
Thanks for following up, but please remember to copy the list on all replies. Regards, John Ralls > On Aug 25, 2021, at 12:13 PM, David Price wrote: > > > My updated reply : > > Okay, I finally got my Path to work. I had been using .zshenv instead of > .zshrc. Stupid me

Re: [gtk-osx-users] Could not detect Ninja

2021-08-25 Thread John Ralls
nja" but it didn't work. > > I'm completely new to all this. Any help would be appreciated. gtk-osx-setup.sh should have downloaded and installed ninja into ~/.new_local/bin. Did it? Did you remember to add ~/.new_local/bin to $PATH? Regards, John Ralls ___

Re: [gtk-osx-users] Building libtasn1: Undefined symbols _c_isdigit.

2021-08-03 Thread John Ralls
> On Aug 3, 2021, at 12:48 AM, Pascal wrote: > >> >> Le 1 août 2021 à 19:01, John Ralls a écrit : >> >>> On Aug 1, 2021, at 1:58 AM, Pascal wrote: >>> >>>> Le 26 juil. 2021 à 17:51, John Ralls a écrit : >>>> &g

Re: [gtk-osx-users] Building libtasn1: Undefined symbols _c_isdigit.

2021-08-01 Thread John Ralls
> On Aug 1, 2021, at 1:58 AM, Pascal wrote: > >> >> Le 26 juil. 2021 à 17:51, John Ralls a écrit : >> >>> On Jul 25, 2021, at 9:54 PM, Pascal wrote: >>> >>> Hello, >>> >>> I built GNUTLS with Xcode 12.5.1. >>>

Re: [gtk-osx-users] Questions about gtk-osx-setup.sh execution.

2021-07-27 Thread John Ralls
> On Jul 27, 2021, at 12:31 PM, Pascal wrote: > >> >> Le 26 juil. 2021 à 00:26, John Ralls a écrit : >> >>> On Jul 25, 2021, at 3:37 AM, Pascal wrote: >>> >>> Hello, >>> >>> I'm running gtk-osx-setup.sh on an extern

Re: [gtk-osx-users] Building libtasn1: Undefined symbols _c_isdigit.

2021-07-26 Thread John Ralls
ine rather than static. #ifndef C_CTYPE_INLINE #define C_CTYPE_INLINE _GL_INLINE #endif and config.h *should* have #define _GL_INLINE inline So one of two things went wrong in your build: Either C_CTYPE_INLINE got defined incorrectly somewhere before c_ctypes.h got included or con

Re: [gtk-osx-users] gtk+-3.0: Failed to find patch.

2021-07-25 Thread John Ralls
> On Jul 25, 2021, at 8:23 PM, Pascal wrote: > >> >> Le 26 juil. 2021 à 00:31, John Ralls a écrit : >> >>> On Jul 25, 2021, at 9:17 AM, Pascal wrote: >>> >>> Hello, >>> >>> I've got this error: >>> % jhbuild b

Re: [gtk-osx-users] gtksourceview-4.8.1: ERROR: Dependency "vapigen" not found

2021-07-25 Thread John Ralls
> On Jul 25, 2021, at 9:02 PM, Pascal wrote: > >> >> Le 26 juil. 2021 à 00:11, John Ralls a écrit : >> >> Pascal, >> >> vapigen is the Vala API Generator, so you want to either add vala as a >> dependency or add -Dvapi=false. I t

Re: [gtk-osx-users] gtk+-3.0: Failed to find patch.

2021-07-25 Thread John Ralls
re is missing this file? I guess you mean "where is this missing file". It's at https://gitlab.gnome.org/GNOME/gtk-osx/-/blob/master/patches/gtk3-24-29-ensure-drag-source-freed.patch with all of the others. Regards, John Ralls ___ gtk-osx

Re: [gtk-osx-users] Questions about gtk-osx-setup.sh execution.

2021-07-25 Thread John Ralls
ironment? You can see all of the default paths easily with `grep envvar gtk-osx-setup.sh`. You'll want to set DEVPREFIX and PYTHONUSERBASE to $DEVROOT/.local. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] gtksourceview-4.8.1: ERROR: Dependency "vapigen" not found

2021-07-25 Thread John Ralls
Pascal, vapigen is the Vala API Generator, so you want to either add vala as a dependency or add -Dvapi=false. I think it wants false based on gtksourceview's meson_options.txt but it might want disabled instead. Regards, John Ralls > On Jul 25, 2021, at 10:09 AM, Pascal wrote: > &

Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.

2021-05-17 Thread John Ralls
> On May 17, 2021, at 1:19 PM, Pascal wrote: > > >> Le 17 mai 2021 à 05:10, John Ralls a écrit : >> >> Pascal, >> >> Yeah. You need to figure out why harfbuzz-no-cairo didn't install the >> header. Study the logs. Try force-rebuilding (e.g.

Re: [gtk-osx-users] Building freetype: Fatal error: 'hb-ft.h' file not found.

2021-05-16 Thread John Ralls
osx-gtk3` to ensure that you haven't messed something up in .jhbuildrc-custom like putting one or more of those modules on the skip list. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] Glade upgrade to 3.38.

2021-05-15 Thread John Ralls
> On May 15, 2021, at 10:44 AM, Pascal wrote: > >> >> Le 15 mai 2021 à 18:38, John Ralls a écrit : >> >> >> >>> On May 15, 2021, at 2:55 AM, Pascal wrote: >>> >>> Hello John, >>> >>> Glade provided in

Re: [gtk-osx-users] Glade upgrade to 3.38.

2021-05-15 Thread John Ralls
s at 3.28.1, just one minor release behind. Does 3.28.2 fix a critical bug? If not I don't see any reason to upgrade it until the next regular update in 2022. I don't know of anyone making a Glade.app. Regards, John Ralls ___ gtk-osx-users-list mail

Re: [gtk-osx-users] Annual Updates

2021-04-09 Thread John Ralls
> On Apr 7, 2021, at 7:31 AM, Andrius Rinkevicius wrote: > > > > On Tue, Apr 6, 2021 at 7:08 PM John Ralls wrote: > > > > On Apr 6, 2021, at 1:25 AM, Andrius Rinkevicius > > wrote: > > > > > > > > On Tue, Apr 6, 2021 at 4:13 A

Re: [gtk-osx-users] Annual Updates

2021-04-06 Thread John Ralls
> On Apr 6, 2021, at 1:25 AM, Andrius Rinkevicius wrote: > > > > On Tue, Apr 6, 2021 at 4:13 AM John Ralls wrote: > I'm preparing the annual updates to the stable packages and in the process > I'm making some changes that could break build scripts and jhbuildrc-c

[gtk-osx-users] Annual Updates

2021-04-05 Thread John Ralls
require C++17 in its version 3 and gtkmm4 requires it. The earliest macOS version that supports C++17 is 10.13 High Sierra. I haven't pushed any of this yet so if there are any objections now is the time to raise them! Regards, John Ralls ___ gtk-osx-u

Re: [gtk-osx-users] gtkclipboard-quartz.c:112:27: error: implicit declaration of function.

2021-03-28 Thread John Ralls
> On Mar 28, 2021, at 8:28 AM, John Ralls wrote: > > > >> On Mar 28, 2021, at 3:47 AM, Pascal wrote: >> >> Hello, >> >> I've got this error: >> >> /opt/gtk+-2.24.32/gtk/gtkclipboard-quartz.c:1

Re: [gtk-osx-users] gtkclipboard-quartz.c:112:27: error: implicit declaration of function.

2021-03-28 Thread John Ralls
/gdkquartz.h" is not visible by > current include paths. Pascal, That's Gtk itself, not Gtk-OSX. Raise an issue on Gtk's Gitlab. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] How do not rebuild complete module if only one source file was changed

2021-03-18 Thread John Ralls
e gtk build directory, and say `make` or `ninja` depending on whether it's configured with configure or meson. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] GTK+ 3.24 upgrade?

2021-03-07 Thread John Ralls
so. That particular change is https://gitlab.gnome.org/GNOME/gtk/-/commit/b46f50079bd80eb6f572a6524ee6b9040ecab7ff. It's pretty minor, just a restoring some bindings in gtk-keys.css.mac that got lost in the Gtk2->Gtk3 transition. Regards, John Ralls _

Re: [gtk-osx-users] Crash of jhbuild at install phase

2021-02-25 Thread John Ralls
> On Feb 25, 2021, at 6:37 AM, Andrius Rinkevicius wrote: > > > On Thu, Feb 25, 2021 at 9:56 AM Andrius Rinkevicius > wrote: > On Thu, Feb 25, 2021 at 3:45 AM John Ralls wrote: > > > > On Feb 24, 2021, at 11:05 AM, Andrius Rinkevicius via gtk-osx-users-lis

Re: [gtk-osx-users] Crash of jhbuild at install phase

2021-02-24 Thread John Ralls
moves everything to $PREFIX and deletes $DESTDIR. So if the files wound up as e.g. $DESTDIR/bin/bluefish instead of $DESTDIR/$PREFIX/bin/bluefish then when jhbuild went back to do the move it wouldn't be able to find the files. That's where I'd start investigating: 'Ignoring uninstal

Re: [gtk-osx-users] Crash on big sur

2021-01-26 Thread John Ralls
details. I can replace it with a combined !52 + !102 if you've gotten crashes that the simpler patch doesn't fix; I never tested against gtk2 so it won't shock me if that's the case. As for upstreaming Alex's fork, it's incumbent on people maintaining forks to

Re: [gtk-osx-users] Publishing MacOS bundle on App Store

2021-01-23 Thread John Ralls
to proceed, but aside from that there's no real risk to submitting. The worst that can happen is that they'll say no. Let us know what happens. I'm particularly interested to know if they object to having the libraries under Resources instead of Frame

Re: [gtk-osx-users] "Python installation not usable" error in Big Sur

2021-01-14 Thread John Ralls
in mind that Gtk-OSX is not intended as a general-purpose package manager like Homebrew or MacPorts: It is intended for developers/maintainers of Gtk-based applications to package their projects as Mac App bundles. Regards, John Ralls > On Jan 14, 2021, at 12:14 PM, Lee Marrett wr

Re: [gtk-osx-users] "Python installation not usable" error in Big Sur

2021-01-13 Thread John Ralls
> definitely installed? I haven't tried building with the Apple-installed Python3 and I'm not able to blow up my build environment to test it just now. The simplest work-around is to add python3 to your list of modules. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] GTK with Quartz backend

2021-01-08 Thread John Ralls
in significant legal costs and court judgements against you." That doesn't sound like a good idea to me. I'll stand by my statement that you have to use a Mac to build the Quartz backends for Harfbuzz, Cairo, Pango, and Gtk. Regards, John Ralls ___

Re: [gtk-osx-users] GTK with Quartz backend

2021-01-08 Thread John Ralls
ter) stack for macOS, Quartz or X11. It's also not possible to cross-compile for the Quartz backend because that requires a macOS SDK, something available only on Mac computers running macOS. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx

Re: [gtk-osx-users] crash on updateTrackingRect is BAAACK

2020-11-19 Thread John Ralls
> On Nov 19, 2020, at 1:41 PM, Allin Cottrell wrote: > > On Tue, 17 Nov 2020, John Ralls wrote: > >>> On Nov 17, 2020, at 12:53 PM, Allin Cottrell wrote: >>> >>>> I just tested full-screening and red button closing GnuCash built >>&g

Re: [gtk-osx-users] crash on updateTrackingRect is BAAACK

2020-11-17 Thread John Ralls
nly, no crash. You might >> diff GtkNSWindow.c between Gtk2 and Gtk3 to see if there's something helpful >> there. > > GtkNSWindow.c ? I'm not seeing a file of that name (or close) in the GTK 2 > codebase. Sorry, gdk/quartz/GdkQuartzWindow.c. Regards, John Ralls __

Re: [gtk-osx-users] crash on updateTrackingRect is BAAACK

2020-11-17 Thread John Ralls
> On Nov 17, 2020, at 7:52 AM, Allin Cottrell wrote: > > On Mon, 16 Nov 2020, John Ralls wrote: > >>> On Nov 16, 2020, at 1:46 PM, Allin Cottrell via gtk-osx-users-list >>> wrote: >>> >>> Back in 2106 there was a thread concerning a crash

Re: [gtk-osx-users] crash on updateTrackingRect is BAAACK

2020-11-16 Thread John Ralls
. I haven't been working much with Gtk2 in the last couple of years but The GIMP still does. Unfortunately I don't think any of them subscribe here so I suggest you open an issue at https://gitlab.gnome.org/GNOME/gtk. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] itstool: ModuleNotFoundError: No module named libxml2.

2020-10-02 Thread John Ralls
** Checking out itstool *** [2/3] > *** Configuring itstool *** [2/3] > ... > *** Checking out glade *** [3/3] > *** Configuring glade *** [3/3] > ... > *** success *** [3/3] > > Is there an other way to do it? I think I fixed that with https://gitlab.gnome.org/GNOME/gtk-osx/-/commit/

Re: [gtk-osx-users] Pango/break.c error: unannotated fall-through between switch labels.

2020-09-27 Thread John Ralls
> [8/126] Generating pango-enum-types.c with a meson_exe.py custom command > ninja: build stopped: subcommand failed. > *** Error during phase build of pango: ## Error running ninja *** > [22/32] > > Is it really related to Xcode update? Yup. Clang apple

Re: [gtk-osx-users] Installation errors and uninstalling

2020-09-21 Thread John Ralls
dule fails until you've gotten that module built and installed. What's the first failure? Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] Building libnettle: curve25519-mul.o.d:80: *** missing separator.

2020-09-19 Thread John Ralls
-externs -fPIC -MT eddsa-expand.o -MD -MP -MF eddsa-expand.o.d -c /Users/john/Development/gtk-build/gtk-stable-10.15-x86_64/src/nettle-3.5.1/eddsa-expand.c \ && true Pretty much the same as yours except for the prefix and source dir paths. Regards, John Ralls ___

Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.

2020-09-14 Thread John Ralls
> On Sep 13, 2020, at 1:20 AM, Pascal wrote: > > >> Le 12 sept. 2020 à 20:09, John Ralls a écrit : >> >>> On Sep 12, 2020, at 2:08 AM, Pascal wrote: >>> >>> Hello John >>> >>> I've the following errors: >>&

Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.

2020-09-12 Thread John Ralls
> On Sep 12, 2020, at 2:08 AM, Pascal wrote: > >> Le 11 sept. 2020 à 22:10, John Ralls a écrit : >> >>> On Sep 3, 2020, at 5:12 PM, John Ralls wrote: >>> >>>> On Sep 2, 2020, at 8:57 AM, Pascal wrote: >>>> >>>>>

Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.

2020-09-11 Thread John Ralls
> On Sep 3, 2020, at 5:12 PM, John Ralls wrote: > > > >> On Sep 2, 2020, at 8:57 AM, Pascal wrote: >> >>> >>> Le 2 sept. 2020 à 16:30, John Ralls a écrit : >>> >>>> On Sep 2, 2020, at 3:24 AM, Pascal wrote: >>>>

Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.

2020-09-03 Thread John Ralls
> On Sep 2, 2020, at 8:57 AM, Pascal wrote: > >> >> Le 2 sept. 2020 à 16:30, John Ralls a écrit : >> >>> On Sep 2, 2020, at 3:24 AM, Pascal wrote: >>> >>> Hello John, >>> >>>> Le 25 août 2020 à 17:21, John

Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.

2020-09-02 Thread John Ralls
> On Sep 2, 2020, at 3:24 AM, Pascal wrote: > > Hello John, > >> Le 25 août 2020 à 17:21, John Ralls a écrit : >> >>> On Aug 25, 2020, at 3:47 AM, Pascal wrote: >>> >>>> Le 22 août 2020 à 12:11, Pascal a écrit : >>>> &

Re: [gtk-osx-users] Pango error implicit declaration of function is invalid in C99.

2020-08-25 Thread John Ralls
44 > --- a/modulesets/gtk-osx.modules > +++ b/modulesets/gtk-osx.modules > @@ -107,10 +107,8 @@ > > > > - > - > > - > + > > > Should I then push it to github? You mean make a

Re: [gtk-osx-users] jhbuildrc TypeError issue.

2020-08-23 Thread John Ralls
> On Aug 23, 2020, at 1:24 AM, Pascal wrote: > > >> Le 22 août 2020 à 19:17, John Ralls a écrit : >> >>> On Aug 22, 2020, at 12:38 AM, Pascal wrote: >>> > > ... > >>> Then, I've got the following

Re: [gtk-osx-users] Glade: can't find file to patch.

2020-08-23 Thread John Ralls
o work before. > Why I have to set the file path manually now? I don't know why it worked before, as you can see from the path the strip level would have had to be 5 instead of 1. I just pushed a fixed patch with the git standard "a/man/Makefile.in b/man/Makefile.in". Thanks. Reg

Re: [gtk-osx-users] jhbuildrc TypeError issue.

2020-08-22 Thread John Ralls
> On Aug 22, 2020, at 12:38 AM, Pascal wrote: > >> >> Le 22 août 2020 à 05:38, John Ralls a écrit : >> >>> On Aug 21, 2020, at 1:14 PM, Pascal wrote: >>> >>> Hello, >>> >>> I've just run a fresh new jhbuild environment.

Re: [gtk-osx-users] jhbuildrc TypeError issue.

2020-08-21 Thread John Ralls
fix, _python_ver) > > It seems that the issue is that _python_ver is a number not a string. > It is ok if I changed the line to: >_python_install_path = os.path.join(prefix, 'lib', str(_python_ver), > 'site-packages') > > What is your feedback? Pascal, Makes sense. I've

[gtk-osx-users] Python3 and jhbuild

2020-08-17 Thread John Ralls
I've already pushed some changes to jhbuildrc-gtk-osx that support the new architecture. For those of you who've been around long enough to remember ppc and universal builds, they're back. I've no idea if gtk-osx can build one. Regards, John Ralls ___ gt

Re: [gtk-osx-users] GTK-Mac-Bundler lib changes.

2020-06-12 Thread John Ralls
> On Jun 12, 2020, at 11:25 AM, Pascal wrote: > >> >> Le 11 juin 2020 à 02:49, John Ralls a écrit : >> >>> On Jun 10, 2020, at 12:33 PM, Pascal wrote: >>> >>> Hello John, >>> >>>> Le 9 juin 2020 à 17:47, John Rall

Re: [gtk-osx-users] GTK-Mac-Bundler lib changes.

2020-06-10 Thread John Ralls
> On Jun 10, 2020, at 12:33 PM, Pascal wrote: > > Hello John, > >> Le 9 juin 2020 à 17:47, John Ralls a écrit : >> >> Something else is wrong. `encoding` *is* a legal parameter to `open`: >> https://docs.python.org/3/library/functions.html#open > &

Re: [gtk-osx-users] GTK-Mac-Bundler lib changes.

2020-06-09 Thread John Ralls
> On Jun 9, 2020, at 2:44 AM, Pascal wrote: > >> >> Le 8 juin 2020 à 18:13, John Ralls a écrit : >> >> >> >>> On Jun 8, 2020, at 3:03 AM, Pascal wrote: >>> >>>> >>>> Le 7 juin 2020 à 19:39, Pascal a é

Re: [gtk-osx-users] GTK-Mac-Bundler lib changes.

2020-06-08 Thread John Ralls
' % namespace) > ValueError: Namespace Gtk not available > > What could be missing in the bundle file? The typelibs? I don't understand what you mean about manually copying the python files to prevent overwriting the loadable modules. How would that happen? You might look at https://github.com/gramps-project/gramps/blob/maintenance/gramps51/mac/gramps.bundle to see how I bundle Gramps. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] CodeSigning and Catalina security issue.

2020-05-29 Thread John Ralls
> My steps are: > - add the needed setenv in setup_paths and call it before gtk_init in main.c > - run gtk-mac-bundler with my_app.bundle > - suffix the script shell with ".sh" in my_app.app/Contents/MacOS > - suppress the "-bin"

Re: [gtk-osx-users] GtkGLArea and gtk3 osx

2020-05-26 Thread John Ralls
; ... and then I use opengl through epoxy... it works > > It seems to me that somewhere in the chain, once GtkGLArea has been > implemented in OSX, there is still code "blocking" it. That's a bit off-topic for here. Try asking on discourse.gnome.org. Regards, John Ralls __

Re: [gtk-osx-users] New build system

2020-05-20 Thread John Ralls
using the pyenv-based setup I find that libintl *does* have the the LC_VERSION_MIN_MACOSX setting. Regards, John Ralls > On May 20, 2020, at 1:25 AM, Gabriele Greco via gtk-osx-users-list > wrote: > > ... beside that with setup_sdk set in jhbuildrc-custom the comp

Re: [gtk-osx-users] Can not compile python-launcher.c

2020-04-26 Thread John Ralls
>From https://docs.python.org/3/whatsnew/3.8.html, "To embed Python into an application, a new --embed option must be passed to python3-config --libs --embed to get -lpython3.8 (link the application to libpython). To support both 3.8 and older, try python3-config --libs --embed first and fallback to python3-config --libs (without --embed) if the previous command fails." Gtk-osx doesn't support Python2. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] Bundling with absolute path for binary.

2020-02-20 Thread John Ralls
> On Feb 20, 2020, at 8:14 AM, Pascal wrote: > >> >> Le 3 févr. 2020 à 22:19, John Ralls a écrit : >> >>> On Feb 3, 2020, at 12:38 PM, Pascal wrote: >>> >>> Hello, >>> >>> I modify the bundle spec with an abso

Re: [gtk-osx-users] CodeSigning and Catalina security issue.

2020-02-14 Thread John Ralls
> On Feb 14, 2020, at 12:56 PM, Pascal wrote: > > Hello John, > >> Le 14 févr. 2020 à 21:40, John Ralls a écrit : >> >>> On Feb 14, 2020, at 12:16 PM, Pascal wrote: >>> >>> Hello, >>> >>> I've now codesign my GTK

Re: [gtk-osx-users] CodeSigning and Catalina security issue.

2020-02-14 Thread John Ralls
n -dvvv --deep -r- --entitlements /path/to/bundle` report? Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] Errors during gtk3-launcher.sh execution.

2020-01-31 Thread John Ralls
> On Jan 31, 2020, at 9:27 AM, Pascal wrote: > > > >> Le 29 janv. 2020 à 05:00, John Ralls a écrit : >> >> >> >>> On Jan 28, 2020, at 11:27 AM, Pascal wrote: >>> >>> Hello John, >>> >>>> Le 27 janv

Re: [gtk-osx-users] Errors during gtk3-launcher.sh execution.

2020-01-28 Thread John Ralls
> On Jan 28, 2020, at 11:27 AM, Pascal wrote: > > Hello John, > >> Le 27 janv. 2020 à 21:56, John Ralls a écrit : >> >> Pascal, >> >> Yes, the default is Zsh, but if you're upgrading from an earlier MacOS I >> think it's su

Re: [gtk-osx-users] Errors during gtk3-launcher.sh execution.

2020-01-27 Thread John Ralls
> On Jan 27, 2020, at 11:47 AM, Pascal wrote: > > Hello John, > >> Le 27 janv. 2020 à 01:30, John Ralls a écrit : >> >>> On Jan 26, 2020, at 11:47 AM, Pascal wrote: >>> >>> Hello, >>> >>> I've gone further giving

Re: [gtk-osx-users] Errors during gtk3-launcher.sh execution.

2020-01-26 Thread John Ralls
o you use something other than bash as your shell? Is $LANG set in the environment? What does `defaults read -g AppleLocale` return? Line 123 should be LOC=`find $bundle_share/locale -name $LANG???` Regards, John Ralls ___ gtk-osx-users-list m

Re: [gtk-osx-users] GTK3 examples displayed on Catalina.

2020-01-26 Thread John Ralls
> On Jan 26, 2020, at 1:01 AM, Pascal wrote: > >> >> Le 25 janv. 2020 à 19:46, John Ralls a écrit : >> >>> On Jan 25, 2020, at 2:08 AM, Pascal wrote: >>> >>> Hello, >>> >>> I've installed gtK3 on Catalina with jhbuild

Re: [gtk-osx-users] GTK3 examples displayed on Catalina.

2020-01-25 Thread John Ralls
r it to open on the command line, e.g. $PREFIX/../src/gtk+-3.24.10/examples/application3/exampleapp ~/foo.txt ~/bar.txt Where did Makefile.example come from and why did you find it necessary to build it by hand? It should have been built along with everything else. Regards, John Ralls __

Re: [gtk-osx-users] gtk2 failing to build + no pangoft2

2020-01-24 Thread John Ralls
e case of pangocoretext.h, that would be pango/meson.build. To verify that the CoreText support is present, run `otool -L $PREFIX/lib/libpangocairo-1.0.dylib` and observe that CoreText.framework is linked. Regards, John Ralls ___ gtk-osx-users-list

Re: [gtk-osx-users] gtk2 failing to build + no pangoft2

2020-01-24 Thread John Ralls
at's off topic for this list. You can file an issue at https://gitlab.gnome.org/GNOME/pango or ask about it in Gnome Discourse at https://discourse.gnome.org. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https:

Re: [gtk-osx-users] gtk2 failing to build + no pangoft2

2020-01-23 Thread John Ralls
; > Now atsui fonts seem to have since disappeared, but a switch from atsui to > coretext fonts should have been straightforward. > > Is it possible to get pango built with both freetype and coretext? It does. The CoreText support is built into libpangocairo-1.0.dylib. Regards, John Ralls

Re: [gtk-osx-users] Configuring harfbuzz issue.

2020-01-22 Thread John Ralls
last summer Harfbuzz wasn't used for anything other than freetype2. Now it's required by pango regardless of backend so I think a separate meta-moduleset for icu55 is warranted. Until I get around to doing that just add icu to your module list. Regards, John Ralls __

Re: [gtk-osx-users] Configuring itstool: python module libxml2... not found - again :-(

2020-01-21 Thread John Ralls
> On Jan 21, 2020, at 11:50 AM, Pascal wrote: > >> >> Le 21 janv. 2020 à 01:59, John Ralls a écrit : >> >> >> >>> On Jan 20, 2020, at 1:18 PM, Pascal wrote: >>> >>> Hello, >>> >>> I fall into a recu

Re: [gtk-osx-users] gtk2 failing to build + no pangoft2

2020-01-21 Thread John Ralls
and pushed it so you should be able to build now. If you're sitting at an error prompt you'll need to quit and restart jhbuild to get the new module. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] Configuring itstool: python module libxml2... not found - again :-(

2020-01-20 Thread John Ralls
t of trouble getting it to work consistently. You can try fiddling with it. Then there's the big hammer approach: Add python3 to your modules and when itstool complains drop to a shell, cd $PREFIX/bin; ln -s python3.6 python; ln -s python3.6-config python-config Then go back to the libxml2 build

Re: [gtk-osx-users] macOS Catalina’s new security features versus GTK.

2020-01-20 Thread John Ralls
don't think that Pascal has gotten far enough to worry about notarization: His not-really-a-bundle wouldn't pass no matter how he signs it. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] macOS Catalina’s new security features versus GTK.

2020-01-17 Thread John Ralls
> On Jan 17, 2020, at 2:08 PM, Pascal wrote: > > Hello John, > >> Le 17 janv. 2020 à 04:42, John Ralls a écrit : > > ... > >> That's not an application as far as MacOS is concerned. If it even launches >> it's only because you built it yourself; it

Re: [gtk-osx-users] macOS Catalina’s new security features versus GTK.

2020-01-16 Thread John Ralls
> On Jan 16, 2020, at 11:30 AM, Pascal wrote: > >> >> Le 14 janv. 2020 à 00:05, John Ralls a écrit : >> >>> On Jan 13, 2020, at 12:33 PM, Pascal wrote: >>> >>> Hello, >>> >>> I run a GTK program on Catalina,

Re: [gtk-osx-users] OSX Mojave Multiple errors

2020-01-16 Thread John Ralls
ebang to /usr/bin/bash so you don't need to lead with a command. Looks like you messed up $PATH as well if python isn't found. The pip directory errors flow from there. Plus you've lost command-line tools. You're a script kiddie, aren't you? Regards, John Ralls _

Re: [gtk-osx-users] OSX Mojave Multiple errors

2020-01-15 Thread John Ralls
Heck if I know. I don't follow the project. Regards, John Ralls > On Jan 15, 2020, at 11:29 AM, Rob wrote: > > This sorry... > > https://www.spice-space.org/ > > > - Original Message - > From: "John Ralls" > To: "Rob Downer" >

Re: [gtk-osx-users] OSX Mojave Multiple errors

2020-01-14 Thread John Ralls
gtk-osx.modules and to replace the defunct git.gnome.org urls with gitlab.gnome.org/GNOME ones. There may be more, that's just from cursory inspection. Regards, John Ralls > On Jan 14, 2020, at 2:44 PM, Rob wrote: > > Ah I have installed it OK... > > However I want to us

Re: [gtk-osx-users] OSX Mojave Multiple errors

2020-01-14 Thread John Ralls
;, line 249, in setup_sdk >sdkdir = _popen("xcrun --show-sdk-path") > File "/Users/guy/.config/jhbuildrc", line 41, in _popen >raise RuntimeError, "Failed to close %s stream" % cmd_arg > RuntimeError: Failed to close x

Re: [gtk-osx-users] OSX Mojave Multiple errors

2020-01-14 Thread John Ralls
at does support https or make it so jhbuild doesn't find it, perhaps by adjusting the path. I haven't tested with a root-installed python3 either, so you're on your own with that installation. Since jhbuild seems to run OK as long as you don't misspell its commands maybe it's not a problem. Regards

Re: [gtk-osx-users] gtk2 failing to build + no pangoft2

2020-01-13 Thread John Ralls
put and see if pango in fact reconfigured. If it did, look at its config.log to see why it's not finding freetype2. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

Re: [gtk-osx-users] OSX Mojave Multiple errors

2020-01-13 Thread John Ralls
dule.replace('${version}', version) > AttributeError: 'tuple' object has no attribute 'replace' > Robs-Air:~ guy$ > > I am trying to build virt-manager and Virt0-viewer. It's `jhbuild sanitycheck` not `jhbuild sanity check`. Not that that matters, it doesn't look like jhbuild c

Re: [gtk-osx-users] macOS Catalina’s new security features versus GTK.

2020-01-13 Thread John Ralls
privacy -> > Privacy -> Full disk access. > But the error remains. > > Any clue? Nope. Is this a Gtk app you built yourself with gtk-osx? If so, are you running it from $PREFIX/bin or have you bundled it? Regards, John Ralls __

Re: [gtk-osx-users] gtk2 failing to build + no pangoft2

2020-01-11 Thread John Ralls
bably need cairoft2 as well jhbuild buildone -f cairo Configure will notice that freetype2 is now available and build the extra libraries. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list

  1   2   3   4   >