Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Какие из архиваторов вы не используете? 

Какие из архиваторов вы не используете?
ARJ
20%
 20%  [ 13 ]
LHA
9%
 9%  [ 6 ]
RAR
18%
 18%  [ 12 ]
UC2
46%
 46%  [ 30 ]
ACE
6%
 6%  [ 4 ]
Total Votes : 65

Author Message
flm



PostPosted: Sun May 22, 2011 00:13    Post subject: Reply with quote

Avada wrote:
Гислер несколько раз говорил о неприемлемости лицензии и о рекомендации пользоваться плагинами.

Не помню такого... В любом случае, свою лицензию можно поменять. Или распространять разные компоненты своего продукта под разными лицензиями. Это не проблема.

Avada wrote:
С фактическим включением этой библиотеки в дистрибутив TC или без него? Если последнее, это значит, что по умолчанию поддержки 7Zip не будет и TC понадобится дооснащать дополнительно. Что не сильно отличается от поддержки через плагины.

А то, что народ в основном хочет хоть какой-то вариант нативной поддержки — это понятно. (Встраивание в код, кстати, тоже предлагали.) Вот некоторые темы на оффоруме: раз, два. Там и ты в своё время высказывался...

Высказывался. И ссылку давал на faq 7zip'овский. Он отвечает на вопроосы.

www.7-zip.org/faq.html wrote:
Can I use the EXE or DLL files from 7-Zip in a Commercial Application?

Yes, but you are required to specify in your documentation (1) that you used parts of the 7-Zip program, (2) that 7-Zip is licensed under the GNU LGPL license and (3) you must give a link to www.7-zip.org, where the source code can be found.
How can I add support for 7z archives to my application?

One way is to use the 7z.dll or 7za.dll (available from sf.net for download). The 7za.dll works via COM interfaces. It, however, doesn't use standard COM interfaces for creating objects. You can find a small example in "CPP\7zip\UI\Client7z" folder in the source code. A full example is 7-Zip itself, since 7-Zip works via this dll also. There are other applications that use 7za.dll such as WinRAR, PowerArchiver and others.

The other way is to call the command line version: 7za.exe.
Can I use the source code of 7-Zip in a commercial application?

Since 7-Zip is licensed under the GNU LGPL you must follow the rules of that license. In brief, it means that any LGPL'ed code must remain licensed under the LGPL. For instance, you can change the code from 7-Zip or write a wrapper for some code from 7-Zip and compile it into a DLL; but, the source code of that DLL (including your modifications / additions / wrapper) must be licensed under the LGPL or GPL. Any other code in your application can be licensed as you wish. This scheme allows users and developers to change LGPL'ed code and recompile that DLL. That is the idea of free software. Read more here: http://www.gnu.org/. You can also read about the LZMA SDK, which is available under a more liberal license.


Многие разработчики проприетарных софтин используют в своих разработках open-source компоненты, в т.ч. модифицированные, в т.ч. распространяющиеся по лиценцзии lgpl. Для примера можно посмотреть opera:about (в браузере Опера).
_________________
cogito ergo sum
http://www.yakimchuk.ru/questions.htm - Как правильно задавать вопросы
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group