diff -u pokerth-0.5+dfsg/debian/control pokerth-0.5+dfsg/debian/control --- pokerth-0.5+dfsg/debian/control +++ pokerth-0.5+dfsg/debian/control @@ -1,7 +1,8 @@ Source: pokerth Section: games Priority: optional -Maintainer: Mario Iseli +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Mario Iseli Build-Depends: debhelper (>= 5.0.0), dpatch, libqt4-dev, qt4-dev-tools, libboost-dev, libboost-thread-dev, libboost-date-time-dev, libsdl-mixer1.2-dev, libmikmod2-dev Standards-Version: 3.7.2 diff -u pokerth-0.5+dfsg/debian/changelog pokerth-0.5+dfsg/debian/changelog --- pokerth-0.5+dfsg/debian/changelog +++ pokerth-0.5+dfsg/debian/changelog @@ -1,3 +1,10 @@ +pokerth (0.5+dfsg-1ubuntu1) gutsy; urgency=low + + * Add pokerth.desktop and pokerth.ico (LP : #118420) + * Add kubuntu_01_icon.dpatch (LP : #134825) + + -- Breuil Cyril Sun, 23 Sep 2007 14:37:27 +0200 + pokerth (0.5+dfsg-1build1) gutsy; urgency=low * Rebuild for boost 1.34.0 -> 1.34.1 transistion. diff -u pokerth-0.5+dfsg/debian/rules pokerth-0.5+dfsg/debian/rules --- pokerth-0.5+dfsg/debian/rules +++ pokerth-0.5+dfsg/debian/rules @@ -38,7 +38,12 @@ dh_testroot dh_clean -k dh_installdirs + mkdir -p $(CURDIR)/debian/pokerth/usr/share/pixmaps/ + mkdir -p $(CURDIR)/debian/pokerth/usr/share/applications/ install -D -m 755 -g games bin/pokerth $(CURDIR)/debian/pokerth/usr/games/pokerth + install -D -m 0644 -o root -g root pokerth.png $(CURDIR)/debian/pokerth/usr/share/pixmaps/ + install -D -m 0644 -o root -g root debian/pokerth.desktop $(CURDIR)/debian/pokerth/usr/share/applications/ + binary-indep: build install only in patch2: unchanged: --- pokerth-0.5+dfsg.orig/debian/patches/00list +++ pokerth-0.5+dfsg/debian/patches/00list @@ -0,0 +1 @@ +kubuntu_01_icon.dpatch only in patch2: unchanged: --- pokerth-0.5+dfsg.orig/debian/patches/kubuntu_01_icon.dpatch +++ pokerth-0.5+dfsg/debian/patches/kubuntu_01_icon.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## kubuntu_01_icon.patch.dpatch by Breuil Cyril +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: correct bug on icon raise,call,fold + +@DPATCH@ + +diff -Nru pokerth-0.5+dfsg/src/gui/qt/mainwindow/mainwindowimpl.cpp pokerth-0.5+patch/src/gui/qt/mainwindow/mainwindowimpl.cpp +--- pokerth-0.5+dfsg/src/gui/qt/mainwindow/mainwindowimpl.cpp 2007-09-23 16:49:58.000000000 +0200 ++++ pokerth-0.5+patch/src/gui/qt/mainwindow/mainwindowimpl.cpp 2007-09-23 16:49:17.000000000 +0200 +@@ -462,11 +462,10 @@ + groupBoxArray[i]->setStyleSheet("QGroupBox { background-image: url(:/guiv2/resources/guiv2/opponentBoxInactiveGlow.png) }"); + } + groupBoxArray[0]->setStyleSheet("QGroupBox { background-image: url(:/guiv2/resources/guiv2/playerBoxInactiveGlow.png) }"); +- + //Human player button +- pushButton_BetRaise->setStyleSheet("QPushButton { background-image: url(:/guiv2/resources/guiv2/playeraction_03.png); font-family: \"Bitstream Vera Sans\"; font-size: 11px }"); +- pushButton_CallCheckSet->setStyleSheet("QPushButton { background-image: url(:/guiv2/resources/guiv2/playeraction_05.png); font-family: \"Bitstream Vera Sans\"; font-size: 11px }"); +- pushButton_FoldAllin->setStyleSheet("QPushButton { background-image: url(:/guiv2/resources/guiv2/playeraction_07.png); font-family: \"Bitstream Vera Sans\"; font-size: 11px }"); ++ pushButton_BetRaise->setStyleSheet("QPushButton { border:none; background-image: url(:/guiv2/resources/guiv2/playeraction_03.png); font-family: \"Bitstream Vera Sans\"; font-size: 11px }"); ++ pushButton_CallCheckSet->setStyleSheet("QPushButton { border:none; background-image: url(:/guiv2/resources/guiv2/playeraction_05.png); font-family: \"Bitstream Vera Sans\"; font-size: 11px }"); ++ pushButton_FoldAllin->setStyleSheet("QPushButton { border:none; background-image: url(:/guiv2/resources/guiv2/playeraction_07.png); font-family: \"Bitstream Vera Sans\"; font-size: 11px }"); + + + only in patch2: unchanged: --- pokerth-0.5+dfsg.orig/debian/pokerth.desktop +++ pokerth-0.5+dfsg/debian/pokerth.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=pokerth +Exec=pokerth +Icon=/usr/share/pixmaps/pokerth.png +GenericName=Texas Holdem Poker Card Game +Terminal=false +Type=Application +X-KDE-StartupNotify=true +Categories=Qt;KDE;Game;CardGame;