--- gnome-translate-0.99.orig/debian/watch +++ gnome-translate-0.99/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://savannah.nongnu.org/download/libtranslate/gnome-translate-(.*)\.tar\.gz --- gnome-translate-0.99.orig/debian/changelog +++ gnome-translate-0.99/debian/changelog @@ -0,0 +1,22 @@ +gnome-translate (0.99-0ubuntu3) intrepid; urgency=low + + * No-change rebuild to compile against new libgtk2.0-dev (which now + provides gail library) to have gnome-translate installable again. + + -- Luca Falavigna Sun, 31 Aug 2008 15:24:33 +0200 + +gnome-translate (0.99-0ubuntu2) hardy; urgency=low + + * recompile for hardy (LP: #193769) + * debian/rules: use dh_icons instead of dh_iconcache + + -- Jamie Strandboge Fri, 28 Mar 2008 08:58:15 -0400 + +gnome-translate (0.99-0ubuntu1) edgy; urgency=low + + * Initial release. + * 01_eel_alert.dpatch: + - fixes syntax issue with eel_alert_dialog_new function + + -- Gauvain Pocentek Sat, 14 Jan 2006 15:14:09 +0100 + --- gnome-translate-0.99.orig/debian/rules +++ gnome-translate-0.99/debian/rules @@ -0,0 +1,93 @@ +#!/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 + +# Include dpatch stuff. +include /usr/share/dpatch/dpatch.make + +# 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. + LDFLAGS=-Wl,--export-dynamic CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc + + +build: patch build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + docbook2x-man debian/gnome-translate.1.docbook + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -f gnome-translate.1 help/C/gnome-translate-C.omf.out + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/gnome-translate. + $(MAKE) install DESTDIR=$(CURDIR)/debian/gnome-translate + + rm -f debian/gnome-translate/usr/share/gnome/help/gnome-translate/C/*license.xml + +# 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 + dh_installdocs + dh_installexamples + dh_installman gnome-translate.1 + dh_icons + dh_scrollkeeper + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- gnome-translate-0.99.orig/debian/control +++ gnome-translate-0.99/debian/control @@ -0,0 +1,18 @@ +Source: gnome-translate +Section: gnome +Priority: optional +Maintainer: Gauvain Pocentek +Build-Depends: debhelper (>= 5.0.0), dpatch, libaspell-dev, libgtk2.0-dev, libgnomeui-dev, libeel2-dev, libtranslate-dev, libxml-parser-perl, docbook2x, scrollkeeper +Standards-Version: 3.7.2 + +Package: gnome-translate +Architecture: any +Depends: ${shlibs:Depends} +Recommends: aspell +Description: GNOME interface to libtranslate + GNOME Translate is a GNOME interface to libtranslate. It can + translate a text or web page between several natural languages, + and it can automatically detect the source language as you type. + . + Homepage: http://www.nongnu.org/libtranslate/gnome-translate/ + --- gnome-translate-0.99.orig/debian/copyright +++ gnome-translate-0.99/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by Gauvain Pocentek on +Sat, 14 Jan 2006 15:14:09 +0100. + +It was downloaded from http://www.nongnu.org/libtranslate/gnome-translate/ + +Copyright (C) 2005 Jean-Yves Lefort + +Software 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 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 program; 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 the GNU General Public License +Version 2 can be found in `/usr/share/common-licenses/GPL-2' file. + + +Documentation License: + + Redistribution and use in source (SGML DocBook) and 'compiled' + forms (SGML, HTML, PDF, PostScript, RTF and so forth) with or + without modification, are permitted provided that the following + conditions are met: + + Redistributions of source code (SGML DocBook) must + retain the above copyright notice, this list of conditions and + the following disclaimer as the first lines of this file + unmodified. + + Redistributions in compiled form (transformed to other + DTDs, converted to PDF, PostScript, RTF and other formats) + must reproduce the above copyright notice, this list of + conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF + THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY + OF SUCH DAMAGE. --- gnome-translate-0.99.orig/debian/compat +++ gnome-translate-0.99/debian/compat @@ -0,0 +1 @@ +5 --- gnome-translate-0.99.orig/debian/gnome-translate.1.docbook +++ gnome-translate-0.99/debian/gnome-translate.1.docbook @@ -0,0 +1,61 @@ + + + + + + Gauvain + Pocentek + gauvainpocentek@ubuntu.com + + + 2006 + Gauvain Pocentek + + + + 2005-11-16 + + + + gnome-translate + 1 + + + gnome-translate + GNOME interface to libtranslate. + + + + gnome-translate + + + + DESCRIPTION + + GNOME interface to libtranslate. + + + GNOME Translate is a GNOME interface to libtranslate. It can + translate a text or web page between several natural languages, + and it can automatically detect the source language as you type. + + + + COPYRIGHT + + This manual page was written by Gauvain Pocentek + gauvainpocentek@ubuntu.com for the + Debian system (but may be used by others). + 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. + + + --- gnome-translate-0.99.orig/debian/patches/00list +++ gnome-translate-0.99/debian/patches/00list @@ -0,0 +1 @@ +01_eel_alert.dpatch --- gnome-translate-0.99.orig/debian/patches/01_eel_alert.dpatch +++ gnome-translate-0.99/debian/patches/01_eel_alert.dpatch @@ -0,0 +1,35 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_eel_alert.dpatch by Gauvain Pocentek +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fixes syntax issue with eel_alert_dialog_new fonction + +@DPATCH@ + +diff -Naur gnome-translate-0.99.orig/src/gt-app.c +gnome-translate-0.99/src/gt-app.c +--- gnome-translate-0.99.orig/src/gt-app.c 2006-04-10 08:47:29.000000000 +0200 ++++ gnome-translate-0.99/src/gt-app.c 2006-04-10 08:50:37.000000000 +0200 +@@ -1168,8 +1168,7 @@ + GTK_MESSAGE_WARNING, + GTK_BUTTONS_YES_NO, + _("Overwrite file?"), +- secondary, +- NULL); ++ secondary); + g_free(secondary); + + gtk_dialog_set_default_response(GTK_DIALOG(confirmation_dialog), GTK_RESPONSE_NO); /* safe default */ +diff -Naur gnome-translate-0.99.orig/src/gt-util.c gnome-translate-0.99/src/gt-util.c +--- gnome-translate-0.99.orig/src/gt-util.c 2006-04-10 08:47:29.000000000 +0200 ++++ gnome-translate-0.99/src/gt-util.c 2006-04-10 08:49:29.000000000 +0200 +@@ -53,8 +53,7 @@ + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, + primary, +- secondary, +- NULL); ++ secondary); + + if (blocking) + {