mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 13:26:34 +00:00
Merge pull request #796 from sergiobenrocha2/master
Debian packaging in upstream
This commit is contained in:
commit
6c5ba417a2
1
.gitignore
vendored
1
.gitignore
vendored
@ -62,3 +62,4 @@ apple/RetroArch_iOS.xcodeproj/project.xcworkspace/*
|
||||
/phoenix/
|
||||
/python/
|
||||
/rsound.h
|
||||
.pc
|
||||
|
6
Makefile
6
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,8 +502,11 @@ 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)
|
||||
|
21
debian/changelog
vendored
Normal file
21
debian/changelog
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
retroarch (1.0.0.2-0ubuntu11) UNRELEASED; urgency=low
|
||||
|
||||
* Debian folder from hunterk PPA to upstream
|
||||
* Updated /debian:
|
||||
+ control: deb-helper to >= 9 and Standards-Version to 3.9.5
|
||||
+ compat from 7 to 9
|
||||
* Fixed lintian warnings and errors:
|
||||
+ Added missing build-dependends and depends in debian/control
|
||||
+ Added simple man pages to cg2glsl and retrolaunch tools
|
||||
+ Fixed desktop entry
|
||||
* Added quilt patch (friendly path to libretro cores and start directory)
|
||||
|
||||
-- Sérgio Benjamim <sergio_br2@yahoo.com.br> Fri, 11 Jul 2014 13:33:00 -0300
|
||||
|
||||
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
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
45
debian/control
vendored
Normal file
45
debian/control
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
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 is an open source, multi-platform frontend for the libretro API.
|
||||
It can be used as a modular multi emulator system, game engine, media player
|
||||
and 3D technical demonstration. These features are available through
|
||||
libretro cores.
|
||||
.
|
||||
It provides a simple built-in GUI, the RGUI.
|
24
debian/copyright
vendored
Normal file
24
debian/copyright
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
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 <https://github.com/libretro/RetroArch>
|
||||
|
||||
Upstream Authors:
|
||||
|
||||
Hans-Kristian Arntzen (Themaister) <maister@archlinux.us>
|
||||
Daniel De Matteis (Squarepusher aka twinaphex) <libretro@gmail.com>
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (C) 2012 Themaister
|
||||
|
||||
License:
|
||||
|
||||
Licensed under the terms of the GNU General Public License version 3
|
||||
|
||||
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'.
|
5
debian/dirs
vendored
Normal file
5
debian/dirs
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
usr/bin
|
||||
etc/
|
||||
usr/share/man/man1
|
||||
usr/share/applications
|
||||
usr/share/pixmaps
|
31
debian/patches/rgui-config.patch
vendored
Normal file
31
debian/patches/rgui-config.patch
vendored
Normal file
@ -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.
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
||||
rgui-config.patch
|
12
debian/retroarch.desktop
vendored
Normal file
12
debian/retroarch.desktop
vendored
Normal file
@ -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
|
105
debian/rules
vendored
Executable file
105
debian/rules
vendored
Executable file
@ -0,0 +1,105 @@
|
||||
#!/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.
|
||||
# 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
|
||||
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
|
||||
|
||||
# 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
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
33
docs/retroarch-cg2glsl.1
Normal file
33
docs/retroarch-cg2glsl.1
Normal file
@ -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
|
16
docs/retrolaunch.1
Normal file
16
docs/retrolaunch.1
Normal file
@ -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…
x
Reference in New Issue
Block a user