tstools: GitHub migration
PATCH 1/1 tstools: GitHub migration
tstools has migrated to GitHub, so let's use this opportuninty to rework this package as well.
- Change site to GitHub.
- No releases of tags yet, so let's use the latest commit ID from the master branch as a version.
- There is currently no license attributed to tstools, so state that in the tstools.mk file and add empty license variables. This issue is being tracked upstream: https://github.com/kynesim/tstools/issues/32
- Wrap the help text in the Config.in to 72 characters, and also change the project URL to the GitHub one.
- Add a hash file.
- Rename the patch to use a four digit numbering (001 -> 0001).
---
...h => 0001-build-get-along-with-buildroot.patch} | 0
package/tstools/Config.in | 19 +++++++++----------
package/tstools/tstools.hash | 2 ++
package/tstools/tstools.mk | 11 +++++++----
4 files changed, 18 insertions(+), 14 deletions(-)
rename package/tstools/{001-build-get-along-with-buildroot.patch => 0001-build-get-along-with-buildroot.patch} (100%)
create mode 100644 package/tstools/tstools.hashpackage/tstools/0001-build-get-along-with-buildroot.patch renamed from package/tstools/001-build-get-along-with-buildroot.patch +0 -0
package/tstools/Config.in +9 -10
@@ -2,16 +2,15 @@ config BR2_PACKAGE_TSTOOLS bool "tstools" depends on BR2_USE_MMU # fork() help - This is a set of cross-platform command line tools for - working with MPEG data + This is a set of cross-platform command line tools for working with + MPEG data. - The emphasis is on relatively simple tools which concentrate - on MPEG (H.264 and H.262) data packaged according to H.222 - (i.e., TS or PS), with a particular interest in checking for - conformance. + The emphasis is on relatively simple tools which concentrate on MPEG + (H.264 and H.262) data packaged according to H.222 (i.e., TS or PS), + with a particular interest in checking for conformance. - Transport Stream (TS) is typically used for distribution of - cable and satellite data. Program Stream (PS) is typically - used to store data on DVDs. + Transport Stream (TS) is typically used for distribution of cable + and satellite data. Program Stream (PS) is typically used to store + data on DVDs. - https://code.google.com/p/tstools/ + https://github.com/kynesim/tstools/
package/tstools/tstools.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 3d2b2375e2874933f9aa59d4f25bb6b334747219eb0d7a076974e61222d59bf6 tstools-08f6be304040e7b84760ac3920bcff4a563b6cd2.tar.gz
package/tstools/tstools.mk +7 -4
@@ -4,10 +4,13 @@ # ################################################################################ -TSTOOLS_VERSION = 1_11 -TSTOOLS_SITE = https://tstools.googlecode.com/files -TSTOOLS_SOURCE = tstools-$(TSTOOLS_VERSION).tgz -TSTOOLS_LICENSE = MPL v1.1 +# No releases or tags yet. Use the latest commit ID from master branch. +TSTOOLS_VERSION = 08f6be304040e7b84760ac3920bcff4a563b6cd2 +TSTOOLS_SITE = $(call github,kynesim,tstools,$(TSTOOLS_VERSION)) +# tstools doesn't have any license so far. See: +# https://github.com/kynesim/tstools/issues/32 +TSTOOLS_LICENSE = +TSTOOLS_LICENSE_FILES = define TSTOOLS_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) LD="$(TARGET_CC)" $(TARGET_MAKE_ENV) \
Signature · 1 line
1.7.1
PATCH 1/1 tstools: GitHub migration
Quoted 24 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vicente" == Vicente Olivert Riera <[email protected]> writes:
tstools has migrated to GitHub, so let's use this opportuninty to rework this package as well.
- Change site to GitHub.
- No releases of tags yet, so let's use the latest commit ID from the master branch as a version.
- There is currently no license attributed to tstools, so state that in the tstools.mk file and add empty license variables. This issue is being tracked upstream: https://github.com/kynesim/tstools/issues/32
- Wrap the help text in the Config.in to 72 characters, and also change the project URL to the GitHub one.
- Add a hash file.
- Rename the patch to use a four digit numbering (001 -> 0001).Signed-off-by Vicente Olivert Riera <[email protected]>+++
b/package/tstools/tstools.mkpackage/tstools/tstools.mk +0
-1@@ -4,10 +4,13 @@ # ################################################################################ -TSTOOLS_VERSION = 1_11
package/tstools/tstools.mk line 13
Quoted 10 lines
package/tstools/tstools.mk +7
-3-TSTOOLS_SITE = https://tstools.googlecode.com/files -TSTOOLS_SOURCE = tstools-$(TSTOOLS_VERSION).tgz -TSTOOLS_LICENSE = MPL v1.1 +# No releases or tags yet. Use the latest commit ID from master branch. +TSTOOLS_VERSION = 08f6be304040e7b84760ac3920bcff4a563b6cd2 +TSTOOLS_SITE = $(call github,kynesim,tstools,$(TSTOOLS_VERSION)) +# tstools doesn't have any license so far. See: +# https://github.com/kynesim/tstools/issues/32 +TSTOOLS_LICENSE = +TSTOOLS_LICENSE_FILES =
While it is correct that the upstream repo doesn't include a copy of the license file, plenty (all?) source files clearly list that they are under the MPL v1.1 license:
grep -rls 'MPL v1.1'tsplay_fns.hipv4.hpcap.hpsdots.cipv4.cts_fns.hreverse.ccompat.hm2ts2ts.cavs_fns.hfmtx.cpes_fns.hfmtx.hts2es.cnalunit.ctswrite_defns.hpython/Setup.py
python/Makefile
python/tstools/cwrapper.pxd
python/tstools/tstools.pyxpython/tstools/__init__.py
python/tstools/common.pxdnalunit_fns.hes_defns.hbitdata.cethernet.creverse_defns.hadts.caccessunit_fns.htest_printing.cts.cadts_defns.hesreverse.cesdots.csockread.pyesreport.ctest_pes.ctsplay.cps2ts.cstream_type.cfilter_fns.h
Makefile.w32bitdata_fns.hmisc_defns.hprinting.cpidint_fns.hrtp2264.cavs_defns.hts_defns.hes_fns.hbitdata_defns.hethernet.hps_fns.hps.caccessunit.caudio.cmisc_fns.hh222_defns.htest_es_unit_list.cpes_defns.hsocktest.pyMakefilepes.c
yuv2/src/com/aminocom/yuv2/MainFrame.java
yuv2/src/com/aminocom/yuv2/Prefs.java
yuv2/src/com/aminocom/yuv2/AboutBox.java
yuv2/src/com/aminocom/yuv2/YUV2.java
yuv2/src/com/aminocom/yuv2/FormatDialog.java
yuv2/src/com/aminocom/yuv2/Utils.java
yuv2/src/com/aminocom/yuv2/BufferedImage.java
yuv2/src/com/aminocom/yuv2/LogWindow.java
yuv2/src/com/aminocom/yuv2/ImageCanvas.javatsserve.cdocs/ac3.txtdocs/adts.txtdocs/get_next_access_unit.pydocs/todo.txtdocs/build_html.pydocs/library.txtdocs/index.txtdocs/tools.txt
docs/get_next_access_unit.py.htmlh222.ch262_fns.htsreport.cnalunit_defns.htswrite_fns.haudio_defns.htsinfo.cps_defns.hprinting_defns.hpidint.caudio_fns.htsfilter.cfilter_defns.hpsreport.cversion.hpcap.cac3.cpcapreport.cts_packet_insert.creverse_fns.hac3_fns.havs.ch262.cts2ps.ctsplay_innards.cl2audio_fns.hadts_fns.hes2ts.cvideo_defns.hh262_defns.hmisc.cesfilter.caccessunit_defns.hh222_fns.hesmerge.cpidint_defns.htsdvbsub.cfilter.ctsplay_defns.hes.cprinting_fns.htest_nal_unit_list.ctswrite.cl2audio.c
So I've kept the license as MPLv1.1 and adjusted the comment to make it clear that it is just the license file we are missing.
Committed with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 tstools: GitHub migration
On 10/20/2015 03:32 PM, Peter Korsgaard wrote:
[snip]
Quoted 12 lines
package/tstools/tstools.mk line 13
Quoted 4 lines
package/tstools/tstools.mk +4
-0+# tstools doesn't have any license so far. See: +# https://github.com/kynesim/tstools/issues/32 +TSTOOLS_LICENSE = +TSTOOLS_LICENSE_FILES =While it is correct that the upstream repo doesn't include a copy of the license file, plenty (all?) source files clearly list that they are under the MPL v1.1 license:
grep -rls 'MPL v1.1'
tsplay_fns.hipv4.h
...
[snip]
Quoted 2 lines
So I've kept the license as MPLv1.1 and adjusted the comment to make it clear that it is just the license file we are missing.
Ooops, I see. Thanks Peter!
Quoted 2 lines
Committed with that fixed, thanks.