SFML community forums

Help => General => Topic started by: grandmasterhack on June 07, 2011, 05:20:07 pm

Title: [Solved] Creating Packages for Linux
Post by: grandmasterhack on June 07, 2011, 05:20:07 pm
hello you guys, i am new to linux and i was wondering how do i get my program i built to install to the system. i want to learn how to create a packages (.deb & .rpm) for my game. i understand how to use makefiles but "configure" is something i dont understand.  which package manager is easier to use?
Title: [Solved] Creating Packages for Linux
Post by: grandmasterhack on June 08, 2011, 01:17:55 pm
it would be nice to say if you didnt know either...
Title: [Solved] Creating Packages for Linux
Post by: Laurent on June 08, 2011, 01:29:38 pm
Well, this is a forum about SFML, not about Linux packages. You'd better post in a dedicated forum.
Title: [Solved] Creating Packages for Linux
Post by: Svenstaro on June 08, 2011, 05:36:47 pm
Use proper CMake install paths and then just use CPack to create deb and rpm packages for you.
Title: [Solved] Creating Packages for Linux
Post by: grandmasterhack on June 08, 2011, 09:36:00 pm
Quote from: "Svenstaro"
Use proper CMake install paths and then just use CPack to create deb and rpm packages for you.


Cmake will automatically do it for you?
Title: [Solved] Creating Packages for Linux
Post by: grandmasterhack on June 08, 2011, 09:48:10 pm
Quote from: "Laurent"
Well, this is a forum about SFML, not about Linux packages. You'd better post in a dedicated forum.


dedicated forum for what? or of what to be more specific. i've been searching far and wide but no answer.
Title: [Solved] Creating Packages for Linux
Post by: Svenstaro on June 08, 2011, 10:17:55 pm
Quote from: "grandmasterhack"
Quote from: "Svenstaro"
Use proper CMake install paths and then just use CPack to create deb and rpm packages for you.


Cmake will automatically do it for you?


Yes, if you have proper install targets, it will. Read up on CPack.
Title: [Solved] Creating Packages for Linux
Post by: Laurent on June 08, 2011, 10:19:44 pm
Quote
dedicated forum for what?

Of Linux/packaging, probably :)
Title: [Solved] Linux .Deb packages
Post by: grandmasterhack on June 10, 2011, 01:37:50 pm
Quote from: "Laurent"

Of Linux/packaging, probably :)


I already found something for debian based users. look up http://sourceforge.net/projects/debreate/

searching this will help: http://www.google.com/search?sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8&q=gui+deb+package+creator

text based tutorials for .deb, .rpm, and .sh here: http://ftp://download1.swsoft.com/Plesk/Panel9.5/Doc/en-US/plesk-9.5-unix-mod-guide/index.htm?fileName=25839.htm