Commit 5300fc61 authored by Graham Inggs's avatar Graham Inggs

Initial packaging attempt

parent 5e938726
dfcgen-gtk (0.4-1) UNRELEASED; urgency=medium
* Initial release. (Closes: #842491)
-- Graham Inggs <ginggs@debian.org> Sat, 29 Oct 2016 22:24:47 +0200
Source: dfcgen-gtk
Section: electronics
Priority: optional
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Uploaders: Graham Inggs <ginggs@debian.org>
Build-Depends: debhelper (>= 10), libgsl-dev, libgtk2.0-dev
Standards-Version: 3.9.8
Homepage: http://www.dfcgen.de
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/dfcgen-gtk.git
Vcs-Git: https://anonscm.debian.org/debian-science/packages/dfcgen-gtk.git
Package: dfcgen-gtk
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Digital Filter Coefficients Generator (DFCGen) GTK+
DFCGen, the Digital Filter Coefficients Generator, assists the engineer
in the design of digital filters. It supports the engineer in analysis
and synthesis of linear time-invariant time-discrete (LTI) systems
from the theoretical point of view. It performs generation of
system transfer function coefficients in the Z-domain,
based on the type and specific parameters of a chosen system.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: DFCGen (GTK+)
Upstream-Contact: Ralf Hoppe <ralf.hoppe@ieee.org>
Source: http://www.dfcgen.de
Files: *
License: GPL-2.0
Copyright: 2006-2012 Ralf Hoppe <ralf.hoppe@ieee.org>
Files: debian/*
License: GPL-2.0
Copyright: 2006-2012 Ralf Hoppe <ralf.hoppe@ieee.org>
2016 Graham Inggs <ginggs@debian.org>
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 version 2 as
published by the Free Software Foundation.
.
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 package (see below); 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'.
[Desktop Entry]
Version=1.0
Type=Application
Name=DFCGen (GTK+)
Name[en]=DFCGen (GTK+)
Name[de]=DFCGen (GTK+)
GenericName=Digital Filter Coefficients Generator
GenericName[en]=Digital Filter Coefficients Generator
GenericName[de]=Digital Filter Coefficients Generator
Comment=Digital Filter Coefficients Generator
Comment[en]=Digital Filter Coefficients Generator
Comment[de]=Digital Filter Coefficients Generator
Icon=dfcgen-gtk.png
Exec=dfcgen-gtk
Categories=Education;Electronics;GTK;
Keywords=dsp;signal;processing;fir;iir;
StartupNotify=false
debian/dfcgen-gtk.desktop usr/share/applications
usr/share/dfcgen-gtk/pixmaps/dfcgen.png usr/share/pixmaps/dfcgen-gtk.png
Description: Do not install doc and dist files
We manage this in debian/docs.
Author: Graham Inggs <ginggs@debian.org>
Forwarded: not-needed
Last-Update: 2016-10-29
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,11 +11,6 @@
SUBDIRS = po include src data doc dist
-doc_DATA = \
- README\
- COPYING\
- ChangeLog\
- INSTALL
EXTRA_DIST = $(doc_DATA)
--- a/dist/debian/Makefile.am
+++ b/dist/debian/Makefile.am
@@ -7,7 +7,6 @@
## Process this file with automake to produce Makefile.in
##
-dist_doc_DATA = dfcgen-gtk.desktop
EXTRA_DIST = \
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -7,6 +7,3 @@
## Process this file with automake to produce Makefile.in
##
-dist_html_DATA =\
- dfcgen.sty\
- Doxyfile
Description: Do not override gcc optimization flags
Author: Graham Inggs <ginggs@debian.org>
Forwarded: not-needed
Last-Update: 2016-10-27
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,7 @@
CFLAGS_DEBUG="-g -pg -O0 -fstack-protector-all -UNDEBUG \
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
-CFLAGS_NDEBUG="-O3 -funroll-loops -DNDEBUG -DG_DISABLE_ASSERT"
+CFLAGS_NDEBUG="-DNDEBUG -DG_DISABLE_ASSERT"
Description: Fix FTBFS with -Werror=format-security
Author: Graham Inggs <ginggs@debian.org>
Forwarded: no
Last-Update: 2016-10-27
--- a/src/dialogSupport.c
+++ b/src/dialogSupport.c
@@ -102,6 +102,7 @@
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
+ "%s",
msg);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
fix-format-security.patch
do-not-override-optimization.patch
do-not-install-docs.patch
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
version=3
http://www.dfcgen.de/main.html dfcgen-gtk/dfcgen-gtk-(.+)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment