Lazarus

Miscellaneous => Other => Topic started by: dseligo on January 16, 2022, 07:48:04 am

Title: License for porting library
Post by: dseligo on January 16, 2022, 07:48:04 am
I'd like to port some libraries made for Arduino to FPC.

I would start with this one first: https://github.com/0xPIT/encoder (https://github.com/0xPIT/encoder)

It has following information in header (I removed personal information):
Code: Text  [Select][+][-]
  1. // Rotary Encoder Driver with Acceleration
  2. // Supports Click, DoubleClick, Long Click
  3. //
  4. // (c) 2010 ....@.......com
  5. // (c) 2014 ....@.......com
  6. //
  7. // Timer-based rotary encoder logic by P.... D........
  8. // http://www.mikrocontroller.net/articles/Drehgeber

I don't have experience with this, what should I do? Contact one of contributors for permission, fork it, ...?
Title: Re: License for porting library
Post by: JuhaManninen on January 16, 2022, 08:54:01 am
See the LICENSING.txt in their Github page. It allows you to copy freely.

// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
//  1. Redistributions of source code must retain the above copyright
//     notice, this list of conditions and the following disclaimer.
//  2. Redistributions in binary form must reproduce the above copyright
//     notice, this list of conditions and the following disclaimer in the
//     documentation and/or other materials provided with the distribution.
Title: Re: License for porting library
Post by: Thaddy on January 16, 2022, 02:27:47 pm
With the provision that the license is included in the distribution, that is.
Binary and source.
TinyPortal © 2005-2018