Ruby Forum Ruby-Gnome 2 > Release plan

Posted by Kouhei Sutou (Guest)
on 02.05.2008 07:35
(Received via mailing list)
Hi,

Joachim, could you show us your release plan?

What are problems that block new release? Can we solve the problems
as soon as possible?


Thanks,
--
kou
Posted by Joachim Glauche (joaz)
on 05.05.2008 13:56
Attachment: out.txt (1,8 KB)
Kouhei Sutou wrote:
Hi,

> Joachim, could you show us your release plan?
> 
> What are problems that block new release? Can we solve the problems
> as soon as possible?

- gstreamer bindings. I saw a few patches but I'm not up to date on 
current status. The test script gives me some errors using r3188 (see 
attachment)

- If gstreamer bindings are ok, I'll ask Shin guey Wong to try if it 
compiles on windows platform.

- gtk and glib automated test scripts fail for me. Please check this.
Posted by Kouhei Sutou (Guest)
on 07.05.2008 16:28
(Received via mailing list)
Hi,

In <10fec1e900f8570351e94d12d27162ee@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] Release plan" on Mon, 5 May 2008 13:56:17 
+0200,
  Joachim Glauche <ruby-forum-incoming@andreas-s.net> wrote:

> > Joachim, could you show us your release plan?
> > 
> > What are problems that block new release? Can we solve the problems
> > as soon as possible?
> 
> - gstreamer bindings.

Ruby/GStreamer is an experimental package for now. So you
don't need to wait the package. It's OK if the package is
just buildable.

>                       I saw a few patches but I'm not up to date on 
> current status.

I think that I had merged those patches a month ago.

>                 The test script gives me some errors using r3188 (see 
> attachment)

Could you show us the followings?:

  * your GStreamer version.
  * your GStreamer's plugins version.
  * a result of 'gst-inspect-0.10 playbin'.
  * a result of 'gst-inspect-0.10 playback'.
  * a result of 'gst-inspect-0.10 identity'.


> - gtk and glib automated test scripts fail for me. Please check this.

They aren't failed on my environment. (GLib 2.16.3 and GTK+ 2.12.9)
Could you show us their versions and test result on your
environment.


Thanks,
--
kou
Posted by Joachim Glauche (joaz)
on 07.05.2008 17:08
Kouhei Sutou wrote:

> Could you show us the followings?:
> 
>   * your GStreamer version.
>   * your GStreamer's plugins version.

I've installed these packages (ubuntu 7.10)

libgstreamer0.10-0: 0.10.14-1ubuntu3
libgstreamer-plugins-base0.10-0: 0.10.14-1ubuntu3
gstreamer0.10-plugins-base: 0.10.14-1ubuntu3
gstreamer0.10-plugins-good: 0.10.6-0ubuntu4

>   * a result of 'gst-inspect-0.10 playbin'.
>   * a result of 'gst-inspect-0.10 playback'.
>   * a result of 'gst-inspect-0.10 identity'.
Will install gst-inspect and send the outputs tomorrow, i'm a bit on a 
hurry now.

>> - gtk and glib automated test scripts fail for me. Please check this.
> 
> They aren't failed on my environment. (GLib 2.16.3 and GTK+ 2.12.9)
> Could you show us their versions and test result on your
> environment.

libglib: 2.14.1-1ubuntu1
libgtk: 2.12.0-1ubuntu3

Posted by Kouhei Sutou (Guest)
on 10.05.2008 04:31
(Received via mailing list)
Hi,

In <91ef5d0449f5b22faa82114e3232ba21@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] Release plan" on Wed, 7 May 2008 17:08:36 
+0200,
  Joachim Glauche <ruby-forum-incoming@andreas-s.net> wrote:

> >> - gtk and glib automated test scripts fail for me. Please check this.
> > 
> > They aren't failed on my environment. (GLib 2.16.3 and GTK+ 2.12.9)
> > Could you show us their versions and test result on your
> > environment.
> 
> libglib: 2.14.1-1ubuntu1
> libgtk: 2.12.0-1ubuntu3

