Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
* Version 1.1
Browse files Browse the repository at this point in the history
* debianized
* fixed memory leak
  • Loading branch information
kgraefe committed Mar 18, 2010
1 parent a815467 commit 201bced
Show file tree
Hide file tree
Showing 20 changed files with 285 additions and 58 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 1.1 (2010/03/18):
* display italic buddy names if buddy is offline

Version 1.01 (2009/11/16):
* corrected plugins website

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1-pre1
1.1
50 changes: 50 additions & 0 deletions build-debian-package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/bash

PROJECT=pidgin-znchelper
VERSION=$(cat VERSION)
REPOSITORY=ppa:konradgraefe/pidgin-plugins
DEB_REVISION=1

src_dir=$(pwd)

echo -n "make dist? (y/N) "
read -n 1 in
echo ""

if [ "$in" == "y" ]; then
make dist
fi

rm -rf deb-pkg
mkdir deb-pkg
cd deb-pkg

tar xzvf ../${PROJECT}-${VERSION}.tar.gz

cd ${PROJECT}-${VERSION}

cp -r ${src_dir}/debian .
sed \
-e "s/@@VERSION@@/${VERSION}/" \
-e "s/@@DATE@@/$(date -R)/" \
-e "s/@@DEB_REVISION@@/${DEB_REVISION}/" \
debian/changelog.in >debian/changelog

sed \
-e "s/@@DATE@@/$(date -R)/" \
debian/copyright.in >debian/copyright

dpkg-buildpackage -S -rfakeroot

cd ..
lintian -i *.dsc

echo ""
echo -n "Upload ${PROJECT}_${VERSION}-${DEB_REVISION} to repository (y/N) "
read -n 1 in
echo ""

if [ "$in" == "y" ]; then
dput ${REPOSITORY} ${PROJECT}_${VERSION}-${DEB_REVISION}_source.changes
fi

2 changes: 1 addition & 1 deletion build-win32-package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
make -f Makefile.mingw clean && \
make -f Makefile.mingw && \
PROJECT=znchelper && \
PROJECT=pidgin-znchelper && \
WIN32DIR=${PROJECT}-`cat VERSION`-win32 && \
mkdir -p ${WIN32DIR}/pidgin/plugins && \
mkdir -p ${WIN32DIR}/pidgin/locale/de/LC_MESSAGES && \
Expand Down
16 changes: 8 additions & 8 deletions config.h.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define ENABLE_NLS 1

/* Define the gettext package to be used */
#define GETTEXT_PACKAGE "znchelper"
#define GETTEXT_PACKAGE "pidgin-znchelper"

/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
Expand Down Expand Up @@ -57,25 +57,25 @@
#define LT_OBJDIR ".libs/"

/* Name of package */
#define PACKAGE "znchelper"
#define PACKAGE "pidgin-znchelper"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "freakazoid@teamblind.de"

/* Define to the full name of this package. */
#define PACKAGE_NAME "znchelper"
#define PACKAGE_NAME "pidgin-znchelper"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "znchelper 1.1-pre1"
#define PACKAGE_STRING "pidgin-znchelper 1.1"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "znchelper"
#define PACKAGE_TARNAME "pidgin-znchelper"

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.1-pre1"
#define PACKAGE_VERSION "1.1"

/* Define the plugin author to be used */
#define PLUGIN_AUTHOR "Konrad Gräfe <freakazoid@teamblind.de>"
Expand All @@ -90,7 +90,7 @@
#define PLUGIN_STATIC_NAME "znchelper"

/* Define the plugin version to be used */
#define PLUGIN_VERSION "1.1-pre1"
#define PLUGIN_VERSION "1.1"

/* Define the plugin website to be used */
#define PLUGIN_WEBSITE "http://freakazoid.teamblind.de/2009/11/16/pidgin-znc-helper/"
Expand All @@ -99,4 +99,4 @@
#define STDC_HEADERS 1

/* Version number of package */
#define VERSION "1.1-pre1"
#define VERSION "1.1"
61 changes: 31 additions & 30 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.64 for znchelper 1.1-pre1.
# Generated by GNU Autoconf 2.64 for pidgin-znchelper 1.1.
#
# Report bugs to <freakazoid@teamblind.de>.
#
Expand Down Expand Up @@ -696,10 +696,10 @@ MFLAGS=
MAKEFLAGS=

# Identity of this package.
PACKAGE_NAME='znchelper'
PACKAGE_TARNAME='znchelper'
PACKAGE_VERSION='1.1-pre1'
PACKAGE_STRING='znchelper 1.1-pre1'
PACKAGE_NAME='pidgin-znchelper'
PACKAGE_TARNAME='pidgin-znchelper'
PACKAGE_VERSION='1.1'
PACKAGE_STRING='pidgin-znchelper 1.1'
PACKAGE_BUGREPORT='freakazoid@teamblind.de'
PACKAGE_URL=''

