Skip to content

Update gtkmm and friends for Inkscape #1184

Merged
merged 50 commits into from
Aug 1, 2019

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Jul 29, 2019

Trying to debug an Inkscape issue after updating Poppler, the developers asked to reproduce the problem with Inkscape 1.x. Unfortunately, that wasn’t easily possible as all kinds of dependencies were missing or outdated. Mainly, gtkmm needed to be updated. While at it update GTK+ to 3.24.10 and GLib2 to 2.60.5.

Also wanting to test Inkscape 0.92.x without having to build ImageMagick myself due to differences in C++ 11 ABI usage, rebuild (by version update) the gtkmm 2.x dependencies.

Update with the command below.

sudo bee update gtk3 libsigc++ libsigc++3 glib2 glibmm cairomm pangomm atkmm gtk3mm pavucontrol gtk-engines gtk2mm
sudo bee remove gnome-system-monitor-3.0.0-0.x86_64

Tested on rabammel.

pmenzel added 30 commits July 9, 2019 19:38
As cairomm 1.15.5 does not build, use the stable version 1.12.2. gtk3mm
3.24.1 requires a newer version.
gtkmm 3.24.1 requires a newer version.
gtk3mm requires a newer version.
Rebuild after gtk3mm updates.
From the [news file][1]:

