Applied patch 2857797 "New (more compliant) Debian package generation files" by fernandotcl

This commit is contained in:
bgk 2009-09-26 14:45:52 +00:00
parent 4ea036dea2
commit 86282c38b5
7 changed files with 54 additions and 106 deletions

62
debian/changelog vendored
View File

@ -1,63 +1,5 @@
vbam (0.svn701-1) hardy; urgency=low
* Updated VBA-M to r701
-- Bastien Bouclet <bgk@users.sourceforge.net> Thu, 04 Sep 2008 23:10:32 +0200
vbam (0.svn696-1) hardy; urgency=low
* Updated VBA-M to r696
-- Bastien Bouclet <bgk@users.sourceforge.net> Thu, 04 Sep 2008 08:39:15 +0200
vbam (0.svn500-1) hardy; urgency=low
* Updated VBA-M to r500
-- Bastien Bouclet <bgk@users.sourceforge.net> Sun, 29 Apr 2008 21:16:23 +0200
vbam (0.svn484-1) gutsy; urgency=low
* Added a GTK+ binary
* Updated VBA-M to r484
-- Bastien Bouclet <bgk@users.sourceforge.net> Sun, 20 Apr 2008 13:53:48 +0100
vbam (0.svn472-1) gutsy; urgency=low
* Updated VBA-M to r472
-- Bastien Bouclet <bgk@users.sourceforge.net> Sat, 3 Apr 2008 16:59:12 +0100
vbam (0.svn451-1) unstable; urgency=low
* Updated VBA-M to r451
-- Bastien Bouclet <bgkweb@gmail.com> Sat, 8 Mar 2008 22:51:23 +0100
vbam (0.svn347-1) unstable; urgency=low
* Updated VBA-M to r347
-- Bastien Bouclet <bgkweb@gmail.com> Thu, 1 Feb 2008 07:43:45 +0100
vbam (0.svn338-1) unstable; urgency=low
* Updated VBA-M to r338
-- Bastien Bouclet <bgkweb@gmail.com> Thu, 24 Jan 2008 14:06:21 +0100
vbam (0.svn333-1) unstable; urgency=low
* Added a man page
* Added a default configuration file
* Updated VBA-M to r333
-- Bastien Bouclet <bgkweb@gmail.com> Tue, 22 Jan 2008 22:06:31 +0100
vbam (0.svn307-1) unstable; urgency=low
vbam (0.0.905-1) unstable; urgency=low
* Initial release
-- Bastien Bouclet <bgkweb@gmail.com> Tue, 15 Jan 2008 13:31:45 +0100
-- Fernando Tarlá Cardoso Lemos <fernandotcl@gmail.com> Sat, 12 Sep 2009 19:39:52 -0300

2
debian/compat vendored
View File

@ -1 +1 @@
5
7

21
debian/control vendored
View File

@ -1,13 +1,16 @@
Source: vbam
Section: games
Priority: extra
Maintainer: Bastien Bouclet <bgk@users.sourceforge.net>
Build-Depends: debhelper (>= 5), zlib1g-dev, libpng12-dev, libsdl1.2-dev, libgl1-mesa-dev, libgtkmm-2.4-dev, libglademm-2.4-dev, cmake, libgtkglextmm-x11-dev, libxv-dev, nasm
Standards-Version: 3.7.2
Section: otherosfs
Priority: optional
Maintainer: Fernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Build-Depends: debhelper (>= 7), cmake, libsdl1.2-dev, libgl-dev, libgtkmm-2.4-dev, libgtkglextmm-x11-1.2-dev
Standards-Version: 3.8.1
Homepage: http://www.vbam.com
Package: vbam
Architecture: any
Architecture: i386
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Nintendo GameBoy Advance emulator
VBA-M is a Nintendo GameBoy Advance emulator. It runs homebrew and commercial games.
This version is based on the SDL library.
Description: Nintendo Game Boy Advance emulator
VisualBoyAdvance-M is a Nintendo Game Boy Emulator with high compatibility
with commercial games. It emulates the Nintendo Game Boy Advance handheld
console, in addition to the original Game Boy handhelds and its Super and
Color variants.

32
debian/copyright vendored
View File

@ -1,23 +1,25 @@
This package was debianized by Bastien Bouclet <bgkweb@gmail.com> on
Tue, 15 Jan 2008 13:31:45 +0100.
This package was debianized by Fernando Tarlá Cardoso Lemos <fernandotcl@gmail.com> on
Sat, 12 Sep 2009 19:39:52 -0300.
It was downloaded from https://vbam.bountysource.com/
It was downloaded from <svn://vbam.svn.sourceforge.net/svnroot/vbam>
Copyright:
Upstream Author(s):
Copyright (C) 1999-2003 Forgotten
Copyright (C) 2004-2006 VBA development team
Copyright (C) 2007-2008 VBA-M development team
VisualBoyAdvance-M team
Copyright:
Copyright (C) 1999-2006 Forgotten
Copyright (C) 2004-2006 VisualBoyAdvance team
Copyright (C) 2007-2009 VisualBoyAdvance-M team
License:
VBA-M 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.
GNU General Public License v2
On Debian systems, the complete text of the GNU General Public License
can be found in the '/usr/share/common-licenses/GPL' file.
The Debian packaging is:
The Debian packaging is (C) 2008, Bastien Bouclet <bgkweb@gmail.com> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Copyright (C) 2009 Fernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'.

2
debian/dirs vendored
View File

@ -1,2 +0,0 @@
usr/bin
usr/sbin

2
debian/menu vendored Normal file
View File

@ -0,0 +1,2 @@
?package(vbam):needs="X11" section="Applications/Emulators"\
title="VisualBoyAdvance-M" command="/usr/bin/gvbam"

39
debian/rules vendored
View File

@ -12,51 +12,52 @@
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
builddir/Makefile:
dh_testdir
# Add here commands to configure the package.
mkdir -p builddir
cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="-Wl,-z,defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON
build: build-stamp
build-stamp:
build-stamp: builddir/Makefile
dh_testdir
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
$(MAKE)
# Add here commands to compile the package.
$(MAKE) -C builddir
#docbook-to-man debian/vbam.sgml > vbam.1
touch $@
clean:
clean:
dh_testdir
dh_testroot
rm -f build-stamp
rm -f CMakeCache.txt
rm -f build-stamp
# Add here commands to clean up after the build process.
-$(MAKE) clean
rm -rf builddir
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_prep
dh_installdirs
# Add here commands to install the package into debian/vbam.
$(MAKE) DESTDIR=$(CURDIR)/debian/vbam install
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/vbam install
# Build architecture-independent files here.
binary-indep: build install
binary-indep: install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
binary-arch: install
dh_testdir
dh_testroot
dh_installchangelogs
@ -64,7 +65,7 @@ binary-arch: build install
dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
@ -87,4 +88,4 @@ binary-arch: build install
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
.PHONY: build clean binary-indep binary-arch binary install