debian/0000755000000000000000000000000011756244476007206 5ustar debian/compat0000644000000000000000000000000211712266135010370 0ustar 5 debian/docs0000644000000000000000000000000711712266135010042 0ustar README debian/posterazor.desktop0000644000000000000000000000034011712267626013000 0ustar [Desktop Entry] Version=1.0 Type=Application Name=PosteRazor Comment=Splits an image across multiple pages for assembly into a poster TryExec=PosteRazor Exec=PosteRazor %f Terminal=false Icon=PosteRazor Categories=Graphics; debian/watch0000644000000000000000000000010011712266135010212 0ustar version=3 http://sf.net/posterazor/PosteRazor-(.+)-Source\.zip debian/copyright0000644000000000000000000001232311712267563011134 0ustar This package was debianized by Simrun Basuita on Sun, 13 Dec 2009 15:15:57 +0000. It was downloaded from Upstream Authors: Maintainer: Alessandro Portale Translators: French: Martin Loyer Polish: Grzegorz Wacikowski Italian: Stefano Nosei Dutch: Erik Wijkamp Spanish: Cristobal (from Hispanicoweb.net) Brazilian Portuguese: Ederson Gomes dos Santos Copyright: Copyright (C) 2005-2008 by Alessandro Portale License: 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 3 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of version 3 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is Copyright 2009, Simrun Basuita and is licensed under the GPL, see above. Various files have different copyright holders and/or licenses: # Fl Native File Chooser ###################################################### src/thirdparty/Fl_Native_File_Chooser/Fl_Native_File_Chooser_MAC.cxx src/thirdparty/Fl_Native_File_Chooser/Fl_Native_File_Chooser.cxx src/thirdparty/Fl_Native_File_Chooser/FL/Fl_Native_File_Chooser_MAC.H src/thirdparty/Fl_Native_File_Chooser/FL/Fl_Native_File_Chooser_WIN32.H src/thirdparty/Fl_Native_File_Chooser/FL/Fl_Native_File_Chooser.H src/thirdparty/Fl_Native_File_Chooser/Fl_Native_File_Chooser_WIN32.cxx Copyright 2004 by Greg Ercolano src/thirdparty/Fl_Native_File_Chooser/FL/Fl_Native_File_Chooser_FLTK.H src/thirdparty/Fl_Native_File_Chooser/Fl_Native_File_Chooser_FLTK.cxx Copyright 2005 by Nathan Vander Wilt Fl_Native_File_Chooser License January 25, 2005 The Fl_Native_File_Chooser library and included programs are provided under the terms of the GNU Library General Public License (LGPL) with the following exceptions: 1. Modifications to the Fl_Native_File_Chooser configure script, config header file, and makefiles by themselves to support a specific platform do not constitute a modified or derivative work. The authors do request that such modifications be contributed to the Fl_Native_File_Chooser project - send all contributions to "erco [at] seriss [dot] com". 2. Widgets that are subclassed from Fl_Native_File_Chooser widgets do not constitute a derivative work. 3. Static linking of applications and widgets to the Fl_Native_File_Chooser library does not constitute a derivative work and does not require the author to provide source code for the application or widget, use the shared Fl_Native_File_Chooser libraries, or link their applications or widgets against a user-supplied version of Fl_Native_File_Chooser. If you link the application or widget to a modified version of Fl_Native_File_Chooser, then the changes to Fl_Native_File_Chooser must be provided under the terms of the LGPL in sections 1, 2, and 4. 4. You do not have to provide a copy of the Fl_Native_File_Chooser license with programs that are linked to the Fl_Native_File_Chooser library, nor do you have to identify the Fl_Native_File_Chooser license in your program or documentation as required by section 6 of the LGPL. However, programs must still identify their use of Fl_Native_File_Chooser. The following example statement can be included in user documentation to satisfy this requirement: [program/widget] is based in part on the work of the Fl_Native_File_Chooser project (http://seriss.com/people/erco/fltk/Fl_Native_File_Chooser/) This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU Library 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 Library General Public License for more details. You should have received a copy of the GNU Library 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 complete text of version 2 of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2'. debian/control0000644000000000000000000000114411756226571010605 0ustar Source: posterazor Section: graphics Priority: optional Maintainer: Simrun Basuita Build-Depends: debhelper (>= 5), libxpm-dev, libfltk1.1-dev (>= 1.1.7), libfreeimage-dev, cmake, docbook2x, docbook Standards-Version: 3.9.3 Homepage: http://posterazor.sourceforge.net Package: posterazor Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: splits an image across multiple pages for assembly into a poster The PosteRazor splits an image to form a multi-page PDF document. When printed, the sheets can be arranged to form a large poster of the original image. debian/posterazor.menu0000644000000000000000000000043111712273222012261 0ustar ?package(posterazor): \ needs="X11" \ section="Applications/Graphics" \ title="PosteRazor" \ command="/usr/bin/PosteRazor" \ icon="/usr/share/pixmaps/PosteRazor.xpm" \ longtitle="PosteRazor: splits an image across multiple pages for assembly into a poster" debian/changelog0000644000000000000000000000072311756221667011057 0ustar posterazor (1.5.1-2) unstable; urgency=low * Fix FTBFS with GCC 4.7 (Closes: #667328) * Fix FTBFS with -Werror=format-security (Closes: #653824) * Add debian/menu (Closes: #627920) * Rewrite package descriptions -- Simrun Basuita Sun, 20 May 2012 18:02:42 +0100 posterazor (1.5.1-1) unstable; urgency=low * Initial release (Closes: #545789) -- Simrun Basuita Sun, 13 Dec 2009 15:01:25 +0000 debian/rules0000755000000000000000000000250411712310261010241 0ustar #!/usr/bin/make -f # -*- makefile -*- configure: configure-stamp configure-stamp: dh_testdir mkdir $(CURDIR)/src/build cd $(CURDIR)/src/build && cmake .. touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) --directory=$(CURDIR)/src/build docbook2x-man $(CURDIR)/debian/PosteRazor.1.docbook touch $@ clean: clean-source clean-source: dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -d $(CURDIR)/src/build ] || rm -rf $(CURDIR)/src/build [ ! -f $(CURDIR)/PosteRazor.1 ] || rm -f $(CURDIR)/PosteRazor.1 dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs cp $(CURDIR)/src/build/PosteRazor $(CURDIR)/debian/posterazor/usr/bin/ cp $(CURDIR)/debian/posterazor.desktop $(CURDIR)/debian/posterazor/usr/share/applications/ cp $(CURDIR)/src/PosteRazor.xpm $(CURDIR)/debian/posterazor/usr/share/pixmaps/ binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGES dh_installdocs dh_installman PosteRazor.1 dh_installmenu dh_strip dh_compress dh_fixperms dh_shlibdeps dh_gencontrol dh_md5sums dh_installdeb dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/patches/0000755000000000000000000000000011756224027010623 5ustar debian/patches/ftbfs-werror-format-security.patch0000644000000000000000000000255011712302605017412 0ustar Description: Fix FTBFS with -Werror=format-security Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653824 --- a/src/FlPosteRazorDialog.cpp +++ b/src/FlPosteRazorDialog.cpp @@ -432,7 +432,7 @@ loaded = m_posteRazorController->loadInputImage(loadFileName, errorMessage, sizeof(errorMessage)); if (!loaded) { if (strlen(errorMessage) > 0) - fl_message(errorMessage); + fl_message("%s", errorMessage); else fl_message(Translations::instance().fileCouldNotBeLoaded(), fl_filename_name(loadFileName)); } @@ -603,7 +603,7 @@ fileExistsAskUserForOverwrite = my_file_exists(saveFileName); char overwriteQuestion[1024] = ""; sprintf(overwriteQuestion, Translations::instance().overwriteFile(), fl_filename_name(saveFileName)); - if (!fileExistsAskUserForOverwrite || fl_ask(overwriteQuestion)) { + if (!fileExistsAskUserForOverwrite || fl_ask("%s", overwriteQuestion)) { int err = m_posteRazorController->savePoster(saveFileName); if (err) fl_message(Translations::instance().fileCouldNotBeSaved(), fl_filename_name(saveFileName)); --- a/src/PosteRazorPDFOutput.cpp +++ b/src/PosteRazorPDFOutput.cpp @@ -397,7 +397,7 @@ int err = 0; const unsigned int startxref = ftell(m_outputFile); - fprintf(m_outputFile, m_xref); + fprintf(m_outputFile, "%s", m_xref); fprintf ( m_outputFile, debian/patches/ftbfs-gcc-4.7.patch0000644000000000000000000000126211756224027014011 0ustar Description: Add header to fix FTBFS with GCC 4.7 Origin: other, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667328 Author: Paul Tagliamonte Last-Update: 2012-05-20 Index: posterazor-1.5.1/src/FlPosteRazorDialog.cpp =================================================================== --- posterazor-1.5.1.orig/src/FlPosteRazorDialog.cpp 2012-05-20 18:00:53.682077735 +0100 +++ posterazor-1.5.1/src/FlPosteRazorDialog.cpp 2012-05-20 18:01:10.950127511 +0100 @@ -39,6 +39,7 @@ #define CASESENSITIVESTRNCMP strnicmp #else #include + #include #define CASESENSITIVESTRCMP strcasecmp #define CASESENSITIVESTRNCMP strncasecmp #endif debian/patches/series0000644000000000000000000000006711756221457012047 0ustar ftbfs-werror-format-security.patch ftbfs-gcc-4.7.patch debian/PosteRazor.1.docbook0000644000000000000000000000371111712267462013011 0ustar Simrun Basuita simrunbasuita@gmail.com 2012 Simrun Basuita 2012-01-01 PosteRazor 1 PosteRazor splits an image across multiple pages for assembly into a poster PosteRazor DESCRIPTION The PosteRazor splits an image to form a multi-page PDF document. When printed, the sheets can be arranged to form a large poster of the original image. If no file is specified as a command line argument, the user will be prompted for one. COPYRIGHT This manual page was written by Simrun Basuita simrunbasuita@gmail.com. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/source/0000755000000000000000000000000011712270020010456 5ustar debian/source/format0000644000000000000000000000001411712270020011664 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000006411712266135010056 0ustar /usr/bin /usr/share/applications /usr/share/pixmaps