[SCM] libgroove/master: simplify copyright file
andrewrk-guest at users.alioth.debian.org
andrewrk-guest at users.alioth.debian.org
Sun Sep 28 23:19:04 UTC 2014
The following commit has been merged in the master branch:
commit d244e23e8ab370948952cfdb0cb969aaea59646c
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Sun Sep 28 23:08:45 2014 +0000
simplify copyright file
diff --git a/debian/copyright b/debian/copyright
index 2eaa6d8..47b4d0c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,11 +1,6 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libgroove
Source: https://github.com/andrewrk/libgroove
-Comment: The orig tarball is repacked because upstream contains a deps/
- directory which bundles heavy dependencies including libav and SDL2. On
- Debian systems we always link against system libraries so we avoid these
- bundled dependencies altogether and end up with an orig tarball which is
- less than 1% of the size it would otherwise be.
Files: *
Copyright: 2014 Andrew Kelley <superjoe30 at gmail.com>
@@ -31,55 +26,6 @@ License: GPL-3+
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.
-Files: cmake/FindLibAV.cmake
-Copyright: 2013 Sergiu Dotenco
-License: Expat
-
-Files: cmake/FindChromaprint.cmake
-Copyright: 2010 Lukáš Lalinský <lalinsky at gmail.com>
-License: GPL-2
- This program 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 program 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 program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-Files: cmake/FindSDL2.cmake
-Copyright: 2003-2009 Kitware, Inc
-License: BSD-2-clause
- 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.
- .
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/debian/rules b/debian/rules
index 2314ecc..b9a0f73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,38 +1,11 @@
#!/usr/bin/make -f
# -*- makefile -*-
-PKD = $(abspath $(dir $(MAKEFILE_LIST)))
-PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-DTYPE = +dfsg
-VER ?= $(subst $(DTYPE),,$(UVER))
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
%:
dh $@
-.PHONY: override_dh_strip
override_dh_strip:
dh_strip --dbg-package=libgroove-dbg
-
-.PHONY: get-orig-source
-get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.gz $(info I: $(PKG)_$(VER)$(DTYPE))
- @
-
-$(PKG)_$(VER)$(DTYPE).orig.tar.gz:
- @echo "# Downloading..."
- uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
- $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
- @echo "# Extracting..."
- mkdir $(PKG)-$(VER) \
- && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \
- || $(RM) -r $(PKG)-$(VER)
- @echo "# Cleaning-up..."
- cd $(PKG)-$(VER) \
- && $(RM) -rfv deps \
- cmake/Findmp3lame.cmake \
- cmake/FindYasm.cmake
- $(RM) -v $(PKG)_$(VER).orig.tar.*
- @echo "# Packing..."
- find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
- | tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.gz" -T- --owner=root --group=root --mode=a+rX \
- && $(RM) -r "$(PKG)-$(VER)"
--
libgroove packaging
More information about the pkg-multimedia-commits
mailing list