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

Author Topic: Redistributing modified SFML source code -License question  (Read 2499 times)

0 Members and 2 Guests are viewing this topic.

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
Redistributing modified SFML source code -License question
« on: December 02, 2010, 06:40:18 pm »
Hello Laurent,

I am in the process of writing a library, specifically for use with SFML. For that purpose, I need to include slightly modified parts of the SFML source.
One example of this is Input.cpp, where I have only changed a few lines.

However, I still want the changes to be copyrighted and licensed under the zlib license. This is only to ensure that it will always remain free for any purpose, and I don't actually care who owns the copyright.

So what should I put at the top of the file? Would the following be OK?
Code: [Select]
////////////////////////////////////////////////////////////
//
// SXGUI Input - Syncronized real-time input for SXGUI
//
// A slight variation on Input.cpp from SFML - Simple and Fast Multimedia Library,
// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// The modifications are Copyright (c) 2010 Rasmus F. Rasmussen
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented;
//    you must not claim that you wrote the original software.
//    If you use this software in a product, an acknowledgment
//    in the product documentation would be appreciated but is not required.
//
// 2. Altered source versions must be plainly marked as such,
//    and must not be misrepresented as being the original software.
//
// 3. This notice may not be removed or altered from any source distribution.
//
////////////////////////////////////////////////////////////

danman

  • Hero Member
  • *****
  • Posts: 1121
    • View Profile
    • Email
Redistributing modified SFML source code -License question
« Reply #1 on: December 02, 2010, 06:58:30 pm »
I think it's ok since you say that it's based on sfml ;) .

1. The origin of this software must not be misrepresented;
2. Altered source versions must be plainly marked as such,
   and must not be misrepresented as being the original software.

SFML has a zlib-png license, one of the most permissive license ;) .
Pointilleur professionnel

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Redistributing modified SFML source code -License question
« Reply #2 on: December 02, 2010, 07:11:59 pm »
I think it's ok too.
Laurent Gomila - SFML developer

 

anything