~ubuntu-branches/ubuntu/wily/gnome-applets/wily

« back to all changes in this revision

Viewing changes to debian/patches/configurable_pythondir.patch

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2014-11-19 19:57:51 UTC
  • mfrom: (1.10.22)
  • Revision ID: package-import@ubuntu.com-20141119195751-gqirgm99dewik39n
Tags: 3.14.0-1~svn1
* New upstream release.
* Update (build-)dependencies for new version.
  - Require new GLib and libpanel-applet.
  - Switch from Python 2 to Python 3.
  - Drop GConf.
* Remove --enable-mixer-applet configure flag.
* Remove obsolete gnome-applets.gconf-defaults file.
* Update applet list in package description.
* Move Python modules to a private location.
* Use dh_python3.
* Use NEWS file as upstream changelog.
* Bump Standards-Version to 3.9.6, no changes needed.
* Update Homepage URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: make pythondir configurable
 
2
Author: Dmitry Shachnev <mitya57@debian.org>
 
3
Forwarded: yes
 
4
Last-Update: 2014-10-30
 
5
 
 
6
--- a/configure.ac
 
7
+++ b/configure.ac
 
8
@@ -561,6 +561,17 @@
 
9
 dnl ***************************************************************************
 
10
 dnl *** Set install directories                                             ***
 
11
 dnl ***************************************************************************
 
12
+AC_ARG_WITH([pythondir],
 
13
+       AS_HELP_STRING([--with-pythondir=DIR],
 
14
+       [installation path for private Python modules @<:@auto@:>@]),
 
15
+       [ac_with_pythondir=$withval], [ac_with_pythondir=""])
 
16
+if test "$ac_with_pythondir" != ""; then
 
17
+       pythondir=${ac_with_pythondir}
 
18
+fi
 
19
+
 
20
+AC_MSG_NOTICE([installing private Python modules in $pythondir])
 
21
+AC_SUBST(pythondir)
 
22
+
 
23
 iconsdir="${datadir}/icons"
 
24
 AC_SUBST(iconsdir)
 
25
 pixmapsdir="${datadir}/pixmaps"