=== r0ckwilda{-_-} is now known as r0ckwilda | ||
=== r0ckwilda is now known as r0ckwilda{-_-} | ||
Kilos | hi genova welcome to ubuntu-africxa | 17:37 |
---|---|---|
Kilos | africa as well | 17:37 |
genova | hi Kilos | 17:59 |
Kilos | hi Na3iL | 18:10 |
Na3iL | o/ Kilos | 18:10 |
Kilos | how good are you with questions like this | 18:11 |
Kilos | I posted a question earlier about packing a python3 gtk application. I've managed to package it as a deb, but the python part keeps getting installed in /usr/lib/python3/dist-packages/ | 18:12 |
Kilos | I'd like the whole application to be installed in /usr/share/ | 18:12 |
Kilos | How can can I modifyu the debian/rules file to install to this location. | 18:12 |
Na3iL | You mean Kilos you wanna know how to tell Ubuntu where to install your programs? right | 18:14 |
Kilos | thats what i get from those questions, we have a guy asked in the za channel and im trying to find him some help | 18:15 |
Kilos | if you can sort it ill bring him here | 18:15 |
Na3iL | I think I can sort it just with further explanation for the problem.. | 18:16 |
Kilos | ok ill bring him | 18:16 |
Na3iL | Okay | 18:16 |
Kilos | ty | 18:16 |
Na3iL | yw :D | 18:17 |
Na3iL | Kilos, after some searching, he can't, make the package manager put any file anywhere except its default location.. | 18:25 |
Kilos | oh my ill tell him ty Na3iL | 18:25 |
Kilos | aw here he is | 18:26 |
Kilos | hi stucomplex | 18:26 |
Na3iL | Hey stucomplex welcome to #ubuntu-africa :) | 18:26 |
Kilos | you just missed an answer | 18:26 |
stucomplex | thanks kilos | 18:26 |
Kilos | stucomplex Na3iL thinks you cannot do it but hear from him | 18:26 |
Na3iL | stucomplex, basically you can't make the package manager put any file anywhere except its default locations | 18:27 |
Na3iL | You cannot change the default locations to install software with apt-get, the Software Center, | 18:28 |
Na3iL | or the other package management tools in Ubuntu... | 18:28 |
stucomplex | hi Na3iL | 18:28 |
Na3iL | You can manually retrieve packages and extract their files wherever you want, but you almost certainly wouldn't want to do that.. | 18:28 |
Na3iL | by just typing which "your program name" | 18:29 |
Na3iL | take a look stucomplex → https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard | 18:30 |
stucomplex | hmmm, ok, maybe I did not explain better. | 18:31 |
stucomplex | I'm current building the .deb file, eg fiddling around with debian/changelog, debian/control | 18:32 |
stucomplex | *currently | 18:32 |
stucomplex | I've read that within the debain/rules file you can do somesort of override_auto_install set the install locations | 18:33 |
Kilos | oh we have a debian dev here as well | 18:34 |
Kilos | if you guys get stuck call cyrilb | 18:34 |
cyrilb | hi guys | 18:36 |
stucomplex | there is an application called terminator which is also a python-gtk application -> https://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/files | 18:36 |
Kilos | hi cyrilb | 18:36 |
cyrilb | talking about debian/rules? | 18:36 |
cyrilb | :) | 18:36 |
Kilos | yeah man | 18:36 |
Na3iL | Well, I think we need cyrilb I think he will be more helpful than me :) | 18:36 |
stucomplex | for that project the terminatorlib is a python module which is installed in /usr/share/terminator | 18:36 |
Na3iL | \o/ am a big fan of terminator :D | 18:38 |
stucomplex | yeah, It's awesome :D | 18:39 |
Kilos | wb craigbrash | 18:40 |
Na3iL | The only thing that I know stucomplex , that packages install files throughout the filesystem, | 18:40 |
Na3iL | mostly in different subdirectories of /usr. This is in accordance with the filesystem hierarchy standard which specifies where different kinds of files, | 18:41 |
craigbrash | Kilos hello and Na3iL | 18:41 |
Na3iL | associated with installed programs and libraries | 18:41 |
Na3iL | which are supposed to go in a GNU/Linux system :) | 18:41 |
Kilos | cyrilb we waiting for your wisdom here | 18:41 |
Na3iL | o/ hey craigbrash | 18:41 |
stucomplex | thanks Na3iL | 18:42 |
Na3iL | You welcome stucomplex I hope that I helped at least | 18:43 |
Na3iL | and to be sure am waiting the reply of cyrilb | 18:43 |
stucomplex | as it currently stands when install my package the the python part gets installed in /usr/lib/python3.4/dist-packages/ | 18:44 |
stucomplex | but its not a module | 18:44 |
stucomplex | so i'd like it installed with all the other data file in /usr/share/{program} | 18:44 |
Na3iL | I am wondering why you wanna modify its installation location.. | 18:47 |
stucomplex | I think that if one is creating a python module then it should be installed in /usr/lib/python3, but if it is a GUI application then it should not be placed in /usr/lib/python3 | 18:51 |
Kilos | i need to sleep guys. good luck stucomplex | 18:55 |
Kilos | night all | 18:55 |
Na3iL | Yeah indeed stucomplex I will search for a solution | 18:56 |
stucomplex | hmmm, might have found something in https://wiki.debian.org/Python/Packaging | 19:05 |
stucomplex | override_dh_auto_install: python setup.py install --root=debian/charm --install-layout=deb --install-lib=/usr/share/charm --install-scripts=/usr/share/charm | 19:05 |
stucomplex | but in the terminator debian/rules there is a variable DEB_PYTHON_INSTALL_ARGS_ALL +=--install-lib=/usr/share/terminator --install-scripts=/usr/share/terminator | 19:06 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!