rev 3356 - in kde-extras: . klibido klibido/trunk klibido/trunk/debian klibido/trunk/debian/man klibido/trunk/debian/patches

Fathi Boudra fboudra-guest at costa.debian.org
Sun Mar 26 23:21:56 UTC 2006


Author: fboudra-guest
Date: 2006-03-26 23:21:55 +0000 (Sun, 26 Mar 2006)
New Revision: 3356

Added:
   kde-extras/klibido/
   kde-extras/klibido/branches/
   kde-extras/klibido/tags/
   kde-extras/klibido/trunk/
   kde-extras/klibido/trunk/debian/
   kde-extras/klibido/trunk/debian/autogen.sh
   kde-extras/klibido/trunk/debian/changelog
   kde-extras/klibido/trunk/debian/compat
   kde-extras/klibido/trunk/debian/control
   kde-extras/klibido/trunk/debian/copyright
   kde-extras/klibido/trunk/debian/klibido.manpages
   kde-extras/klibido/trunk/debian/klibido.menu
   kde-extras/klibido/trunk/debian/man/
   kde-extras/klibido/trunk/debian/man/klibido.1
   kde-extras/klibido/trunk/debian/patches/
   kde-extras/klibido/trunk/debian/patches/001_fix_build_with_gcc4_1.patch
   kde-extras/klibido/trunk/debian/patches/00list
   kde-extras/klibido/trunk/debian/rules
   kde-extras/klibido/trunk/debian/watch
Log:
Added klibido to kde-extras

Added: kde-extras/klibido/trunk/debian/autogen.sh
===================================================================
--- kde-extras/klibido/trunk/debian/autogen.sh	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/autogen.sh	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,69 @@
+#!/bin/sh
+#
+# autogen.sh glue for hplip
+#
+# HPLIP used to have five or so different autotools trees.  Upstream
+# has reduced it to two.  Still, this script is capable of cleaning
+# just about any possible mess of autoconf files.
+#
+# BE CAREFUL with trees that are not completely automake-generated,
+# this script deletes all Makefile.in files it can find.
+#
+# Requires: automake 1.9, autoconf 2.57+
+# Conflicts: autoconf 2.13
+set -e
+
+# Refresh GNU autotools toolchain.
+echo Cleaning autotools files...
+find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \;
+find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \
+	-o -name depcomp -o -name ltmain.sh -o -name configure \
+	-o -name config.sub -o -name config.guess \
+	-o -name Makefile.in \) -print0 | xargs -0 rm -f
+
+echo Running autoreconf...
+autoreconf --force --install
+
+# For the Debian package build
+test -d debian && {
+	# link these in Debian builds
+	rm -f config.sub config.guess
+	ln -s /usr/share/misc/config.sub .
+	ln -s /usr/share/misc/config.guess .
+
+	# refresh list of executable scripts, to avoid possible breakage if
+	# upstream tarball does not include the file or if it is mispackaged
+	# for whatever reason.
+	[ "$1" == "updateexec" ] && {
+		echo Generating list of executable files...
+		rm -f debian/executable.files
+		find -type f -perm +111 ! -name '.*' -fprint debian/executable.files
+	}
+
+	# Remove any files in upstream tarball that we don't have in the Debian
+	# package (because diff cannot remove files)
+	version=`dpkg-parsechangelog | awk '/Version:/ { print $2 }' | sed -e 's/-[^-]\+$//'`
+	source=`dpkg-parsechangelog | awk '/Source:/ { print $2 }' | tr -d ' '`
+	if test -r ../${source}_${version}.orig.tar.gz ; then
+		echo Generating list of files that should be removed...
+		rm -f debian/deletable.files
+		touch debian/deletable.files
+		[ -e debian/tmp ] && rm -rf debian/tmp
+		mkdir debian/tmp
+		( cd debian/tmp ; tar -zxf ../../../${source}_${version}.orig.tar.gz )
+		find debian/tmp/ -type f ! -name '.*' -print0 | xargs -0 -ri echo '{}' | \
+		  while read -r i ; do
+			if test -e "${i}" ; then
+				filename=$(echo "${i}" | sed -e 's#.*debian/tmp/[^/]\+/##')
+				test -e "${filename}" || echo "${filename}" >>debian/deletable.files
+			fi
+		  done
+		rm -fr debian/tmp
+	else
+		echo Emptying list of files that should be deleted...
+		rm -f debian/deletable.files
+		touch debian/deletable.files
+	fi
+}
+
+exit 0

