--- gpdftext-0.1.6.orig/.gitignore +++ gpdftext-0.1.6/.gitignore @@ -0,0 +1,23 @@ +INSTALL +Makefile.in +aclocal.m4 +compile +config.guess +config.h.in +config.sub +configure +data/Makefile.in +data/gpdftext.1 +depcomp +gnome-doc-utils.make +gpdftext*.tar.* +help/Makefile.in +install-sh +ltmain.sh +m4/ +missing +omf.make +po/Makefile.in.in +src/Makefile.in +xmldocs.make + --- gpdftext-0.1.6.orig/autogen.sh +++ gpdftext-0.1.6/autogen.sh @@ -0,0 +1,185 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. +set -e +touch gnome-doc-utils.make + + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +PKG_NAME="gpdftext" + +DIE=0 + +if [ -n "$GNOME2_DIR" ]; then + ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" + LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" + PATH="$GNOME2_DIR/bin:$PATH" + export PATH + export LD_LIBRARY_PATH +fi + +(test -f $srcdir/configure.ac) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level package directory" + exit 1 +} + +which gnome-autogen.sh || { + echo "You need to install gnome-common from the GNOME CVS or gnome-common package." + exit 1 +} + +if [ ! -f /usr/share/gnome-common/data/xmldocs.make ]; then + echo "You need xmldocs.make which normally comes from the gnome-common package." + exit 2 +fi +cp /usr/share/gnome-common/data/xmldocs.make . + +if [ ! -f /usr/share/gnome-common/data/omf.make ]; then + echo "You need omf.make which normally comes from the gnome-common package." + exit 2 +fi +cp /usr/share/gnome-common/data/omf.make . + +if [ ! -f /usr/share/gnome-doc-utils/gnome-doc-utils.make ]; then + echo "You need gnome-doc-utils.make which normally comes from the gnome-doc-utils package." + exit 2 +fi +cp /usr/share/gnome-doc-utils/gnome-doc-utils.make . + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`autoconf' installed." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +(grep "^IT_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && { + (intltoolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`intltool' installed." + echo "You can get it from:" + echo " ftp://ftp.gnome.org/pub/GNOME/" + DIE=1 + } +} + +(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.ac >/dev/null) && { + (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`xml-i18n-toolize' installed." + echo "You can get it from:" + echo " ftp://ftp.gnome.org/pub/GNOME/" + DIE=1 + } +} + +(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { + (libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`libtool' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + } +} + +(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.ac >/dev/null) && { + (grep "sed.*POTFILES" $srcdir/configure.ac) > /dev/null || \ + (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`glib' installed." + echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" + DIE=1 + } +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have \`automake' installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + NO_AUTOMAKE=yes +} + + +# if no automake, don't bother testing for aclocal +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing \`aclocal'. The version of \`automake'" + echo "installed doesn't appear recent enough." + echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +if test -z "$*"; then + echo "**Warning**: I am going to run \`configure' with no arguments." + echo "If you wish to pass any to it, please specify them on the" + echo \`$0\'" command line." + echo +fi + +case $CC in +xlc ) + am_opt=--include-deps;; +esac + +for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.ac -print` +do + dr=`dirname $coin` + if test -f $dr/NO-AUTO-GEN; then + echo skipping $dr -- flagged as no auto-gen + else + echo processing $dr + ( cd $dr + + aclocalinclude="$ACLOCAL_FLAGS" + + if grep "^AM_GLIB_GNU_GETTEXT" configure.ac >/dev/null; then + echo "Creating $dr/aclocal.m4 ..." + test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 + echo "Running glib-gettextize... Ignore non-fatal messages." + echo "no" | glib-gettextize --force --copy + echo "Making $dr/aclocal.m4 writable ..." + test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 + fi + if grep "^IT_PROG_INTLTOOL" configure.ac >/dev/null; then + echo "Running intltoolize..." + intltoolize --copy --force --automake + fi + if grep "^AM_PROG_XML_I18N_TOOLS" configure.ac >/dev/null; then + echo "Running xml-i18n-toolize..." + xml-i18n-toolize --copy --force --automake + fi + if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." + libtoolize --force --copy + fi + fi + echo "Running aclocal $aclocalinclude ..." + aclocal $aclocalinclude + if grep "^A[CM]_CONFIG_HEADER" configure.ac >/dev/null; then + echo "Running autoheader..." + autoheader + fi + echo "Running automake --gnu $am_opt ..." + automake --add-missing --gnu $am_opt + echo "Running autoconf ..." + autoconf + ) + fi +done + +if test x$NOCONFIGURE = x; then + echo Running $srcdir/configure $conf_flags "$@" ... + $srcdir/configure $conf_flags "$@" \ + && echo Now type \`make\' to compile. || exit 1 +else + echo Skipping configure process. +fi --- gpdftext-0.1.6.orig/debian/changelog +++ gpdftext-0.1.6/debian/changelog @@ -0,0 +1,87 @@ +gpdftext (0.1.6-2) unstable; urgency=medium + + * Change control information to point at new git location on + alioth. Update rules to add dh-autoreconf support. + + -- Neil Williams Sat, 30 Aug 2014 17:39:18 -0700 + +gpdftext (0.1.6-1) unstable; urgency=low + + * New upstream release. + * Allow deprecated g_type_init for glib versions prior to 2.36 + (Closes: #707355) + * Update Vcs-Browser URL and standards version. + + -- Neil Williams Sun, 19 May 2013 18:48:58 +0100 + +gpdftext (0.1.5-1) unstable; urgency=low + + * New upstream release + * Fixes previous poppler version check to use macro from + poppler. (Closes: #627644) + + -- Neil Williams Sun, 29 May 2011 11:42:49 +0100 + +gpdftext (0.1.4-1) unstable; urgency=low + + * New upstream release. + * [INTL:ru] Russian program translation update. + (Closes: #614747) + * [INTL:es] Updated Spanish translation for gpdftext + (Closes: #619471) + * Allow for gcc-4.6 -Werror behaviour (Closes: #625350) + + -- Neil Williams Sun, 08 May 2011 17:06:53 +0100 + +gpdftext (0.1.3-1) unstable; urgency=low + + * New upstream release + + -- Neil Williams Sat, 15 Jan 2011 19:16:18 +0000 + +gpdftext (0.1.2-1) unstable; urgency=low + + * New upstream release, relicensed under GPL-2 only. + (Closes: #609605) + + -- Neil Williams Sat, 15 Jan 2011 15:18:54 +0000 + +gpdftext (0.1.1-1) unstable; urgency=low + + * [INTL:pt] Updated Portuguese program translation (Closes: #566701) + * [INTL:vi] Vietnamese program translation (Closes: #576125) + + -- Neil Williams Thu, 01 Apr 2010 07:54:31 +0100 + +gpdftext (0.1.0-1) unstable; urgency=low + + * New upstream version. (Closes: #559433) + * Add cairo and pango to build-depends for PDF export. + * [INTL:es] Spanish user manual translation for gpdftext + (Closes: #559434) + * [INTL:ru] Russian program translation update (Closes: #562638) + * [INTL:ru] Russian manual translation update (Closes: #562648) + * [INTL:de] German program translation update (Closes: #562818) + * [INTL:pt] Updated Portuguese translation for help manual + (Closes: #563169) + * [l10n:cs] Updated Czech translation of gpdftext manual + (Closes: #563511) + * [INTL:de] Updated German manual translation (Closes: #564675) + + -- Neil Williams Wed, 20 Jan 2010 19:53:39 +0000 + +gpdftext (0.0.2-1) unstable; urgency=low + + * New upstream release. + * Update copyright with GFDL-1.3 notice. + + -- Neil Williams Fri, 20 Nov 2009 08:30:22 +0000 + +gpdftext (0.0.1-1) unstable; urgency=low + + * Initial release. (Closes: #550593: ITP: gpdftext -- convert an ebook + PDF to text) + * [INTL:pt] New Portuguese translation for gPDFText Manual + (Closes: #552333) + + -- Neil Williams Thu, 05 Nov 2009 16:47:55 +0000 --- gpdftext-0.1.6.orig/debian/compat +++ gpdftext-0.1.6/debian/compat @@ -0,0 +1 @@ +7 --- gpdftext-0.1.6.orig/debian/control +++ gpdftext-0.1.6/debian/control @@ -0,0 +1,36 @@ +Source: gpdftext +Section: utils +Priority: optional +Maintainer: Neil Williams +Build-Depends: cdbs, debhelper (>= 7), docbook-xsl, + autotools-dev, dh-autoreconf, + intltool, gnome-doc-utils, libtool, libxml-parser-perl, rarian-compat, + libcairo2-dev, + libgconf2-dev, + libglib2.0-dev, + libgtk2.0-dev (>= 2.16.5), + libgtkspell-dev, + libpango1.0-dev, + libpoppler-glib-dev +Standards-Version: 3.9.5 +Homepage: https://alioth.debian.org/projects/gpdftext/ +Vcs-Git: https://alioth.debian.org/anonscm/git/gpdftext/gpdftext.git +Vcs-Browser: https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=gpdftext/gpdftext.git;a=summary + +Package: gpdftext +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: yelp +Description: GTK+ text editor for ebook PDF files + gpdftext opens a simple text-based PDF file, typically + intended for reading on an ebook reader and loads the + text into a text editor window, autoformatting the text + for long lines and paragraph breaks. + . + gpdftext is useful when the downloaded PDF uses a small + font or wastes a lot of space in the margins so that + a plain text file would display in a more comfortable + font. + . + gpdftext supports spell checking and editor font selection + and can save ASCII content as PDF. --- gpdftext-0.1.6.orig/debian/copyright +++ gpdftext-0.1.6/debian/copyright @@ -0,0 +1,49 @@ +This work was packaged for Debian by: + + Neil Williams on Fri, 09 Oct 2009 20:07:59 +0100 + +It was downloaded from: + + http://sourceforge.net/projects/gpdftext/ + +Upstream Author: + + Neil Williams + +Files: help/* +Copyright: 2009 Neil Williams +Licence: GFDL-1.3+-BY-NIV + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GFDL-1.3'. + +Files: * +Copyright: 2009 Neil Williams +License: + + This program 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 program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: +Copyright (C) 2009 Neil Williams +and is licensed under the GPL version 2, see above. --- gpdftext-0.1.6.orig/debian/docs +++ gpdftext-0.1.6/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- gpdftext-0.1.6.orig/debian/menu +++ gpdftext-0.1.6/debian/menu @@ -0,0 +1,3 @@ +?package(gpdftext):needs="X11" section="Applications/Editors"\ + title="ebook PDF editor" command="/usr/bin/gpdftext"\ + icon="/usr/share/pixmaps/gpdftext.xpm" --- gpdftext-0.1.6.orig/debian/rules +++ gpdftext-0.1.6/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/autoreconf.mk + --- gpdftext-0.1.6.orig/debian/source/format +++ gpdftext-0.1.6/debian/source/format @@ -0,0 +1 @@ +1.0 --- gpdftext-0.1.6.orig/debian/svn-deblayout +++ gpdftext-0.1.6/debian/svn-deblayout @@ -0,0 +1 @@ +origDir=. --- gpdftext-0.1.6.orig/debian/watch +++ gpdftext-0.1.6/debian/watch @@ -0,0 +1,5 @@ +# Compulsory line, this is a version 3 file +version=3 +# Uncomment to find new files on sourceforge, for devscripts >= 2.9 +http://sf.net/gpdftext/gpdftext-(.*)\.tar\.gz +