Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Solved] Creating Packages for Linux  (Read 3373 times)

0 Members and 1 Guest are viewing this topic.

grandmasterhack

  • Newbie
  • *
  • Posts: 14
    • View Profile
[Solved] Creating Packages for Linux
« 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?
"In Miyamoto We Trust"

grandmasterhack

  • Newbie
  • *
  • Posts: 14
    • View Profile
[Solved] Creating Packages for Linux
« Reply #1 on: June 08, 2011, 01:17:55 pm »
it would be nice to say if you didnt know either...
"In Miyamoto We Trust"

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[Solved] Creating Packages for Linux
« Reply #2 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.
Laurent Gomila - SFML developer

Svenstaro

  • Full Member
  • ***
  • Posts: 222
    • View Profile
[Solved] Creating Packages for Linux
« Reply #3 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.

grandmasterhack

  • Newbie
  • *
  • Posts: 14
    • View Profile
[Solved] Creating Packages for Linux
« Reply #4 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?
"In Miyamoto We Trust"

grandmasterhack

  • Newbie
  • *
  • Posts: 14
    • View Profile
[Solved] Creating Packages for Linux
« Reply #5 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.
"In Miyamoto We Trust"

Svenstaro

  • Full Member
  • ***
  • Posts: 222
    • View Profile
[Solved] Creating Packages for Linux
« Reply #6 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
[Solved] Creating Packages for Linux
« Reply #7 on: June 08, 2011, 10:19:44 pm »
Quote
dedicated forum for what?

Of Linux/packaging, probably :)
Laurent Gomila - SFML developer

grandmasterhack

  • Newbie
  • *
  • Posts: 14
    • View Profile
[Solved] Linux .Deb packages
« Reply #8 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
"In Miyamoto We Trust"

 

anything