[Pharo-users] Version code Iceberg

2017-07-10 Thread Benoit Verhaeghe
Hi,

Do you know how to create project with a stable version and a development 
version with Iceberg ( git ). 

I didn't find example on the internet. 

Thanks a lot 
Benoit Verhaeghe



[Pharo-users] Need help for SmartTest/CORA

2017-07-19 Thread Benoit Verhaeghe
Hi everyone, 

I'm working on SmartTest/CORA. 
It's a plugin that help us with test. 
It shows us only the test we should run to well tests ours applications. 
And it will run automatically the tests (or not if you disable this option). 
It will be great if you can help me by installing it. 

You only have to execute this command : 

Metacello new githubUser: 'badetitou' project: 'TestsUsageAnalyser-CORAExtends' 
commitish: 'master' path: '.' ; baseline: 'TestsUsageAnalyserCORAExtends' ; 
load . 

You can also use the plugin with jenkins. 
Everything are explained here : 
http://badetitou.github.io/research/smalltalk/2017/07/05/CORA/ 


Tell me if you are in trouble during the installation 
Thanks for your help 
Benoit 



[Pharo-users] Need help for collecting tests usage data

2017-06-07 Thread Benoit Verhaeghe


Hi everyone. 




I need your help. I’m working on how pharo developers use the tests. And you 
are pharo developers. 

So I developed a plugin and I would like you to download it. You just have to 
execute this line in a playground 




Metacello new 

smalltalkhubUser: 'Pharo' project: 'MetaRepoForPharo60'; 

configuration: 'TestsUsageAnalyser'; 

version: #stable; 

get; 

load. 




You will have to do it only one time in one image. Then, if they are update 
it’ll be done automatically and if you create a new image it will be 
automatically installed. 




The plugin will collect data on which tests you run. when. and the 
modifications you'll have done. 

Normally, it should be completely transparent for the users and the data are 
anonymous. 




If you want more details about the project or how it works, you can answer to 
this mail, or send me an email at benoit.verhae...@inria.fr or by using 
discord. 

Thanks a lot. 



Re: [Pharo-users] Annonce Pharo-LibVLC

2020-01-14 Thread Benoit Verhaeghe

Hello,

Yes, the final .9 matter...

I have tested the binding on ArchLinux. And we have

> $ whereis libvlccore
libvlccore: /usr/lib/libvlccore.so

and

> $ whereis libvlc
libvlc: /usr/lib/libvlc.so


So two options,
1. I can add the version with ".9" in VLCLibrary>>#unix64LibraryName
2. Or you can create a link in ubuntu

> ln -s /usr/lib/x86_64-linux-gnu/libvlccore.so.9 
/usr/lib/x86_64-linux-gnu/libvlccore.so

(please verity the command)


In travis I'm doing

||dist: bionic
|before_install
||- sudo apt install libvlc-dev libvlccore-dev|

||

||

|And I have no problem.|

|
|

|
|

|If you use a symbolic link and it works please let me know so I can add 
this step in the installation.|


|
|

|Thanks for testing!|

|Benoît
|

||


Le 14/01/2020 à 19:05, Hilaire a écrit :

Got an issue on Linux too (Ubuntu 18.04.03 LTS)

See attached screenshot. Does the final .9 in the installed library matter?

Hilaire

Le 12/01/2020 à 16:41, Benoit Verhaeghe a écrit :

I just want to let you know that I've developed an FFI binding to VLC.
Since, version 2.1.1 you can use it on Windows, Linux, and OSX.
https://github.com/badetitou/Pharo-LibVLC


--
Benoît Verhaeghe
badetitou.github.io

benoit.verhae...@berger-levrault.com
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr
PHD student at Inria-Lille--Nord-Europe



Re: [Pharo-users] Annonce Pharo-LibVLC

2020-01-14 Thread Benoit Verhaeghe


Le 14/01/2020 à 21:10, Hilaire a écrit :

Le 14/01/2020 à 19:21, Benoit Verhaeghe a écrit :

|If you use a symbolic link and it works please let me know so I can
add this step in the installation.|


|Did so, so no more error but then executing the code snippet from
github, nothing happen.|

Ok, In my point of view, the configuration works.
If you execute |VLCLibrary uniqueInstance getVersion |you should get 
"3.x.x ..."


|| vlc mediaPlayer media |
"VLCLibrary reset"
vlc := VLCLibrary uniqueInstance createVLCInstance.
media := vlc createMediaFromPath: '/home/hilaire/Vidéos/Lea2019.webm'.
mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media.
mediaPlayer play
|


One possibility is that VLC does not achieve to create the media (but 
still return one instead of nil).

Could you try to use a path without the 'é'?

| vlc mediaPlayer media |
"VLCLibrary reset"
vlc := VLCLibrary uniqueInstance createVLCInstance.
media := vlc createMediaFromPath: '/home/hilaire/Lea2019.webm'.
mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media.
mediaPlayer play

If this is the error, I suppose I can configure vlc to use utf-8 string.


Thanks for testing!

Benoît



|I reset the unique instannce of VLCLibrary|

|Hilaire
|


--
Benoît Verhaeghe
badetitou.github.io

benoit.verhae...@berger-levrault.com
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr
PHD student at Inria-Lille--Nord-Europe



Re: [Pharo-users] Annonce Pharo-LibVLC

2020-01-14 Thread Benoit Verhaeghe

Me again,

I've tried


vlc := VLCLibrary uniqueInstance createVLCInstance.
"do not use accentuated characters for the path"
media := vlc createMediaFromPath: ('/home/badetitou/Vidéos/bla.mkv' 
encodeWith: #utf8).

mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media.
mediaPlayer pause

(so I add `encodeWith: #utf8`) and it works on my laptop.


Is there any way to force Pharo to use utf8 encoding when I want to send 
String to VLC.

I don't know, I will investigate.


Benoît


Le 14/01/2020 à 21:10, Hilaire a écrit :

Le 14/01/2020 à 19:21, Benoit Verhaeghe a écrit :

|If you use a symbolic link and it works please let me know so I can
add this step in the installation.|


|Did so, so no more error but then executing the code snippet from
github, nothing happen.|

|| vlc mediaPlayer media |
"VLCLibrary reset"
vlc := VLCLibrary uniqueInstance createVLCInstance.
media := vlc createMediaFromPath: '/home/hilaire/Vidéos/Lea2019.webm'.
mediaPlayer := VLCLibrary uniqueInstance mediaPlayerNewFromMedia: media.
mediaPlayer play
|

|I reset the unique instannce of VLCLibrary|

|Hilaire
|


--
Benoît Verhaeghe
badetitou.github.io

benoit.verhae...@berger-levrault.com
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr
PHD student at Inria-Lille--Nord-Europe




[Pharo-users] Annonce Pharo-LibVLC

2020-01-12 Thread Benoit Verhaeghe

Hello there,

I just want to let you know that I've developed an FFI binding to VLC.
Since, version 2.1.1 you can use it on Windows, Linux, and OSX.
https://github.com/badetitou/Pharo-LibVLC

Thanks to the binding you can play easily sounds and videos from Pharo.

The next steps are:

 * Documentation and examples (in the Image, GitHub, and a blog
   post/tutorial)
 * Full Travis testing
 * SDL support
 * A #Spec2 UI
 * A SeasideUI (https://github.com/pharo-media-center
   )

Feel free to use the binding and tell me if you need help with it.

Benoît Verhaeghe

--
Benoît Verhaeghe
badetitou.github.io

benoit.verhae...@berger-levrault.com
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr
PHD student at Inria-Lille--Nord-Europe



Re: [Pharo-users] Annonce Pharo-LibVLC

2020-01-12 Thread Benoit Verhaeghe


Le 12/01/2020 à 18:02, Hernán Morales Durand a écrit :

Hi Benoit,

Thank you for publishing this one!
This is how I installed:

Iceberg remoteTypeSelector: #scpUrl.
Metacello new
baseline: 'VLC';
repository: 'github://badetitou/Pharo-LibVLC';
load.

However I got this warning on Mac:

This package depends on the following classes:
  VLCLibrary
  VLCLibraryCore
You must resolve these dependencies before you will be able to load 
these definitions:

  VLCLibrary>>#macModuleName
  VLCLibraryCore>>#macModuleName


Oupsi, The bug is fixed now.

It was a dependency problem in Pharo7 (in the baseline).
I've forgot to check that before the release.




And consequently all test method fails. Is there something I've missing?

Cheers,

Hernán

El dom., 12 ene. 2020 a las 12:42, Benoit Verhaeghe 
(mailto:badeti...@gmail.com>>) escribió:


Hello there,

I just want to let you know that I've developed an FFI binding to VLC.
Since, version 2.1.1 you can use it on Windows, Linux, and OSX.
https://github.com/badetitou/Pharo-LibVLC

Thanks to the binding you can play easily sounds and videos from
Pharo.

The next steps are:

  * Documentation and examples (in the Image, GitHub, and a blog
post/tutorial)
  * Full Travis testing
  * SDL support
  * A #Spec2 <https://twitter.com/hashtag/Spec2?src=hashtag_click>UI
  * A SeasideUI (https://github.com/pharo-media-center
<https://t.co/Zzlb01Ncw8?amp=1>)

Feel free to use the binding and tell me if you need help with it.

Benoît Verhaeghe

-- 
Benoît Verhaeghe

badetitou.github.io  <http://badetitou.github.io>

benoit.verhae...@berger-levrault.com  
<mailto:benoit.verhae...@berger-levrault.com>
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr  <mailto:benoit.verhae...@inria.fr>
PHD student at Inria-Lille--Nord-Europe


--
Benoît Verhaeghe
badetitou.github.io

benoit.verhae...@berger-levrault.com
R Engineer at Berger-Levrault
benoit.verhae...@inria.fr
PHD student at Inria-Lille--Nord-Europe