--- kxmame-1.91.orig/debian/rules +++ kxmame-1.91/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/kde.mk + +DEB_INSTALL_MANPAGES_kxmame = kxmame.1 + +install/kxmame:: + dh_install src/kxmame.desktop usr/share/applications/kde + +build/kxmame:: + docbook2x-man debian/kxmame.1.docbook + +clean:: + rm -f kxmame.1 --- kxmame-1.91.orig/debian/control +++ kxmame-1.91/debian/control @@ -0,0 +1,19 @@ +Source: kxmame +Section: games +Priority: optional +Maintainer: Anthony Mercatante +Build-Depends: debhelper (>= 5), kdelibs-dev, cdbs, docbook2x, libxine-dev, xmame-common +Standards-Version: 3.6.2 + +Package: kxmame +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, xmame-x +Description: A KDE frontend for xmame emulator + Based on (and fully compatible with) gxmame plus some additional features: + . + 1. Customizable game icon size. + 2. Auto-rescale screenshots (version 1.1 and above). + 3. Customizable toolbar. + 4. Fast, responsive compared to gxmame. + . + Homepage: http://kde-apps.org/content/show.php?content=28270 --- kxmame-1.91.orig/debian/kxmame.1.docbook +++ kxmame-1.91/debian/kxmame.1.docbook @@ -0,0 +1,114 @@ + + + + + + Mercatante + Anthony + anthony.mercatante@laposte.net + + + 2005 + Anthony Mercatante + + + + 2005-09-17 + + + + kxmame + 1 + + + kxmame + A KDE frontend for xmame emulator + + + + kxmame + + + + + + + + + + DESCRIPTION + + A KDE frontend for xmame emulator + + + Based on (and fully compatible with) gxmame plus some additional features. + + + + OPTIONS + + All KDE and Qt + programs accept a some common command-line options. kxmame has no + application-specific options. + + + + Generic options: + + + Show help about options + + + + Show Qt specific options + + + + Show KDE specific options + + + + Show all options + + + + Show author information + + + , + Show version information + + + + Show license information + + + + Indicates end of options + + + + + + + COPYRIGHT + + This manual page was written by Anthony Mercatante + anthony.mercatante@laposte.net for the + Debian system (but may be used by others). + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU General Public License, + Version 2 or any later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + + + + + --- kxmame-1.91.orig/debian/compat +++ kxmame-1.91/debian/compat @@ -0,0 +1 @@ +5 \ No newline at end of file --- kxmame-1.91.orig/debian/patches/kubuntu_01_kdepot.patch +++ kxmame-1.91/debian/patches/kubuntu_01_kdepot.patch @@ -0,0 +1,21 @@ +diff -Nur kxmame-1.2-rc/admin/cvs.sh kxmame-1.2-rc.new/admin/cvs.sh +--- kxmame-1.2-rc/admin/cvs.sh 2005-12-18 09:22:50.000000000 +0100 ++++ kxmame-1.2-rc.new/admin/cvs.sh 2005-12-27 20:45:24.000000000 +0100 +@@ -537,6 +537,8 @@ + if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi + export EXTRACTRC PREPARETIPS + ++kdepotpath=/usr/include/kde/kde.pot ++ + for subdir in $dirs; do + test -z "$VERBOSE" || echo "Making messages in $subdir" + (cd $subdir +@@ -554,7 +556,7 @@ + fi + perl -e '$mes=0; while () { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile + +- kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot ++# kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot + if ! test -f $kdepotpath; then + kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot + fi --- kxmame-1.91.orig/debian/patches/kubuntu_02_fix_desktop_file.patch +++ kxmame-1.91/debian/patches/kubuntu_02_fix_desktop_file.patch @@ -0,0 +1,10 @@ +diff -Nur kxmame-1.1/src/kxmame.desktop kxmame-1.1.new/src/kxmame.desktop +--- kxmame-1.1/src/kxmame.desktop 2005-08-30 02:56:57.000000000 +0200 ++++ kxmame-1.1.new/src/kxmame.desktop 2005-11-17 21:28:18.000000000 +0100 +@@ -38,3 +38,6 @@ + Comment[tg]=Ба кор андохтани KPart барои KDE + Comment[zh_CN]=一个 KDE KPart 应用程序 + Terminal=false ++GenericName=Xmame Frontend ++GenericName[fr]=Interface pour Xmame ++ --- kxmame-1.91.orig/debian/copyright +++ kxmame-1.91/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Anthony Mercatante on +Tue, 24 Jan 2006 02:30:18 +0200. + +It was downloaded from http://kde-apps.org/content/show.php?content=28270 + +Upstream Author: + Nguyen The Toan + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, N: MA 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. + +copyright: + +All the software: + + (c) 2005 Nguyen The Toan + +debian/kxmame.1.docbook: + + Copyright (C) 2005-2006 by Anthony Mercatante --- kxmame-1.91.orig/debian/changelog +++ kxmame-1.91/debian/changelog @@ -0,0 +1,15 @@ +kxmame (1.91-0ubuntu2) feisty; urgency=low + + * Added xmame-x Depends + + -- Martin Meredith Wed, 17 Jan 2007 01:24:11 +0000 + +kxmame (1.91-0ubuntu1) dapper; urgency=low + + * Initial Release. + * Added patch kubuntu_01_kdepot to allow pot file extraction and inclusion + in Rosetta + * Added patch kubuntu_02_fis_desktop_file to add GenericName (english and + french) informations in kxmame.desktop file + + -- Anthony Mercatante Tue, 24 Jan 2006 10:37:20 +0100