From 1103246f92e792832a9ea198e1ffdadd2391ddc5 Mon Sep 17 00:00:00 2001 From: sergiobenrocha2 Date: Mon, 14 Jul 2014 22:44:17 -0300 Subject: [PATCH] Added debian folder from hunterk PPA, updated packaging and fixed lintian errors. --- debian/changelog | 14 ++++ debian/compat | 1 + debian/control | 16 +++++ debian/copyright | 60 +++++++++++++++++ debian/dirs | 1 + debian/genesis_plus_gx_libretro.info | 34 ++++++++++ debian/libretro-genesisplusgx.postinst | 9 +++ debian/rules | 90 ++++++++++++++++++++++++++ debian/source/format | 1 + 9 files changed, 226 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/genesis_plus_gx_libretro.info create mode 100755 debian/libretro-genesisplusgx.postinst create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..024eefa --- /dev/null +++ b/debian/changelog @@ -0,0 +1,14 @@ +libretro-genesisplusgx (1.7.4-0ubuntu3) UNRELEASED; urgency=low + + * Updated to latest git. + * Debian folder from hunterk PPA to upstream + * Updated debian package and fixed lintian errors/warnings + + -- Sergio Benjamim Mon, 14 Jul 2014 22:40:00 -0300 + + +libretro-genesisplusgx (1.7.4-0ubuntu2) UNRELEASED; urgency=low + + * Updated to latest git. + + -- Hunter Kaller (hizzlekizzle) Wed, 12 Mar 2014 13:24:59 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ed32002 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: libretro-genesisplusgx +Section: otherosfs +Priority: extra +Maintainer: Hunter Kaller (hizzlekizzle) +Build-Depends: debhelper (>= 9), zlib1g-dev +Standards-Version: 3.9.5 +Homepage: https://code.google.com/p/genplus-gx/ +Vcs-Git: git://github.com/libretro/Genesis-Plus-GX.git +Vcs-Browser: https://github.com/libretro/Genesis-Plus-GX + +Package: libretro-genesisplusgx +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libretro wrapper for Genesis Plus GX. + This wrapper makes Genesis Plus GX API compatible with libretro, + thus allowing its use with libretro frontends, such as RetroArch. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7b3af4a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Hunter Kaller (hizzlekizzle) on +Tue, 14 Apr 2010 11:03:43 -0500. + +It was downloaded from https://github.com/libretro/Genesis-Plus-GX.git + +Upstream Authors: + + Genesis Plus GX development team + Hans-Kristian Arntzen (Themaister) + Daniel De Matteis (Squarepusher aka twinaphex) + +Copyright: + + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles MacDonald + Some portions copyright Nicola Salmoria and the MAME team + All rights reserved. + Copyright (c) 2007-2013 Eke-Eke + All rights reserved. + +License: + + Unless otherwise explicitly stated, all code in Genesis Plus GX is released + under the following license: + . + Redistribution and use of this code or any derivative works are permitted + provided that the following conditions are met: + . + * Redistributions may not be sold, nor may they be used in a commercial + product or activity. + . + * Redistributions that are modified from the original source must include the + complete source code, including the source code for all components used by a + binary built from the modified sources. However, as a special exception, the + source code distributed need not include anything that is normally distributed + (in either source or binary form) with the major components (compiler, kernel, + and so on) of the operating system on which the executable runs, unless that + component itself accompanies the executable. + . + * Redistributions must reproduce the above copyright notice, this list of + conditions and the following disclaimer in the documentation and/or other + materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is: + + Copyright (C) 2009 Hunter Kaller (hizzlekizzle) + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..0b66d81 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/lib/libretro diff --git a/debian/genesis_plus_gx_libretro.info b/debian/genesis_plus_gx_libretro.info new file mode 100644 index 0000000..8e1aff0 --- /dev/null +++ b/debian/genesis_plus_gx_libretro.info @@ -0,0 +1,34 @@ +display_name = "Sega MS/GG/MD/CD (Genesis Plus GX)" +authors = "Charles McDonald|Eke-Eke" +supported_extensions = "mdx|md|smd|gen|bin|cue|iso|sms|gg|sg" +corename = "Genesis Plus GX" +manufacturer = "Sega" +systemname = "Sega 8/16bit (Various)" +license = "Non-commercial" +permissions = "" +display:version = "v1.7.4" +need_fullpath = "true" +block_extract = "false" +supports_no_game = "false" +firmware_count = 7 +firmware0_desc = "bios_CD_E.bin (MegaCD EU BIOS)" +firmware0_path = "bios_CD_E.bin" +firmware0_opt = "false" +firmware1_desc = "bios_CD_U.bin (SegaCD US BIOS)" +firmware1_path = "bios_CD_U.bin" +firmware1_opt = "false" +firmware2_desc = "bios_CD_J.bin (MegaCD JP BIOS)" +firmware2_path = "bios_CD_J.bin" +firmware2_opt = "false" +firmware3_desc = "bios_E.sms (MasterSystem EU BIOS)" +firmware3_path = "bios_E.sms" +firmware3_opt = "true" +firmware4_desc = "bios_U.sms (MasterSystem US BIOS)" +firmware4_path = "bios_U.sms" +firmware4_opt = "true" +firmware5_desc = "bios_J.sms (MasterSystem JP BIOS)" +firmware5_path = "bios_J.sms" +firmware5_opt = "true" +firmware6=desc = "bios.gg (GameGear BIOS)" +firmware6_path = "bios.gg" +firmware6_opt = "true" diff --git a/debian/libretro-genesisplusgx.postinst b/debian/libretro-genesisplusgx.postinst new file mode 100755 index 0000000..f41a197 --- /dev/null +++ b/debian/libretro-genesisplusgx.postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +update-alternatives --install /usr/lib/libretro.so libretro /usr/lib/libretro/genesis_plus_gx_libretro.so 10 + +#DEBHELPER# + +exit 0 \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7c58407 --- /dev/null +++ b/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp + +build: build-arch build-indep + +build-arch: build-stamp + +build-indep: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) -f Makefile.libretro + #docbook-to-man debian/libretro-genesisplusgx.sgml > libretro-genesisplusgx + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) -f Makefile.libretro clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/libretro-genesisplusgx. + cp genesis_plus_gx_libretro.so $(CURDIR)/debian/libretro-genesisplusgx/usr/lib/libretro/ + cp $(CURDIR)/debian/genesis_plus_gx_libretro.info $(CURDIR)/debian/libretro-genesisplusgx/usr/lib/libretro/ + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)