Skip to content
Commits on Source (11)
.debhelper
*.log
*.substvars
debhelper-build-stamp
files
tmp
unarr-dev
unarr1
The unarr project does not have any git tags defined at the time
of writing. As a result, uscan cannot download unarr sources.
As a walk-around, this package implements the traditional target
get-orig-source to create the source orig tarball. Besides
downloading, the target also handles upstream's DOS line endings.
The target is usually invoked as 'fakeroot debian/rules get-orig-source'.
unarr (20150801.d1be8c43-1) unstable; urgency=medium
unarr (0~20150801.d1be8c43-1) unstable; urgency=medium
* Initial release (Closes: #123456)
* Initial release (Closes: #907070)
-- Alec Leamas <leamas.alec@gmail.com> Wed, 22 Aug 2018 09:27:31 -0400
-- Alec Leamas <leamas.alec@gmail.com> Sun, 02 Sep 2018 00:44:03 -0400
Source: unarr
Maintainer: Debian GIS group <debian-gis@lists.debian.org>
Uploaders: Alec Leamas <leamas.alec@googlemail.com>
Section: misc
Priority: optional
Maintainer: Alec Leamas <leamas.alec@gmail.com>
Build-Depends: debhelper (>= 11),
zlib1g-dev,
libbz2-dev
Standards-Version: 4.1.3
Section: libs
cmake,
libbz2-dev,
zlib1g-dev
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/debian-gis-team/unarr§
Vcs-Git: https://salsa.debian.org/debian-gis-team/unarr.git
Homepage: https://github.com/zeniko/unarr
Vcs-Browser: https://github.com/zeniko/unarr
Vcs-Git: https://github.com/zeniko/unarr.git
Package: unarr-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: unarr1 (= ${binary:Version}), ${misc:Depends}
Description: Decompression library for RAR, TAR, ZIP and 7z archives
Section: libdevel
Depends: unarr1 (= ${binary:Version}),
${misc:Depends}
Description: Decompression library for RAR, TAR, ZIP and 7z archives (runtime)
Development tools: headers and unversioned libraries
.
See unarr1 for more info.
......@@ -23,8 +26,9 @@ Description: Decompression library for RAR, TAR, ZIP and 7z archives
Package: unarr1
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Decompression library for RAR, TAR, ZIP and 7z archives
Depends: ${shlibs:Depends},
${misc:Depends}
Description: Decompression library for RAR, TAR, ZIP and 7z archives (dev)
unarr originated as a port of the RAR extraction features from
The Unarchiver project required for extracting images from comic
book archives (.cbr). It was written as an alternative to
......
......@@ -29,14 +29,13 @@ Copyright:Simon Bünzli (zeniko at gmail.com, http://www.zeniko.ch/#SumatraPDF)
License: LGPL-3
Files: debian/*
Copyright: 2018 Alec Leamas <leamas@nowhere.net>
License: LGPL-3
Copyright: 2018 Alec Leamas <leamas.alec@gmail.com>
License: GPL-2+
License: LGPL-3
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
it under the terms of the GNU Lesser General Public License version
3 as published by the Free Software Foundation
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
......@@ -45,6 +44,15 @@ License: LGPL-3
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
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
.
On Debian systems, the complete text of the GNU Lesser General Public License
version 3 can be found in "/usr/share/common-licenses/LGPL-3".
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'.
Otherwise, refer to the online version at GNU website
`https://gnu.org/licenses/old-licenses/gpl-1.0.txt`.
debian/README.source
From 63c1431a7f89229bf6586ba5954ac45ef2813720 Mon Sep 17 00:00:00 2001
From: Alec Leamas <leamas.alec@nowhere.net>
Date: Wed, 22 Aug 2018 09:20:23 -0400
Subject: [PATCH 1/2] Add a gitignore
Date: Sun, 2 Sep 2018 06:20:25 -0400
Subject: Build: Add a .gitignore.
---
.gitignore | 5 +++++
......@@ -10,15 +9,12 @@ Subject: [PATCH 1/2] Add a gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f8501d8
index 0000000..f505019
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.o
+*.so
+build
+*substvars
+obj-*
+
--
2.18.0
From 2ed5ae953a63d9e8ee0981335b456933ea324565 Mon Sep 17 00:00:00 2001
From: Alec Leamas <leamas.alec@nowhere.net>
Date: Wed, 22 Aug 2018 09:22:01 -0400
Subject: [PATCH 2/2] build: Add Cmake files from
https://github.com/selmf/unarr.
Subject: build: Add Cmake files from https://github.com/selmf/unarr.
Origin: https://github.com/selmf/unarr
Add a CMakelists.txt and pkg-config .pc file from said upstream, a more
elaborated version of the original sources. Submitted to upstream as
https://github.com/zeniko/unarr/issues/9.
---
CMakeLists.txt | 178 ++++++++++++++++++++++++++++++++++++++++++++
pkg-config.pc.cmake | 11 +++
CMakeLists.txt | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++
pkg-config.pc.cmake | 11 ++++
2 files changed, 189 insertions(+)
create mode 100644 CMakeLists.txt
create mode 100644 pkg-config.pc.cmake
......@@ -212,6 +216,3 @@ index 0000000..ada86f1
+Requires.private: @PROJECT_REQUIRES_PRIVATE@
+Libs: -L${libdir} -l@PROJECT_NAME@
+Libs.private: @PROJECT_LIBS_PRIVATE@
--
2.18.0
From: Alec Leamas <leamas.alec@nowhere.net>
Date: Sun, 2 Sep 2018 10:40:02 -0400
Subject: Build: fix as-needed madness.
---
For gcc, the --as-needed linker flags must come after object files, before
the libraries. If given as first flag, the library is linked as an
application. If given after the libraries, it's useless.
A proper patch to the cmake build system seems really hard. For now,
disabling as-needed completely leading to some useless runtime linkage.
CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f4babfe..f76b642 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,9 +150,9 @@ if(UNIX OR MINGW OR MSYS)
elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
set_target_properties(unarr PROPERTIES LINK_FLAGS
"-Wl,-undefined,error -flto")
- else()
- set_target_properties(unarr PROPERTIES LINK_FLAGS
- "-Wl,--no-undefined -Wl,--as-needed")
+# else()
+# set_target_properties(unarr PROPERTIES LINK_FLAGS
+# "-Wl,--no-undefined -Wl,--as-needed")
endif()
endif()
0001-Add-a-gitignore.patch
0001-Build-Add-a-.gitignore.patch
0002-build-Add-Cmake-files-from-https-github.com-selmf-un.patch
0003-Build-fix-as-needed-madness.patch
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
dh $@ --buildsystem cmake --parallel
override_dh_auto_clean:
dh_clean
rm -rf build
override_dh_auto_configure:
test -d build || mkdir build
cd build; cmake \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
..
rm -rf obj-*
override_dh_auto_install:
cd build; DESTDIR=../debian/tmp make install
override_dh_auto_test:
echo "No tests available."
# Walk around what looks like a tar bug, see
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831870
# While we are on it, fix upstream dos line endings.
VERSION = $(shell dpkg-parsechangelog --show-field=Version)
VERSION := $(word 1, $(subst -, ,$(VERSION)))
VERSION = $(DEB_VERSION_UPSTREAM)
COMMIT = $(word 2, $(subst ., , $(VERSION)))
get-orig-source:
......