~ubuntu-branches/ubuntu/hardy/pidgin/hardy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-21 02:48:06 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071221024806-pd44a5k9tiyh12mp
Tags: 1:2.3.1-2ubuntu1
* Sync with Debian, remaining Ubuntu changes; (LP: #177811)
  - Set Maintainer to Ubuntu Core Developers.
  - Add build-deps on liblaunchpad-integration-dev, intltool,
    libnm-glib-dev (for --enable-nm) (Ubuntu #112720).
  - Drop build-deps on libsilc-1.1-2-dev | libsilc-dev (>= 1.1.1) as 
    this library is in universe.
  - Drop the libpurple0 recommends on libpurple-bin.
  - Add a gaim transitionnal package for upgrades.
  - Ship compatibility symlinks via debian/gaim.links.
  - Pass --enable-nm to configure to enable NetworkManager support.
  - Pass --disable-silc to configure to disable silc support even if 
    it's installed in the build environment.
  - Add X-Ubuntu-Gettext-Domain to the desktop file and update the
    translation templates in common-install-impl::.
   - Update debian/prefs.xml to set the notify plugin prefs
    /plugins/gtk/X11/notify/* and set /pidgin/plugins/loaded to load 
    the notify plugin; Ubuntu: #13389.
  - Add LPI integration patch, 02_lpi.
  - Add patch 04_let_crasher_for_apport to stop catching the SIGSEGV signal
    and let apport handle it.
  - Add patch 05_default_to_irc_ubuntu_com to set the default IRC 
    server to irc.ubuntu.com.
  - Add autoconf patch, 70_autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
include /usr/share/cdbs/1/class/gnome.mk
7
7
include /usr/share/cdbs/1/rules/utils.mk
8
8
 
 
9
## Read version numbers from the changelog
 
10
version=$(shell dpkg-parsechangelog | grep '^Version: ' | sed -e 's/^Version: //' | sed -e 's/-.*//')
 
11
major=$(shell echo ${version} | cut -d. -f1-2)
 
12
micro=$(shell echo ${version} | cut -d. -f3 | cut -d+ -f1)
 
13
nextmicro=$(shell expr ${micro} + 1)
 
14
 
9
15
# Build into a separate directory
10
16
DEB_BUILDDIR = $(DEB_SRCDIR)/build
11
17
DEB_CONFIGURE_SCRIPT = $(CURDIR)/configure
13
19
        ../configure $(DEB_CONFIGURE_NORMAL_ARGS)
14
20
LDFLAGS = -Wl,--as-needed
15
21
 
16
 
DEB_CONFIGURE_EXTRA_FLAGS := --enable-perl --with-zephyr=/usr --enable-dbus --enable-gnutls=no --enable-nss=yes --enable-cyrus-sasl --disable-silc --enable-nm
 
22
DEB_CONFIGURE_EXTRA_FLAGS := --enable-perl --with-zephyr=/usr --enable-dbus --enable-gnutls=no --enable-nss=yes --enable-cyrus-sasl --enable-nm --disable-silc
17
23
DEB_DH_MAKESHLIBS_ARGS_pidgin := -V -X/usr/lib/pidgin
18
 
DEB_DH_SHLIBDEPS_ARGS_pidgin := -X/usr/lib/pidgin/gevolution.so
 
24
DEB_DH_SHLIBDEPS_ARGS_pidgin := -X/usr/lib/pidgin/gevolution.so -X/usr/lib/pidgin/cap.so -- -dSuggests debian/pidgin/usr/lib/pidgin/cap.so -dDepends
19
25
 
20
26
# finch package
21
27
DEB_DH_MAKESHLIBS_ARGS_finch := -V -X/usr/lib/finch
22
28
 
23
29
# libpurple package
24
 
DEB_DH_MAKESHLIBS_ARGS_libpurple0 := -V -X/usr/lib/purple-2
 
30
DEB_DH_MAKESHLIBS_ARGS_libpurple0 := -V "libpurple0 (>= $(major).0)" -X/usr/lib/purple-2
25
31
DEB_DH_SHLIBDEPS_ARGS_libpurple0 := -X/usr/lib/purple-2/tcl.so -- -dSuggests debian/libpurple0/usr/lib/purple-2/tcl.so -dDepends
26
32
 
27
33
# for pidgin-dev, extra documentation is installed manually below
28
34
DEB_INSTALL_MANPAGES_pidgin-dev := debian/dh_pidgin.1
29
35
 
 
36
clean::
 
37
        rm -f debian/copyright
 
38
 
30
39
common-install-impl::
31
40
        rm -f debian/tmp/usr/lib/pidgin/relnot.so # release notification plugin
32
41
        rm -f debian/tmp/usr/bin/{nullclient,purple-client-example} # examples