--- a/mcabber/TODO Thu Jul 21 21:35:49 2005 +0100
+++ b/mcabber/TODO Thu Jul 21 21:39:29 2005 +0100
@@ -5,6 +5,8 @@
TODO:
+* More events
+* Add debian/ directory
* Improve debug logging system
* Implement automatic reconnection after network failure
* Presence notification is always accepted. We should ask...
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/changelog Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,6 @@
+mcabber (0.6.4-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Mikael BERTHE <mikael.berthe@lilotux.net> Thu, 21 Jul 2005 20:32:41 +0200
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/compat Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,1 @@
+4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/control Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,18 @@
+Source: mcabber
+Section: net
+Priority: optional
+Maintainer: Mikael Berthe <mikael.berthe@lilotux.net>
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, libglib2.0-dev, libncurses5-dev, libssl-dev, libc6-dev
+Standards-Version: 3.6.1
+
+Package: mcabber
+Section: net
+Priority: optional
+Architecture: any
+Essential: no
+Depends: ${shlibs:Depends}, libglib2.0-0, libncurses5, libssl0.9.7, pkg-config, libc6 (>= 2.3.2.ds1)
+Maintainer: Mikael Berthe <mikael.berthe@lilotux.net>
+Description: Small Jabber console client.
+ MCabber is a Jabber text-mode client, which includes features such as
+ SSL support, history logging, commands completion, and external actions
+ triggers.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/copyright Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,27 @@
+This package was debianized by Mikael BERTHE <mikael.berthe@lilotux.net> on
+Thu, 21 Jul 2005 20:32:41 +0200.
+
+It was downloaded from: http://www.lilotux.net/~mikael/mcabber/
+
+Copyright Holder: Mikael BERTHE <mikael.berthe@lilotux.net>
+
+License:
+
+ This package 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 of the License, or
+ (at your option) any later version.
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/docs Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,8 @@
+AUTHORS
+ChangeLog
+NEWS
+README
+TODO
+mcabberrc.example
+doc/mcabber.1.txt
+doc/mcabber.1.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/mcabber.doc-base Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,15 @@
+Document: mcabber
+Title: Debian mcabber Manual
+Author: Mikael BERTHE
+Abstract: This manual describes what mcabber is
+ and how it can be used.
+Section: Apps/Net
+
+Format: text
+Files: /usr/share/doc/mcabber/mcabber.1.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/mcabber/mcabber.1.html
+Files: /usr/share/doc/mcabber/mcabber.1.html
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/menu Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,2 @@
+?package(mcabber):needs="text" section="Apps/Net"\
+ title="MCabber" command="/usr/bin/mcabber"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/postinst.ex Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,42 @@
+#! /bin/sh
+# postinst script for mcabber
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure)
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/postrm.ex Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for mcabber
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/preinst.ex Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,38 @@
+#! /bin/sh
+# preinst script for mcabber
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade)
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/prerm.ex Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,38 @@
+#! /bin/sh
+# prerm script for mcabber
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/rules Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,107 @@
+#!/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.
+ 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)
+ #docbook-to-man debian/mcabber.sgml > mcabber.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
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/mcabber.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/mcabber
+
+
+# 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mcabber/debian/watch Thu Jul 21 21:39:29 2005 +0100
@@ -0,0 +1,24 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php mcabber-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/mcabber-(.*)\.tar\.gz
+http://www.lilotux.net/~mikael/mcabber/files/mcabber-(.*)\.tar\.gz
+http://www.lilotux.net/~mikael/mcabber/files/mcabber-(.*)\.tar\.bz2
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/mcabber-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to use Roland's hack for sourceforge based projects - YMMV!
+#http://people.debian.org/~lolando/sfdlr.php?project=mcabber mcabber-([\d.]*).tar.gz
+
+