I can't fix problems happened on your environment without
your test result. Does anyone fail test on trunk?


Thanks,
--
kou
Posted by Joachim Glauche (joaz)
on 12.05.2008 16:02
Attachment: tests.log (14,7 KB)
Kouhei Sutou wrote:

> I can't fix problems happened on your environment without
> your test result. Does anyone fail test on trunk?

Hi Kouhei,

I made a small script for running all the tests (run_tests.rb), which i 
added to trunk.
See attachment for test output at trunk revision 3191 on my machine.


Posted by Kouhei Sutou (Guest)
on 13.05.2008 05:29
(Received via mailing list)
Hi,

2008/5/12 Joachim Glauche <ruby-forum-incoming@andreas-s.net>:

> See attachment for test output at trunk revision 3191 on my machine.

Thanks.
I've fixed your problem. It's a problem of test.

I there still any problem?

--
kou
Posted by Joachim Glauche (joaz)
on 13.05.2008 11:49
Attachment: tests.log (5,6 KB)
Kouhei Sutou wrote:

> Thanks.
> I've fixed your problem. It's a problem of test.
> 
> I there still any problem?

See attached log file.
Posted by Kouhei Sutou (Guest)
on 14.05.2008 04:09
(Received via mailing list)
Hi,

2008/5/13 Joachim Glauche <ruby-forum-incoming@andreas-s.net>:

>> I there still any problem?
>
> See attached log file.

I've fixed. OK?


Thanks,
--
kou
Posted by Joachim Glauche (joaz)
on 14.05.2008 13:35
Kouhei Sutou wrote:
> Hi,
> 
> 2008/5/13 Joachim Glauche <ruby-forum-incoming@andreas-s.net>:
> 
>>> I there still any problem?
>>
>> See attached log file.
> 
> I've fixed. OK?
Rev 3205:

Every test except the gstreamer ones are fine. I don't have the newest 
version of all libraries so I hope the omissions work for you. Since 
Gstreamer is still considered experimental, I will not wait until all 
tests work properly.

If there is nothing said against it, I'll tag current trunk as 0.17.0 
and make a source code release. Windows binaries should be released 
later since it's unknown how much time this will take.

@ Shin guey Wong, can you try to compile current trunk on windows 
platform?
Posted by Guillaume Cottenceau (Guest)
on 14.05.2008 16:52
(Received via mailing list)
> If there is nothing said against it, I'll tag current trunk as 0.17.0
> and make a source code release. Windows binaries should be released

Kouhei: are there sufficient gtk/glib changes since last time we
talked about releasing 0.17.0 and we tested, so that we need to test
again, just to make sure there was no regressions?

--
Guillaume Cottenceau - http://zarb.org/~gc/
Posted by Shin guey Wong (sgwong)
on 14.05.2008 18:29
Joachim Glauche wrote:
> Kouhei Sutou wrote:
> 
> @ Shin guey Wong, can you try to compile current trunk on windows 
> platform?

OK, I will take some time in tomorrow night to compile the latest trunk 
on windows again. I will not compile both liggonomeprint and 
gonomeprintui because it has some problem on windows.
Posted by Kouhei Sutou (Guest)
on 15.05.2008 01:27
(Received via mailing list)
Hi,

2008/5/14 Guillaume Cottenceau <gcottenc@gmail.com>:
>> If there is nothing said against it, I'll tag current trunk as 0.17.0
>> and make a source code release. Windows binaries should be released
>
> Kouhei: are there sufficient gtk/glib changes since last time we
> talked about releasing 0.17.0 and we tested, so that we need to test
> again, just to make sure there was no regressions?

In my case, I added tests for my new works. So you will be able to
confirm regressions by running tests. In others case, I don't know
how to confirm...


