[DebiaBRTeam-commits] r541 - in /packages/ktranslator/trunk/debian: README.Debian changelog control ktranslator.1 rules

faw at users.alioth.debian.org faw at users.alioth.debian.org
Sun Jul 27 00:27:15 UTC 2008


Author: faw
Date: Sun Jul 27 00:27:15 2008
New Revision: 541

URL: http://svn.debian.org/wsvn/?sc=1&rev=541
Log:
[ktranslator]
 * Fixing various typos and English wording (but it should go to l10n-english
   for review as soon as possible).
 * Changing debian/control to use LDFLAGS to create a more realistic Depends
   (--as-needed) and to properly use ./configure parameters.

Modified:
    packages/ktranslator/trunk/debian/README.Debian
    packages/ktranslator/trunk/debian/changelog
    packages/ktranslator/trunk/debian/control
    packages/ktranslator/trunk/debian/ktranslator.1
    packages/ktranslator/trunk/debian/rules

Modified: packages/ktranslator/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/packages/ktranslator/trunk/debian/README.Debian?rev=541&op=diff
==============================================================================
--- packages/ktranslator/trunk/debian/README.Debian (original)
+++ packages/ktranslator/trunk/debian/README.Debian Sun Jul 27 00:27:15 2008
@@ -1,12 +1,12 @@
 ktranslator for Debian
 ----------------------
 
-The main idea behind KTranslator is to translate a word without disturb the
-application in use. So, when the user click with right button of the mouse
-over a word while pressing CTRL key, KTranslator will try to translate the
-word and show the result in a popup window.
+The main idea behind KTranslator is to translate a word without disturbing
+the application in use. So, when the user click with the mouse's right
+button on a word while pressing CTRL key, KTranslator will try to translate
+the word and show the result in a popup window.
 
-You can get some dictionaries to KTranslator in
+You can get some dictionaries to KTranslator at
 http://ktranslator.sourceforge.net/dictionaries.html.
 
  -- Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>  Mon, 03 Dec 2007 03:03:30 -0200

Modified: packages/ktranslator/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/packages/ktranslator/trunk/debian/changelog?rev=541&op=diff
==============================================================================
--- packages/ktranslator/trunk/debian/changelog (original)
+++ packages/ktranslator/trunk/debian/changelog Sun Jul 27 00:27:15 2008
@@ -11,8 +11,8 @@
   * Changed the patch 01 to remove the "Encoding" field (deprecated).
   * Added patch "03" to avoid a warning about modifications in upstream source
     code after compilation process. The upstream program is changing a "static"
-    instalation file (config.h.in) when compiling.
-  * Added gocr as instalation dependence in debian/control.
+    installation file (config.h.in) when compiling.
+  * Added gocr as installation dependence in debian/control.
   * Added "Screenshot" in long description in debian/control.
   * Changed autoconf2.13 to autoconf in debian/control.
   * Added debian/README.Debian file.

Modified: packages/ktranslator/trunk/debian/control
URL: http://svn.debian.org/wsvn/packages/ktranslator/trunk/debian/control?rev=541&op=diff
==============================================================================
--- packages/ktranslator/trunk/debian/control (original)
+++ packages/ktranslator/trunk/debian/control Sun Jul 27 00:27:15 2008
@@ -13,13 +13,13 @@
 Depends: ${shlibs:Depends}, gocr
 Suggests: festival
 Description: translate words from one language to another
- Translate words and should support any language. It come with a  plugin
- system, to ease the addition of new dictionaries.
+ Translate words and should support any language. It comes with a plugin
+ system to ease the addition of new dictionaries.
  .
- The main idea behind KTranslator is to translate a word without disturb the
- application in use. So, when the user click with right button of the mouse
- over a word while pressing CTRL key, KTranslator will try to translate the
- word and show the result in a popup window. It behaves like Babylon for
+ The main idea behind KTranslator is to translate a word without disturbing
+ the application in use. So, when the user click with the mouse's right
+ button on a word while pressing CTRL key, KTranslator will try to translate
+ the word and show the result in a popup window. It behaves like Babylon for
  Windows.
  .
  Screenshot: http://www.eriberto.pro.br/debian/screenshots/ktranslator.jpg

Modified: packages/ktranslator/trunk/debian/ktranslator.1
URL: http://svn.debian.org/wsvn/packages/ktranslator/trunk/debian/ktranslator.1?rev=541&op=diff
==============================================================================
--- packages/ktranslator/trunk/debian/ktranslator.1 (original)
+++ packages/ktranslator/trunk/debian/ktranslator.1 Sun Jul 27 00:27:15 2008
@@ -8,7 +8,7 @@
 .SH DESCRIPTION
 .PP
 \fBktranslator\fP is a program to translate words from one language to another. 
-KTranslator should support any language and come with a plugin  system, to 
+KTranslator should support any language and comeis with a plugin system to 
 ease the addition of new dictionaries.
 .SH OPTIONS
 .TP

Modified: packages/ktranslator/trunk/debian/rules
URL: http://svn.debian.org/wsvn/packages/ktranslator/trunk/debian/rules?rev=541&op=diff
==============================================================================
--- packages/ktranslator/trunk/debian/rules (original)
+++ packages/ktranslator/trunk/debian/rules Sun Jul 27 00:27:15 2008
@@ -11,6 +11,7 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 CFLAGS = -Wall -g
+LDFLAGS = -Wl,--as-needed
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -26,7 +27,14 @@
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 	cp -f /usr/share/misc/config.guess config.guess
 endif
-	./configure --disable-rpath --libdir=/usr/lib
+	./configure \
+		-host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--disable-rpath \
+		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 
 build: build-stamp
 




More information about the debian-br-team-commits mailing list