[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about dh_python2



This can be caused by extra space in your override_dh_auto_install
line: it should be "dh_auto_install --prefix=/usr" without space after
"--".

--
Dmitry Shachnev

On Wed, Aug 8, 2012 at 12:23 PM, Leonardo Marín <leojmarin@zoho.com> wrote:
> Hi,
>
> I converted package to dh_python2 and i have trouble with deb package,
>
> in control file:
> Source: decibel-audio-player
> Section: sound
> Priority: optional
> Maintainer: Leonardo Marín <leojmarin@gmail.com>
> Uploaders: Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
> Build-Depends: debhelper (>= 8.0.0), python (>= 2.6.6-3~)
> Standards-Version: 3.9.2
> Homepage: http://decibel.silent-blade.org/
> Vcs-Svn: svn://svn.debian.org/python-apps/packages/decibel-audio-player/trunk/
> Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/decibel-audio-player/trunk/
> X-Python-Version: >= 2.5
>
> Package: decibel-audio-player
> Architecture: all
> Depends: ${python:Depends},
>          ${misc:Depends},
>          python-gtk2 (>=2.6.3-2),
>          python-glade2 (>=2.6.3-2),
>          python-mutagen (>= 1.10),
>          python-gst0.10 (>=0.10),
>          python-imaging (>=1.1.6),
>          python-dbus,
>          gstreamer0.10-plugins-base,
>          gstreamer0.10-plugins-good
> Recommends: gstreamer0.10-plugins-ugly,
>             gstreamer0.10-alsa,
>             python-notify (>=0.1),
>             python-gnome2,
>             python-gnomekeyring,
>             python-cddb
> Suggests: gstreamer0.10-plugins-bad
> Description: simple and nice music player for the GNOME desktop
>  Decibel is a GTK+ audio player which aims at being very
>  straightforward to use by mean of a very clean and user
>  friendly interface.
>
> in rules file:
> #!/usr/bin/make -f
>
> %:
>         dh $@ --with python2
>
> override_dh_auto_install:
>         dh_auto_install -- prefix=/usr
>
> override_dh_installchangelogs:
>         dh_installchangelogs doc/ChangeLog
>
> the trouble:
> inside (deb package) "/usr/bin/decibel-audio-player" i see:
> python /home/.../Decibel-audio-player/Devel/decibel-audio-player/build-area/decibel-audio-player-1.08/debian/decibel-audio-player/usr/share/decibel-audio-player/src/decibel-audio-player.py "$@" &
>
> instead of:
> python /usr/share/decibel-audio-player/src/decibel-audio-player.py "$@" &
>
> any idea how to fix this?
>
> thanks in advance,
> Leonardo.


Reply to: