UPDATE: gtk+2 and friends

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: gtk+2 and friends

Jasper Lievisse Adriaanse-4
hi,

here's an update to take gtk+2 and friends to the next major release.

please test and comment.
breakage is expected, mainly due to the new tooltip implementation,
please let me know if you experience it. (full build logs attached
please).

cheers,
jasper

changes:
glib:
GRegex, an implementation of Perl regular expressions based on PCRE, was
added. GSequence, a list implemented using a balanced binary tree, was
added. Support for xdg-user-dirs was added. All the bugfixes and
enhancements from the 2.13 development branch were integrated.

gtk:
A completely new tooltip implementation was introduced. A new interface
builder, GtkBuilder, was added. Keyboard navigation was improved.
GtkScaleButton, GtkVolumeButton, and GtkRecentAction were added. Search
functionality was added to the file chooser, supporting several
backends. Many bugs were fixed. Translations were updated.


--
"The good life is one inspired by love and guided by knowledge."
         -- Bertrand Russel

atk.diff (1K) Download Attachment
glib2.diff (13K) Download Attachment
pango.diff (5K) Download Attachment
gtk+2.diff (25K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

Jasper Lievisse Adriaanse-4
On Mon, Oct 15, 2007 at 11:15:56PM +0200, Jasper Lievisse Adriaanse wrote:

> hi,
>
> here's an update to take gtk+2 and friends to the next major release.
>
> please test and comment.
> breakage is expected, mainly due to the new tooltip implementation,
> please let me know if you experience it. (full build logs attached
> please).
>
> cheers,
> jasper
>
> changes:
> glib:
> GRegex, an implementation of Perl regular expressions based on PCRE, was
> added. GSequence, a list implemented using a balanced binary tree, was
> added. Support for xdg-user-dirs was added. All the bugfixes and
> enhancements from the 2.13 development branch were integrated.
>
> gtk:
> A completely new tooltip implementation was introduced. A new interface
> builder, GtkBuilder, was added. Keyboard navigation was improved.
> GtkScaleButton, GtkVolumeButton, and GtkRecentAction were added. Search
> functionality was added to the file chooser, supporting several
> backends. Many bugs were fixed. Translations were updated.
>
>
> --
> "The good life is one inspired by love and guided by knowledge."
> -- Bertrand Russel
>
oops, send the wrong diffs. correct ones attached.

atk.diff (1K) Download Attachment
glib2.diff (14K) Download Attachment
pango.diff (5K) Download Attachment
gtk2.diff (19K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

brad walker-2
Hello,

glib2.diff applied cleanly to the -current ports tree. Unfortunately it
didn't build for me. This system runs amd64#1414 from tuesday october
16th, 2007.

Build excerpt:

/usr/local/bin/libtool  --mode=link cc  -O2 -pipe -Wall
-L/usr/local/lib -o libmoduletestplugin_b.la -rpath /usr/local/lib
-Wl,-E -avoid-version -module  -rpath /usr/local/lib
libmoduletestplugin_b.lo  ../gmodule/libgmodule-2.0.la ../glib/libglib-2.0.la -lintl -liconv
rm
-fr  .libs/libmoduletestplugin_b.a .libs/libmoduletestplugin_b.la .libs/libmoduletestplugin_b.lai .libs/libmoduletestplugin_b.so
cc -shared  -fPIC -DPIC
-o .libs/libmoduletestplugin_b.so  .libs/libmoduletestplugin_b.o
-L/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/glib/.libs
-L/usr/local/lib -liconv -lintl -L../glib/.libs -lglib-2.0
-L../gmodule/.libs -lgmodule-2.0  -Wl,-E
ar cru .libs/libmoduletestplugin_b.a  libmoduletestplugin_b.o
ranlib .libs/libmoduletestplugin_b.a
creating libmoduletestplugin_b.la
(cd .libs && rm -f libmoduletestplugin_b.la && ln
-s ../libmoduletestplugin_b.la libmoduletestplugin_b.la)
/usr/local/bin/libtool  --mode=link cc  -O2 -pipe -Wall
-L/usr/local/lib -o testglib  testglib.o ../glib/libglib-2.0.la -lintl
-liconv
cc -O2 -pipe -Wall -o .libs/testglib testglib.o  -L/usr/local/lib
-L../glib/.libs -lglib-2.0 -lintl -liconv -Wl,-rpath,/usr/local/lib
/usr/local/lib/libglib-2.0.so.1200.13: warning: vsprintf() is often
misused, please use vsnprintf()
testglib.o(.text+0x426a): In function `main':
/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:1482:
warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libglib-2.0.so.1200.13: warning: strcat() is almost
always misused, please use strlcat()
testglib.o(.text
+0x17a7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:600: undefined reference to `g_get_user_special_dir'
testglib.o(.text
+0x17c7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:602: undefined reference to `g_get_user_special_dir'
testglib.o(.text
+0x17e7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:604: undefined reference to `g_get_user_special_dir'
collect2: ld returned 1 exit status
gmake[3]: *** [testglib] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/glib2 (line 2063
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 1373
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 1861
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/glib2 (line 1421
of /usr/ports/infrastructure/mk/bsd.port.mk).

On Tue, 2007-10-16 at 06:59 +0200, Jasper Lievisse Adriaanse wrote:

> On Mon, Oct 15, 2007 at 11:15:56PM +0200, Jasper Lievisse Adriaanse wrote:
> > hi,
> >
> > here's an update to take gtk+2 and friends to the next major release.
> >
> > please test and comment.
> > breakage is expected, mainly due to the new tooltip implementation,
> > please let me know if you experience it. (full build logs attached
> > please).
> >
> > cheers,
> > jasper
> >
> > changes:
> > glib:
> > GRegex, an implementation of Perl regular expressions based on PCRE, was
> > added. GSequence, a list implemented using a balanced binary tree, was
> > added. Support for xdg-user-dirs was added. All the bugfixes and
> > enhancements from the 2.13 development branch were integrated.
> >
> > gtk:
> > A completely new tooltip implementation was introduced. A new interface
> > builder, GtkBuilder, was added. Keyboard navigation was improved.
> > GtkScaleButton, GtkVolumeButton, and GtkRecentAction were added. Search
> > functionality was added to the file chooser, supporting several
> > backends. Many bugs were fixed. Translations were updated.
> >
> >
> > --
> > "The good life is one inspired by love and guided by knowledge."
> > -- Bertrand Russel
> >
> oops, send the wrong diffs. correct ones attached.

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

Jasper Lievisse Adriaanse
On Wed, Oct 17, 2007 at 10:13:32AM -0600, brad walker wrote:
> Hello,
>
> glib2.diff applied cleanly to the -current ports tree. Unfortunately it
> didn't build for me. This system runs amd64#1414 from tuesday october
> 16th, 2007.
hi,

it's seems you already have an installed glib. you must remove that
before you can build the newer one.

thanks,

jasper

>
> Build excerpt:
>
> /usr/local/bin/libtool  --mode=link cc  -O2 -pipe -Wall
> -L/usr/local/lib -o libmoduletestplugin_b.la -rpath /usr/local/lib
> -Wl,-E -avoid-version -module  -rpath /usr/local/lib
> libmoduletestplugin_b.lo  ../gmodule/libgmodule-2.0.la ../glib/libglib-2.0.la -lintl -liconv
> rm
> -fr  .libs/libmoduletestplugin_b.a .libs/libmoduletestplugin_b.la .libs/libmoduletestplugin_b.lai .libs/libmoduletestplugin_b.so
> cc -shared  -fPIC -DPIC
> -o .libs/libmoduletestplugin_b.so  .libs/libmoduletestplugin_b.o
> -L/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/glib/.libs
> -L/usr/local/lib -liconv -lintl -L../glib/.libs -lglib-2.0
> -L../gmodule/.libs -lgmodule-2.0  -Wl,-E
> ar cru .libs/libmoduletestplugin_b.a  libmoduletestplugin_b.o
> ranlib .libs/libmoduletestplugin_b.a
> creating libmoduletestplugin_b.la
> (cd .libs && rm -f libmoduletestplugin_b.la && ln
> -s ../libmoduletestplugin_b.la libmoduletestplugin_b.la)
> /usr/local/bin/libtool  --mode=link cc  -O2 -pipe -Wall
> -L/usr/local/lib -o testglib  testglib.o ../glib/libglib-2.0.la -lintl
> -liconv
> cc -O2 -pipe -Wall -o .libs/testglib testglib.o  -L/usr/local/lib
> -L../glib/.libs -lglib-2.0 -lintl -liconv -Wl,-rpath,/usr/local/lib
> /usr/local/lib/libglib-2.0.so.1200.13: warning: vsprintf() is often
> misused, please use vsnprintf()
> testglib.o(.text+0x426a): In function `main':
> /usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:1482:
> warning: strcpy() is almost always misused, please use strlcpy()
> /usr/local/lib/libglib-2.0.so.1200.13: warning: strcat() is almost
> always misused, please use strlcat()
> testglib.o(.text
> +0x17a7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:600: undefined reference to `g_get_user_special_dir'
> testglib.o(.text
> +0x17c7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:602: undefined reference to `g_get_user_special_dir'
> testglib.o(.text
> +0x17e7):/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests/testglib.c:604: undefined reference to `g_get_user_special_dir'
> collect2: ld returned 1 exit status
> gmake[3]: *** [testglib] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1/tests'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/devel/glib2/w-glib-2.14.1/glib-2.14.1'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/devel/glib2 (line 2063
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/devel/glib2 (line 1373
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/devel/glib2 (line 1861
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/devel/glib2 (line 1421
> of /usr/ports/infrastructure/mk/bsd.port.mk).
>
> On Tue, 2007-10-16 at 06:59 +0200, Jasper Lievisse Adriaanse wrote:
> > On Mon, Oct 15, 2007 at 11:15:56PM +0200, Jasper Lievisse Adriaanse wrote:
> > > hi,
> > >
> > > here's an update to take gtk+2 and friends to the next major release.
> > >
> > > please test and comment.
> > > breakage is expected, mainly due to the new tooltip implementation,
> > > please let me know if you experience it. (full build logs attached
> > > please).
> > >
> > > cheers,
> > > jasper
> > >
> > > changes:
> > > glib:
> > > GRegex, an implementation of Perl regular expressions based on PCRE, was
> > > added. GSequence, a list implemented using a balanced binary tree, was
> > > added. Support for xdg-user-dirs was added. All the bugfixes and
> > > enhancements from the 2.13 development branch were integrated.
> > >
> > > gtk:
> > > A completely new tooltip implementation was introduced. A new interface
> > > builder, GtkBuilder, was added. Keyboard navigation was improved.
> > > GtkScaleButton, GtkVolumeButton, and GtkRecentAction were added. Search
> > > functionality was added to the file chooser, supporting several
> > > backends. Many bugs were fixed. Translations were updated.
> > >
> > >
> > > --
> > > "The good life is one inspired by love and guided by knowledge."
> > > -- Bertrand Russel
> > >
> > oops, send the wrong diffs. correct ones attached.
>
>

--
"The good life is one inspired by love and guided by knowledge."
         -- Bertrand Russel

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

Jasper Lievisse Adriaanse-4
In reply to this post by Jasper Lievisse Adriaanse-4
so...did anyone test this yet?

--
"The good life is one inspired by love and guided by knowledge."
         -- Bertrand Russel

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

brad walker-2
On Sat, 2007-10-20 at 12:18 +0200, Jasper Lievisse Adriaanse wrote:
> so...did anyone test this yet?
>

After uninstalling the old version of glib, atk, pango, gtk2, and
libglade2 I rebuilt everything with the new patches. Gnome, Firefox,
Evolution, Gnumeric, Pidgin, Liferea, and Audacious work for me. I
haven't tried gtk2mm and glib2mm. The desktop-file-utils patch from
yesterday works, too.

The only problem that I have found is that when idling a gnome-terminal
'gnome-pty-helper' uses 100% of a core on a Core 2 Duo 1.6ghz machine.
Using vte-0.16.9 and gnome-terminal-2.18.1p0. A minor version bump to
gnome-terminal didn't help, either.

bmw


Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

Simon Kuhnle-2
In reply to this post by Jasper Lievisse Adriaanse-4
On Sat, Oct 20, 2007 at 12:18:43PM +0200, Jasper Lievisse Adriaanse wrote:
> so...did anyone test this yet?
>

Yes, I did on i386. It took almost the whole day ;-)

So, the patches applied and built. Then I rebuilt all the stuff for and
Firefox. Then I wanted to built gajim, built the stuff for it, and with
libglade2 I get errors (log attached).
--
simon

libglade2-2.6.1p0.log (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

brad walker-2
On Sat, 2007-10-20 at 17:51 +0200, Simon Kuhnle wrote:
> On Sat, Oct 20, 2007 at 12:18:43PM +0200, Jasper Lievisse Adriaanse wrote:
> > so...did anyone test this yet?
> >
>
> Yes, I did on i386. It took almost the whole day ;-)
>
> So, the patches applied and built. Then I rebuilt all the stuff for and
> Firefox. Then I wanted to built gajim, built the stuff for it, and with
> libglade2 I get errors (log attached).

Try the libglade-2.6.2 patch Jasper posted to the list.

bmw

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

Simon Kuhnle-2
On Sat, Oct 20, 2007 at 09:57:19AM -0600, brad walker wrote:

> On Sat, 2007-10-20 at 17:51 +0200, Simon Kuhnle wrote:
> > On Sat, Oct 20, 2007 at 12:18:43PM +0200, Jasper Lievisse Adriaanse wrote:
> > > so...did anyone test this yet?
> > >
> >
> > Yes, I did on i386. It took almost the whole day ;-)
> >
> > So, the patches applied and built. Then I rebuilt all the stuff for and
> > Firefox. Then I wanted to built gajim, built the stuff for it, and with
> > libglade2 I get errors (log attached).
>
> Try the libglade-2.6.2 patch Jasper posted to the list.

Thanks Brad, that did it for me!

firefox, gajim and sonata gave me no problems so far on i386.
--
simon

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

Jasper Lievisse Adriaanse-4
In reply to this post by brad walker-2
On Sat, Oct 20, 2007 at 07:17:32AM -0600, brad walker wrote:

> On Sat, 2007-10-20 at 12:18 +0200, Jasper Lievisse Adriaanse wrote:
> > so...did anyone test this yet?
> >
>
> After uninstalling the old version of glib, atk, pango, gtk2, and
> libglade2 I rebuilt everything with the new patches. Gnome, Firefox,
> Evolution, Gnumeric, Pidgin, Liferea, and Audacious work for me. I
> haven't tried gtk2mm and glib2mm. The desktop-file-utils patch from
> yesterday works, too.
>
> The only problem that I have found is that when idling a gnome-terminal
> 'gnome-pty-helper' uses 100% of a core on a Core 2 Duo 1.6ghz machine.
> Using vte-0.16.9 and gnome-terminal-2.18.1p0. A minor version bump to
> gnome-terminal didn't help, either.
i suppose you're running it in amd64 mode, right? dlg already notified
me, but i haven't found a solution to the problem yet..

> bmw
cheers,
jasper

--
"The good life is one inspired by love and guided by knowledge."
         -- Bertrand Russel

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: gtk+2 and friends

brad walker-2
On Sun, 2007-10-21 at 17:54 +0200, Jasper Lievisse Adriaanse wrote:

> On Sat, Oct 20, 2007 at 07:17:32AM -0600, brad walker wrote:
> > On Sat, 2007-10-20 at 12:18 +0200, Jasper Lievisse Adriaanse wrote:
> > > so...did anyone test this yet?
> > >
> >
> > After uninstalling the old version of glib, atk, pango, gtk2, and
> > libglade2 I rebuilt everything with the new patches. Gnome, Firefox,
> > Evolution, Gnumeric, Pidgin, Liferea, and Audacious work for me. I
> > haven't tried gtk2mm and glib2mm. The desktop-file-utils patch from
> > yesterday works, too.
> >
> > The only problem that I have found is that when idling a gnome-terminal
> > 'gnome-pty-helper' uses 100% of a core on a Core 2 Duo 1.6ghz machine.
> > Using vte-0.16.9 and gnome-terminal-2.18.1p0. A minor version bump to
> > gnome-terminal didn't help, either.
> i suppose you're running it in amd64 mode, right? dlg already notified
> me, but i haven't found a solution to the problem yet..

Yeah, I forgot to mention it's amd64. I found a similar problem on the
freebsd 2003 mailing list archives:
http://lists.freebsd.org/pipermail/freebsd-gnome/2003-May/001051.html

I also forgot to mention that gmpc-0.15.1 and ncmpc-20070917 (glib2)
worked for me (on amd64).

bmw