Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 50345 messages
Re: Personal wiki / information manager
by sean@clipperadams.com
[TheProjectProject](https://github.com/seandenigris/The-Project-Project) is the GTD component of [my Dynabook project](https://github.com/seandenigris/Dynabook). Behind it is about 20 years of work incorporating ideas from countless productivity disciplines - GTD, Steven Covey, Landmark Educationâs Mission Control spin off, etcâ¦
Motivation:
* Even âgoodâ GTD apps miss the fundamental thing that virtually \*all\* apps miss - stovepiping a sliver of oneâs mental model into an app is already a losing proposition. Every significant object needs to be able to relate to every other one - financial transactions to personal projects to contacts in oneâs address book, to sources in oneâs library.
* Personal productivity is a highly personal endeavor, so no off the shelf closed box software can ever really scratch the itch. Basing it on a live, dynamic, turtles-all-the-way-down system like Pharo is a must
Disclaimer: even after 20 years, Iâm still not clear on some things, so it is actively developed and even the core ideas are still evolving as I continuously drive it via real world usage.
Everything is MIT and Iâm happy to discuss and answer any questions. It is currently based on GToolkit (itself based on Pharo). Thereâs no reason the core model couldnât run on plain Pharo without GT, but itâs been a long time (several years) since Iâve put any love into Morphic UI components.
HTH,
Sean
July 14, 2023
Re: It's been a while since I've used Pharo, and I'm having trouble with multibyte input on linux.
by peter yoo
Due to personal circumstances, testing has been delayed. sorry.
The environment is the same as before.
1. in SDL2 testime(SDL2 sample program). can see Korean input. (fcitx-sdl)
2. you can see SDL_IM_MODULE="fcitx" in the environment variable.
AAA@BBB:~$ export | grep fcitx
declare -x GTK_IM_MODULE="fcitx"
declare -x QT5_IM_MODULE="fcitx"
declare -x QT_IM_MODULE="fcitx"
declare -x SDL_IM_MODULE="fcitx"
declare -x XMODIFIERS="@im=fcitx"
3. my environment is xorg-x11 and gnome 3.(ubuntu 22.04)
4. of course, xterm can use XIM(fcitx) input. tested already.
5. I ran pharo11 from a separate command line, just in case it might be an
issue with AAA
/home/AAA/Pharo/vms/110-x64/lib/pharo "/home/AAA/Pharo/images/Pharo 11.0 -
64bit (stable)/Pharo 11.0 - 64bit (stable).image"
I'm still not getting input using fcitx. I don't think it's going to be a
one-time fix. How can I test it? Any suggestions on how to test or trace it
would be very helpful.
July 13, 2023
Re: Video in Pharo
by Jupiter Jones
Hi Esteban,
That is a really good point - thanks for reminding me. Maybe Iâm just a little early starting this project. Hopefully the bookworm release of PiOS will include a reasonably stable and functional Wayland.
For now Iâll work on ubuntu with Wayland and see how I go.
Cheers,
J
> On 12 Jul 2023, at 6:59 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> what is the xid? The x11 thingy?
> in that case you will need to implement a method on GdkWindow (not GtkWindow):
> https://docs.gtk.org/gdk3-x11/method.X11Window.get_xid.html
> then you do something like:
>
> GRunLoop defer: [ xid := myGtkWindow gdkWindow xid ].
>
> but this is tied to the x11 system and linux is going out really fast of it (is being replaced by Wayland).
> I can bet there has to be a better way to connect it to a window.
>
> Esteban
>
> On Jul 12 2023, at 12:05 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> Hi Estiban,
>
> Thanks for that - works beautifully :)
>
> The next challenge was to let VLC know the xid for the gtk window, but of course the one function that answers the xid for gtk appears to be in yet another library (gtk-x11) which, of course, has no binding for Pharo as yet :)
>
> As Iâm new to FFI (as is my offsider), this will take a bit of learning and fumbling, so if someone knows itâs going to be a fools errand (ie. this isnât likely to resolve the link between VLC and gtk) please let me know.
>
> Otherwise, weâll dive in.
>
> Cheers,
>
> J
>
> On 10 Jul 2023, at 9:50 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> Hi,
>
> Heh, there were several problems around :)
>
> 1) Indeed, Ubuntu naming conventions were a problem for the gtk bindings. I updated them and now it should not be a problem (but you need to pull them again).
> 2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a problem... PharoLauncher is a great idea, and for Windows is a mustbut in linux world it just does not matches the philosophy: There are many distrubutions and changes and is impossible to correctly distribute a VM with all dependencies without using the packaging they expect (we need to start thinking on distribute the VM as a flatpak, but that will take time to be implemented).
> You need to use the VM we provide with Open Build Service: https://software.opensuse.org//download.html?project=devel:languages:pharo:…
> 3) finally, this is not a real problem immediately, but a recommendation: Pharo has different ways of being ejecuted. The default one will execute the VM and everything needed in the main thread. This is usually suitable for Pharo needs, but it is a problem when the UI loop is required to run separately (not just for Gtk but any backend that you need to run on idle mode).
> Fortunaltely, Pharo implements also a way to be executed in a worker thread, making space so the main thread can be used for other purposes. We highly recommend that you execute Pharo using a worker thread (future versions of Spec-Gtk will require this usage, and is definitively better.
> How to execute in worker thread:
> pharo --worker MyImage.image --interactive
>
> I updated the README on pharo-spec/Spec-Gtk to precise this points.
>
> Cheers!
> Esteban
> On Jul 10 2023, at 7:17 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> Another step forward.
>
> I created a new ubuntu 22 install, installed pharo 11 and installed spec-gtk. The first issue was the libraries are named: libgobject-2.0.so.0 and libpango-1.0.so.0 with the â.0â suffix. I created links to those with the names spec-gtk is expecting.
>
> Then, the little test window opened but looked like this:
>
>
> Is there something else Iâm missing?
>
> Thanks for your advice.
>
> Cheers,
>
> Phil
>
>
> On 9 Jul 2023, at 6:02 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> Hi,
>
> Spec-Gtk should work without problems on P11, except on macs, where there is a known problem.
> what is the process you are taking to install it? where are you trying it?
>
> I don't know the status of the VLC bindings.
>
> Esteban
>
> On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> The stark silence answers my question :)
>
> Soâ¦
>
> I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to create a video widget/component. Does anyone with more in depth knowledge of Spec2 and GTK foresee any obvious blocks?
>
> First block :) I canât find a way to play with the Spec2 GTK+ binding [2] without the image crashing on startup. I see someone has already logged the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it also ate all the memory then crashed.
>
> Is there a Pharo version that will work with the Spec2 GTK+ binding installed? Maybe Iâm looking at this too early :)
>
> [1] https://github.com/badetitou/Pharo-LibVLC
> [2] https://github.com/pharo-spec/Spec-Gtk
>
> On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
>
> Can anyone point to to some library, documentation or examples of how to play video in Pharo?
>
> Thanks in advance.
>
> Cheers,
>
> J
July 13, 2023
Mapping global grassroots innovation: a data story powered by Pharo/GT
by Offray Vladimir Luna Cárdenas
Hi all,
I wold like to share with you my latest data story, powered by Pharo/GT
and is related with how to make global grassroots innovation information
more available, particularly in places with low/intermittent
connectivity. This practical use case of the Pharo ecosystems
illustrates the joy of using it in:
* Migrations from WordPress to TiddlyWiki.
* Data scrapping, manipulation and versioning.
* Data storytelling publication and exchanging.
* Grassroots innovation to map grassroots innovation (we love meta
systems ;-))
Here is the screenshot of the portable wiki:
And here is the link to the GIG portable Wiki
<https://mutabit.com/repos.fossil/gig/uv/wiki/>, so you can explore/play
it by your self.
Here is a screenshot of the data story explaining the behind scenes
(motivations, future work, code, etc) of such prototype:
And here is the link to the GIG portable wiki data story
<https://mutabit.com/repos.fossil/gig/doc/trunk/wiki/en/gig-portable-wiki--1…>
so you may enjoy the details as much as your nerdy soul needs ;-).
Comments and feedback is welcomed here or as the way indicated in the
data story.
Thanks, as usual, for the technologies and the community behind, that
makes such (data) stories possible.
Offray
July 12, 2023
Re: Video in Pharo
by Esteban Lorenzano
what is the xid? The x11 thingy?
in that case you will need to implement a method on GdkWindow (not GtkWindow):
https://docs.gtk.org/gdk3-x11/method.X11Window.get_xid.html
then you do something like:
GRunLoop defer: [ xid := myGtkWindow gdkWindow xid ].
but this is tied to the x11 system and linux is going out really fast of it (is being replaced by Wayland).
I can bet there has to be a better way to connect it to a window.
Esteban
On Jul 12 2023, at 12:05 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> Hi Estiban,
>
> Thanks for that - works beautifully :)
>
> The next challenge was to let VLC know the xid for the gtk window, but of course the one function that answers the xid for gtk appears to be in yet another library (gtk-x11) which, of course, has no binding for Pharo as yet :)
>
> As Iâm new to FFI (as is my offsider), this will take a bit of learning and fumbling, so if someone knows itâs going to be a fools errand (ie. this isnât likely to resolve the link between VLC and gtk) please let me know.
>
> Otherwise, weâll dive in.
>
> Cheers,
>
> J
>
> > On 10 Jul 2023, at 9:50 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
> > Hi,
> > Heh, there were several problems around :)
> > 1) Indeed, Ubuntu naming conventions were a problem for the gtk bindings. I updated them and now it should not be a problem (but you need to pull them again).
> > 2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a problem... PharoLauncher is a great idea, and for Windows is a mustbut in linux world it just does not matches the philosophy: There are many distrubutions and changes and is impossible to correctly distribute a VM with all dependencies without using the packaging they expect (we need to start thinking on distribute the VM as a flatpak, but that will take time to be implemented).
> > You need to use the VM we provide with Open Build Service: https://software.opensuse.org//download.html?project=devel:languages:pharo:…
> > 3) finally, this is not a real problem immediately, but a recommendation: Pharo has different ways of being ejecuted. The default one will execute the VM and everything needed in the main thread. This is usually suitable for Pharo needs, but it is a problem when the UI loop is required to run separately (not just for Gtk but any backend that you need to run on idle mode).
> >
> > Fortunaltely, Pharo implements also a way to be executed in a worker thread, making space so the main thread can be used for other purposes. We highly recommend that you execute Pharo using a worker thread (future versions of Spec-Gtk will require this usage, and is definitively better.
> > How to execute in worker thread:
> > pharo --worker MyImage.image --interactive
> >
> > I updated the README on pharo-spec/Spec-Gtk to precise this points.
> > Cheers!
> > Esteban
> > On Jul 10 2023, at 7:17 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> > > Another step forward.
> > >
> > > I created a new ubuntu 22 install, installed pharo 11 and installed spec-gtk. The first issue was the libraries are named: libgobject-2.0.so.0 and libpango-1.0.so.0 with the â.0â suffix. I created links to those with the names spec-gtk is expecting.
> > >
> > > Then, the little test window opened but looked like this:
> > >
> > >
> > > Is there something else Iâm missing?
> > >
> > > Thanks for your advice.
> > >
> > > Cheers,
> > >
> > > Phil
> > >
> > >
> > > > On 9 Jul 2023, at 6:02 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
> > > > Hi,
> > > > Spec-Gtk should work without problems on P11, except on macs, where there is a known problem.
> > > > what is the process you are taking to install it? where are you trying it?
> > > >
> > > > I don't know the status of the VLC bindings.
> > > > Esteban
> > > > On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> > > > > The stark silence answers my question :)
> > > > >
> > > > > Soâ¦
> > > > >
> > > > > I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to create a video widget/component. Does anyone with more in depth knowledge of Spec2 and GTK foresee any obvious blocks?
> > > > >
> > > > > First block :) I canât find a way to play with the Spec2 GTK+ binding [2] without the image crashing on startup. I see someone has already logged the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it also ate all the memory then crashed.
> > > > >
> > > > > Is there a Pharo version that will work with the Spec2 GTK+ binding installed? Maybe Iâm looking at this too early :)
> > > > >
> > > > > [1] https://github.com/badetitou/Pharo-LibVLC
> > > > > [2] https://github.com/pharo-spec/Spec-Gtk
> > > > >
> > > > > > On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> > > > > > Can anyone point to to some library, documentation or examples of how to play video in Pharo?
> > > > > > Thanks in advance.
> > > > > > Cheers,
> > > > > > J
July 12, 2023
Re: Video in Pharo
by Jupiter Jones
Hi Stéphane,
Thanks for your reply. Iâve been looking at GStreamer and itâs definitely another viable option. Do you know of any docs or examples of using it in Pharo. I tried a really simple test but get an error I donât understand just yet.

