From: Andrea Zagli Date: Wed, 7 Sep 2022 15:56:28 +0000 (+0200) Subject: Debian pkg: bullseye files. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fdebian%2Fbullseye;p=zakform%2Flibzakform Debian pkg: bullseye files. --- diff --git a/.gitignore b/.gitignore index c5af0fd..c305468 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ src/*marshal*.[ch] test-driver *.gir *.typelib +build/ \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..49c4ec7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,125 @@ +libzakform (0.2.0-3~18.gbp126946) UNRELEASED; urgency=medium + + ** SNAPSHOT build @126946533f27d34f83e4a7e448b27e4db145f80d ** + + [ Andrea Zagli ] + * Initial release + * Missing libzakutils dependency in pkgconfig. + * Debian package snapshot 0.0.1-2~1.gbp266425. + * Correct modulesdir in debian package. + * Specified date/time format in ::format. + + [ tux ] + + [ Andrea Zagli ] + * Added FormElement extensions. + * Missing file for translation. + + [ tux ] + + [ Andrea Zagli ] + * Debian pkg: updates from upstream. + * g_strcmp0 may returns other values than -1, 0 and 1. + * Added property id to ZakFormValidator (refs #1102). + * Added ZakForm::get_validator_by_id. + * Added property id to FormElementValidator (refs #1102). + * Added function ZakFormElement::get_validator_by_id. + * Refactored ZakFormElementFilter::xml_parsing. + * Added property id to ZakFormElementFilter (closes #1102). + * Wrong prototype zak_form_element_set_to_is_key in formelement.h (closes #1111). + * Added signals ZakFormElement before and after validating. + * Added commons functions ZakForm::get_compare_type_from_string and ::get_compare_type_stringify. + * ZakFormElementValidatorDate can now compare the value. + * Xml parsing of long-name in ZakFormElement. + * Migration to GValue for element value. + * Added functions ZakFormElement::[get|set]_original_value_gvalue. + * Started implementation (only one level) of ZakFormValidatorComposite. + * Multilevel for ZakFormValidatorComposite. + * Added condition (only one) to ZakFormValidatorComposite. + * Missing file in translation. + + [ tux ] + + [ Andrea Zagli ] + * Debian pkg: updates from upstream. + + [ tux ] + + [ Andrea Zagli ] + * Debian pkg: locale files in dev. + * Enabled gtk-doc. + * Enabled gir. + * Added private function ZakForm::get_module_new. + * Renamed function ZakFormForm::get_form_element_validator. + * Added function ZakFormForm::get_form_element_filter. + * Use of ZakFormForm::get_module_new in FormValidator construct from xml. + * Make public function ZakFormElement::xml_parsing. + * Added function ZakFormForm::get_form_element. + * Added some member functions to ZakFormElement. + * Added class ZakFormElementExtension. + * Moved functions ZakFormForm::get_form_* to commons. + * Moved function ZakFormForm::element_xml_parsing in ZakFormElement. + * Start of implementation of FormElementArray. + * Added function ZakFormElementArray::get_element_by_id. + * Wrong comparision value in ZakForm*ValidatorCompare*. + * Implemented functions ZakFormElementArray::[gs]et_visible. + * Implemented functions ZakFormElementArray::[gs]et_editable. + * Implemented functions ZakFormElementArray::is_valid. + * Implemented functions ZakFormElementArray::is_changed. + * Missing source file in translation. + * In FormElementArray setted value in any case. + * Added function ZakForm::remove_element_by_id (refs #1104). + * Added function ZakForm::remove_element (refs #1104). + * Added function ZakForm::get_element_idx_by_id. + * Added function ZakForm::remove_element_by_idx (closes #1104). + * Setted version 0.1.0. + * Added property regex to ZakFormElementValidatorRegex. + * Debian pkg: added buster files. + * Added functions to ZakFormValidatorCompare to set/get parameters. + * Added functions to ZakFormValidatorCompareDate to set/get parameters. + * Enable ZakFormValidator inside ZakFormValidatorComposite. + * Added function ZakFormElement::set_messages. + * Typo. + * Seams that g_ptr_array_copy doesn't work... + * Struct Node not initialized. + * Added ZakFormElementValidatorNumber. + * Added ZakFormValidatorCompareNumber. + * Using :: ZakFormForm::get_element_by_id returns an array subelement. + * Updated translations files. + * Debian pkg: updates from upstream. + * Typo. + * Debian pkg: updates from upstream. + * Added ZakFormElementValidatorIsNumber (implemented as regex). + * Debian pkg: updates from upstream. + * Started function ZakFormForm::get_xml. + * Get xml only for non default values. Right format xml value returned. + * Added ZakFormElementFilter::get_xml. + * Added ZakFormElementValidator::get_xml. + * Added ZakFormValidator::get_xml (not for composite). + * Added function ZakForm::get_compare_type_as_string; enabled get_xml for FormValidator. + * Enabled get_xml for ZakFormElementArray; variables order uniformed. + * Updated libzakform.h. + * Added functions ZakFormForm::get_element_value*_by_id. + * Added functions ZakFormForm::set_element_value*_by_id. + * No return value for ZakFormForm::set_element_value*_by_id. + * Wrong type. + * Removed g_type_class_add_private deprecations. + * Wrong variable. + * Wrong order variables in class function prototype ZakFormValidator::get_xml. + * Debian pkg: update from upstream. + * Migrated filter element to GValue. + * Migrated element validator to GValue. + * Debian pkg: updates from upstream. + * Added function FormElement::add_message. + * Added element for error message to FormValidatorCompare. + * Added element for error message to FormValidatorCompareDate. + * Added element for error message to FormValidatorCompareNumber. + * Debian pkg: updates from upstream. + * Added property error on elements for FormValidatorComposite. + * Debian pkg: updates from upstream. + * On Composite validator, set_error only for elements not in condition tree elements. + * Debian pkg: updates from upstream. + * Added utility's function FormElementArray::split_string. + * Added utility's function FormElementArray::split_string. + + -- andreaz Wed, 07 Sep 2022 17:27:36 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..bda429f --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: libzakform +Priority: optional +Maintainer: Andrea Zagli +Build-Depends: debhelper (>=9), libzakutils-dev, intltool, pkg-config, gnome-common, gtk-doc-tools, gobject-introspection, libgirepository1.0-dev, libxml2-dev +Standards-Version: 3.9.8 +Section: libs +Homepage: http://saetta.ns0.it +#Vcs-Git: git://anonscm.debian.org/collab-maint/libzakform.git +#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/libzakform.git + +Package: libzakform-dev +Section: libdevel +Architecture: any +Depends: libzakform (= ${binary:Version}), ${misc:Depends}, libzakutils-dev, libxml2-dev +Description: GObject library to manage forms - development files. + GObject library to manage forms, based on plugins. + . + Development files. + +Package: libzakform +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libzakutils, libxml2 +Description: GObject library to manage forms. + GObject library to manage forms, based on plugins. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8b54a2b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libzakform +Source: + +Files: * +Copyright: + +License: GPL-2.0+ + +Files: debian/* +Copyright: 2016 Andrea Zagli +License: GPL-2.0+ + +License: GPL-2.0+ + 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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..365aca3 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,10 @@ +[buildpackage] +export-dir=./build/bullseye +debian-branch=debian/bullseye +ignore-new=True +upstream-tree=BRANCH +upstream-branch=develop +force-create=True +export=WC +dist=bullseye +pbuilder=True diff --git a/debian/libzakform-dev.install b/debian/libzakform-dev.install new file mode 100644 index 0000000..dde0009 --- /dev/null +++ b/debian/libzakform-dev.install @@ -0,0 +1,4 @@ +usr/lib/*/libzakform.a +usr/lib/*/libzakform.la +usr/lib/*/pkgconfig/* +usr/include/libzakform* diff --git a/debian/libzakform.install b/debian/libzakform.install new file mode 100644 index 0000000..86af80a --- /dev/null +++ b/debian/libzakform.install @@ -0,0 +1,3 @@ +usr/lib/*/libzakform*.so* +usr/lib/*/libzakform/modules +usr/share/locale/* \ No newline at end of file diff --git a/debian/patches/0001-DESTDIR-support.patch b/debian/patches/0001-DESTDIR-support.patch new file mode 100644 index 0000000..3a118e9 --- /dev/null +++ b/debian/patches/0001-DESTDIR-support.patch @@ -0,0 +1,25 @@ +From: Andrea Zagli +Date: Mon, 23 May 2016 18:13:48 +0200 +Subject: DESTDIR support. + +--- + src/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 4b3af31..af81c81 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -62,10 +62,10 @@ libzakform_include_HEADERS = \ + libzakform_includedir = $(includedir)/libzakform + + install-exec-hook: +- mkdir -p "$(libdir)/$(PACKAGE)/modules" ++ mkdir -p "$(DESTDIR)$(libdir)/$(PACKAGE)/modules" + + uninstall-hook: +- rm -rf "$(libdir)/$(PACKAGE)" ++ rm -rf "$(DESTDIR)$(libdir)/$(PACKAGE)" + + CLEANFILES = + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..c779459 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-DESTDIR-support.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a689e0f --- /dev/null +++ b/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +export DEB_CFLAGS_MAINT_STRIP = -Werror=format-security +export DEB_CPPFLAGS_MAINT_STRIP = -Werror=format-security +export DEB_CXXFLAGS_MAINT_STRIP = -Werror=format-security + + +%: + dh $@ + + +override_dh_auto_configure: + NOCONFIGURE="X" ./autogen.sh + dh_auto_configure -- --enable-introspection + +override_dh_auto_install: + $(MAKE) DESTDIR=$$(pwd)/debian/tmp prefix=/usr install + + +# dh_make generated override targets +# This is example for Cmake (See https://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)