Expand Down Expand Up @@ -1459,7 +1459,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures znchelper 1.1-pre1 to adapt to many kinds of systems.
\`configure' configures pidgin-znchelper 1.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1507,7 +1507,8 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/znchelper]
--docdir=DIR documentation root
[DATAROOTDIR/doc/pidgin-znchelper]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
Expand All @@ -1529,7 +1530,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of znchelper 1.1-pre1:";;
short | recursive ) echo "Configuration of pidgin-znchelper 1.1:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1633,7 +1634,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
znchelper configure 1.1-pre1
pidgin-znchelper configure 1.1
generated by GNU Autoconf 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2004,7 +2005,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by znchelper $as_me 1.1-pre1, which was
It was created by pidgin-znchelper $as_me 1.1, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2811,8 +2812,8 @@ fi


# Define the identity of the package.
PACKAGE='znchelper'
VERSION='1.1-pre1'
PACKAGE='pidgin-znchelper'
VERSION='1.1'


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -2858,7 +2859,7 @@ ac_config_headers="$ac_config_headers config.h"


cat >>confdefs.h <<_ACEOF
#define PLUGIN_VERSION "1.1-pre1"
#define PLUGIN_VERSION "1.1"
_ACEOF


Expand Down Expand Up @@ -4530,13 +4531,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
(eval echo "\"\$as_me:4533: $ac_compile\"" >&5)
(eval echo "\"\$as_me:4534: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
(eval echo "\"\$as_me:4536: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval echo "\"\$as_me:4537: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
(eval echo "\"\$as_me:4539: output\"" >&5)
(eval echo "\"\$as_me:4540: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
Expand Down Expand Up @@ -5742,7 +5743,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 5745 "configure"' > conftest.$ac_ext
echo '#line 5746 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
Expand Down Expand Up @@ -7268,11 +7269,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:7271: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7272: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:7275: \$? = $ac_status" >&5
echo "$as_me:7276: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -7607,11 +7608,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7611: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:7614: \$? = $ac_status" >&5
echo "$as_me:7615: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -7712,11 +7713,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:7715: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7716: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:7719: \$? = $ac_status" >&5
echo "$as_me:7720: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -7767,11 +7768,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:7770: $lt_compile\"" >&5)
(eval echo "\"\$as_me:7771: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:7774: \$? = $ac_status" >&5
echo "$as_me:7775: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -10150,7 +10151,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 10153 "configure"
#line 10154 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
Expand Down Expand Up @@ -10246,7 +10247,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 10249 "configure"
#line 10250 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
Expand Down Expand Up @@ -11031,7 +11032,7 @@ fi



GETTEXT_PACKAGE=znchelper
GETTEXT_PACKAGE=pidgin-znchelper


cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -12469,7 +12470,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by znchelper $as_me 1.1-pre1, which was
This file was extended by pidgin-znchelper $as_me 1.1, which was
generated by GNU Autoconf 2.64. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -12533,7 +12534,7 @@ Report bugs to <freakazoid@teamblind.de>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
znchelper config.status 1.1-pre1
pidgin-znchelper config.status 1.1
configured by $0, generated by GNU Autoconf 2.64,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Expand Down
6 changes: 3 additions & 3 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(znchelper, 1.1-pre1, freakazoid@teamblind.de)
AC_INIT(pidgin-znchelper, 1.1, freakazoid@teamblind.de)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/znchelper.c])
AC_CONFIG_HEADER([config.h])

AC_DEFINE_UNQUOTED(PLUGIN_VERSION, ["1.1-pre1"], [Define the plugin version to be used])
AC_DEFINE_UNQUOTED(PLUGIN_VERSION, ["1.1"], [Define the plugin version to be used])

AC_DEFINE_UNQUOTED(PLUGIN_WEBSITE, ["http://freakazoid.teamblind.de/2009/11/16/pidgin-znc-helper/"], [Define the plugin website to be used])

Expand All @@ -24,7 +24,7 @@ AC_DEFINE_UNQUOTED(PLUGIN_PREFS_PREFIX, ["/plugins/gtk/znchelper"], [Define the
AC_PROG_CC
AC_PROG_LIBTOOL
AC_PROG_INTLTOOL
GETTEXT_PACKAGE=znchelper
GETTEXT_PACKAGE=pidgin-znchelper
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
ALL_LINGUAS="de"
Expand Down
4 changes: 2 additions & 2 deletions configure.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(znchelper, @@VERSION@@, freakazoid@teamblind.de)
AC_INIT(pidgin-znchelper, @@VERSION@@, freakazoid@teamblind.de)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/znchelper.c])
AC_CONFIG_HEADER([config.h])
Expand All @@ -24,7 +24,7 @@ AC_DEFINE_UNQUOTED(PLUGIN_PREFS_PREFIX, ["/plugins/gtk/znchelper"], [Define the
AC_PROG_CC
AC_PROG_LIBTOOL
AC_PROG_INTLTOOL
GETTEXT_PACKAGE=znchelper
GETTEXT_PACKAGE=pidgin-znchelper
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
ALL_LINGUAS="de"
Expand Down
6 changes: 6 additions & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pidgin-znchelper for Debian
---------------------------

<possible notes regarding this package - if none, delete this file>

-- Konrad Gräfe <konradgraefe@aol.com> Thu, 18 Mar 2010 21:33:25 +0100
5 changes: 5 additions & 0 deletions debian/changelog.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pidgin-znchelper (@@VERSION@@-@@DEB_REVISION@@) karmic; urgency=low

* release version @@VERSION@@

-- Konrad Gräfe <konradgraefe@aol.com> @@DATE@@
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
Loading

0 comments on commit 201bced

Please sign in to comment.