Iâll put some time into FFI (and gstreamer) so I can ask more appropriate questions.
In any case, it looks like to link GStreamer with Gtk Iâll also need the xid :) So itâs back to working out how to achieve that.
Cheers,
J
> On 12 Jul 2023, at 4:08 am, ducasse <stepharo(a)netcourrier.com> wrote:
>
> https://github.com/OpenSmock/PharoGStreamer
>
>> On 10 Jul 2023, at 13:50, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>>
>> Hi,
>>
>> Heh, there were several problems around :)
>>
>> 1) Indeed, Ubuntu naming conventions were a problem for the gtk
>
>
>> bindings. I updated them and now it should not be a problem (but you need to pull them again).
>> 2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a problem... PharoLauncher is a great idea, and for Windows is a mustbut in linux world it just does not matches the philosophy: There are many distrubutions and changes and is impossible to correctly distribute a VM with all dependencies without using the packaging they expect (we need to start thinking on distribute the VM as a flatpak, but that will take time to be implemented).
>> You need to use the VM we provide with Open Build Service: https://software.opensuse.org//download.html?project=devel:languages:pharo:…
>> 3) finally, this is not a real problem immediately, but a recommendation: Pharo has different ways of being ejecuted. The default one will execute the VM and everything needed in the main thread. This is usually suitable for Pharo needs, but it is a problem when the UI loop is required to run separately (not just for Gtk but any backend that you need to run on idle mode).
>> Fortunaltely, Pharo implements also a way to be executed in a worker thread, making space so the main thread can be used for other purposes. We highly recommend that you execute Pharo using a worker thread (future versions of Spec-Gtk will require this usage, and is definitively better.
>> How to execute in worker thread:
>> pharo --worker MyImage.image --interactive
>>
>> I updated the README on pharo-spec/Spec-Gtk to precise this points.
>>
>> Cheers!
>> Esteban
>> On Jul 10 2023, at 7:17 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
>> Another step forward.
>>
>> I created a new ubuntu 22 install, installed pharo 11 and installed spec-gtk. The first issue was the libraries are named: libgobject-2.0.so.0 and libpango-1.0.so.0 with the â.0â suffix. I created links to those with the names spec-gtk is expecting.
>>
>> Then, the little test window opened but looked like this:
>>
>>
>> Is there something else Iâm missing?
>>
>> Thanks for your advice.
>>
>> Cheers,
>>
>> Phil
>>
>>
>> On 9 Jul 2023, at 6:02 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>>
>> Hi,
>>
>> Spec-Gtk should work without problems on P11, except on macs, where there is a known problem.
>> what is the process you are taking to install it? where are you trying it?
>>
>> I don't know the status of the VLC bindings.
>>
>> Esteban
>>
>> On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
>> The stark silence answers my question :)
>>
>> Soâ¦
>>
>> I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to create a video widget/component. Does anyone with more in depth knowledge of Spec2 and GTK foresee any obvious blocks?
>>
>> First block :) I canât find a way to play with the Spec2 GTK+ binding [2] without the image crashing on startup. I see someone has already logged the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it also ate all the memory then crashed.
>>
>> Is there a Pharo version that will work with the Spec2 GTK+ binding installed? Maybe Iâm looking at this too early :)
>>
>> [1] https://github.com/badetitou/Pharo-LibVLC
>> [2] https://github.com/pharo-spec/Spec-Gtk
>>
>> On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
>>
>> Can anyone point to to some library, documentation or examples of how to play video in Pharo?
>>
>> Thanks in advance.
>>
>> Cheers,
>>
>> J
>
July 11, 2023
Re: Video in Pharo
by Jupiter Jones
Hi Estiban,
Thanks for that - works beautifully :)
The next challenge was to let VLC know the xid for the gtk window, but of course the one function that answers the xid for gtk appears to be in yet another library (gtk-x11) which, of course, has no binding for Pharo as yet :)
As Iâm new to FFI (as is my offsider), this will take a bit of learning and fumbling, so if someone knows itâs going to be a fools errand (ie. this isnât likely to resolve the link between VLC and gtk) please let me know.
Otherwise, weâll dive in.
Cheers,
J
> On 10 Jul 2023, at 9:50 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> Hi,
>
> Heh, there were several problems around :)
>
> 1) Indeed, Ubuntu naming conventions were a problem for the gtk bindings. I updated them and now it should not be a problem (but you need to pull them again).
> 2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a problem... PharoLauncher is a great idea, and for Windows is a mustbut in linux world it just does not matches the philosophy: There are many distrubutions and changes and is impossible to correctly distribute a VM with all dependencies without using the packaging they expect (we need to start thinking on distribute the VM as a flatpak, but that will take time to be implemented).
> You need to use the VM we provide with Open Build Service: https://software.opensuse.org//download.html?project=devel:languages:pharo:…
> 3) finally, this is not a real problem immediately, but a recommendation: Pharo has different ways of being ejecuted. The default one will execute the VM and everything needed in the main thread. This is usually suitable for Pharo needs, but it is a problem when the UI loop is required to run separately (not just for Gtk but any backend that you need to run on idle mode).
> Fortunaltely, Pharo implements also a way to be executed in a worker thread, making space so the main thread can be used for other purposes. We highly recommend that you execute Pharo using a worker thread (future versions of Spec-Gtk will require this usage, and is definitively better.
> How to execute in worker thread:
> pharo --worker MyImage.image --interactive
>
> I updated the README on pharo-spec/Spec-Gtk to precise this points.
>
> Cheers!
> Esteban
> On Jul 10 2023, at 7:17 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> Another step forward.
>
> I created a new ubuntu 22 install, installed pharo 11 and installed spec-gtk. The first issue was the libraries are named: libgobject-2.0.so.0 and libpango-1.0.so.0 with the â.0â suffix. I created links to those with the names spec-gtk is expecting.
>
> Then, the little test window opened but looked like this:
>
>
> Is there something else Iâm missing?
>
> Thanks for your advice.
>
> Cheers,
>
> Phil
>
>
> On 9 Jul 2023, at 6:02 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> Hi,
>
> Spec-Gtk should work without problems on P11, except on macs, where there is a known problem.
> what is the process you are taking to install it? where are you trying it?
>
> I don't know the status of the VLC bindings.
>
> Esteban
>
> On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> The stark silence answers my question :)
>
> Soâ¦
>
> I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to create a video widget/component. Does anyone with more in depth knowledge of Spec2 and GTK foresee any obvious blocks?
>
> First block :) I canât find a way to play with the Spec2 GTK+ binding [2] without the image crashing on startup. I see someone has already logged the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it also ate all the memory then crashed.
>
> Is there a Pharo version that will work with the Spec2 GTK+ binding installed? Maybe Iâm looking at this too early :)
>
> [1] https://github.com/badetitou/Pharo-LibVLC
> [2] https://github.com/pharo-spec/Spec-Gtk
>
> On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
>
> Can anyone point to to some library, documentation or examples of how to play video in Pharo?
>
> Thanks in advance.
>
> Cheers,
>
> J
July 11, 2023
Re: Video in Pharo
by ducasse
https://github.com/OpenSmock/PharoGStreamer
OpenSmock/PharoGStreamer: A GStreamer binding for Pharo
github.com
> On 10 Jul 2023, at 13:50, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> Hi,
>
> Heh, there were several problems around :)
>
> 1) Indeed, Ubuntu naming conventions were a problem for the gtk
> bindings. I updated them and now it should not be a problem (but you need to pull them again).
> 2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a problem... PharoLauncher is a great idea, and for Windows is a mustbut in linux world it just does not matches the philosophy: There are many distrubutions and changes and is impossible to correctly distribute a VM with all dependencies without using the packaging they expect (we need to start thinking on distribute the VM as a flatpak, but that will take time to be implemented).
> You need to use the VM we provide with Open Build Service: https://software.opensuse.org//download.html?project=devel:languages:pharo:…
> 3) finally, this is not a real problem immediately, but a recommendation: Pharo has different ways of being ejecuted. The default one will execute the VM and everything needed in the main thread. This is usually suitable for Pharo needs, but it is a problem when the UI loop is required to run separately (not just for Gtk but any backend that you need to run on idle mode).
> Fortunaltely, Pharo implements also a way to be executed in a worker thread, making space so the main thread can be used for other purposes. We highly recommend that you execute Pharo using a worker thread (future versions of Spec-Gtk will require this usage, and is definitively better.
> How to execute in worker thread:
> pharo --worker MyImage.image --interactive
>
> I updated the README on pharo-spec/Spec-Gtk to precise this points.
>
> Cheers!
> Esteban
> On Jul 10 2023, at 7:17 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> Another step forward.
>
> I created a new ubuntu 22 install, installed pharo 11 and installed spec-gtk. The first issue was the libraries are named: libgobject-2.0.so.0 and libpango-1.0.so.0 with the â.0â suffix. I created links to those with the names spec-gtk is expecting.
>
> Then, the little test window opened but looked like this:
>
>
> Is there something else Iâm missing?
>
> Thanks for your advice.
>
> Cheers,
>
> Phil
>
>
> On 9 Jul 2023, at 6:02 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
>
> Hi,
>
> Spec-Gtk should work without problems on P11, except on macs, where there is a known problem.
> what is the process you are taking to install it? where are you trying it?
>
> I don't know the status of the VLC bindings.
>
> Esteban
>
> On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> The stark silence answers my question :)
>
> Soâ¦
>
> I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to create a video widget/component. Does anyone with more in depth knowledge of Spec2 and GTK foresee any obvious blocks?
>
> First block :) I canât find a way to play with the Spec2 GTK+ binding [2] without the image crashing on startup. I see someone has already logged the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it also ate all the memory then crashed.
>
> Is there a Pharo version that will work with the Spec2 GTK+ binding installed? Maybe Iâm looking at this too early :)
>
> [1] https://github.com/badetitou/Pharo-LibVLC
> [2] https://github.com/pharo-spec/Spec-Gtk
>
> On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
>
> Can anyone point to to some library, documentation or examples of how to play video in Pharo?
>
> Thanks in advance.
>
> Cheers,
>
> J
July 11, 2023
This week (27/2023) on the Pharo Issue Tracker
by Marcus Denker
# Features
- #14173 Introduce a nice command to spot the closest method overriden ⦠#14183
https://github.com/pharo-project/pharo/pull/14183
- Update Fuel from upstream #14132
https://github.com/pharo-project/pharo/pull/14132
# Fixes
- 14034 debugger does not evaluate in the context of the receiver #14203
https://github.com/pharo-project/pharo/pull/14203
- double click selection on symbols should include # #14160
https://github.com/pharo-project/pharo/pull/14160
- Fixed String>>#keywords #14157
https://github.com/pharo-project/pharo/pull/14157
# Refactoring Engine
- Fixing remove hack #14154
https://github.com/pharo-project/pharo/pull/14154
- First version of the renameMethod as a driver. #14161
https://github.com/pharo-project/pharo/pull/14161
- New flow for MoveMethodsToClassSide #14192
https://github.com/pharo-project/pharo/pull/14192
- Improve deprecate method flow in driver #14186
https://github.com/pharo-project/pharo/pull/14186
- Cleanup: StRefactoringPreviewPresenter #14206
https://github.com/pharo-project/pharo/pull/14206
- Composing and reusing add method refactoring/transformation #14134
https://github.com/pharo-project/pharo/pull/14134
- 14191 failing tests rb code snippet testtest styler #14202
https://github.com/pharo-project/pharo/pull/14202
- Fix #14178: cleaning ui of refactoring to use Spec instead of UIManager #14181
https://github.com/pharo-project/pharo/pull/14181
# RPackage
- Remove references to #allManagers in RPackage #14189
https://github.com/pharo-project/pharo/pull/14189
- Keep pushing for rpackage knowing their organizer #14187
https://github.com/pharo-project/pharo/pull/14187
- Simplify setup of RPackageOrganizer in tests #14204
https://github.com/pharo-project/pharo/pull/14204
- Simplification of the package validation #14223
https://github.com/pharo-project/pharo/pull/14223
- Rename #allManagers into #allWorkingCopies #14217
https://github.com/pharo-project/pharo/pull/14217
- Remove RPackageORganizer>>#hasRegistered #14231
https://github.com/pharo-project/pharo/pull/14231
# Protocol Cleanup
- Rename ClyTaggedMethodsQuery into ClyMethodsInProtocolQuery #14188
https://github.com/pharo-project/pharo/pull/14188
- Clean #affectsMethodsTaggedWith: #14219
https://github.com/pharo-project/pharo/pull/14219
# Cleanup
- better naming for presenter that are presenters #564
https://github.com/pharo-spec/NewTools/pull/564
- SmalltalkImage>>#newSpecialObjectsArray remove elements not used by the VM #14208
https://github.com/pharo-project/pharo/pull/14208
- 10568-hardcoded-class-definition-in-opal #14207
https://github.com/pharo-project/pharo/pull/14207
- fix-deprecated-send-testCreateGroupsForEveryMethodTag #14159
https://github.com/pharo-project/pharo/pull/14159
- changebrowser -> stChangeBrowserPresenter #14182
https://github.com/pharo-project/pharo/pull/14182
- Some users of inform: that could simply use the inform: from Object. #14180
https://github.com/pharo-project/pharo/pull/14180
- 14164--ChunkImportTestCasetestImportAMethodWithSpacesInItsCategory--calls-category #14194
https://github.com/pharo-project/pharo/pull/14194
- DeadCode-Cleanup-07-05 #14216
https://github.com/pharo-project/pharo/pull/14216
- 14162-UUIDGenerator-uses-of-deprecated-method-in-tests #14214
https://github.com/pharo-project/pharo/pull/14214
- This PR removes dead code related to VTerm output classes #14215
https://github.com/pharo-project/pharo/pull/14215
# Comments / Tests
- Add tests for primitive adoptInstance and the sibling primitiveChangeClassTo #14220
https://github.com/pharo-project/pharo/pull/14220
- SmalltalkImage>>garbageCollect : correct method comment #14193
https://github.com/pharo-project/pharo/pull/14193
- Add test on installing a class in a non default environment #14222
https://github.com/pharo-project/pharo/pull/14222
- Added comments to the new instrumentation package #14228
https://github.com/pharo-project/pharo/pull/14228
July 10, 2023
Re: Video in Pharo
by Esteban Lorenzano
Hi,
Heh, there were several problems around :)
1) Indeed, Ubuntu naming conventions were a problem for the gtk bindings. I updated them and now it should not be a problem (but you need to pull them again).
2) I assume you are using Pharo Launcher (or zeroconf directly). And this is a problem... PharoLauncher is a great idea, and for Windows is a mustbut in linux world it just does not matches the philosophy: There are many distrubutions and changes and is impossible to correctly distribute a VM with all dependencies without using the packaging they expect (we need to start thinking on distribute the VM as a flatpak, but that will take time to be implemented).
You need to use the VM we provide with Open Build Service: https://software.opensuse.org//download.html?project=devel:languages:pharo:…
3) finally, this is not a real problem immediately, but a recommendation: Pharo has different ways of being ejecuted. The default one will execute the VM and everything needed in the main thread. This is usually suitable for Pharo needs, but it is a problem when the UI loop is required to run separately (not just for Gtk but any backend that you need to run on idle mode).
Fortunaltely, Pharo implements also a way to be executed in a worker thread, making space so the main thread can be used for other purposes. We highly recommend that you execute Pharo using a worker thread (future versions of Spec-Gtk will require this usage, and is definitively better.
How to execute in worker thread:
pharo --worker MyImage.image --interactive
I updated the README on pharo-spec/Spec-Gtk to precise this points.
Cheers!
Esteban
On Jul 10 2023, at 7:17 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> Another step forward.
>
> I created a new ubuntu 22 install, installed pharo 11 and installed spec-gtk. The first issue was the libraries are named: libgobject-2.0.so.0 and libpango-1.0.so.0 with the â.0â suffix. I created links to those with the names spec-gtk is expecting.
>
> Then, the little test window opened but looked like this:
>
>
> Is there something else Iâm missing?
>
> Thanks for your advice.
>
> Cheers,
>
> Phil
>
>
> > On 9 Jul 2023, at 6:02 pm, Esteban Lorenzano <estebanlm(a)netc.eu> wrote:
> > Hi,
> > Spec-Gtk should work without problems on P11, except on macs, where there is a known problem.
> > what is the process you are taking to install it? where are you trying it?
> >
> > I don't know the status of the VLC bindings.
> > Esteban
> > On Jul 9 2023, at 2:53 am, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> > > The stark silence answers my question :)
> > >
> > > Soâ¦
> > >
> > > I found a nice binding to VLC [1] and was thinking of using Spec2 GTK+ to create a video widget/component. Does anyone with more in depth knowledge of Spec2 and GTK foresee any obvious blocks?
> > >
> > > First block :) I canât find a way to play with the Spec2 GTK+ binding [2] without the image crashing on startup. I see someone has already logged the issue in GitHub for 10 and 11, and I tried 12 just for fun, and it also ate all the memory then crashed.
> > >
> > > Is there a Pharo version that will work with the Spec2 GTK+ binding installed? Maybe Iâm looking at this too early :)
> > >
> > > [1] https://github.com/badetitou/Pharo-LibVLC
> > > [2] https://github.com/pharo-spec/Spec-Gtk
> > >
> > > > On 3 Jul 2023, at 5:07 pm, Jupiter Jones <jupiter.jones(a)mail.com> wrote:
> > > > Can anyone point to to some library, documentation or examples of how to play video in Pharo?
> > > > Thanks in advance.
> > > > Cheers,
> > > > J
July 10, 2023