Added: kde-extras/klibido/trunk/debian/changelog
===================================================================
--- kde-extras/klibido/trunk/debian/changelog	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/changelog	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,22 @@
+klibido (0.2.5-1) unstable; urgency=low
+
+  * change from libdb4.3++dev to libdb4.2++dev for bug #329439
+  * DEB_BUILD_OPTIONS can now be use to enable debug mode
+  export DEB_BUILD_OPTIONS=debug before starting the build process
+  * new upstream release (closes: #329439)
+  * build with config.guess and config.sub from Debian's autotools-dev
+    (closes: #329439)
+  * fixe: create a correct link to the documentation
+    (thanks to Fathi Boudra) 
+  * new watch file
+  * maintainer changed to Debian KDE Extras Team
+  * fix FTBFS with gcc4.1 (closes: #355986), thanks to  Martin Michlmayr
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Wed,  8 Mar 2006 12:33:30 +0100
+
+klibido (0.2.4.1-1) unstable; urgency=low
+
+  * Initial Release.
+    (closes: Bug#298602)
+
+ -- Gonéri Le Bouder <goneri at rulezlan.org>  Wed, 14 Sep 2005 21:09:59 +0000

Added: kde-extras/klibido/trunk/debian/compat
===================================================================
--- kde-extras/klibido/trunk/debian/compat	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/compat	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1 @@
+5

Added: kde-extras/klibido/trunk/debian/control
===================================================================
--- kde-extras/klibido/trunk/debian/control	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/control	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,35 @@
+Source: klibido
+Section: news
+Priority: optional
+Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
+Uploaders: Gonéri Le Bouder <goneri at rulezlan.org>
+Build-Depends:  c++-compiler, debhelper (>> 5.0.0), kdelibs4-dev, libuu-dev, libdb4.3++-dev, docbook-to-man, dpatch, autotools-dev, automake1.9
+Standards-Version: 3.6.2
+
+Package: klibido
+Architecture: any
+Depends: ${shlibs:Depends} 
+Description: usenet binary grabber for KDE
+ KLibido is a KDE program to download encoded articles from the usenet news
+ service, using the nntp protocol. It supports multiple servers, multiple
+ download threads per server, automatic joining and decoding of articles.
+ .
+ KLibido is not a NewsReader. It doesn't let you easily display the articles -
+ only their subject, and it discards all non-binary posts. If you want a nice
+ newsreader for KDE, try KNode.
+ .
+ Features include:
+  - Getting the group list and subscribe to newsgroups
+  - Getting headers, sorting, filtering by subject, state and "completeness" 
+  - downloading and decoding of binary posts (including yEnc).
+  - Queue management: it's possible to drag and drop items around in the
+    download queue to change the order of download, pause the queue, pause
+    and cancel the items in the queue.
+  - Server priorities and balancing
+  - Requeueing: if an article fails on a server, it is automatically tried on
+    the other servers.
+  - Viewing nfo's, covers, et al inside the program using kparts.
+  - Group categories and aliases
+  - .nzb support
+  - KLibido uses kde and the kde libraries for the interface, Berkeley DB for
+    storing the newsgroups' headers, and UUDeview for decoding the posts.

Added: kde-extras/klibido/trunk/debian/copyright
===================================================================
--- kde-extras/klibido/trunk/debian/copyright	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/copyright	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,8 @@
+This package was debianized by Gonéri Le Bouder on
+Tue, 15 Mar 2005 15:00:56 +0100.
+
+Original source can be found at: http://klibido.sf.net 
+
+Copyrighted by various authors. Licensed under the terms of GNU GPL.
+See /usr/share/common-licenses/GPL for details.
+

Added: kde-extras/klibido/trunk/debian/klibido.manpages
===================================================================
--- kde-extras/klibido/trunk/debian/klibido.manpages	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/klibido.manpages	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1 @@
+debian/man/klibido.1

Added: kde-extras/klibido/trunk/debian/klibido.menu
===================================================================
--- kde-extras/klibido/trunk/debian/klibido.menu	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/klibido.menu	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,6 @@
+?package(klibido):\
+		needs="X11"\
+		section="Apps/Net"\
+		hints="KDE,News"\
+		title="klibido"\
+		command="/usr/bin/klibido"

Added: kde-extras/klibido/trunk/debian/man/klibido.1
===================================================================
--- kde-extras/klibido/trunk/debian/man/klibido.1	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/man/klibido.1	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,153 @@
+.\" This file was generated by kdemangen.pl
+.TH KLIBIDO 1 "Jun 2005" "K Desktop Environment" "KDE Linux Binaries Downloader"
+.SH NAME
+klibido
+- KDE Linux Binaries Downloader
+.SH SYNOPSIS
+klibido [Qt-options] [KDE-options] 
+.SH DESCRIPTION
+Libido is a KDE program to download encoded articles from the usenet news
+service, using the nntp protocol. It supports multiple servers, multiple
+download threads per server, automatic joining and decoding of articles.
+ 
+KLibido is not a NewsReader. It doesn\'t let you easily display the articles 
+only their subject, and it discards all non-binary posts. If you want a nice
+newsreader for KDE, try KNode.
+     
+.SH OPTIONS
+.SS Generic options:
+.TP
+.B  --help  
+Show help about options
+.TP
+.B  --help-qt  
+Show Qt specific options
+.TP
+.B  --help-kde  
+Show KDE specific options
+.TP
+.B  --help-all  
+Show all options
+.TP
+.B  --author  
+Show author information
+.TP
+.B -v,  --version  
+Show version information
+.TP
+.B  --license  
+Show license information
+.TP
+.B  --  
+End of options
+.SS 
+.SS KDE options:
+.TP
+.B  --caption  <caption>
+Use 'caption' as name in the titlebar
+.TP
+.B  --icon  <icon>
+Use 'icon' as the application icon
+.TP
+.B  --miniicon  <icon>
+Use 'icon' as the icon in the titlebar
+.TP
+.B  --config  <filename>
+Use alternative configuration file
+.TP
+.B  --dcopserver  <server>
+Use the DCOP Server specified by 'server'
+.TP
+.B  --nocrashhandler  
+Disable crash handler, to get core dumps
+.TP
+.B  --waitforwm  
+Waits for a WM_NET compatible windowmanager
+.TP
+.B  --style  <style>
+sets the application GUI style
+.TP
+.B  --geometry  <geometry>
+sets the client geometry of the main widget - see man X for the argument format
+.SS Qt options:
+.TP
+.B  --display  <displayname>
+Use the X-server display 'displayname'
+.TP
+.B  --session  <sessionId>
+Restore the application for the given 'sessionId'
+.TP
+.B  --cmap  
+Causes the application to install a private color
+map on an 8-bit display
+.TP
+.B  --ncols  <count>
+Limits the number of colors allocated in the color
+cube on an 8-bit display, if the application is
+using the QApplication::ManyColor color
+specification
+.TP
+.B  --nograb  
+tells Qt to never grab the mouse or the keyboard
+.TP
+.B  --dograb  
+running under a debugger can cause an implicit
+-nograb, use -dograb to override
+.TP
+.B  --sync  
+switches to synchronous mode for debugging
+.TP
+.B --fn,  --font  <fontname>
+defines the application font
+.TP
+.B --bg,  --background  <color>
+sets the default background color and an
+application palette (light and dark shades are
+calculated)
+.TP
+.B --fg,  --foreground  <color>
+sets the default foreground color
+.TP
+.B --btn,  --button  <color>
+sets the default button color
+.TP
+.B  --name  <name>
+sets the application name
+.TP
+.B  --title  <title>
+sets the application title (caption)
+.TP
+.B  --visual  TrueColor
+forces the application to use a TrueColor visual on
+an 8-bit display
+.TP
+.B  --inputstyle  <inputstyle>
+sets XIM (X Input Method) input style. Possible
+values are onthespot, overthespot, offthespot and
+root
+.TP
+.B  --im  <XIM server>
+set XIM server
+.TP
+.B  --noxim  
+disable XIM
+.TP
+.B  --reverse  
+mirrors the whole layout of widgets
+.SS 
+
+.SH SEE ALSO
+Full user documentation is available through the KDE Help Center.  You can also enter the URL
+.BR help:/klibido/
+directly into konqueror or you can run 
+.BR "`khelpcenter help:/klibido/'"
+from the command-line.
+.br
+.SH AUTHORS
+.nf
+Alessandro "Bauno" Bonometti <bauno at inwind.it>
+.br
+.SH OTHERS
+This manual page was written by Loic Pefferkorn <loic at dev.erodia.net> 
+for the Ubuntu System (but may be used by others).
+

Added: kde-extras/klibido/trunk/debian/patches/001_fix_build_with_gcc4_1.patch
===================================================================
--- kde-extras/klibido/trunk/debian/patches/001_fix_build_with_gcc4_1.patch	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/patches/001_fix_build_with_gcc4_1.patch	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,32 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Martin Michlmayr <tbm at cyrius.com>
+## DP: gcc FTBFS with gc4.1 
+
+
+ at DPATCH@
+
+diff -ru klibido-0.2.5.orig/src/nntpthreadsocket.h klibido-0.2.5/src/nntpthreadsocket.h
+--- klibido-0.2.5.orig/src/nntpthreadsocket.h	2006-01-06 23:05:32.000000000 +0100
++++ klibido-0.2.5/src/nntpthreadsocket.h	2006-03-27 00:12:57.000000000 +0200
+@@ -234,7 +234,7 @@
+ 		bool getHead(QString group, int artnum); //Unimplemented
+ 		int m_getError() {return error;}
+     	const char *m_getErrorDesc() {return (const char *) errorString;}
+-		char * NntpThreadSocket::m_findEndLine( char * start, char * end );
++		char * m_findEndLine( char * start, char * end );
+ 		void setHost(NntpHost *nh);
+ 		bool m_sendCmd( QString& cmd, int response );
+ 		QTime prevTime, currentTime;
+diff -ru klibido-0.2.5.orig/src/yydecoder.h klibido-0.2.5/src/yydecoder.h
+--- klibido-0.2.5.orig/src/yydecoder.h	2005-03-09 12:18:55.000000000 +0100
++++ klibido-0.2.5/src/yydecoder.h	2006-03-27 00:13:34.000000000 +0200
+@@ -87,7 +87,7 @@
+ 	
+ private:
+ 	
+-	inline void yyDecoder::charCRC(const unsigned char *c);
++	inline void charCRC(const unsigned char *c);
+ 	
+ 	QStringList m_fileParts;
+ 	QStringList::Iterator fileIterator;

Added: kde-extras/klibido/trunk/debian/patches/00list
===================================================================
--- kde-extras/klibido/trunk/debian/patches/00list	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/patches/00list	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1 @@
+001_fix_build_with_gcc4_1.patch

Added: kde-extras/klibido/trunk/debian/rules
===================================================================
--- kde-extras/klibido/trunk/debian/rules	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/rules	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,138 @@
+#!/usr/bin/make -f
+#
+# debian/rules by Goneri Le Bouder <goneri at rulezlan.org>
+#
+# $Id: rules,v 1.1 2006-01-28 00:33:05 goneri Exp $
+#
+export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
+
+
+
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE  := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+CXXFLAGS = -Wall
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+        CXXFLAGS += -O0 -g
+else
+        CONFFLAGS = --disable-debug
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CXXFLAGS += -O0
+else
+        CXXFLAGS += -O3
+endif
+
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+        CXXFLAGS += -g
+else
+        CXXFLAGS += -s
+endif
+endif
+
+
+configure:
+	#libtoolize --force --copy
+	chmod +x debian/autogen.sh
+	debian/autogen.sh
+
+configure-stamp: patch-stamp configure
+	dh_testdir
+	
+	ln -sf /usr/share/misc/config.sub admin
+	ln -sf /usr/share/misc/config.guess admin
+	rm -f config.cache
+	
+	$(checkdir)
+	CXXFLAGS="$(CXXFLAGS)" ./configure --prefix=/usr --disable-rpath $(CONFFLAGS) --enable-final
+	# Patch the generated libtool to avoid passing -rpath when linking,
+	# and to explicitly link libraries against the libraries they
+	# depend on.
+	sed < libtool > libtool-2 \
+	-e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \
+	-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
+	mv libtool-2 libtool
+	chmod 755 libtool
+	touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	CXXFLAGS="$(CXXFLAGS)" ${MAKE} 
+	touch build-stamp
+
+clean: clean-patched unpatch
+
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	-$(MAKE) clean
+	-$(MAKE) distclean
+	find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \;
+	-rm -f platform.h auto-include.h
+	find -type d -name build -print0 | xargs -0 -r rm -rf \;
+	find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \;
+
+	# Fix permissions
+	if [ -r debian/executable.files ] ; then \
+		find -type d -print0 | xargs -0 -r chmod 755 ;\
+		find -type f ! -name 'rules' -print0 | xargs -0 -r chmod 644 ;\
+		xargs -t -r chmod +x < debian/executable.files ;\
+	fi
+
+	# Final static cleanups
+	if [ -r debian/deletable.files ] ; then \
+		xargs -t -r rm -f < debian/deletable.files ;\
+	fi
+
+	dh_clean
+
+
+install: build
+	dh_testdir
+	dh_testroot
+#	dh_clean -k
+	$(MAKE) install DESTDIR=`pwd`/debian/klibido
+	# Doc
+	rm `pwd`/debian/klibido/usr/share/doc/HTML/en/klibido/common
+	dh_link usr/share/doc/kde/HTML/en/common \
+	         usr/share/doc/kde/HTML/en/klibido/common
+	chown -R root:root `pwd`/debian/klibido/usr/share/doc/
+#	dh_installdirs usr/share/pixmaps/	       
+#	cp `pwd`/debian/klibido/usr/share/apps/klibido/icons/hicolor/16x16/apps/klibido.png \
+#                `pwd`/debian/klibido/usr/share/pixmaps/klibido-16.png
+#	cp `pwd`/debian/klibido/usr/share/apps/klibido/icons/hicolor/32x32/apps/klibido.png \
+#                `pwd`/debian/klibido/usr/share/pixmaps/klibido.png
+	dh_installmenu
+	dh_installman
+
+# 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_installdirs
+	dh_installdocs
+	dh_installchangelogs
+	dh_install src/klibido.desktop usr/share/applications/kde
+	# Fix for 0.2.4.1's wrong permission
+	chmod 644 `pwd`/debian/klibido/usr/share/applications/kde/klibido.desktop
+	dh_link
+	dh_strip
+	dh_compress
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	chmod -s * -R # fix for dh_builddeb
+	dh_builddeb
+
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch clean checkroot


Property changes on: kde-extras/klibido/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: kde-extras/klibido/trunk/debian/watch
===================================================================
--- kde-extras/klibido/trunk/debian/watch	2006-03-26 17:46:11 UTC (rev 3355)
+++ kde-extras/klibido/trunk/debian/watch	2006-03-26 23:21:55 UTC (rev 3356)
@@ -0,0 +1,9 @@
+# Watch control file for uscan
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Find new files on sourceforge, for debscripts >= 2.9
+# TODO remove 0.11 and 0.12
+http://qa.debian.org/watch/sf.php?project=klibido klibido-([\d\.]*\.tar\.gz




More information about the pkg-kde-commits mailing list