Thanks,
--
kou
Posted by Shin guey Wong (sgwong)
on 23.05.2008 09:34
Shin guey Wong wrote:
> Joachim Glauche wrote:
>> Kouhei Sutou wrote:
>> 
>> @ Shin guey Wong, can you try to compile current trunk on windows 
>> platform?
> 
> OK, I will take some time in tomorrow night to compile the latest trunk 
> on windows again. I will not compile both liggonomeprint and 
> gonomeprintui because it has some problem on windows.

Well, sorry for the late notice. I should said next week instead of the 
next day :(

First, here is the binary I was able to compile:
-----
SUCCEEDED: glib gdkpixbuf pango atk gtk bonoboui gconf gnomevfs 
gstreamer gtkglext gtksourceview lib
glade poppler rsvg

FAILED: bonobo gnome gnomecanvas gnomeprint gnomeprintui

Ignored libraries: gtkhtml2, gtkmozembed, libart, libgda, panel-applet, 
vte
-----

I doubt the gstreamer is usable. The run-test.rb script is not running 
under windows environment, first the Open3.popen is not usable in 
windows. I had change it to use the win32-open3 cmd but I have to change 
the argument pass into it also. But still, most of the test is not 
running because the command line '> /dev/null' is not recognize in 
windows. So, it is hard for me to change all the test file windows 
compatible.

So, I just simple run most of the sample program come with windows one 
click installer. All the program in glib, gtk, gdkpixbuf, gtkglext and 
gtksourceview is working. Gconf2 also working.

I am not sure a windows binary release is needed or not because I 
compile this gnome with mingw, it is conceptually compatible with VC6 
ruby but I never tested it with OCI VC6 ruby. How many ppl using the 
mingw ruby now?

 I haven't have time to look at the previous windows binary release yet. 
Still not sure how masao mutoh package all the windows binary release.
Posted by Joachim Glauche (joaz)
on 23.05.2008 14:16
Shin guey Wong wrote:

> SUCCEEDED: glib gdkpixbuf pango atk gtk bonoboui gconf gnomevfs 
> gstreamer gtkglext gtksourceview lib
> glade poppler rsvg
> 
> FAILED: bonobo gnome gnomecanvas gnomeprint gnomeprintui
> 
> Ignored libraries: gtkhtml2, gtkmozembed, libart, libgda, panel-applet, 
> vte
> -----

libart was included on last windows release too.

> I doubt the gstreamer is usable. 
Ok.

> The run-test.rb script is not running 
> under windows environment, first the Open3.popen is not usable in 
> windows. 
> I had change it to use the win32-open3 cmd but I have to change 
> the argument pass into it also. But still, most of the test is not 
> running because the command line '> /dev/null' is not recognize in 
> windows. So, it is hard for me to change all the test file windows 
> compatible.
Have you tried running the tests in a MinGW shell?

> I am not sure a windows binary release is needed or not because I 
> compile this gnome with mingw, it is conceptually compatible with VC6 
> ruby but I never tested it with OCI VC6 ruby. How many ppl using the 
> mingw ruby now?
I've no idea. Is current ruby binaries for windows compiled with VC6?

Posted by Shin guey Wong (sgwong)
on 23.05.2008 16:04
Joachim Glauche wrote:
> Shin guey Wong wrote:
> 
>> SUCCEEDED: glib gdkpixbuf pango atk gtk bonoboui gconf gnomevfs 
>> gstreamer gtkglext gtksourceview lib
>> glade poppler rsvg
>> 
>> FAILED: bonobo gnome gnomecanvas gnomeprint gnomeprintui
>> 
>> Ignored libraries: gtkhtml2, gtkmozembed, libart, libgda, panel-applet, 
>> vte
>> -----
> 
> libart was included on last windows release too.
> 

I checked it again, seems like it is missing libpng12. I download it and 
compile again.

checking for GCC... yes
checking for rb_define_alloc_func()... yes
checking for rb_block_proc()... yes
checking for new allocation framework... yes
checking for attribute assignment... yes
checking for libart-2.0... yes
checking for libpng12... yes
checking for jpeglib.h... yes
checking for png_create_write_struct() in -lpng... no
checking for jpeg_set_defaults() in -ljpeg... yes
checking for art_affine_identity() in -lart_lgpl_2... yes
checking for G_PLATFORM_WIN32... no
creating Makefile

it is weird that in libart, the platform is non win32, while all other 
package detected as win32.

Then, the libjpeg dll I downloaded from the gnuwin32 is not working. I 
downloaded the libjpeg source from igj.org and recompile again. It 
manage to compile with mingw. When I compile it with libart, it has some 
type definition conflict with some mingw header. I had to comment all 
the conflict type in the mingw header file in order to make it compile. 
I tried to run the sample in the libart, it seems to be running fine. 
So, I assume the libart is working coz no other test for me to test it.
Posted by Shin guey Wong (sgwong)
on 23.05.2008 16:07
>> I am not sure a windows binary release is needed or not because I 
>> compile this gnome with mingw, it is conceptually compatible with VC6 
>> ruby but I never tested it with OCI VC6 ruby. How many ppl using the 
>> mingw ruby now?
> I've no idea. Is current ruby binaries for windows compiled with VC6?

The latest official release of OCI for windows is still compiled with 
VC6. Luis Lavena has some unofficial release of mingw ruby. It still has 
some bug with the mingw version (I am running fine with it except the 
readline package is broken, it can run irb but the cpu consumption is 
high).
Posted by Joachim Glauche (joaz)
on 23.05.2008 18:45
Shin guey Wong wrote:
>>> I am not sure a windows binary release is needed or not because I 
>>> compile this gnome with mingw, it is conceptually compatible with VC6 
>>> ruby but I never tested it with OCI VC6 ruby. How many ppl using the 
>>> mingw ruby now?
>> I've no idea. Is current ruby binaries for windows compiled with VC6?
> 
> The latest official release of OCI for windows is still compiled with 
> VC6. Luis Lavena has some unofficial release of mingw ruby. It still has 
> some bug with the mingw version (I am running fine with it except the 
> readline package is broken, it can run irb but the cpu consumption is 
> high).

Ok, than I understand why my first attempt to do this on windows did not 
succeed. Do you have possibilities to compile with VC6?


> checking for G_PLATFORM_WIN32... no

Hm, in extconf.rb same check is used for this and other modules:
setup_win32(PACKAGE_NAME)
Posted by Kouhei Sutou (Guest)
on 24.05.2008 03:26
(Received via mailing list)
Hi,

In <c478ace3d2a6f8152ec6ea8f1ad0679e@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] Release plan" on Fri, 23 May 2008 16:04:17 
+0200,
  Shin guey Wong <ruby-forum-incoming@andreas-s.net> wrote:

