LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-18-2019, 08:32 PM   #1
yawfle
LQ Newbie
 
Registered: May 2019
Posts: 9

Rep: Reputation: Disabled
Question How complicated is updating GTK3 version on 14.2?


I'm hoping to avoid moving from 14.2 to -current for a little while longer, but I'm starting to feel the age of the GTK3 libraries when building some software. If I were to "borrow" the buildscripts for these from -current, how deep down the rabbit hole would I need to go? Would it be as simple as just gtk+3 and gtkmm3, or are there other things in the stack that would need updating at the same time (and in any particular order)?

I'm not too worried about breaking applications; the only GTK app that I use but don't already build myself is Firefox. I don't really want to build it, but at this point it would be worth it for the updated libs.

Any helpful insight is appreciated, especially from anyone who's actually done this.
 
Old 05-18-2019, 09:20 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
You probably need to upgrade some other packages as well

here's the batch of update that Pat did last time he upgrade them. You probably didn't need them all, but i'm guessing most of them are needed for complete GTK+3 update.

Quote:
l/at-spi2-atk-2.30.0-x86_64-1.txz: Upgraded.
l/at-spi2-core-2.30.0-x86_64-1.txz: Upgraded.
l/atk-2.30.0-x86_64-1.txz: Upgraded.
l/atkmm-2.28.0-x86_64-1.txz: Upgraded.
l/dconf-0.28.0-x86_64-1.txz: Upgraded.
dconf and dconf-editor require Vala; the alternative would be to try to
stick with the old versions forever, and we don't want to do that.
l/dconf-editor-3.30.2-x86_64-1.txz: Upgraded.
l/gcr-3.28.0-x86_64-3.txz: Rebuilt.
Recompiled to add Vala bindings.
l/gdk-pixbuf2-2.38.0-x86_64-1.txz: Upgraded.
l/gexiv2-0.10.9-x86_64-1.txz: Upgraded.
l/glib-networking-2.58.0-x86_64-1.txz: Upgraded.
l/glib2-2.58.1-x86_64-1.txz: Upgraded.
l/glibmm-2.58.0-x86_64-1.txz: Upgraded.
l/gobject-introspection-1.58.0-x86_64-1.txz: Upgraded.
l/gtk+3-3.24.1-x86_64-1.txz: Upgraded.
l/gtkmm3-3.24.0-x86_64-1.txz: Upgraded.
l/gvfs-1.38.1-x86_64-1.txz: Upgraded.
l/libcap-2.26-x86_64-1.txz: Upgraded.
l/libpsl-0.20.1-x86_64-1.txz: Added.
Required by libsoup.
l/libsoup-2.64.2-x86_64-1.txz: Upgraded.
l/pangomm-2.42.0-x86_64-1.txz: Upgraded.
l/pygobject3-3.30.2-x86_64-1.txz: Upgraded.
l/vte-0.54.2-x86_64-1.txz: Upgraded.
 
2 members found this post helpful.
Old 05-18-2019, 09:51 PM   #3
yawfle
LQ Newbie
 
Registered: May 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
You probably need to upgrade some other packages as well

here's the batch of update that Pat did last time he upgrade them. You probably didn't need them all, but i'm guessing most of them are needed for complete GTK+3 update.
Thanks, I was looking at similar entries, only from the 14.x changelogs, as guidance. It gave some idea of what *might* need concurrent updating, but with much uncertainty. I'm hoping to avoid changing any more than what's required, which my primitive superstitions would lead me to do.

I'll probably only attempt this if somebody else has already done it, since I can't devote large amounts of time to troubleshooting and downtime right now.
 
Old 05-18-2019, 10:50 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you can try first on a VM and reproduce it on your main machine once it's proven to be correct
 
Old 05-18-2019, 11:03 PM   #5
yawfle
LQ Newbie
 
Registered: May 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
you can try first on a VM and reproduce it on your main machine once it's proven to be correct
Yes, but the "proven" part could take some time, since some problems might not be immediately apparent, so I would probably just use an extra partition rather than a VM. If I have the time for that much "research", though, I might just decide to switch over to -current instead.
 
Old 05-19-2019, 01:37 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,493

