ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: time-killer-games on May 15, 2017, 04:29:28 PM

Title: Debian Package Creation
Post by: time-killer-games on May 15, 2017, 04:29:28 PM
Has anyone made a debian package installer (*.deb) for an ENIGMA game before? What is required to do such a task? I've googled many results on how to do it, but they're all really complex and it's like greek to me attempting to comprehend it.

Is it as simple as creating and running a single shell script (*.sh)?
Title: Re: Debian Package Creation
Post by: hpg678 on May 15, 2017, 07:38:37 PM
i'm gonna do some research and get back 2 you.
Title: Re: Debian Package Creation
Post by: time-killer-games on May 15, 2017, 09:07:52 PM
Thanks dude! You're very appreciated. :D
Title: Re: Debian Package Creation
Post by: hpg678 on May 17, 2017, 05:09:04 AM
I believe I have found what you are looking for in an application named DEBREATE. You can download it from here

https://sourceforge.net/projects/debreate/files/0.7/0.7.13/debreate_0.7.13_all.deb/download?use_mirror=superb-sea2&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fdebreate%2F&use_mirror=superb-sea2 (https://sourceforge.net/projects/debreate/files/0.7/0.7.13/debreate_0.7.13_all.deb/download?use_mirror=superb-sea2&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fdebreate%2F&use_mirror=superb-sea2)

as usual, here's some screenshots

http://imgur.com/a/noK26 (http://imgur.com/a/noK26)

You can also check the video on Youtube  here (https://www.youtube.com/watch?v=kx4D5eL6HKE)



Title: Re: Debian Package Creation
Post by: time-killer-games on May 20, 2017, 05:38:10 AM
Thank you so much Patrick!! :D :D :D

This is exactly what I needed and I already made my first package using it.

Thanks again! :)
Title: Re: Debian Package Creation
Post by: hpg678 on May 20, 2017, 08:06:48 PM
Thank you so much Patrick!! :D :D :D

This is exactly what I needed and I already made my first package using it.

Thanks again! :)


you are so very welcome. Glad I was able to help out. Also happy to know you were successful in accomplishing a build. Perhaps you can tell me which 'dependencies' you used.
Title: Re: Debian Package Creation
Post by: time-killer-games on May 20, 2017, 08:31:31 PM
The dependencies I used are listed on the ENIGMA linux download wiki page (http://enigma-dev.org/docs/Wiki/Install:Linux):
Quote
g++
zlib1g-dev
libglu1-mesa-dev
libalure-dev
libvorbisfile3
libvorbis-dev
libdumb1-dev
libbox2d-dev
The package built just fine, but I haven't yet tested it on a fresh Ubuntu install. I'll let you know how that goes. :)
Title: Re: Debian Package Creation
Post by: time-killer-games on May 22, 2017, 05:37:49 PM
Also, do you have any idea how to make the install location be set to the current user's home directory? For example, mine is /home/samuel/, but where I have "samuel" the path will vary per user. Is there like some sort of variable I need to use?
Title: Re: Debian Package Creation
Post by: hpg678 on May 24, 2017, 11:14:26 AM
I remember reading somewher in an article that '/usr/bin' is used for custom installations so maybe you should use that. I came across it while researching on Debian creation for you. Will check on it again and get back to you.