> >> vte
> checking for rb_block_proc()... yes
> 
> it is weird that in libart, the platform is non win32, while all other 
> package detected as win32.

Because mkmf-gnome2.rb uses glibconfig.h included in GLib
package to detect G_PLATFORM_WIN32. libart doesn't depend on
GLib so your extconf.rb can't detect G_PLATFORM_WIN32
correctly.


What about the following patch?

Index: extconf.rb
===================================================================
--- extconf.rb  (revision 3226)
+++ extconf.rb  (working copy)
@@ -24,6 +24,13 @@

 setup_win32(PACKAGE_NAME)

+if $cc_is_gcc and /mingw|mswin32/ =~ RUBY_PLATFORM # should not include 
mswin32?
+  if /^2\./ =~ `#{Config::CONFIG['CC']} -dumpversion`.chomp
+    $CFLAGS += ' -fnative-struct'
+  else
+    $CFLAGS += ' -mms-bitfields'
+  end
+end
+
 create_makefile_at_srcdir(PACKAGE_NAME, SRCDIR, 
"-DRUBY_LIBART2_COMPILATION")
 create_top_makefile
-


BTW, libart is a deprecated library. GTK+ uses cairo for
rendering. I think Ruby/Libart2 isn't a needed package. (like
Ruby/GnomePrint, Ruby/GnomePrintUI, Ruby/GNOME2 and
Ruby/GnomeCanvas.)


