Recent

Author Topic: License for porting library  (Read 2185 times)

dseligo

  • Hero Member
  • *****
  • Posts: 580
License for porting library
« 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

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, ...?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4096
  • I like bugs.
Re: License for porting library
« Reply #1 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.
« Last Edit: January 16, 2022, 08:55:48 am by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 11517
Re: License for porting library
« Reply #2 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