Cyril Brulebois <kibi@debian.org> (02/05/2011):
> So after some time on IRC, that was rejected, and a solution based on
> a new source/binary package (e.g. xserver-xorg-dev-helper or so) seems
> preferred, with a version matching xorg-server's from which it was
> extracted.
Would that look about right?
debian/changelog
----------------
xserver-xorg-dev-helper (2:1.9.5-1) squeeze-backports; urgency=low
* Initial release.
* Following instructions from backports folks, ship the “backported”
helper scripts (dh_xsf_substvars and xsf.pm) in this separate source
and binary package.
* Sync from xorg-server 2:1.9.5-1, and make the binary conflict with
xserver-xorg-server (>= 2:1.9.4-1), which is where those helpers were
first introduced.
* Build as a native package as there's no real “source” to put into a
tarball, using the version of xserver-xorg-dev the helpers came from.
-- Cyril Brulebois <kibi@debian.org> Mon, 02 May 2011 14:27:27 +0200
debian/compat
-------------
8
debian/control
--------------
Source: xserver-xorg-dev-helper
Section: x11
Priority: optional
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Uploaders: Cyril Brulebois <kibi@debian.org>
Build-Depends:
debhelper (>= 8),
Standards-Version: 3.9.1
Vcs-Git: git://git.debian.org/git/pkg-xorg/debian/xserver-xorg-dev-helper
Vcs-Browser: http://git.debian.org/?p=pkg-xorg/debian/xserver-xorg-dev-helper.git
Package: xserver-xorg-dev-helper
Architecture: all
Depends:
${misc:Depends},
Conflicts:
xserver-xorg-dev (>= 2:1.9.4-1),
Description: Xorg X server - additional helpers
A few helpers used to build drivers have been introduced during the
wheezy release cycle. This is a package shipping them for use within
the squeeze-backports suite to make it easy to backport newer drivers
from wheezy.
debian/copyright
----------------
Files: *
Copyright: © 2011 Cyril Brulebois <kibi@debian.org>
License: MIT/X11
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
debian/local
------------
[ helpers go there, mimicking their location within src:xorg-server ]
debian/rules
------------
#!/usr/bin/make -f
%:
dh $@
debian/xserver-xorg-dev-helper.install
--------------------------------------
debian/local/dh_xsf_substvars /usr/bin
debian/local/xsf.pm /usr/share/perl5/Debian/Debhelper/Sequence
Thanks for your time.
Mraw,
KiBi.
Attachment:
signature.asc
Description: Digital signature