-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9adc2ab
Showing
12 changed files
with
612 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.gitignore export-ignore | ||
.gitattributes export-ignore | ||
debian export-ignore | ||
build-deb.sh export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tags | ||
cscope.* | ||
jltcdump | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
PREFIX ?= /usr/local | ||
bindir = $(PREFIX)/bin | ||
|
||
CFLAGS=`pkg-config --cflags ltcsmpte jack` -DVERSION=\"0.1.1\" -Wall | ||
LOADLIBES=`pkg-config --libs ltcsmpte jack` -lm | ||
|
||
all: jltcdump | ||
|
||
jltcdump: jltcdump.c | ||
|
||
jltcdump.1: jltcdump | ||
help2man -N -n 'JACK LTC dump' -o jltcdump.1 ./jltcdump | ||
|
||
clean: | ||
rm -f jltcdump | ||
|
||
install: jltcdump | ||
install -d $(DESTDIR)$(bindir) | ||
install -m755 jltcdump $(DESTDIR)$(bindir) | ||
|
||
uninstall: | ||
rm -f $(DESTDIR)$(bindir)/jltcdump | ||
-rmdir $(DESTDIR)$(bindir) | ||
|
||
.PHONY: all clean install uninstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
DEBRELEASE=$(head -n1 debian/changelog | cut -d ' ' -f 2 | sed 's/[()]*//g') | ||
|
||
TMPDIR=/tmp/jltcdump-${DEBRELEASE} | ||
rm -rf ${TMPDIR} | ||
|
||
GITBRANCH=${GITBRANCH:-master} | ||
|
||
echo "debian -export-ignore" >> .git/info/attributes | ||
|
||
git-buildpackage \ | ||
--git-upstream-branch=$GITBRANCH --git-debian-branch=$GITBRANCH \ | ||
--git-upstream-tree=branch \ | ||
--git-export-dir=${TMPDIR} --git-cleaner=/bin/true \ | ||
--git-force-create \ | ||
-rfakeroot $@ | ||
|
||
ERROR=$? | ||
|
||
ed -s .git/info/attributes > /dev/null << EOF | ||
/debian -export-ignore | ||
d | ||
wq | ||
EOF | ||
|
||
if test $ERROR != 0; then | ||
exit $ERROR | ||
fi | ||
|
||
lintian -i --pedantic ${TMPDIR}/jltcdump_${DEBRELEASE}_*.changes \ | ||
| tee /tmp/jltcdump.issues | ||
|
||
echo | ||
ls ${TMPDIR}/jltcdump_${DEBRELEASE}_*.changes | ||
echo | ||
echo dput rg42 ${TMPDIR}/jltcdump_${DEBRELEASE}_*.changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
jltcdump (0.1.1-1) unstable; urgency=low | ||
|
||
* Initial release | ||
|
||
-- Robin Gareus <robin@gareus.org> Tue, 07 Aug 2012 15:41:48 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Source: jltcdump | ||
Section: sound | ||
Priority: optional | ||
Maintainer: Robin Gareus <robin@gareus.org> | ||
Build-Depends: debhelper (>= 7.0.50~), | ||
libjack-dev | libjack-jackd2-dev, | ||
libltcsmpte-dev | ||
Homepage: http://ltcsmpte.sf.net/ | ||
Standards-Version: 3.9.2 | ||
|
||
Package: jltcdump | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: decode linear timecode from JACK live source | ||
ltcdump is a small tool to extract LTC encoded SMPTE timecode | ||
from a live audio input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: jltcdump | ||
Upstream-Contact: | ||
Robin Gareus <robin@gareus.org> | ||
Source: http://rg42.org/gitweb/?p=jltcdump.git;a=snapshot;h=HEAD | ||
|
||
Files: * | ||
Copyright: | ||
2006,2012 Robin Gareus <robin@gareus.org> | ||
License: GPL-2+ | ||
|
||
License: GPL-2+ | ||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this package; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
X-Comment: On Debian systems, the complete text of the GNU General | ||
Public License can be found in `/usr/share/common-licenses/GPL-2'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jltcdump.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/make -f | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_build: | ||
$(MAKE) LDFLAGS=-Wl,--as-needed | ||
|
||
override_dh_auto_install: | ||
$(MAKE) install DESTDIR=$(CURDIR)/debian/jltcdump PREFIX=/usr | ||
|
||
override_dh_auto_clean: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. | ||
.TH JLTCDUMP "1" "August 2012" "jltcdump version 0.1" "User Commands" | ||
.SH NAME | ||
jltcdump \- JACK LTC dump | ||
.SH SYNOPSIS | ||
.B jltcdump | ||
[ \fIOPTIONS \fR] [ \fIJACK-PORTS \fR] | ||
.SH DESCRIPTION | ||
jltcdump \- JACK app to parse linear time code. | ||
.SH OPTIONS | ||
.TP | ||
\fB\-h\fR, \fB\-\-help\fR | ||
display this help and exit | ||
.TP | ||
\fB\-V\fR, \fB\-\-version\fR | ||
output version information and exit | ||
.SH "REPORTING BUGS" | ||
Report bugs to Robin Gareus <robin@gareus.org> | ||
.SH COPYRIGHT | ||
Copyright \(co GPL 2006,2012 Robin Gareus <robin@gareus.org> |
Oops, something went wrong.