Added debian folder from hunterk PPA, updated Standards-Version, debhelper and compat, fixed lintian warnings and errors: added missing build-dependends and depends in debian/control, added simple man pages to cg2glsl and retrolaunch tools and fixed desktop entry. Added quilt patch (retroarch.cfg, friendly path to libretro cores and start directory), so you can change files only to debian system. Package has one lintian error yet: missing-dependency-on-libc.
This commit is contained in:
parent
74f36b3878
commit
1c07039930
9
Makefile
9
Makefile
|
@ -489,8 +489,11 @@ install: $(TARGET)
|
|||
install -m755 tools/cg2glsl.py $(DESTDIR)$(PREFIX)/bin/retroarch-cg2glsl
|
||||
install -m644 retroarch.cfg $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg
|
||||
install -m644 docs/retroarch.1 $(DESTDIR)$(MAN_DIR)
|
||||
install -m644 docs/retroarch-cg2glsl.1 $(DESTDIR)$(MAN_DIR)
|
||||
install -m644 docs/retroarch-joyconfig.1 $(DESTDIR)$(MAN_DIR)
|
||||
install -m644 docs/retrolaunch.1 $(DESTDIR)$(MAN_DIR)
|
||||
install -m644 media/retroarch.png $(DESTDIR)$(PREFIX)/share/pixmaps
|
||||
install -m644 media/retroarch.svg $(DESTDIR)$(PREFIX)/share/pixmaps
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/retroarch
|
||||
|
@ -499,13 +502,19 @@ uninstall:
|
|||
rm -f $(DESTDIR)$(PREFIX)/bin/retrolaunch
|
||||
rm -f $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/retroarch.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/retroarch-cg2glsl.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/retroarch-joyconfig.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/retrolaunch.1
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/retroarch.png
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/pixmaps/retroarch.svg
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJDIR)
|
||||
rm -f $(TARGET)
|
||||
rm -f tools/retrolaunch/retrolaunch
|
||||
rm -f tools/retroarch-joyconfig
|
||||
rm -f config.h
|
||||
rm -f config.log
|
||||
rm -f config.mk
|
||||
|
||||
.PHONY: all install uninstall clean
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
retroarch (1.0.0.2-0ubuntu10) UNRELEASED; urgency=low
|
||||
|
||||
* Update icon (finally) and use SVG instead of PNG.
|
||||
* Updated to latest git. Includes recent shader changes.
|
||||
* Includes KMS resolution updates.
|
||||
|
||||
-- Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com> Thu, 03 Jul 2014 13:24:59 -0500
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,44 @@
|
|||
Source: retroarch
|
||||
Section: otherosfs
|
||||
Priority: extra
|
||||
Maintainer: Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
libc6-dev (>= 2.13),
|
||||
libsdl1.2-dev,
|
||||
libasound2-dev,
|
||||
libxv-dev,
|
||||
libopenal-dev,
|
||||
libsamplerate0-dev,
|
||||
libxml2-dev,
|
||||
libsdl-ttf2.0-dev,
|
||||
libfreetype6-dev,
|
||||
libsdl-image1.2-dev,
|
||||
libgbm-dev,
|
||||
libdrm-dev,
|
||||
libegl1-mesa-dev,
|
||||
python3-dev,
|
||||
nvidia-cg-dev,
|
||||
zlib1g-dev
|
||||
Standards-Version: 3.9.5
|
||||
Homepage: http://www.libretro.com/
|
||||
Vcs-Git: git://github.com/libretro/RetroArch.git
|
||||
Vcs-Browser: https://github.com/libretro/RetroArch
|
||||
|
||||
Package: retroarch
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libsdl1.2debian,
|
||||
libopenal1,
|
||||
libqtgui4,
|
||||
libsdl-image1.2,
|
||||
libsdl-ttf2.0-0,
|
||||
nvidia-cg-toolkit,
|
||||
python3
|
||||
Replaces: ssnes
|
||||
Description: Simple frontend for the libretro library.
|
||||
RetroArch attempts to be very small and lean, while still having all of the
|
||||
useful core features expected form an emulator. It is a command-line-only
|
||||
interface, though RetroArch-Phoenix provides a minimal GUI.
|
||||
.
|
||||
RetroArch supports both Cg shaders and bsnes-style XML shaders.
|
|
@ -0,0 +1,25 @@
|
|||
This package was debianized by Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com> on
|
||||
Tue, 14 Apr 2010 11:03:43 -0500.
|
||||
|
||||
It was downloaded from http://themaister./
|
||||
|
||||
Upstream Author:
|
||||
|
||||
Themaister
|
||||
Squarepusher
|
||||
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (C) 2012 Themaister
|
||||
|
||||
License:
|
||||
|
||||
licensed under the terms of the GNU General Public License version 2
|
||||
|
||||
The Debian packaging is:
|
||||
|
||||
Copyright (C) 2009 Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com>
|
||||
|
||||
and is licensed under the GPL version 3,
|
||||
see `/usr/share/common-licenses/GPL-3'.
|
|
@ -0,0 +1,5 @@
|
|||
usr/bin
|
||||
etc/
|
||||
usr/share/man/man1
|
||||
usr/share/applications
|
||||
usr/share/pixmaps
|
|
@ -0,0 +1,31 @@
|
|||
Index: RetroArch/retroarch.cfg
|
||||
===================================================================
|
||||
--- RetroArch.orig/retroarch.cfg 2014-07-10 01:27:27.793365000 -0300
|
||||
+++ RetroArch/retroarch.cfg 2014-07-10 21:20:14.212388475 -0300
|
||||
@@ -25,7 +25,7 @@
|
||||
# libretro_path = "/path/to/libretro.so"
|
||||
|
||||
# A directory for where to search for libretro core implementations.
|
||||
-# libretro_directory =
|
||||
+libretro_directory = "/usr/lib/libretro/"
|
||||
|
||||
# Sets log level for libretro cores (GET_LOG_INTERFACE).
|
||||
# If a log level issued by a libretro core is below libretro_log_level, it is ignored.
|
||||
@@ -58,7 +58,7 @@
|
||||
# system_directory =
|
||||
|
||||
# Sets start directory for menu content browser.
|
||||
-# rgui_browser_directory =
|
||||
+rgui_browser_directory = "~/"
|
||||
|
||||
# Content directory. Interacts with RETRO_ENVIRONMENT_GET_CONTENT_DIRECTORY.
|
||||
# Usually set by developers who bundle libretro/RetroArch apps to point to assets.
|
||||
@@ -69,7 +69,7 @@
|
||||
# assets_directory =
|
||||
|
||||
# Sets start directory for menu config browser.
|
||||
-# rgui_config_directory =
|
||||
+rgui_config_directory = "~/.config/retroarch/"
|
||||
|
||||
# Show startup screen in menu.
|
||||
# Is automatically set to false when seen for the first time.
|
|
@ -0,0 +1 @@
|
|||
rgui-config.patch
|
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Encoding=UTF-8
|
||||
Name=RetroArch
|
||||
Type=Application
|
||||
GenericName=RetroArch
|
||||
Comment=RetroArch Multi-Engine Platform
|
||||
Icon=/usr/share/pixmaps/retroarch.svg
|
||||
Exec=retroarch
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Game
|
|
@ -0,0 +1,111 @@
|
|||
#!/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
|
||||
|
||||
|
||||
QUILT=QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null
|
||||
PATCH := $(QUILT) push -a || [ "$$($(QUILT) applied)" = "$$(grep -v '^\#' debian/patches/series)" ]
|
||||
UNPATCH := $(QUILT) pop -a || [ "$$($(QUILT) applied 2>&1)" = "No patches applied" ]
|
||||
|
||||
patch:
|
||||
$(PATCH)
|
||||
|
||||
unpatch:
|
||||
$(UNPATCH)
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
# Add here commands to configure the package.
|
||||
# apply patch with quilt
|
||||
#quilt push
|
||||
# See ./configure --help for valid flags
|
||||
# disable flags (i.e. --disable-ffmpeg for example) if there is no package relative to the feature in Build-Depends
|
||||
./configure --prefix=/usr --enable-rgui --enable-kms --enable-cg --disable-ffmpeg --enable-freetype --enable-python --enable-udev --enable-libxml2 --enable-zlib
|
||||
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.
|
||||
touch config.mk
|
||||
$(MAKE)
|
||||
#docbook-to-man debian/retroarch.sgml > retroarch
|
||||
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
# remove specific patches for debian:
|
||||
#quilt pop
|
||||
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
touch config.mk
|
||||
$(MAKE) clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/retroarch.
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/retroarch PREFIX=/usr install
|
||||
cp $(CURDIR)/debian/retroarch.desktop $(CURDIR)/debian/retroarch/usr/share/applications
|
||||
#cp $(CURDIR)/media/retroarch.svg $(CURDIR)/debian/retroarch/usr/share/pixmaps/
|
||||
|
||||
# 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
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,33 @@
|
|||
.\" retroarch-cg2glsl.1
|
||||
|
||||
.TH "RETROARCH-CG2GLSL" "1" "July 10, 2014" "RETROARCH-CG2GLSL" "System Manager's Manual: retroarch-cg2glsl"
|
||||
|
||||
.SH "NAME"
|
||||
|
||||
retroarch-cg2glsl \- Shader converter.
|
||||
|
||||
.SH "SYNOPSIS"
|
||||
|
||||
\fBretroarch-cg2glsl\fR [Cg file] [GLSL file output]
|
||||
|
||||
.LP
|
||||
|
||||
\fBretroarch-cg2glsl\fR [Cg directory] [GLSL directory output]
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
|
||||
\fBretroarch-cg2glsl\fR converts Cg shaders to GLSL shaders. It can convert single shaders as well as whole folder structures in batch. 100% compatibility is not guaranteed, but almost all shaders should work fine. Cg presets (.cgp) are not converted at the moment, but converting them is as simple as copying over the .cgp, rename it to .glslp and replace references to .cg files to .glsl.
|
||||
|
||||
.LP
|
||||
|
||||
Requires Python 3 and cgc (nvidia-cg-toolkit) 3.1.
|
||||
|
||||
.SH "EXAMPLE COMMANDLINES"
|
||||
|
||||
.TP
|
||||
\fBConvert a Cg shader to GLSL shader\fR
|
||||
retroarch-cg2glsl prog.cg(p) prog.glsl(p)
|
||||
|
||||
.TP
|
||||
\fBConvert a Cg directory to GLSL directory\fR
|
||||
retroarch-cg2glsl cg-dir out-xml-shader-dir
|
|
@ -0,0 +1,16 @@
|
|||
.\" retrolaunch.1:
|
||||
|
||||
.TH "RETROLAUNCH" "1" "July 10, 2014" "RETROLAUNCH" "System Manager's Manual: retrolaunch"
|
||||
|
||||
.SH "NAME"
|
||||
|
||||
retrolauch \- Deprecated ROM Launcher.
|
||||
|
||||
.SH "SYNOPSIS"
|
||||
|
||||
\fBretrolaunch\fR <ROM>
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
|
||||
\fBretrolaunch\fR is a deprecated ROM launcher.
|
||||
|
Loading…
Reference in New Issue