From 1b60856e8df1db47e0d945b961fabff3a2a30f3c Mon Sep 17 00:00:00 2001 From: skidau Date: Thu, 21 May 2015 00:19:51 +0000 Subject: [PATCH] Updated debian folder to current standard. Thanks to sergio-br2. --- src/debian/changelog | 98 +++++++++++++ src/debian/compat | 2 +- src/debian/control | 76 ++++++++++ src/debian/copyright | 285 +++++++++++++++++++++++++++++++++++-- src/debian/rules | 40 ++++++ src/debian/source/format | 1 + src/debian/vbam-gtk.docs | 1 + src/debian/vbam-gtk.menu | 3 +- src/debian/vbam-sdl.docs | 3 +- src/debian/vbam-wx.docs | 1 + src/debian/vbam-wx.install | 4 + src/debian/vbam-wx.menu | 3 +- 12 files changed, 496 insertions(+), 21 deletions(-) create mode 100644 src/debian/changelog create mode 100644 src/debian/control create mode 100644 src/debian/rules create mode 100644 src/debian/source/format create mode 100644 src/debian/vbam-wx.install diff --git a/src/debian/changelog b/src/debian/changelog new file mode 100644 index 00000000..8ee3efd7 --- /dev/null +++ b/src/debian/changelog @@ -0,0 +1,98 @@ +vbam (1.8.0.1458-1) UNRELEASED; urgency=low + + * Update some commits of 2.0.0 beta 1. + + -- Sérgio Benjamim Wed, 20 May 2015 18:30:00 -0300 + +vbam (1.8.0.1447-1) UNRELEASED; urgency=low + + * Update, 2.0.0 beta 1 release. + + -- Sérgio Benjamim Mon, 18 May 2015 17:01:00 -0300 + +vbam (1.8.0.1231-3) UNRELEASED; urgency=low + + * Revert SDL sound changes to upstream svn 1226, until they fix it (bug #147) + + -- Sérgio Benjamim Sun, 11 May 2014 11:09:00 +0100 + +vbam (1.8.0.1231-2) UNRELEASED; urgency=low + + * Manual merge from upstream + + -- Sérgio Benjamim Sun, 11 May 2014 11:08:00 +0100 + +vbam (1.8.0.1231-1) UNRELEASED; urgency=low + + * Re-added rWindows/other stuff (easy recipe to merge upstream changes to fixes) + * New icons + + -- Sérgio Benjamim Sun, 11 May 2014 09:20:00 +0100 + +vbam (1.8.0.1230-2) UNRELEASED; urgency=low + + * Added missing Build-Depends + * Package for vbam-sdl + * Fixed some lintian warnings/errors + + -- Sérgio Benjamim Sun, 27 Apr 2014 15:48:00 +0100 + +vbam (1.8.0.1230-1) UNRELEASED; urgency=low + + * Fixing launchpad orig.tar.gz error + + -- Sérgio Benjamim Sat, 22 Mar 2014 16:23:00 +0100 + +vbam (1.8.0.1229-2) UNRELEASED; urgency=low + + * Updated copyright year and fixed homepage link + + -- Sérgio Benjamim Sat, 22 Mar 2014 15:59:00 +0100 + +vbam (1.8.0.1229-1) UNRELEASED; urgency=low + + * Use new version from upstream + + -- Sérgio Benjamim Thu, 20 Mar 2014 19:30:00 +0100 + +vbam (1.8.0.1042-1) lucid; urgency=low + + * Use new version from upstream + + -- Bastien Bouclet Sun, 04 Dec 2011 08:48:11 +0100 + +vbam (1.8.0.1016-1) unstable; urgency=low + + * Use new version from upstream, with wxwidgets patches + + -- Thomas J. Moore Sun, 22 May 2011 14:08:05 -0500 + +vbam (1.8.0.1001-1) unstable; urgency=low + + * Use new version from upstream + + -- Bastien Bouclet Fri, 25 Feb 2011 12:25:25 +0100 + +vbam (1.8.0.914-1) unstable; urgency=low + + * Cleanup, packages split into SDL and GTK+ versions + + -- Fernando Tarlá Cardoso Lemos Sun, 04 Oct 2009 19:58:09 -0300 + +vbam (1.8.0.913-1) unstable; urgency=low + + * Using assembly optmizations for i386 and amd64 platforms + + -- Fernando Tarlá Cardoso Lemos Sat, 03 Oct 2009 22:41:55 -0300 + +vbam (1.8.0.912-1) unstable; urgency=low + + * Added libglademm-2.4-dev as a build-time dependency + + -- Fernando Tarlá Cardoso Lemos Sun, 27 Sep 2009 23:26:23 -0300 + +vbam (1.8.0.905-1) unstable; urgency=low + + * Initial release + + -- Fernando Tarlá Cardoso Lemos Sat, 12 Sep 2009 19:39:52 -0300 diff --git a/src/debian/compat b/src/debian/compat index 7f8f011e..ec635144 100644 --- a/src/debian/compat +++ b/src/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/src/debian/control b/src/debian/control new file mode 100644 index 00000000..3d91aa2e --- /dev/null +++ b/src/debian/control @@ -0,0 +1,76 @@ +Source: vbam +Section: otherosfs +Priority: optional +Maintainer: Sérgio Benjamim +Build-Depends: debhelper (>= 9), + cmake (>= 2.6.0), + libpng12-dev, + imagemagick, + libopenal-dev, + libsdl1.2-dev, + libgtkmm-2.4-dev, + libgtkglextmm-x11-1.2-dev, + libwxbase3.0-dev, + libwxgtk3.0-dev, + libcairo2-dev, + libsfml-dev, + nasm [i386 amd64], + liblircclient-dev, + libavcodec-dev, + libavformat-dev, + libswscale-dev, + libavutil-dev, + libgl1-mesa-dev, + zip, + zlib1g-dev +Standards-Version: 3.9.5 +Homepage: http://vba-m.com +Vcs-Svn: svn://svn.code.sf.net/p/vbam/code/trunk +Vcs-Browser: http://svn.code.sf.net/p/vbam/code/trunk + +Package: vbam-sdl +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +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. + . + This package does not provide a GUI version of VBA-M. + See the vbam-gtk package for the GTK+ version of this program. + See the vbam-wx package for the wxWidgets version of this program. + . + Game Boy, Game Boy Color, Super Game Boy and Game Boy Advance are registered + trademarks of Nintendo of America Inc. VBA-M is not affiliated with or endorsed + by any of the companies mentioned. + +#Package: vbam-gtk +#Architecture: any +#Depends: ${shlibs:Depends}, ${misc:Depends} +#Description: Nintendo Game Boy Advance emulator (GTK+ frontend) +# 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. +# . +# This package provides the GTK+ GUI version of VBA-M. +# . +# Game Boy, Game Boy Color, Super Game Boy and Game Boy Advance are registered +# trademarks of Nintendo of America Inc. VBA-M is not affiliated with or endorsed +# by any of the companies mentioned. + +Package: vbam-wx +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Nintendo Game Boy Advance emulator (wxWidgets frontend) + 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. + . + This package provides the wxWidgets GUI version of VBA-M. + . + Game Boy, Game Boy Color, Super Game Boy and Game Boy Advance are registered + trademarks of Nintendo of America Inc. VBA-M is not affiliated with or endorsed + by any of the companies mentioned. diff --git a/src/debian/copyright b/src/debian/copyright index c6393abf..f0912871 100644 --- a/src/debian/copyright +++ b/src/debian/copyright @@ -1,25 +1,280 @@ -This package was debianized by Fernando Tarlá Cardoso Lemos on -Sat, 12 Sep 2009 19:39:52 -0300. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: VBA-M +Source: svn://svn.code.sf.net/p/vbam/code/trunk +Comment: This package was debianized by + Fernando Tarlá Cardoso Lemos on Sat, 12 Sep 2009 19:39:52 -0300. -It was downloaded from -Upstream Author(s): +Files: * +Copyright: 2007-2015 VBA-M development team + 2004-2006 VBA development team + 1999-2006 Forgotten +License: GPL-2+ - VisualBoyAdvance-M team +Files: src/gtk/* +Copyright: 2008-2015 VBA-M development team + 2004 VBA development team +License: GPL-2+ -Copyright: +Files: src/sdl/* +Copyright: 2007-2015 VBA-M development team +License: GPL-2+ - Copyright (C) 1999-2006 Forgotten - Copyright (C) 2004-2006 VisualBoyAdvance team - Copyright (C) 2007-2009 VisualBoyAdvance-M team +Files: src/wx/* +Copyright: 2011-2015 VBA-M development team + 2011 Thomas J. Moore (aka tjm, aka darktjm) +License: GPL-2+ -License: +Files: fex/* +Copyright: 2005-2009 Shay Green +License: LGPL-2.1+ - GNU General Public License v2 +Files: fex/7z_C/* +Copyright: 2008-2010 Igor Pavlov +License: public-domain -The Debian packaging is: +Files: fex/7z_C/Ppmd.h + fex/7z_C/Ppmd7.* + fex/7z_C/Ppmd7Dec.c +Copyright: 2010 Igor Pavlov + 2001 Dmitry Shkarin +License: public-domain - Copyright (C) 2009 Fernando Tarlá Cardoso Lemos +Files: src/apu/* +Copyright: 2003-2007 Shay Green +License: LGPL-2.1+ -and is licensed under the GPL version 3, -see `/usr/share/common-licenses/GPL-3'. +Files: src/art/* +Copyright: 2014, 2015 Sergio Benjamim (sergio-br2) + 2007-2015 VBA-M development team + 2006 VBA development team + 2006 Matteo Drera +License: GPL-2+ + +Files: src/common/iniparser.* + src/common/dictionary.* +Copyright: 2010-2014 Nicolas Devillard +License: Expat + +Files: src/common/memgzio.* +Copyright: 2007, 2009, 2011, 2012, 2013, 2015 VBA-M development team + ????-2006 Forgotten + 1995-2002 Jean-loup Gailly +License: Zlib + +Files: src/common/Array.h + src/common/RingBuffer.h +Copyright: 2008 by Sindre Aamås +License: GPL-2 + +Files: src/filters/hq/asm/hq3x_16.asm + src/filters/hq/asm/hq3x_32.asm + src/filters/hq/asm/hq4x_16.asm + src/filters/hq/asm/hq4x_32.asm +Copyright: 2007, 2008 VBA-M development team + 2003 Maxim Stepin (MaxSt) +License: GPL-2+ + +Files: src/filters/hq/asm/macros.mac +Copyright: 1997-2007 ZSNES Team (zsKnight, _Demo_, pagefault, Nach) +License: GPL-2 + +Files: src/filters/xBRZ/* +Copyright: 2012-2015 Zenju (zenju AT gmx DOT de) +License: GPL-3 + Additionally and as a special exception, the author gives permission + to link the code of this program with the MAME library (or with modified + versions of MAME that use the same license as MAME), and distribute + linked combinations including the two. You must obey the GNU General + Public License in all respects for all of the code used other than MAME. + If you modify this file, you may extend this exception to your version + of the file, but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. + +Files: src/filters/2xSaI.cpp + src/filters/2xSaImmx.asm +Copyright: 1999-2001 Derek Liauw Kie Fa (aka Kreed) +License: GPL-2+ + +Files: src/filters/admame.cpp +Copyright: 1999-2002 Andrea Mazzoleni +License: GPL-2+ + In addition, as a special exception, Andrea Mazzoleni + gives permission to link the code of this program with + the MAME library (or with modified versions of MAME that use the + same license as MAME), and distribute linked combinations including + the two. You must obey the GNU General Public License in all + respects for all of the code used other than MAME. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. + . + Alternatively at the previous license terms, you are allowed to use this + code in your program with these conditions: + - the program is not used in commercial activities. + - the whole source code of the program is released with the binary. + +Files: src/filters/bilinear.cpp +Copyright: 2008, 2009 VBA-M development team + 2004 Forgotten and the VBA development team + 2003 Forgotten + 2000 Jeffrey S. Freedman (JSF) +License: GPL-2+ + +Files: src/filters/hq2x.* + src/filters/interp.h +Copyright: 2003 Andrea Mazzoleni +License: GPL-2+ + In addition, as a special exception, Andrea Mazzoleni + gives permission to link the code of this program with + the MAME library (or with modified versions of MAME that use the + same license as MAME), and distribute linked combinations including + the two. You must obey the GNU General Public License in all + respects for all of the code used other than MAME. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. + +Files: src/gba/debugger-expr-yacc.* +Copyright: 2015 VBA-M development team + 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +License: GPL-2+ + As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + . + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. + +Files: src/gba/GBALink.* +Copyright: 2008, 2009, 2010, 2011, 2012, 2015 VBA-M development team + ???? Thomas J. Moore (aka tjm, aka darktjm) + 2004-2006 denopqrihg +License: GPL-2+ + +Files: src/libretro/* +Copyright: 2011-2015 The RetroArch Team +License: GPL-3+ + +Files: src/libretro/libretro.h +Copyright: 2011-2015 The RetroArch Team +License: Expat + +Files: src/libretro/SoundRetro.* + src/libretro/UtilRetro.cpp +Copyright: 2011-2015 The RetroArch Team + 2008-2015 VBA-M development team +License: GPL-2+ + +Files: debian/* +Copyright: 2014, 2015 Sergio Benjamim (sergio-br2) + 2009 Fernando Tarlá Cardoso Lemos +License: GPL-3+ + +Files: debian/gvbam.1 + debian/wxvbam.1 +Copyright: 2012 Jeremy Newton +License: GPL-3+ + + +License: Expat + 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 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. + + +License: Zlib + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + . + 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 version 2 for more details. + . + The complete text of the GNU General Public License 2 + can be found in "/usr/share/common-licenses/GPL-2". + + +License: GPL-2+ + 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. + . + The complete text of the GNU General Public License 2 + can be found in "/usr/share/common-licenses/GPL-2". + + +License: GPL-3+ + 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 3 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. + . + The complete text of the GNU General Public License 3 + can be found in "/usr/share/common-licenses/GPL-3". + + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + The complete text of the GNU Lesser General Public License + version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". diff --git a/src/debian/rules b/src/debian/rules new file mode 100644 index 00000000..85517efa --- /dev/null +++ b/src/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +# Copyright (C) 2014, 2015 Sergio Benjamim (sergio-br2) +# Copyright (C) 2009 Fernando Tarlá Cardoso Lemos +# +# 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 3 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 program. If not, see . + +# Uncomment this to turn on verbose mode +#export DH_VERBOSE=1 + +ifeq ($(DH_VERBOSE),1) +EXTRA_CMAKE_FLAGS += -DCMAKE_VERBOSE_MAKEFILE=ON +endif + +#DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) + +#ifneq (,$(filter $(DEB_BUILD_ARCH_CPU),i386 amd64)) +#EXTRA_CMAKE_FLAGS += -DUSE_ASM_SCALERS=ON -DUSE_ASM_CORE=ON +#endif + +CMAKE_EXTRA_FLAGS += -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_LIRC=ON -DENABLE_LINK=ON \ + -DCMAKE_SKIP_RPATH=ON $(EXTRA_CMAKE_FLAGS) + +%: + dh $@ --buildsystem=cmake --parallel + +override_dh_auto_configure: + dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) diff --git a/src/debian/source/format b/src/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/src/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/src/debian/vbam-gtk.docs b/src/debian/vbam-gtk.docs index 4cc8ef74..b0609c99 100644 --- a/src/debian/vbam-gtk.docs +++ b/src/debian/vbam-gtk.docs @@ -1,2 +1,3 @@ +doc/ReadMe.MFC.txt doc/DevInfo.txt doc/ips.htm diff --git a/src/debian/vbam-gtk.menu b/src/debian/vbam-gtk.menu index fcdf5a60..d3560465 100644 --- a/src/debian/vbam-gtk.menu +++ b/src/debian/vbam-gtk.menu @@ -1,2 +1 @@ -?package(gvbam):needs="X11" section="Applications/Emulators"\ - title="VisualBoyAdvance-M" command="/usr/bin/gvbam" +?package(vbam-gtk):needs="X11" section="Applications/Emulators" title="VisualBoyAdvance-M" command="/usr/bin/gvbam" diff --git a/src/debian/vbam-sdl.docs b/src/debian/vbam-sdl.docs index 7931ce79..176050f0 100644 --- a/src/debian/vbam-sdl.docs +++ b/src/debian/vbam-sdl.docs @@ -1,3 +1,4 @@ +doc/ReadMe.MFC.txt +doc/ReadMe.SDL.txt doc/DevInfo.txt doc/ips.htm -doc/ReadMe.SDL.txt diff --git a/src/debian/vbam-wx.docs b/src/debian/vbam-wx.docs index 4cc8ef74..b0609c99 100644 --- a/src/debian/vbam-wx.docs +++ b/src/debian/vbam-wx.docs @@ -1,2 +1,3 @@ +doc/ReadMe.MFC.txt doc/DevInfo.txt doc/ips.htm diff --git a/src/debian/vbam-wx.install b/src/debian/vbam-wx.install new file mode 100644 index 00000000..81e9604a --- /dev/null +++ b/src/debian/vbam-wx.install @@ -0,0 +1,4 @@ +usr/bin/wxvbam +usr/share/icons +usr/share/locale/*/*/wxvbam.* +usr/share/applications/wxvbam.desktop diff --git a/src/debian/vbam-wx.menu b/src/debian/vbam-wx.menu index cc7b556d..5f391752 100644 --- a/src/debian/vbam-wx.menu +++ b/src/debian/vbam-wx.menu @@ -1,2 +1 @@ -?package(vbam-wx):needs="X11" section="Applications/Emulators"\ - title="VisualBoyAdvance-M" command="/usr/bin/wxvbam" +?package(vbam-wx):needs="X11" section="Applications/Emulators" title="VisualBoyAdvance-M" command="/usr/bin/wxvbam"