Page 1 of 1

glib update to 2.36.0

Posted: 14 Nov 2013, 19:11
by roelof
Hello,

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

Roelof

Re: glib update to 2.36.0

Posted: 14 Nov 2013, 20:20
by Ahau
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.

Re: glib update to 2.36.0

Posted: 14 Nov 2013, 20:51
by roelof
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

Re: glib update to 2.36.0

Posted: 14 Nov 2013, 21:07
by Ahau
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.

Re: glib update to 2.36.0

Posted: 14 Nov 2013, 21:14
by roelof
Oke,

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

Roelof

Re: glib update to 2.36.0

Posted: 14 Nov 2013, 21:46
by roelof
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

Re: glib update to 2.36.0

Posted: 16 Nov 2013, 02:24
by freestyler
you can always put them in /optional/ and use "load=module[1];module[n]" cheatcode