Rep: Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437
Looks like glib and pango would need to be updated first. Not sure if either of those would, in turn, require some other updates to compile.
 
3 members found this post helpful.
Old 05-19-2019, 02:10 PM   #7
yawfle
LQ Newbie
 
Registered: May 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Looks like glib and pango would need to be updated first. Not sure if either of those would, in turn, require some other updates to compile.
Thanks, that's good information. I would then need to rebuild everything else that depends on glib, right? It sounds like a bigger project than I want to get into right now, but knowing that saves me a lot of time and frustration, so thanks again.
 
Old 05-19-2019, 06:45 PM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I have done it. See the scripts I have in core-upgrades here:

https://github.com/montagdude/Cinnam...uilds-extended

Not all of them are GTK related, but you can probably pick out the ones that are. The build_order file has the build order (imagine that). The ones I have upgraded are probably not "complete" in that some others possibly should also be upgraded, but this has been working for me for several months now.

Last edited by montagdude; 05-19-2019 at 06:47 PM.
 
3 members found this post helpful.
Old 05-19-2019, 07:57 PM   #9
yawfle
LQ Newbie
 
Registered: May 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Not all of them are GTK related, but you can probably pick out the ones that are. The build_order file has the build order (imagine that). The ones I have upgraded are probably not "complete" in that some others possibly should also be upgraded, but this has been working for me for several months now.
Thanks, that looks very interesting indeed! I'll try it on a fresh install when I get the chance. Have you found that this doesn't break apps built against the stock GTK 3.18.9? Or is that what's meant by "As a result, it is possible that some of the remaining packages will require a rebuild or upgrade"?
 
Old 05-19-2019, 08:10 PM   #10
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by yawfle View Post
Thanks, that looks very interesting indeed! I'll try it on a fresh install when I get the chance. Have you found that this doesn't break apps built against the stock GTK 3.18.9? Or is that what's meant by "As a result, it is possible that some of the remaining packages will require a rebuild or upgrade"?
This project is to build the latest Cinnamon on 14.2 and everything works fine within that context, but I don't run a lot of the other stuff included with Slackware as a result (Xfce, KDE, and most things in xap). So there may be other things in a stock install that would need to be rebuilt, but I haven't checked all of them. I would recommend trying on a VM or container first.
 
1 members found this post helpful.
Old 05-21-2019, 08:01 AM   #11
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
sbbdep should be able to tell you most (all?) of the packages on your system that depend on gtk+3.

https://slackbuilds.org/repository/14.2/system/sbbdep/

Code:
sbbdep --whoneeds /var/log/packages/gtk+3-3.24.8-x86_64-1
 
2 members found this post helpful.
Old 05-29-2019, 08:51 PM   #12
yawfle
LQ Newbie
 
Registered: May 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
As a follow-up, I've been using a portion of the core updates in the repository linked to by @montagdude above for almost a week now, with no problems so far. I updated everything except mozjs52, polkit, and upower. After a few more days, I plan to fully transition to the test system. Thank you very much to everybody for the help!
 
Old 05-29-2019, 09:15 PM   #13
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by yawfle View Post
As a follow-up, I've been using a portion of the core updates in the repository linked to by @montagdude above for almost a week now, with no problems so far. I updated everything except mozjs52, polkit, and upower. After a few more days, I plan to fully transition to the test system. Thank you very much to everybody for the help!
Just so you know, I have updated upower to a version beyond what is in -current, because it was needed for proper power management in Cinnamon. You definitely don't need to update that if you just want the new GTK+.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dockapp, gtk updating dockapp to gtk2 or gtk3 BW-userx Slackware 7 03-09-2018 03:11 PM
updating Kernel from version 2.6.9 to version 2.6.19 varala_kanth Linux - Kernel 1 01-18-2007 03:21 AM
complicated booting scheme JunLitsu Linux - Software 8 07-29-2003 04:06 PM
Complicated Dual Boot problem with Win2K and RedHat 8 on separate ide controllers jweby Linux - General 7 06-23-2003 04:12 PM
HELP!!!! not too complicated stuff Gnute Slackware 13 05-16-2003 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration