The Powder Toy .deb?

  • Plasmoid
    11th Dec 2011 Member 1 Permalink
    I want to send in a version of my own to the Ubuntu Software Center.
  • MasterGeek
    11th Dec 2011 Member 0 Permalink
    That possibly may be in violation of the Powder Toy Licence.
  • kroq-gar78
    5th May 2012 Member 0 Permalink
    May I ask why? I've packaged a .deb file myself and it's in my PPA (for Ubuntu-related distros). Stable: https://launchpad.net/~kroq-gar78/+archive/ppa

    and daily (almost daily): https://launchpad.net/~kroq-gar78/+archive/powdertoy-unstable
  • Plasmoid
    5th May 2012 Member 0 Permalink
    How did you do it? (tutorial)
  • kroq-gar78
    5th May 2012 Member 1 Permalink
    I combined Christopher Korn's PlayDeb package and the package by Skresanov Savely and then updated the source and dependencies. Since then, I've made it build separate "make" targets for 32-bit and 64-bit.

    Also, I think this is better suited for the "General" forum ;)

    Now, If you're asking how to install it, run the following commands in a Terminal:

    sudo add-apt-repository ppa:kroq-gar78/ppa
    sudo apt-get update
    sudo apt-get install the-powder-toy
  • boxmein
    5th May 2012 Former Staff 0 Permalink
    The Powder Toy is under the GNU General Public License v32.0, see if you comply to it.
  • kroq-gar78
    5th May 2012 Member 0 Permalink
    TPT is under GPL2, not 3 (look in the LICENSE file under the git repo). I posted a thread asking why.

    But yes, it is under GPL :) so whatever you're trying to do with TPT (modding-wise and sending it to Software Center, etc.) should be within the license constraints. Also, I suggest putting your mod (or whatever) under the same GPL license.
  • jacksonmj
    5th May 2012 Developer 1 Permalink
    GPL2 or later, so you can use it under the terms of either GPL2 or GPL3. As long as the license is being followed, anyone can do whatever they want with Powder Toy, including packaging it.

    In this case, the source is available and the license is there, so I see no issues.


    If you are packaging it, you might want to look into setting filetype associations. This can be done in game by pressing Ctrl+I, but it's better to include it in the package install process if possible. The code that does this in game is in src/misc.c, register_extension().

    Also note that the person listed as maintainer on https://launchpad.net/tpt has been banned from here multiple times and isn't really involved with development. But we don't really have much use for the features offered by launchpad, so we haven't yet bothered trying to change the maintainer.
  • kroq-gar78
    6th May 2012 Member 0 Permalink
    Ah, thanks jacksonmj. I asked the owner of the Launchpad project if he can give me rights to upload to the branch. I'll look into filetype associations, too :) I'll also update the copyright stuff in the packaging, etc.

    Also, is it reccomended to use powder-sse3 or powder-sse2 for building?