From 61de3962c8cff89337eb812356d634ea96fd0031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 26 Apr 2019 17:59:27 +0200 Subject: New upstream release --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 6e9a58d..041792f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +uriparser (0.9.2-1) UNRELEASED; urgency=medium + + * New upstream release. + + -- Jörg Frings-Fürst Fri, 26 Apr 2019 17:58:31 +0200 + uriparser (0.9.1-1) unstable; urgency=medium * New upstream release. -- cgit v1.2.3 From cb602bce7004aedcad88f5a22e4d6acd9372da8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 28 Apr 2019 20:10:31 +0200 Subject: Some work to fix build errors --- debian/control | 4 +++- debian/patches/0001-missing_pthread.patch | 13 +++++++++++++ debian/patches/series | 1 + debian/rules | 4 +++- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 debian/patches/0001-missing_pthread.patch create mode 100644 debian/patches/series (limited to 'debian') diff --git a/debian/control b/debian/control index 5de9921..d5658ca 100644 --- a/debian/control +++ b/debian/control @@ -3,8 +3,10 @@ Section: libs Priority: optional Maintainer: Jörg Frings-Fürst Build-Depends: + cmake, debhelper (>= 11), - dh-exec (>=0.3) + dh-exec (>=0.3), + libgtest-dev Build-Depends-Indep: doxygen, graphviz, diff --git a/debian/patches/0001-missing_pthread.patch b/debian/patches/0001-missing_pthread.patch new file mode 100644 index 0000000..3054ce9 --- /dev/null +++ b/debian/patches/0001-missing_pthread.patch @@ -0,0 +1,13 @@ +Index: trunk/CMakeLists.txt +=================================================================== +--- trunk.orig/CMakeLists.txt ++++ trunk/CMakeLists.txt +@@ -209,7 +209,7 @@ if(URIPARSER_BUILD_TOOLS) + tool/uriparse.c + ) + +- target_link_libraries(uriparse PUBLIC uriparser) ++ target_link_libraries(uriparse PUBLIC uriparser pthread) + + if(HAIKU) + # Function inet_ntop needs -lsocket or -lnetwork (see pull request #45) 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..0639e27 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,9 @@ endif dh $@ --with autoreconf override_dh_auto_configure: - ./configure $(confflags) + dh_auto_configure --buildsystem=cmake +#$(confflags) +# ./configure $(confflags) override_dh_auto_build-indep: dh_auto_build -- cgit v1.2.3 From d3f17d40ea57a789b3466db81a3b70fb1294242c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 Jul 2019 18:02:05 +0200 Subject: Rewrite build process; Refresh symbols file --- debian/changelog | 4 ++- debian/control | 5 ++-- debian/copyright | 1 + debian/liburiparser1.symbols | 43 ------------------------------- debian/patches/0001-missing_pthread.patch | 20 +++++++++++++- debian/rules | 8 ++---- 6 files changed, 28 insertions(+), 53 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 041792f..716d214 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ -uriparser (0.9.2-1) UNRELEASED; urgency=medium +uriparser (0.9.3-1) UNRELEASED; urgency=medium * New upstream release. + - Refresh symbols file. + - Rewrite build process. -- Jörg Frings-Fürst Fri, 26 Apr 2019 17:58:31 +0200 diff --git a/debian/control b/debian/control index d5658ca..33b7daf 100644 --- a/debian/control +++ b/debian/control @@ -3,15 +3,16 @@ Section: libs Priority: optional Maintainer: Jörg Frings-Fürst Build-Depends: - cmake, debhelper (>= 11), dh-exec (>=0.3), - libgtest-dev + qt5-default Build-Depends-Indep: + cmake, doxygen, graphviz, qttools5-dev-tools, qtbase5-dev, + libgtest-dev, libqt5sql5-sqlite Standards-Version: 4.3.0.1 Homepage: http://uriparser.sourceforge.net 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 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 index 3054ce9..8afe6ae 100644 --- a/debian/patches/0001-missing_pthread.patch +++ b/debian/patches/0001-missing_pthread.patch @@ -2,12 +2,30 @@ Index: trunk/CMakeLists.txt =================================================================== --- trunk.orig/CMakeLists.txt +++ trunk/CMakeLists.txt -@@ -209,7 +209,7 @@ if(URIPARSER_BUILD_TOOLS) +@@ -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/rules b/debian/rules index 0639e27..68cb768 100755 --- a/debian/rules +++ b/debian/rules @@ -19,22 +19,18 @@ ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --host $(DEB_HOST_GNU_TYPE) endif -### %: dh $@ --with autoreconf override_dh_auto_configure: - dh_auto_configure --buildsystem=cmake -#$(confflags) -# ./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 -- cgit v1.2.3 From 033557f8d81c917824bcd2aa7749e05afe6129c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 Jul 2019 18:04:12 +0200 Subject: Migrate to debhelper 12 --- debian/changelog | 3 +++ debian/compat | 2 +- debian/control | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 716d214..3c33fbf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ uriparser (0.9.3-1) UNRELEASED; 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. -- Jörg Frings-Fürst Fri, 26 Apr 2019 17:58:31 +0200 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 33b7daf..300c86b 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: libs Priority: optional Maintainer: Jörg Frings-Fürst Build-Depends: - debhelper (>= 11), + debhelper (>= 12), dh-exec (>=0.3), qt5-default Build-Depends-Indep: -- cgit v1.2.3 From 507bcd327768259c16261dd8d224c230b48d2b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 Jul 2019 18:06:10 +0200 Subject: Declare compliance with Debian Policy 4.4.0 --- debian/changelog | 1 + debian/control | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 3c33fbf..f882d79 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ uriparser (0.9.3-1) UNRELEASED; urgency=medium * 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 Fri, 26 Apr 2019 17:58:31 +0200 diff --git a/debian/control b/debian/control index 300c86b..a63555f 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,7 @@ Build-Depends-Indep: 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 -- cgit v1.2.3 From 9e4c4c49fad21372f7f2e95f65d2932a7e024eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 Jul 2019 18:30:03 +0200 Subject: Add QT stuff --- debian/control | 3 +-- debian/rules | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index a63555f..7906dc1 100644 --- a/debian/control +++ b/debian/control @@ -4,8 +4,7 @@ Priority: optional Maintainer: Jörg Frings-Fürst Build-Depends: debhelper (>= 12), - dh-exec (>=0.3), - qt5-default + dh-exec (>=0.3) Build-Depends-Indep: cmake, doxygen, diff --git a/debian/rules b/debian/rules index 68cb768..82e9ad9 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,7 @@ ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --host $(DEB_HOST_GNU_TYPE) endif +export QT_SELECT=qt5 %: dh $@ --with autoreconf -- cgit v1.2.3 From b6e126f1cae754951cedb0659a4c383eb2db5f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 Jul 2019 18:38:58 +0200 Subject: Add patch description --- debian/patches/0001-missing_pthread.patch | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian') diff --git a/debian/patches/0001-missing_pthread.patch b/debian/patches/0001-missing_pthread.patch index 8afe6ae..1567ac4 100644 --- a/debian/patches/0001-missing_pthread.patch +++ b/debian/patches/0001-missing_pthread.patch @@ -1,3 +1,8 @@ +Description: Add missing pthread to build system +Author: Jörg Frings-Fürst +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 -- cgit v1.2.3 From 1bd65df2de001b173a8d6a08397043225ad115ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 13 Jul 2019 18:42:06 +0200 Subject: d/changelog: Change distibutation, date and time --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index f882d79..55726f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -uriparser (0.9.3-1) UNRELEASED; urgency=medium +uriparser (0.9.3-1) unstable; urgency=medium * New upstream release. - Refresh symbols file. @@ -8,7 +8,7 @@ uriparser (0.9.3-1) UNRELEASED; urgency=medium - 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 Fri, 26 Apr 2019 17:58:31 +0200 + -- Jörg Frings-Fürst Sat, 13 Jul 2019 18:39:44 +0200 uriparser (0.9.1-1) unstable; urgency=medium -- cgit v1.2.3