Показать сообщение отдельно
Старый 10.03.2009, 01:55   #170
novorado
Старший Пользователь
 
Аватар для novorado
 
Регистрация: 11.10.2006
Город: ЗАО Москва
Регион: 77, 97, 99, 177
Машина: Ford Focus Mk3.5
Сообщений: 365
novorado is on a distinguished road
По умолчанию

Цитата:
Сообщение от a__l Посмотреть сообщение
2 novorado,
а в этом setup исходники есть?
В setup есть только возможность проверки работоспособности программы, и в частности камеры. Нужно указать аргумент, который в формате MRL дает описание источника видео. file://<name>, или v4l2:// на Линуксе, или dshow://
для DirectShow на Windows. dshow:// достаточно как правило, и он стоит автоматом по ссылке запуска.

Исходный код распространяется для интеграторов в той степени, в которой это нужно для интеграции.

Для библиотек на лицензии GPL или LGPL, в частности читаем:
http://www.gnu.org/licenses/gpl-faq.html
Linking [name of your program] statically or dynamically with other modules is making a combined work based on [name of your program]. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

Именно потому, мы не линкуемся с GPL библиотеками. Загрузка идет через Tcl, который позволяет вызывать любые библиотеки без линковки. Так как связь там осушестляется через libstdc++ (см. "runtime exception"), для которого есть исключение в GPL,то мы не обязаны открывать полностью весь код
http://www.cs.huji.ac.il/~etsman/Doc...o/license.html
As a special exception, you may use this file as part of a free software
library without restriction. Specifically, if other files instantiate
templates or use macros or inline functions from this file, or you compile
this file and link it with other files to produce an executable, this
file does not by itself cause the resulting executable to be covered by
the GNU General Public License. This exception does not however
invalidate any other reasons why the executable file might be covered by
the GNU General Public License.


Чуть подробнее, так как Binding делается посредством libstdc++, и мы не линкуемся, а загружаем библиотеки, то и код может быть закрытым.

Tcl лицензия говорит:
Tcl/Tk License Terms
The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply.


Для всех GPL библиотек, в которых мы пофиксали баги, мы конечно же выложим исправленный исходный код и лицензию. То есть, максимальная законопослушность, не смотря на то, что в российском законодательстве не отражена необходимость следовать GPL
novorado вне форума   Ответить с цитированием