unable to backport gtk2-engines-qtcurve 0.65.x to jaunty

Asked by Shriramana Sharma

I downloaded the source files for gtk2-engines-qtcurve (0.65.1-1ubuntu1):

gtk2-engines-qtcurve_0.65.1-1ubuntu1.dsc
gtk2-engines-qtcurve_0.65.1.orig.tar.gz
gtk2-engines-qtcurve_0.65.1-1ubuntu1.diff.gz

from http://packages.ubuntu.com/source/karmic/gtk2-engines-qtcurve. I have all the dependencies installed:

debhelper
cmake
libgtk2.0-dev

I did:

dpkg-source -x gtk2-engines-qtcurve_0.65.1-1ubuntu1.dsc
cd gtk2-engines-qtcurve-0.65.1
dpkg-buildpackage -rfakeroot

I got:

dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package gtk2-engines-qtcurve
dpkg-buildpackage: source version 0.65.1-1ubuntu1
dpkg-buildpackage: source changed by Jonathan Thomas <email address hidden>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b gtk2-engines-qtcurve-0.65.1
dpkg-source: info: using source format `1.0'
dpkg-source: info: building gtk2-engines-qtcurve using existing gtk2-engines-qtcurve_0.65.1.orig.tar.gz
dpkg-source: info: building gtk2-engines-qtcurve in gtk2-engines-qtcurve_0.65.1-1ubuntu1.diff.gz
dpkg-source: info: building gtk2-engines-qtcurve in gtk2-engines-qtcurve_0.65.1-1ubuntu1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_installcatalogs
   dh_installcron
   dh_installdebconf
   dh_installcatalogs
   dh_installemacsen
   dh_installifupdown
   dh_installinfo
   dh_installinit
   dh_installmenu
   dh_installmime
   dh_installmodules
   dh_installlogcheck
   dh_installlogrotate
   dh_installpam
   dh_installppp
   dh_installudev
   dh_installwm
   dh_installxfonts
   dh_lintian
   dh_desktop
   dh_gconf
   dh_icons
   dh_perl
   dh_pysupport
   dh_scrollkeeper
   dh_usrlocal
   dh_link
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
   dh_md5sums
   dh_builddeb
warning, `debian/gtk2-engines-qtcurve/DEBIAN/control' contains user-defined field `Original-Maintainer'
dpkg-deb: building package `gtk2-engines-qtcurve' in `../gtk2-engines-qtcurve_0.65.1-1ubuntu1_i386.deb'.
dpkg-deb: ignoring 1 warnings about the control file(s)
 signfile gtk2-engines-qtcurve_0.65.1-1ubuntu1.dsc
gpg: skipped "Jonathan Thomas <email address hidden>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available

 dpkg-genchanges >../gtk2-engines-qtcurve_0.65.1-1ubuntu1_i386.changes
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT included)
dpkg-buildpackage: warning: Failed to sign .dsc and .changes file

And then when I examine the contents of the archive:

$ dpkg-deb -c ../gtk2-engines-qtcurve_0.65.1-1ubuntu1_i386.deb
drwxr-xr-x root/root 0 2009-07-03 21:03 ./
drwxr-xr-x root/root 0 2009-07-03 21:03 ./usr/
drwxr-xr-x root/root 0 2009-07-03 21:03 ./usr/share/
drwxr-xr-x root/root 0 2009-07-03 21:03 ./usr/share/doc/
drwxr-xr-x root/root 0 2009-07-03 21:03 ./usr/share/doc/gtk2-engines-qtcurve/
-rw-r--r-- root/root 2073 2009-07-03 20:45 ./usr/share/doc/gtk2-engines-qtcurve/copyright
-rw-r--r-- root/root 229 2009-06-29 13:16 ./usr/share/doc/gtk2-engines-qtcurve/TODO
-rw-r--r-- root/root 2406 2009-07-03 20:45 ./usr/share/doc/gtk2-engines-qtcurve/changelog.Debian.gz
-rw-r--r-- root/root 4025 2009-06-29 13:16 ./usr/share/doc/gtk2-engines-qtcurve/README
-rw-r--r-- root/root 20872 2009-06-29 13:16 ./usr/share/doc/gtk2-engines-qtcurve/changelog.gz

Comparing with the DEB from Jaunty:

dpkg-deb -c gtk2-engines-qtcurve_0.62.8-0ubuntu1_i386.deb
drwxr-xr-x root/root 0 2009-04-15 04:40 ./
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/lib/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/lib/gtk-2.0/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/lib/gtk-2.0/2.10.0/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/lib/gtk-2.0/2.10.0/engines/
-rw-r--r-- root/root 190744 2009-04-15 04:40 ./usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/themes/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/themes/QtCurve/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/themes/QtCurve/gtk-2.0/
-rw-r--r-- root/root 5479 2009-04-12 01:28 ./usr/share/themes/QtCurve/gtk-2.0/gtkrc
-rw-r--r-- root/root 5661 2009-04-12 01:28 ./usr/share/themes/QtCurve/gtk-2.0/icons3
-rw-r--r-- root/root 6266 2009-04-12 01:28 ./usr/share/themes/QtCurve/gtk-2.0/icons4
-rw-r--r-- root/root 4286 2009-04-12 01:28 ./usr/share/themes/QtCurve/gtk-2.0/map_kde_icons.pl
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/themes/QtCurve/mozilla/
-rw-r--r-- root/root 694 2009-04-15 04:40 ./usr/share/themes/QtCurve/mozilla/QtCurve.css
-rw-r--r-- root/root 367 2009-04-15 04:40 ./usr/share/themes/QtCurve/mozilla/QtCurve-KDEButtonOrder.css
-rw-r--r-- root/root 2104 2009-04-12 01:28 ./usr/share/themes/QtCurve/mozilla/preferences-rev.xml
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/doc/
drwxr-xr-x root/root 0 2009-04-15 04:40 ./usr/share/doc/gtk2-engines-qtcurve/
-rw-r--r-- root/root 18610 2009-04-12 01:28 ./usr/share/doc/gtk2-engines-qtcurve/changelog.gz
-rw-r--r-- root/root 3120 2009-04-12 01:28 ./usr/share/doc/gtk2-engines-qtcurve/README
-rw-r--r-- root/root 229 2009-04-12 01:28 ./usr/share/doc/gtk2-engines-qtcurve/TODO
-rw-r--r-- root/root 2073 2009-04-15 04:40 ./usr/share/doc/gtk2-engines-qtcurve/copyright
-rw-r--r-- root/root 1803 2009-04-15 04:40 ./usr/share/doc/gtk2-engines-qtcurve/changelog.Debian.gz

Please help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gtk2-engines-qtcurve Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Philip Muškovac (yofel) said :
#1

If you want that you'll need to backport yourself a newer version of debhelper, the debian/rules of qtcurve now use a syntax that was introduced in 7.0.50 (jaunty uses 7.0.17ubuntu4):

Taken from changelog:
debhelper (7.0.50) unstable; urgency=low

  * This release is designed to be easily backportable to stable,
    to support the new style of rules file that I expect many packages will
    use.
  * dh: debian/rules override targets can change what is run
    for a specific debhelper command in a sequence.
    (Thanks Modestas Vainius for the improved makefile parser.)
  [...]

The older debhelper version simply ignore all override_* targets in rules. That's why the package doesn't build on jaunty.

Can you help with this problem?

Provide an answer of your own, or ask Shriramana Sharma for more information if necessary.

To post a message you must log in.