Thanks,
--
kou
Posted by Joachim Glauche (joaz)
on 24.05.2008 20:54
Kouhei Sutou wrote:
> BTW, libart is a deprecated library. GTK+ uses cairo for
> rendering. I think Ruby/Libart2 isn't a needed package. (like
> Ruby/GnomePrint, Ruby/GnomePrintUI, Ruby/GNOME2 and
> Ruby/GnomeCanvas.)

Hm, is GnomePrint(/UI) really supposed to work under win32 environments?
Posted by Kouhei Sutou (Guest)
on 25.05.2008 03:15
(Received via mailing list)
Hi,

In <048ae34c7e3e25c16d1f109eaeb69d7b@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] Release plan" on Sat, 24 May 2008 20:54:48 
+0200,
  Joachim Glauche <ruby-forum-incoming@andreas-s.net> wrote:

> Kouhei Sutou wrote:
> > BTW, libart is a deprecated library. GTK+ uses cairo for
> > rendering. I think Ruby/Libart2 isn't a needed package. (like
> > Ruby/GnomePrint, Ruby/GnomePrintUI, Ruby/GNOME2 and
> > Ruby/GnomeCanvas.)
> 
> Hm, is GnomePrint(/UI) really supposed to work under win32 environments?

Maybe no. I wanted to say Ruby/GnomePrint,
Ruby/GnomePrintUI, Ruby/GNOME2 and Ruby/GnomeCanvas are not
needed for Win32 package. (Because they are deprecated.)


Thanks,
--
kou
Posted by Kouhei Sutou (Guest)
on 27.05.2008 13:48
(Received via mailing list)
Hi,

In <20080525.101421.586320005914057333.kou@cozmixng.org>
  "Re: [ruby-gnome2-devel-en] Release plan" on Sun, 25 May 2008 10:14:21 
+0900 (JST),
  Kouhei Sutou <kou@cozmixng.org> wrote:

> > Hm, is GnomePrint(/UI) really supposed to work under win32 environments?
> 
> Maybe no. I wanted to say Ruby/GnomePrint,
> Ruby/GnomePrintUI, Ruby/GNOME2 and Ruby/GnomeCanvas are not
> needed for Win32 package. (Because they are deprecated.)

Joachim, don't care my opinion if it blocks your work. It's
just my personal opinion and I'm not a Windows user.


Thanks,
--
kou
Posted by Joachim Glauche (joaz)
on 27.05.2008 20:20
Kouhei Sutou wrote:

> Maybe no. I wanted to say Ruby/GnomePrint,
> Ruby/GnomePrintUI, Ruby/GNOME2 and Ruby/GnomeCanvas are not
> needed for Win32 package. (Because they are deprecated.)

Ah ok. Then this will be fine.


Here is an update about current status:
- tests with ruby 1.8.6: OK
- tests with ruby 1.9.1: Not done yet.
- win32 binaries: waiting.

My purpose is to make a Release Canidate for 0.17.0, now and wait for 
final release until everything is tested and maybe win32 release will be 
ready. Maybe some users also find some bugs which are not covered by the 
tests.

Your opinion, Kou?
Posted by Kouhei Sutou (Guest)
on 27.05.2008 23:33
(Received via mailing list)
Hi,

2008/5/28 Joachim Glauche <ruby-forum-incoming@andreas-s.net>:
> - tests with ruby 1.8.6: OK
> - tests with ruby 1.9.1: Not done yet.
> - win32 binaries: waiting.
>
> My purpose is to make a Release Canidate for 0.17.0, now and wait for
> final release until everything is tested and maybe win32 release will be
> ready. Maybe some users also find some bugs which are not covered by the
> tests.
>
> Your opinion, Kou?

I completely agree with you.


Thanks,
--
kou