--- gettext-kde-0.10.35.orig/config.log +++ gettext-kde-0.10.35/config.log @@ -0,0 +1,3 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + --- gettext-kde-0.10.35.orig/confdefs.h +++ gettext-kde-0.10.35/confdefs.h @@ -0,0 +1 @@ + --- gettext-kde-0.10.35.orig/debian/docs +++ gettext-kde-0.10.35/debian/docs @@ -0,0 +1,6 @@ +BUGS +NEWS +README +README-alpha +README.gemtext +TODO --- gettext-kde-0.10.35.orig/debian/compat +++ gettext-kde-0.10.35/debian/compat @@ -0,0 +1 @@ +4 --- gettext-kde-0.10.35.orig/debian/copyright +++ gettext-kde-0.10.35/debian/copyright @@ -0,0 +1,21 @@ +This package was debianised by Jonathan Riddell on +Tue, 15 Nov 2005 17:53:44 +0000. + +It was downloaded from ftp://ftp.kde.org/pub/kde/devel/gettext-kde/gettext-0.10.35-kde.tar.gz + +GNU gettext was written by Ulrich Drepper . + +Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. + +This program 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, 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. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. --- gettext-kde-0.10.35.orig/debian/rules +++ gettext-kde-0.10.35/debian/rules @@ -0,0 +1,132 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +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 + +config.status: configure + dh_testdir + # Add here commands to configure the package. + + # Apply Debian specific patches + if test ! -f patch-stamp; then \ + for patch in $(CURDIR)/debian/patches/*.diff ;\ + do \ + echo APPLYING PATCH\: $${patch##*/};\ + patch -p0 < $$patch ;\ + done ;\ + touch patch-stamp ;\ + fi + + rm -f missing mkinstalldirs ltconfig install-sh ltmain.sh libtool + libtoolize --force + aclocal -I m4 + automake -a + autoheader + autoconf + + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -C intl + $(MAKE) -C lib + $(MAKE) -C src xgettext + #docbook-to-man debian/gettext-kde.sgml > gettext-kde.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + + # Remove Debian specific patches + if test -f patch-stamp; then \ + for patch in $(CURDIR)/debian/patches/*.diff ;\ + do \ + echo REMOVING PATCH\: $${patch##*/};\ + patch -p0 -R < $$patch ;\ + done ;\ + rm -f patch-stamp ;\ + fi + + rm -f config.sub config.guess elisp-comp depcomp missing install-sh ltmain.sh + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/gettext-kde. + mkdir -p debian/gettext-kde/usr/bin/ + install -m 755 src/xgettext debian/gettext-kde/usr/bin/kde-xgettext + +# 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_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# 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 --- gettext-kde-0.10.35.orig/debian/control +++ gettext-kde-0.10.35/debian/control @@ -0,0 +1,13 @@ +Source: gettext-kde +Section: devel +Priority: optional +Maintainer: Jonathan Riddell +Build-Depends: debhelper (>= 4.0.0), autotools-dev, libtool, automake1.9 +Standards-Version: 3.6.2 + +Package: gettext-kde +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: version of gettext used by KDE + KDE and KDE programs use this older patched version of + xgettext to create .pot files from program's i18n strings. --- gettext-kde-0.10.35.orig/debian/changelog +++ gettext-kde-0.10.35/debian/changelog @@ -0,0 +1,25 @@ +gettext-kde (0.10.35-0ubuntu4) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Fri, 05 Mar 2010 04:34:39 +0100 + +gettext-kde (0.10.35-0ubuntu3) karmic; urgency=low + + * No-change rebuild to gain FORTIFY defaults. + + -- Kees Cook Sat, 09 May 2009 10:13:35 -0700 + +gettext-kde (0.10.35-0ubuntu2) gutsy; urgency=low + + * No-change upload to enable stack protector. + + -- Kees Cook Tue, 14 Aug 2007 10:19:11 -0700 + +gettext-kde (0.10.35-0ubuntu1) dapper; urgency=low + + * Initial release, based on SuSE's kdesdk packaging + + -- Jonathan Riddell Tue, 15 Nov 2005 17:53:44 +0000 + --- gettext-kde-0.10.35.orig/debian/patches/gettext-0.10.35.diff +++ gettext-kde-0.10.35/debian/patches/gettext-0.10.35.diff @@ -0,0 +1,37 @@ +--- configure.in ++++ configure.in 2004/03/27 11:39:01 +@@ -26,7 +26,6 @@ + AC_C_INLINE + AC_TYPE_OFF_T + AC_TYPE_SIZE_T +-AM_TYPE_PTRDIFF_T + + dnl Checks for library functions. + AC_FUNC_ALLOCA +@@ -38,15 +37,7 @@ + AC_CHECK_FUNCS(getdelim) + fi + +-AC_CHECK_FUNC(parse_printf_format, gt_cv_func_parse_printf_format=yes, +- gt_cv_func_parse_printf_format=no) +-if test $gt_cv_func_parse_printf_format = yes; then +- AC_DEFINE(HAVE_PARSE_PRINTF_FORMAT) +-else +- LIBOBJS="$LIBOBJS printf-prs.o" +-fi +- +-AM_FUNC_ERROR_AT_LINE ++AC_DEFINE(HAVE_PARSE_PRINTF_FORMAT) + + dnl These are the only lines required to internationalize the package. + dnl (OK, not quite, the AC_OUTPUT has also some parts.) +--- src/xgettext.c ++++ src/xgettext.c 2004/03/27 11:39:11 +@@ -48,7 +48,6 @@ + #include "dir-list.h" + #include "error.h" + #include "hash.h" +-#include "getline.h" + #include "system.h" + #include "po.h" + #include "message.h"