glib update to 2.36.0

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
roelof
Samurai
Samurai
Posts: 112
Joined: 06 Aug 2013, 15:32
Distribution: Porteus 2.1 Gnome
Location: Netherlands

glib update to 2.36.0

Post#1 by roelof » 14 Nov 2013, 19:11

Hello,

For porting a package to Porteus I need a upgrade to 2.36.0
Can anyone help me with this ?

Roelof

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: glib update to 2.36.0

Post#2 by Ahau » 14 Nov 2013, 20:20

What package are you trying to port? IIRC, glib is very much a core library and version-dependent, so upgrading it on your system will risk breaking other packages. You may want to look at building an older version of the package that would depend on glib2-2.32, which is the version in Slackware 14.0 and Porteus 2.x I've done this for a few packages myself. Once we come out with Porteus 3.0 rc1, it will come with glib2-2.36 and you'll be able to update to the newer version of your package.

That said, if you really want to try it, my approach would be to pull the source and slackbuild+other files from the official slackware source tree: http://mirrors.slackware.com/slackware/ ... e/l/glib2/ and use that to build glib2-2.36.
Please take a look at our online documentation, here. Suggestions are welcome!

roelof
Samurai
Samurai
Posts: 112
Joined: 06 Aug 2013, 15:32
Distribution: Porteus 2.1 Gnome
Location: Netherlands

Re: glib update to 2.36.0

Post#3 by roelof » 14 Nov 2013, 20:51

I try to port Cinnamon 2.x , which needs gobject-introspection and I use the latest version of it.
I think I can better use a older version of gobject-introspection then.

Roelof

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: glib update to 2.36.0

Post#4 by Ahau » 14 Nov 2013, 21:07

Yeah, you can probably use the stock version of gobject-introspection from Slackware. 32-bit: http://mirrors.slackware.com/slackware/ ... i486-1.txz
64-bit: http://mirrors.slackware.com/slackware/ ... 6_64-1.txz

I believe that one is a compile-time only dependency, which is why it's not included in the standard Porteus ISO's. We do need it to build a couple of things.
Please take a look at our online documentation, here. Suggestions are welcome!

roelof
Samurai
Samurai
Posts: 112
Joined: 06 Aug 2013, 15:32
Distribution: Porteus 2.1 Gnome
Location: Netherlands

Re: glib update to 2.36.0

Post#5 by roelof » 14 Nov 2013, 21:14

Oke,

That one will do because gobject-introspection must be >= 1.32.0
Thanks for the help.

Roelof

roelof
Samurai
Samurai
Posts: 112
Joined: 06 Aug 2013, 15:32
Distribution: Porteus 2.1 Gnome
Location: Netherlands

Re: glib update to 2.36.0

Post#6 by roelof » 14 Nov 2013, 21:46

Last question :

Is there a cheatcode so I can put my own made modules into another place as /porteus/modules and still use them.
Or can I better use the way that I made everything from source and use the rootcopy cheatcode.

Roelof

User avatar
freestyler
Contributor
Contributor
Posts: 382
Joined: 17 Oct 2013, 14:21
Distribution: Porteus KDE4
Location: Traveller
Contact:

Re: glib update to 2.36.0

Post#7 by freestyler » 16 Nov 2013, 02:24

you can always put them in /optional/ and use "load=module[1];module[n]" cheatcode
https://www.porteus-apps.org

Post Reply