--- /dev/null
--- /dev/null
++libappimage (0.1.9+dfsg-1) unstable; urgency=medium
++
++ * Add a better description. (Closes: #921072)
++ * New upstream releaase.
++ * Refresh symbols file.
++ * Add --as-needed linker to avoid useless dependencies.
++ * Add upstream patch to rid of build-path in binary, thus
++ getting rid of lintian error.
++ * Release to unstable.
++
++ -- Scarlett Moore <sgmoore@kde.org> Sun, 10 Feb 2019 06:08:27 -0700
++
++libappimage (0.1.8+dfsg-1) unstable; urgency=medium
++
++ * Initial release. (Closes: #912287)
++
++ -- Scarlett Moore <sgmoore@kde.org> Fri, 11 Jan 2019 10:28:31 -0700
--- /dev/null
--- /dev/null
++12
--- /dev/null
--- /dev/null
++Source: libappimage
++Priority: optional
++Maintainer: Scarlett Moore <sgmoore@kde.org>
++Build-Depends: cmake,
++ debhelper (>= 12),
++ desktop-file-utils,
++ libarchive-dev,
++ libcairo2-dev,
++ libglib2.0-dev,
++ libgtest-dev,
++ liblzma-dev,
++ libsquashfuse-dev,
++ xxd,
++Standards-Version: 4.3.0
++Section: libs
++Homepage: https://github.com/AppImage/libappimage
++Vcs-Browser: https://salsa.debian.org/sgclark-guest/libappimage
++Vcs-Git: https://salsa.debian.org/sgclark-guest/libappimage.git
++
++Package: libappimage-dev
++Section: libdevel
++Architecture: any
++Multi-Arch: same
++Depends: libappimage0 (= ${binary:Version}), ${misc:Depends}
++Description: Development files for libappimage
++ Core library of the AppImage project. Reference implementation
++ of the AppImage specification. https://appimage.org
++ .
++ AppImage provides a way for upstream developers to provide
++ “native” binaries for Linux users just the same way they could
++ do for other operating systems. It allow packaging applications
++ for any common Linux based operating system, e.g., Ubuntu,
++ Debian, openSUSE, RHEL, CentOS, Fedora etc. AppImages
++ come with all dependencies that cannot be assumed to be part
++ of each target system in a recent enough version and will run
++ on most Linux distributions without further modifications.
++ .
++ AppImage is the format, and AppImageKit provides a
++ reference implementation.
++ .
++ This package contains the development files for libappimage.
++
++Package: libappimage0
++Architecture: any
++Multi-Arch: same
++Depends: ${misc:Depends}, ${shlibs:Depends}
++Description: Core library for appimage
++ Core library of the AppImage project. Reference implementation
++ of the AppImage specification. https://appimage.org
++ .
++ AppImage provides a way for upstream developers to provide
++ “native” binaries for Linux users just the same way they could
++ do for other operating systems. It allow packaging applications
++ for any common Linux based operating system, e.g., Ubuntu,
++ Debian, openSUSE, RHEL, CentOS, Fedora etc. AppImages
++ come with all dependencies that cannot be assumed to be part
++ of each target system in a recent enough version and will run
++ on most Linux distributions without further modifications.
++ .
++ AppImage is the format, and AppImageKit provides a
++ reference implementation.
++ .
++ This library is used by some tools used to ease the installation
++ and usage of appimages.
++ .
++ This package contains the library for libappimage.
--- /dev/null
--- /dev/null
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: libappimage
++Source: https://github.com/AppImage/libappimage
++Files-Excluded:
++ lib/gtest
++Comment: Git submodule.
++
++Files: *
++Copyright: 2004-19 Simon Peter and the AppImage team
++License: MIT
++
++Files: debian/*
++Copyright: 2018-2019 Scarlett Moore <sgclark@kde.org>
++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 program. If not, see <https://www.gnu.org/licenses/>
++ .
++ On Debian systems, the complete text of the GNU General
++ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
++
++Files: src/libappimage_hashlib/*
++Copyright: Alexander Peslyak
++ 2013 waterjuice.org
++License: public-domain
++ This is free and unencumbered software released into the public domain.
++
++Files: src/libappimage_shared/*
++Copyright: 2017, Linus Torvalds
++ 2017, @teras (https:github.com/teras)
++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.
++ .
++ 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 St, Fifth Floor, Boston, MA 02110-1301 USA
++ .
++ On Debian systems, the complete text of the GNU General
++ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
++
++License: MIT
++ MIT License
++ .
++ If not stated otherwise within the individual file or subdirectory, the
++ original source code in this repository is licensed as below. This does not
++ necessarily apply for all dependencies. For the sake of clarity, this license
++ does NOT apply to the contents of AppImages that anyone may create.
++ Software contained inside an AppImage may be licensed under any license at the
++ discretion of the respecive rights holder(s).
++ .
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to deal
++ in the Software without restriction, including without limitation the rights
++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++ copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in all
++ copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
++ SOFTWARE.
--- /dev/null
--- /dev/null
++usr/include/*
++usr/lib/*/*.a
++usr/lib/*/cmake/libappimage/
++usr/lib/*/lib*.so
--- /dev/null
--- /dev/null
++usr/lib/*/lib*.so.*
--- /dev/null
--- /dev/null
++libappimage.so.0 libappimage0 #MINVER#
++* Build-Depends-Package: libappimage-dev
++ appimage_create_thumbnail@Base 0.1.6
++ appimage_extract_file_following_symlinks@Base 0.1.6
++ appimage_get_elf_section_offset_and_length@Base 0.1.6
++ appimage_get_elf_size@Base 0.1.6
++ appimage_get_md5@Base 0.1.6
++ appimage_get_type@Base 0.1.6
++ appimage_is_registered_in_system@Base 0.1.6
++ appimage_is_terminal_app@Base 0.1.6
++ appimage_list_files@Base 0.1.6
++ appimage_print_binary@Base 0.1.6
++ appimage_print_hex@Base 0.1.6
++ appimage_read_file_into_buffer_following_symlinks@Base 0.1.6
++ appimage_register_in_system@Base 0.1.6
++ appimage_registered_desktop_file_path@Base 0.1.6
++ appimage_shall_not_be_integrated@Base 0.1.6
++ appimage_string_list_free@Base 0.1.6
++ appimage_type1_close@Base 0.1.6
++ appimage_type1_get_desktop_filename_and_key_file@Base 0.1.6
++ appimage_type1_is_terminal_app@Base 0.1.6
++ appimage_type1_open@Base 0.1.6
++ appimage_type1_register_in_system@Base 0.1.6
++ appimage_type1_shall_not_be_integrated@Base 0.1.6
++ appimage_type2_close@Base 0.1.6
++ appimage_type2_extract_file_following_symlinks@Base 0.1.6
++ appimage_type2_extract_regular_file@Base 0.1.6
++ appimage_type2_get_desktop_filename_and_key_file@Base 0.1.6
++ appimage_type2_is_terminal_app@Base 0.1.6
++ appimage_type2_open@Base 0.1.6
++ appimage_type2_register_in_system@Base 0.1.6
++ appimage_type2_resolve_symlink@Base 0.1.6
++ appimage_type2_shall_not_be_integrated@Base 0.1.6
++ appimage_type_1_create_handler@Base 0.1.6
++ appimage_type_2_create_handler@Base 0.1.6
++ appimage_unregister_in_system@Base 0.1.6
++ build_installed_desktop_file_path@Base 0.1.6
++ create_appimage_handler@Base 0.1.6
++ create_parent_dir@Base 0.1.6
++ delete_thumbnail@Base 0.1.6
++ desktop_integration_create_tempdir@Base 0.1.6
++ desktop_integration_extract_relevant_files@Base 0.1.6
++ desktop_integration_modify_desktop_file@Base 0.1.6
++ desktop_integration_move_files_to_user_data_dir@Base 0.1.6
++ desktop_integration_remove_tempdir@Base 0.1.6
++ dummy_extract_file@Base 0.1.6
++ dummy_get_file_name@Base 0.1.6
++ dummy_traverse_func@Base 0.1.6
++ extract_appimage_file_command@Base 0.1.6
++ extract_appimage_file_name@Base 0.1.6
++ extract_appimage_icon@Base 0.1.6
++ extract_appimage_icon_command@Base 0.1.6
++ extract_icon_path_prefix@Base 0.1.6
++ find_app_icons@Base 0.1.6
++ find_desktop_file@Base 0.1.6
++ g_key_file_load_from_squash@Base 0.1.6
++ get_thumbnail_path@Base 0.1.6
++ is_handler_valid@Base 0.1.6
++ is_iso_9660_file@Base 0.1.6
++ load_desktop_file@Base 0.1.6
++ match_type_1_magic_bytes@Base 0.1.6
++ mk_base_dir@Base 0.1.6
++ move_app_icons@Base 0.1.6
++ move_desktop_file@Base 0.1.6
++ move_diricon_as_app_icon@Base 0.1.6
++ move_file@Base 0.1.6
++ move_icon_file@Base 0.1.6
++ move_icon_to_destination@Base 0.1.6
++ read_appimage_file_into_buffer_command@Base 0.1.6
++ read_file_offset_length@Base 0.1.6
++ read_icon_name_from_desktop_file@Base 0.1.6
++ replace_str@Base 0.1.6
++ save_desktop_file@Base 0.1.6
++ sqfs_lookup_path_resolving_symlinks@Base 0.1.6
++ sqfs_read_regular_inode@Base 0.1.6
++ squash_extract_inode_to_file@Base 0.1.6
++ squash_get_matching_files_install_icons_and_mime_data@Base 0.1.6
++ traverse_handler_extract_relevant_desktop_integration_files@Base 0.1.6
++ type1_extract_file@Base 0.1.6
++ type1_get_file_link@Base 0.1.8
++ type1_get_file_name@Base 0.1.6
++ type1_read_file_into_buf@Base 0.1.6
++ type1_traverse@Base 0.1.6
++ type2_extract_file@Base 0.1.6
++ type2_get_file_link@Base 0.1.8
++ type2_get_file_name@Base 0.1.6
++ type2_read_file_into_buf@Base 0.1.6
++ type2_traverse@Base 0.1.6
++ unregister_using_md5_id@Base 0.1.6
++ user_home@Base 0.1.6
++ vendorprefix@Base 0.1.6
++ write_edited_desktop_file@Base 0.1.6
++ xdg_cache_home@Base 0.1.6
++ xdg_config_home@Base 0.1.6
++ xdg_data_home@Base 0.1.6
--- /dev/null
--- /dev/null
++From f73c293a493a7cc6f3fb7d1e713674abf563227c Mon Sep 17 00:00:00 2001
++From: TheAssassin <theassassin@assassinate-you.net>
++Date: Sun, 10 Feb 2019 04:00:11 +0100
++Subject: [PATCH] Make release builds reproducible, mk. 1
++
++---
++ CMakeLists.txt | 15 ++++++++++++++-
++ 1 file changed, 14 insertions(+), 1 deletion(-)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index 338f27b..616f2ae 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -1,4 +1,4 @@
++-cmake_minimum_required(VERSION 3.2)
+++cmake_minimum_required(VERSION 3.4)
++
++ project(libappimage)
++
++@@ -7,6 +7,19 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
++
++ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
++
+++# help produce reproducible builds
+++if(CMAKE_BUILD_TYPE STREQUAL Release)
+++ message(STATUS "Release build detected, enabling reproducible builds mode")
+++ get_filename_component(abs_source_path ${PROJECT_SOURCE_DIR} ABSOLUTE)
+++ file(RELATIVE_PATH rel_source_path ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR})
+++
+++ set(map_fix ${abs_source_path}=${rel_source_path})
+++
+++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdebug-prefix-map=${map_fix} -fmacro-prefix-map=${map_fix}")
+++ set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fdebug-prefix-map=${map_fix} -fmacro-prefix-map=${map_fix}")
+++ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_C_FLAGS} -fdebug-prefix-map=${map_fix} -fmacro-prefix-map=${map_fix}")
+++endif()
+++
++ # versioning
++ set(V_MAJOR 0)
++ set(V_MINOR 1)
++--
++2.20.1
++
--- /dev/null
--- /dev/null
++Description: Disable wget dependency as we do not wget dependencies at buildtime.
++Author: Scarlett Moore <sgclark@kde.org>
++Forwarded: not-needed
++Last-Update: 2019-01-11
++---
++This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
++===================================================================
++Index: libappimage-0.1.6/cmake/tools.cmake
++===================================================================
++--- libappimage-0.1.6.orig/cmake/tools.cmake 2019-01-06 11:53:44.612905996 +0000
+++++ libappimage-0.1.6/cmake/tools.cmake 2019-01-11 13:29:30.515685126 +0000
++@@ -50,7 +50,7 @@
++ check_program(NAME libtoolize)
++ check_program(NAME patch)
++ check_program(NAME sed)
++-check_program(NAME wget)
+++#check_program(NAME wget)
++ check_program(NAME xxd)
++ check_program(NAME desktop-file-validate)
++ check_program(NAME objcopy FORCE_PREFIX)
--- /dev/null
--- /dev/null
++disable_wget_dependency.patch
++0001-Make-release-builds-reproducible-mk.-1.patch
--- /dev/null
--- /dev/null
++#!/usr/bin/make -f
++# See debhelper(7) (uncomment to enable)
++# output every command that modifies files on the build system.
++#export DH_VERBOSE = 1
++
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
++
++%:
++ dh $@
++
++override_dh_auto_configure:
++ dh_auto_configure -- -DUSE_SYSTEM_XZ=ON -DUSE_SYSTEM_LIBARCHIVE=ON -DUSE_SYSTEM_SQUASHFUSE=ON \
++ -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
++
++override_dh_missing:
++ dh_missing --fail-missing
--- /dev/null
--- /dev/null
++3.0 (quilt)
--- /dev/null
--- /dev/null
++Tests: testsuite
++Depends: build-essential, @, @builddeps@
++Restrictions: build-needed
--- /dev/null
--- /dev/null
++#!/bin/sh
++
++dh_auto_test
--- /dev/null
--- /dev/null
++Name: libappimage
++Changelog: https://github.com/AppImage/libappimage/commits/master
++Contact: theassassin@assassinate-you.net
++Repository: https://github.com/AppImage/libappimage.git
++Repository-Browse: https://github.com/AppImage/libappimage
++Security-Contact: theassassin@assassinate-you.net
--- /dev/null
--- /dev/null
++version=4
++
++opts="repacksuffix=+dfsg,\
++repack,compression=xz,\
++dversionmangle=s/\+(debian|dfsg|ds|deb)(\.?\d+)?$//, \
++filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
++ https://github.com/Appimage/libappimage/tags \
++ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate