diff -Nru calcoo-1.3.18/debian/calcoo.desktop calcoo-1.3.18/debian/calcoo.desktop --- calcoo-1.3.18/debian/calcoo.desktop 1970-01-01 00:00:00.000000000 +0000 +++ calcoo-1.3.18/debian/calcoo.desktop 2017-12-02 07:25:12.000000000 +0000 @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.3.18 +Icon=/usr/share/pixmaps/calcoo.xpm +Name=Calcoo +Exec=calcoo +Terminal=false +Categories=Science;Education +Comment=Scientific calculator (GTK+) +Keywords=Science, Mathematics, Education diff -Nru calcoo-1.3.18/debian/changelog calcoo-1.3.18/debian/changelog --- calcoo-1.3.18/debian/changelog 2017-06-18 13:43:27.000000000 +0000 +++ calcoo-1.3.18/debian/changelog 2017-12-02 07:25:12.000000000 +0000 @@ -1,3 +1,16 @@ +calcoo (1.3.18-6) unstable; urgency=medium + + * New Maintainer (Closes: #834308). + * Bumped standards-version to 4.1.1 + + Compat level and debhelper to 10. + * Rewrite debian/rules with dh $@. + * Removed debian/menu file and add + debian/calcoo.desktop file. + * Added debian/install and dirs files. + * Re-written the debian/copyright file to the standard 1.0 format. + + -- Innocent De Marchi Sat, 02 Dec 2017 08:25:12 +0100 + calcoo (1.3.18-5) unstable; urgency=medium * QA upload. diff -Nru calcoo-1.3.18/debian/compat calcoo-1.3.18/debian/compat --- calcoo-1.3.18/debian/compat 2010-10-31 09:47:46.000000000 +0000 +++ calcoo-1.3.18/debian/compat 2017-12-02 07:25:12.000000000 +0000 @@ -1 +1 @@ -7 +10 diff -Nru calcoo-1.3.18/debian/control calcoo-1.3.18/debian/control --- calcoo-1.3.18/debian/control 2017-03-18 22:14:37.000000000 +0000 +++ calcoo-1.3.18/debian/control 2017-12-02 07:25:12.000000000 +0000 @@ -1,9 +1,9 @@ Source: calcoo Section: utils Priority: optional -Maintainer: Debian QA Group -Build-Depends: debhelper (>= 7.0.0), libgtk2.0-dev, libglib2.0-dev -Standards-Version: 3.9.8 +Maintainer: Innocent De Marchi +Build-Depends: debhelper (>= 10.0.0), libgtk2.0-dev, libglib2.0-dev +Standards-Version: 4.1.1 Homepage: http://calcoo.sourceforge.net/ Package: calcoo diff -Nru calcoo-1.3.18/debian/copyright calcoo-1.3.18/debian/copyright --- calcoo-1.3.18/debian/copyright 2010-10-31 09:47:46.000000000 +0000 +++ calcoo-1.3.18/debian/copyright 2017-12-02 07:25:12.000000000 +0000 @@ -1,14 +1,38 @@ -This package was debianized by Alexei Kaminski on -Thu, 15 Nov 2001 00:00:00 -0400. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Upstream-Name: Calcoo +Upstream-Contact: Alexei Kaminski +Source: http://calcoo.sourceforge.net/ -It was downloaded from http://calcoo.sourceforge.net/ +Files: * +Copyright: Alexei Kaminski +License: GPL-2.0 -Upstream Author: Alexei Kaminski +Files: debian/* +Copyright: 2001-2007 Alexei Kaminski + 2010 Edgar Antonio Palma de la Cruz + 2013 Barry deFreese + 2017 Debian QA Group + 2017 Innocent De Marchi +License: GPL-2.0 -This software is copyright (c) 2001 - 2007 by Alexei Kaminski - -You are free to distribute this software under the terms of -the GNU General Public License. -On Debian systems, the complete text of the GNU General Public -License can be found in /usr/share/common-licenses/GPL file. - +License: GPL-2.0 + Fracplanet 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 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 package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + 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'. \ No newline at end of file diff -Nru calcoo-1.3.18/debian/dirs calcoo-1.3.18/debian/dirs --- calcoo-1.3.18/debian/dirs 1970-01-01 00:00:00.000000000 +0000 +++ calcoo-1.3.18/debian/dirs 2017-12-02 07:25:12.000000000 +0000 @@ -0,0 +1,2 @@ +usr/share/pixmaps +usr/share/applications \ No newline at end of file diff -Nru calcoo-1.3.18/debian/install calcoo-1.3.18/debian/install --- calcoo-1.3.18/debian/install 1970-01-01 00:00:00.000000000 +0000 +++ calcoo-1.3.18/debian/install 2017-12-02 07:25:12.000000000 +0000 @@ -0,0 +1,2 @@ +src/pixmaps/calcoo.xpm usr/share/pixmaps +debian/calcoo.desktop usr/share/applications \ No newline at end of file diff -Nru calcoo-1.3.18/debian/menu calcoo-1.3.18/debian/menu --- calcoo-1.3.18/debian/menu 2010-10-31 09:47:46.000000000 +0000 +++ calcoo-1.3.18/debian/menu 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -?package(calcoo):needs="X11" section="Applications/Science/Mathematics"\ - title="calcoo" command="/usr/bin/calcoo" diff -Nru calcoo-1.3.18/debian/patches/add-app-icon.patch calcoo-1.3.18/debian/patches/add-app-icon.patch --- calcoo-1.3.18/debian/patches/add-app-icon.patch 1970-01-01 00:00:00.000000000 +0000 +++ calcoo-1.3.18/debian/patches/add-app-icon.patch 2017-12-02 07:25:12.000000000 +0000 @@ -0,0 +1,47 @@ +Description: Add calcoo icon +Author: Innocent De Marchi + +--- /dev/null ++++ b/src/pixmaps/calcoo.xpm +@@ -0,0 +1,41 @@ ++/* XPM */ ++static char * main_xpm[] = { ++"32 32 6 1", ++" c None", ++". c #0060bf", ++"X c black", ++"o c #9c999c", ++"O c white", ++"+ c #dedede", ++" ", ++" ", ++" ", ++" ", ++"...............................X", ++"..............................oX", ++"XO++++++++++++++++++++++++++++oX", ++"XO++++++++++++++++++++++++++++oX", ++"XO++XXXXXXXXXXXXXXXXXXXXXXXX++oX", ++"XO++XoooooooooooXXooXXooXXoO++oX", ++"XO++Xo++++++++++XX++X++++X+O++oX", ++"XO++Xo+++++++++++X+++X++XX+O++oX", ++"XO++XOOOOOOOOOOOOOOOOOOOOOOO++oX", ++"XO++++++++++++++++++++++++++++oX", ++"XO++OOo+OOo+OOo+OOo+OOo+OOo+++oX", ++"XO++OXo+OXo+OXo+OXo+OXo+OXo+++oX", ++"XO++ooo+ooo+ooo+ooo+ooo+ooo+++oX", ++"XO++++++++++++++++++++++++++++oX", ++"XO++OOo+OOo+OOo+OOo+OOo+OOo+++oX", ++"XO++OXo+OXo+OXo+OXo+OXo+OXo+++oX", ++"XO++ooo+ooo+ooo+ooo+ooo+ooo+++oX", ++"XO++++++++++++++++++++++++++++oX", ++"XO++OOo+OOo+OOo+OOo+OOo+OOo+++oX", ++"XO++OXo+OXo+OXo+OXo+OXo+OXo+++oX", ++"XO++ooo+ooo+ooo+ooo+ooo+ooo+++oX", ++"XO++++++++++++++++++++++++++++oX", ++"XooooooooooooooooooooooooooooooX", ++"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", ++" ", ++" ", ++" ", ++" "}; diff -Nru calcoo-1.3.18/debian/patches/series calcoo-1.3.18/debian/patches/series --- calcoo-1.3.18/debian/patches/series 2013-07-07 09:26:29.000000000 +0000 +++ calcoo-1.3.18/debian/patches/series 2017-12-02 07:25:12.000000000 +0000 @@ -1 +1,2 @@ +add-app-icon.patch link_libm.patch diff -Nru calcoo-1.3.18/debian/rules calcoo-1.3.18/debian/rules --- calcoo-1.3.18/debian/rules 2010-10-31 09:47:46.000000000 +0000 +++ calcoo-1.3.18/debian/rules 2017-12-02 07:25:12.000000000 +0000 @@ -15,93 +15,17 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = -Wall -g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk +CFLAGS += -Wall -g + config.status: configure dh_testdir # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/calcoo.sgml > calcoo.1 - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - # -$(MAKE) distclean - [ ! -f Makefile ] || $(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - - - dh_clean - -install: build - dh_testdir - dh_testroot - #dh_clean -k ## deprecated - dh_installdirs - - # Add here commands to install the package into debian/calcoo. - $(MAKE) DESTDIR=$(CURDIR)/debian/calcoo install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs -# dh_installexamples -# dh_install - dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman calcoo.1 - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +%: + dh $@ \ No newline at end of file