> Overview of Changes in 2.20.2 (since 2.10.1)
> ============================================
>
> Changes in this release:
>  - Fix evolution ETree header in Clearlooks
>  - Minor fixes in mist
>  - Removed Xfce specific workaround from the clearlooks engine (bug #616124)

[1]: https://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/gtk-engines-2.20.2.news
From the [news file][1]:

> 2.24.5 (stable)
>
> This release can be used together with glibmm up to at least 2.49.5.
> It's recommended that you use gtkmm3 instead of gtkmm2. The support for
> gtkmm2 is minimal, and diminishing.
>
> Build:
> * Update the MSVC projects (Chun-wei Fan)
> * Use C++11 if the compiler supports it (Murray Cumming)
> * Update to be compatible with new versions of glibmm
>   (Kjell Ahlstedt, Murray Cumming)
>
> Documentation:
> * Improve the documentation of Gtk::ComboBoxText
>   (Kjell Ahlstedt) Bug #766039 (Omega Phil)

[1]: https://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/gtkmm-2.24.5.news
After updating gtkmm 3.x the version does not start anymore.

    $ gnome-system-monitor
    gnome-system-monitor: symbol lookup error: gnome-system-monitor: undefined symbol: _ZN4Glib7ustringC1ERKSs

Therefore, remove it, as we know of no users.
@pmenzel
Copy link
Collaborator Author

pmenzel commented Jul 29, 2019

Hmm, the “old” packages now fail to start.

traps: inkscape[7458] general protection fault ip:7f8b7083e028 sp:7ffd4a636470 error:0 in ld-2.27.so[7f8b7082f000+25000]

@donald
Copy link
Collaborator

donald commented Jul 30, 2019

Works for me:

> sudo bee update gtk3 libsigc++ libsigc++3 glib2 glibmm cairomm pangomm atkmm gtk3mm pavucontrol gtk-engines gtk2mm
> inkscape   # 0.9.2

?

@pmenzel
Copy link
Collaborator Author

pmenzel commented Jul 30, 2019

I guess @thomas fixed it already.

$ ls -l /pkg/inkscape-0.92.4-0/.compatlibs/
total 68156
lrwxrwxrwx 1 bin bin       26 Aug 23  2018 libMagick++-6.Q16.so -> libMagick++-6.Q16.so.8.0.0
lrwxrwxrwx 1 bin bin       26 Aug 23  2018 libMagick++-6.Q16.so.8 -> libMagick++-6.Q16.so.8.0.0
-rwxr-xr-x 1 bin bin  3478984 Aug 23  2018 libMagick++-6.Q16.so.8.0.0
lrwxrwxrwx 1 bin bin       28 Aug 23  2018 libMagickCore-6.Q16.so -> libMagickCore-6.Q16.so.6.0.0
lrwxrwxrwx 1 bin bin       28 Aug 23  2018 libMagickCore-6.Q16.so.6 -> libMagickCore-6.Q16.so.6.0.0
-rwxr-xr-x 1 bin bin 17269488 Aug 23  2018 libMagickCore-6.Q16.so.6.0.0
lrwxrwxrwx 1 bin bin       28 Aug 23  2018 libMagickWand-6.Q16.so -> libMagickWand-6.Q16.so.6.0.0
lrwxrwxrwx 1 bin bin       28 Aug 23  2018 libMagickWand-6.Q16.so.6 -> libMagickWand-6.Q16.so.6.0.0
-rwxr-xr-x 1 bin bin  3503928 Aug 23  2018 libMagickWand-6.Q16.so.6.0.0
lrwxrwxrwx 1 bin bin       21 Apr  7  2011 libatkmm-1.6.so -> libatkmm-1.6.so.1.1.0
lrwxrwxrwx 1 bin bin       21 Apr  7  2011 libatkmm-1.6.so.1 -> libatkmm-1.6.so.1.1.0
-rwxr-xr-x 1 bin bin  1519507 Apr  7  2011 libatkmm-1.6.so.1.1.0
lrwxrwxrwx 1 bin bin       23 Mar 11  2011 libcairomm-1.0.so -> libcairomm-1.0.so.1.4.0
lrwxrwxrwx 1 bin bin       23 Mar 11  2011 libcairomm-1.0.so.1 -> libcairomm-1.0.so.1.4.0
-rwxr-xr-x 1 bin bin   957734 Mar 11  2011 libcairomm-1.0.so.1.4.0
lrwxrwxrwx 1 bin bin       21 Apr  8  2011 libgdkmm-2.4.so -> libgdkmm-2.4.so.1.1.0
lrwxrwxrwx 1 bin bin       21 Apr  8  2011 libgdkmm-2.4.so.1 -> libgdkmm-2.4.so.1.1.0
-rwxr-xr-x 1 bin bin  2044976 Apr  8  2011 libgdkmm-2.4.so.1.1.0
lrwxrwxrwx 1 bin bin       21 Jun 10  2015 libgiomm-2.4.so -> libgiomm-2.4.so.1.3.0
lrwxrwxrwx 1 bin bin       21 Jun 10  2015 libgiomm-2.4.so.1 -> libgiomm-2.4.so.1.3.0
-rwxr-xr-x 1 bin bin 11519729 Jun 10  2015 libgiomm-2.4.so.1.3.0
lrwxrwxrwx 1 bin bin       22 Jun 10  2015 libglibmm-2.4.so -> libglibmm-2.4.so.1.3.0
lrwxrwxrwx 1 bin bin       22 Jun 10  2015 libglibmm-2.4.so.1 -> libglibmm-2.4.so.1.3.0
-rwxr-xr-x 1 bin bin  3976846 Jun 10  2015 libglibmm-2.4.so.1.3.0
lrwxrwxrwx 1 bin bin       21 Apr  8  2011 libgtkmm-2.4.so -> libgtkmm-2.4.so.1.1.0
lrwxrwxrwx 1 bin bin       21 Apr  8  2011 libgtkmm-2.4.so.1 -> libgtkmm-2.4.so.1.1.0
-rwxr-xr-x 1 bin bin 20584585 Apr  8  2011 libgtkmm-2.4.so.1.1.0
lrwxrwxrwx 1 bin bin       24 Apr  7  2011 libpangomm-1.4.so -> libpangomm-1.4.so.1.0.30
lrwxrwxrwx 1 bin bin       24 Apr  7  2011 libpangomm-1.4.so.1 -> libpangomm-1.4.so.1.0.30
-rwxr-xr-x 1 bin bin  1296820 Apr  7  2011 libpangomm-1.4.so.1.0.30
lrwxrwxrwx 1 bin bin       23 May 19  2017 libpoppler-cpp.so -> libpoppler-cpp.so.0.3.0
lrwxrwxrwx 1 bin bin       23 May 19  2017 libpoppler-cpp.so.0 -> libpoppler-cpp.so.0.3.0
-rwxr-xr-x 1 bin bin   101368 May 19  2017 libpoppler-cpp.so.0.3.0
lrwxrwxrwx 1 bin bin       24 May 19  2017 libpoppler-glib.so -> libpoppler-glib.so.8.9.0
lrwxrwxrwx 1 bin bin       24 May 19  2017 libpoppler-glib.so.8 -> libpoppler-glib.so.8.9.0
-rwxr-xr-x 1 bin bin   495760 May 19  2017 libpoppler-glib.so.8.9.0
lrwxrwxrwx 1 bin bin       20 May 19  2017 libpoppler.so -> libpoppler.so.67.0.0
lrwxrwxrwx 1 bin bin       20 May 19  2017 libpoppler.so.67 -> libpoppler.so.67.0.0
-rwxr-xr-x 1 bin bin  3016440 May 19  2017 libpoppler.so.67.0.0

@thomas
Copy link
Collaborator

thomas commented Jul 30, 2019

Right.

@pmenzel pmenzel merged commit d2fcb3e into master Aug 1, 2019
pmenzel added a commit to mariux64/pkg-scripts that referenced this pull request Aug 1, 2019
MarIuX is finally [up to date with its dependencies][1], so building
ImageMagick separately is not needed anymore.

[1]: mariux64/bee-files#1184
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants