Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 12-02-2007, 10:50 PM   #1
NightTwix
Count
 
NightTwix's Avatar
 
Join Date: Dec 2006
Location: Germany
Posts: 1,655
NightTwix is on a distinguished road
Default Linux packages

I had the idea of creating packages for all the main distributions (or asking people to do it for their fav. distro).
Then you can install via the packet manager, which is way more convinient.

But then ... installing everything into the homefolder isnt really linuxlike and not to manage via package manager
And when you just pick a global folder it smells like problems too.
There is this behaviour that the binary wants to reside in the same directory as the ressources.
A clean install would put the binary into /usr/local/bin and the ressources into /usr/local/share

A solution would be putting everything to /opt

I also have no idea how it behaves on multiuser systems when everyone accesses the same ressources
NightTwix no ha iniciado sesión   Reply With Quote
Old 12-03-2007, 02:19 AM   #2
l33t_linux_h4x0r
Pledge
 
Join Date: Nov 2007
Posts: 49
l33t_linux_h4x0r is on a distinguished road
Default

@NightTwix That is exactly what my installer does. It puts all the files into whatever folder that you want for example /usr/local/games/Regnum or /opt/Regnum The best part is though it dynamicly creates shortcuts based on whatever directory you installed into. And even better it is a bash script. This would be great for gentoo <-- the distro that I use becuase ebuilds <-- gentoo's package manager are just modified bash scripts anyway. I'm not sure if rpms or debs allow post process scripts but if so you could just take the later half of my script which I might decide to release to code for if there is a high enough demand. I just want credit and lots of it. It is my first usefull program after all.

Anyway send me a message if you would like help or like to help.
l33t_linux_h4x0r no ha iniciado sesión   Reply With Quote
Old 12-03-2007, 08:07 PM   #3
NightTwix
Count
 
NightTwix's Avatar
 
Join Date: Dec 2006
Location: Germany
Posts: 1,655
NightTwix is on a distinguished road
Default

Quote:
Originally Posted by l33t_linux_h4x0r
@NightTwix That is exactly what my installer does. It puts all the files into whatever folder that you want for example /usr/local/games/Regnum or /opt/Regnum The best part is though it dynamicly creates shortcuts based on whatever directory you installed into. And even better it is a bash script. This would be great for gentoo <-- the distro that I use becuase ebuilds <-- gentoo's package manager are just modified bash scripts anyway. I'm not sure if rpms or debs allow post process scripts but if so you could just take the later half of my script which I might decide to release to code for if there is a high enough demand. I just want credit and lots of it. It is my first usefull program after all.

Anyway send me a message if you would like help or like to help.
Well the thing is that i wanted to discuss which is The Right Way™ to do the things before i put some effort into it.
but i decided to just start writing an ebuild and see how it works out

Our efforts aren't mutually exclusive, both ways of installing has its right to exist. I just think it would be more convinient to emerge/apt-get/yum/pacman and play along.
Packetmanagers have been invented for some reason
NightTwix no ha iniciado sesión   Reply With Quote
Old 12-04-2007, 04:45 AM   #4
darkcyde
Pledge
 
Join Date: Dec 2007
Posts: 47
darkcyde is on a distinguished road
Default

I've always installed personal files under my /home partition is that bad hehe. Anyways It'd be great to have a deb of regnum
darkcyde no ha iniciado sesión   Reply With Quote
Old 12-04-2007, 06:28 AM   #5
l33t_linux_h4x0r
Pledge
 
Join Date: Nov 2007
Posts: 49
l33t_linux_h4x0r is on a distinguished road
Default

NightTwix i totally agree with you ;-) but it seemed to me that everyone liked the installer and the ability to choose where to install packages. Well I too am going to start work on an ebuild do you use gentoo also??

btw the installer was just an excuse to practice programming.
l33t_linux_h4x0r no ha iniciado sesión   Reply With Quote
Old 12-04-2007, 11:33 PM   #6
NightTwix
Count
 
NightTwix's Avatar
 
Join Date: Dec 2006
Location: Germany
Posts: 1,655
NightTwix is on a distinguished road
Default

Quote:
Originally Posted by l33t_linux_h4x0r
NightTwix i totally agree with you ;-) but it seemed to me that everyone liked the installer and the ability to choose where to install packages. Well I too am going to start work on an ebuild do you use gentoo also??

btw the installer was just an excuse to practice programming.
yes i run gentoo everywhere i can.
I started already after i read through the official ebuild howto.
It has to be proper

We should join our efforts, shouldnt we?
NightTwix no ha iniciado sesión   Reply With Quote
Old 12-05-2007, 04:52 AM   #7
l33t_linux_h4x0r
Pledge
 
Join Date: Nov 2007
Posts: 49
l33t_linux_h4x0r is on a distinguished road
Default

yes post your code as i did with my installer. I didn't read the how to on ebuilds I'm going commando
I am starting with the cedega ebuild as they distribute their program as a precompiled binary in a tar.gz format. I figure that that should be a great starting point just change it to tar.bz2 and change install path and names.
l33t_linux_h4x0r no ha iniciado sesión   Reply With Quote
Old 12-11-2007, 04:32 AM   #8
Miraculix
Count
 
Miraculix's Avatar
 
Join Date: Nov 2007
Location: Infinite Improbability Drive
Posts: 1,287
Miraculix will become famous soon enough
Default

Hey look! A sys admin that codes!
__________________
Hit me, nail me, make me God.
Panoramix :: Half Elf Hunter ## Miraculix :: Half Elf Marksman ## Aspirinix :: Wood Elf Conjurer
Syrtis :: Horus :: Antartes
Miraculix no ha iniciado sesión   Reply With Quote
Old 12-14-2007, 05:13 PM   #9
_dracus_
Count
 
_dracus_'s Avatar
 
Join Date: Jul 2007
Location: Toulouse
Posts: 1,335
_dracus_ is on a distinguished road
Default

Maybe I can build a debian (ubuntu if compatibility is possible) package.
__________________
« Thanks all, you are right I'm great with the barbarian ... for killing mobs. » -- Athena Stillwater
_dracus_ no ha iniciado sesión   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:04 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved