summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog12
-rw-r--r--debian/compat2
-rw-r--r--debian/control6
-rw-r--r--debian/copyright1
-rw-r--r--debian/liburiparser1.symbols43
-rw-r--r--debian/patches/0001-missing_pthread.patch36
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules7
8 files changed, 58 insertions, 50 deletions
diff --git a/debian/changelog b/debian/changelog
index 6e9a58d..55726f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+uriparser (0.9.3-1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh symbols file.
+ - Rewrite build process.
+ * Migrate to debhelper 12:
+ - Change debian/compat to 12.
+ - Bump minimum debhelper version in debian/control to >= 12.
+ * Declare compliance with Debian Policy 4.4.0 (No changes needed).
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 13 Jul 2019 18:39:44 +0200
+
uriparser (0.9.1-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/compat b/debian/compat
index b4de394..48082f7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-11
+12
diff --git a/debian/control b/debian/control
index 5de9921..7906dc1 100644
--- a/debian/control
+++ b/debian/control
@@ -3,15 +3,17 @@ Section: libs
Priority: optional
Maintainer: Jörg Frings-Fürst <debian@jff.email>
Build-Depends:
- debhelper (>= 11),
+ debhelper (>= 12),
dh-exec (>=0.3)
Build-Depends-Indep:
+ cmake,
doxygen,
graphviz,
qttools5-dev-tools,
qtbase5-dev,
+ libgtest-dev,
libqt5sql5-sqlite
-Standards-Version: 4.3.0.1
+Standards-Version: 4.4.0
Homepage: http://uriparser.sourceforge.net
Vcs-Git: git://jff.email/opt/git/uriparser.git
Vcs-Browser: https://jff.email/cgit/uriparser.git
diff --git a/debian/copyright b/debian/copyright
index 212e9f3..9778c4f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: uriparser
Source: https://github.com/uriparser/uriparser
+Files-Excluded: doc/rfc*.htm
Files: *
Copyright: 2007 Weijia Song <songweijia@gmail.com>
diff --git a/debian/liburiparser1.symbols b/debian/liburiparser1.symbols
index f70a935..dad3a99 100644
--- a/debian/liburiparser1.symbols
+++ b/debian/liburiparser1.symbols
@@ -1,13 +1,10 @@
liburiparser.so.1 liburiparser1 #MINVER#
- defaultMemoryManager@Base 0.9.0
uriAddBaseUriA@Base 0.6.0
uriAddBaseUriExA@Base 0.8.1
uriAddBaseUriExMmA@Base 0.9.0
uriAddBaseUriExMmW@Base 0.9.0
uriAddBaseUriExW@Base 0.8.1
uriAddBaseUriW@Base 0.6.0
- uriCompareRangeA@Base 0.8.1
- uriCompareRangeW@Base 0.8.1
uriCompleteMemoryManager@Base 0.9.0
uriComposeQueryA@Base 0.7.2
uriComposeQueryCharsRequiredA@Base 0.7.2
@@ -23,14 +20,6 @@ liburiparser.so.1 liburiparser1 #MINVER#
uriComposeQueryMallocExW@Base 0.7.2
uriComposeQueryMallocW@Base 0.7.2
uriComposeQueryW@Base 0.7.2
- uriConstParentA@Base 0.6.0
- uriConstParentW@Base 0.6.0
- uriConstPwdA@Base 0.6.0
- uriConstPwdW@Base 0.6.0
- uriCopyAuthorityA@Base 0.6.0
- uriCopyAuthorityW@Base 0.6.0
- uriCopyPathA@Base 0.6.0
- uriCopyPathW@Base 0.6.0
uriDissectQueryMallocA@Base 0.7.2
uriDissectQueryMallocExA@Base 0.7.2
uriDissectQueryMallocExMmA@Base 0.9.0
@@ -45,10 +34,6 @@ liburiparser.so.1 liburiparser1 #MINVER#
uriEscapeExA@Base 0.6.0
uriEscapeExW@Base 0.6.0
uriEscapeW@Base 0.6.0
- uriFixAmbiguityA@Base 0.6.0
- uriFixAmbiguityW@Base 0.6.0
- uriFixEmptyTrailSegmentA@Base 0.7.2
- uriFixEmptyTrailSegmentW@Base 0.7.2
uriFreeQueryListA@Base 0.7.2
uriFreeQueryListMmA@Base 0.9.0
uriFreeQueryListMmW@Base 0.9.0
@@ -57,17 +42,6 @@ liburiparser.so.1 liburiparser1 #MINVER#
uriFreeUriMembersMmA@Base 0.9.0
uriFreeUriMembersMmW@Base 0.9.0
uriFreeUriMembersW@Base 0.6.0
- uriGetOctetValue@Base 0.6.0
- uriHexToLetterA@Base 0.6.0
- uriHexToLetterExA@Base 0.7.4
- uriHexToLetterExW@Base 0.7.4
- uriHexToLetterW@Base 0.6.0
- uriHexdigToIntA@Base 0.6.0
- uriHexdigToIntW@Base 0.6.0
- uriIsHostSetA@Base 0.6.0
- uriIsHostSetW@Base 0.6.0
- uriIsUnreserved@Base 0.6.0
- uriMemoryManagerIsComplete@Base 0.9.0
uriNormalizeSyntaxA@Base 0.6.0
uriNormalizeSyntaxExA@Base 0.6.0
uriNormalizeSyntaxExMmA@Base 0.9.0
@@ -90,22 +64,10 @@ liburiparser.so.1 liburiparser1 #MINVER#
uriParseUriExA@Base 0.6.0
uriParseUriExW@Base 0.6.0
uriParseUriW@Base 0.6.0
- uriPushToStack@Base 0.6.0
uriRemoveBaseUriA@Base 0.6.0
uriRemoveBaseUriMmA@Base 0.9.0
uriRemoveBaseUriMmW@Base 0.9.0
uriRemoveBaseUriW@Base 0.6.0
- uriRemoveDotSegmentsA@Base 0.6.0
- uriRemoveDotSegmentsAbsoluteA@Base 0.6.4
- uriRemoveDotSegmentsAbsoluteW@Base 0.6.4
- uriRemoveDotSegmentsExA@Base 0.7.4
- uriRemoveDotSegmentsExW@Base 0.7.4
- uriRemoveDotSegmentsW@Base 0.6.0
- uriResetUriA@Base 0.6.0
- uriResetUriW@Base 0.6.0
- uriSafeToPointToA@Base 0.6.0
- uriSafeToPointToW@Base 0.6.0
- uriStackToOctet@Base 0.6.0
uriTestMemoryManager@Base 0.9.0
uriToStringA@Base 0.6.0
uriToStringCharsRequiredA@Base 0.6.0
@@ -123,8 +85,3 @@ liburiparser.so.1 liburiparser1 #MINVER#
uriUriStringToWindowsFilenameW@Base 0.6.0
uriWindowsFilenameToUriStringA@Base 0.6.0
uriWindowsFilenameToUriStringW@Base 0.6.0
- uriWriteQuadToDoubleByte@Base 0.6.0
- uri_TESTING_ONLY_ParseIpFourA@Base 0.6.0
- uri_TESTING_ONLY_ParseIpFourW@Base 0.6.0
- uri_TESTING_ONLY_ParseIpSixA@Base 0.6.0
- uri_TESTING_ONLY_ParseIpSixW@Base 0.6.0
diff --git a/debian/patches/0001-missing_pthread.patch b/debian/patches/0001-missing_pthread.patch
new file mode 100644
index 0000000..1567ac4
--- /dev/null
+++ b/debian/patches/0001-missing_pthread.patch
@@ -0,0 +1,36 @@
+Description: Add missing pthread to build system
+Author: Jörg Frings-Fürst <debian@jff.email>
+Last-Update: 2019-07-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/CMakeLists.txt
+===================================================================
+--- trunk.orig/CMakeLists.txt
++++ trunk/CMakeLists.txt
+@@ -212,7 +212,8 @@ if(URIPARSER_BUILD_TOOLS)
+ tool/uriparse.c
+ )
+
+- target_link_libraries(uriparse PUBLIC uriparser)
++ find_package(Threads REQUIRED)
++ target_link_libraries(uriparse PUBLIC uriparser pthread)
+
+ if(HAIKU)
+ # Function inet_ntop needs -lsocket or -lnetwork (see pull request #45)
+@@ -245,6 +246,7 @@ if(URIPARSER_BUILD_TESTS)
+ enable_testing()
+
+ find_package(GTest 1.8.1 REQUIRED)
++ find_package(Threads REQUIRED)
+
+ add_executable(testrunner
+ test/FourSuite.cpp
+@@ -274,7 +276,7 @@ if(URIPARSER_BUILD_TESTS)
+ )
+
+ target_link_libraries(testrunner PUBLIC
+- ${GTEST_BOTH_LIBRARIES}
++ ${GTEST_BOTH_LIBRARIES} pthread
+ )
+
+ add_test(
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..39a7230
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-missing_pthread.patch
diff --git a/debian/rules b/debian/rules
index 3245017..82e9ad9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,20 +19,19 @@ ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
confflags += --host $(DEB_HOST_GNU_TYPE)
endif
-###
+export QT_SELECT=qt5
%:
dh $@ --with autoreconf
override_dh_auto_configure:
- ./configure $(confflags)
+ dh_auto_configure --buildsystem=cmake
override_dh_auto_build-indep:
dh_auto_build
- make -C doc
override_dh_installdocs-indep:
- cp -r $(CURDIR)/doc/html/* $(CURDIR)/debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/
+ cp -r $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)/doc/html/* $(CURDIR)/debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/
$(RM) debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/*.md5
dh_installdocs