5

インストール時にコンパイルされるプログラムttf2pt1のソースコードを含むR用のパッケージを作成しました。プログラムはリンクされていません。私が書いたコードは、このプログラムを という関数で呼び出しますsystem2()。これは基本的に、コマンド ラインから呼び出すのと同じです。このプログラムのソース コード全体は独自のディレクトリにあり、私はまったく変更していません。

GPL のいくつかのバージョンでパッケージを配布したいと考えていますが、これが可能かどうかは不明です。そうでない場合は、別のフリー ソフトウェア ライセンスで問題ありません。

このプログラムには許可された LICENSE ファイルがありますが、基本的には以下を含める必要があります。

  • 特定の免責事項
  • 特定の著作権表示
  • 特定の謝辞

テキストは次のとおりです。

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.
3. All advertising materials mentioning features or use of this software
   must display the following acknowledgement:
     This product includes software developed by the TTF2PT1 Project
     and its contributors.

さらに、サブコンポーネントには次の通知があります。

Copyright (c) 1992 by I. Lee Hetherington, all rights reserved.
Permission is hereby granted to use, modify, and distribute this program
for any purpose provided this copyright notice and the one below remain
intact.

このライセンスはGPL と互換性があると思いますが、パッケージ全体のライセンスにどのような影響があるかはわかりません。

私の質問:

  1. パッケージ全体を GPL2 または GPL3 で配布できますか?
  2. その場合、ttf2pt1 プログラムには別のライセンスが必要ですか?
  3. パッケージ全体を GPL2/3 で配布できない場合、どのライセンスを使用できますか?
  4. LICENSE ファイルにはどのような情報を入力する必要がありますか?

編集:あるライセンスの下で私のコードを使用してパッケージをリリースし、別のライセンスの下で ttf2pt1 をリリースできる場合は、それにも満足しています。関連すると思われる以前の回答があります。

4

3 に答える 3

1

ttf2pt1 のソース コードを適切にラップできない理由がわかりません。そのソースを含め、ラッパー関数を記述し、R からそのラッパー関数を呼び出します。他の条件 (そのLICENSE ファイルなど pp)。

R 自体には、他のプロジェクトのコードが含まれています。R の (かなり大きな) ソースを調べて、それがどのように行われるかを確認できます。もちろん、多くの CRAN パッケージも同様ですので、適切な例を見つけることができると確信しています。

于 2012-06-05T13:21:14.607 に答える
0

これは私の質問に対する直接的な回答ではありませんが、hadley から非標準ライセンスで配布されている CRAN パッケージを見つけるためのコードが送られてきました。このコードを使用して、作業するいくつかの例を見つけました。

local <- file.path(tempdir(), "packages.rds")
 download.file("http://cran.R-project.org/web/packages/packages.rds", local,
   mode = "wb", quiet = TRUE)
 on.exit(unlink(local))
 cp <- readRDS(local)
 rownames(cp) <- unname(cp[, 1])
cp <- as.data.frame(cp, stringsAsFactors = F)
table(cp$License)
library(stringr)
subset(cp[c("Package", "License")], str_detect(License, "LICENSE"))
于 2012-06-08T17:49:57.143 に答える