Actually my idea is not to repleace the whole version scheme, and my idea is to keep compatible with vercomp and alwasys above stable release. Since git-tags doesn't seem to be much reliable, my idea was to get version from the one piece of code that tells the emulator what is its version. What I mean is, even if you set 1.2.2..etc as the package version, PCSX2 will get 1.3.0 from pcsx2/SysForwardDefs.h and the GUI will be labeled as "PCSX2 1.3.0-(otherstuff)".
Talking about codes, my idea was to replace:
printf "1.2.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
...With something like:
major=`grep -o "VersionHi.*" pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
mid=`grep -o "VersionMid.*" pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
minor=`grep -o "VersionLo.*" pcsx2/SysForwardDefs.h | grep -o "[0-9]*"`
version="$major.$mid.$minor"
printf "$version.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
This would result in e.g.: 1.3.0.r5131.70d1719-1
Search Criteria
Package Details: pcsx2-git 2.3.10.r0.g5441c7ed59-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pcsx2-git.git (read-only, click to copy) |
---|---|
Package Base: | pcsx2-git |
Description: | A Sony PlayStation 2 emulator |
Upstream URL: | https://github.com/PCSX2/pcsx2 |
Licenses: | GPL-3.0+ |
Conflicts: | pcsx2 |
Provides: | pcsx2 |
Submitter: | alucryd |
Maintainer: | weirdbeard (xiota) |
Last Packager: | weirdbeard |
Votes: | 130 |
Popularity: | 0.34 |
First Submitted: | 2014-03-26 14:17 (UTC) |
Last Updated: | 2024-11-08 23:36 (UTC) |
Dependencies (32)
- alsa-lib
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libaio (libaio-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libpcap (libpcap-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libxrandr (libxrandr-gitAUR)
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- qt6-base (qt6-base-headlessAUR, qt6-base-gitAUR)
- qt6-svg
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- soundtouch (soundtouch-gitAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- xcb-util-cursor (xcb-util-cursor-gitAUR)
- ccache (ccache-gitAUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR) (make)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (make)
- qt6-tools (make)
- qt6-wayland (make)
- libpipewire (libpipewire-gitAUR, libpipewire-full-gitAUR) (optional) – Pipewire support
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (optional) – Pulseaudio support
- qt6-wayland (optional) – Wayland support
Required by (3)
- libretro-pcsx2-launcher (requires pcsx2)
- libretro-pcsx2-launcher-git (requires pcsx2)
- pcsx2-plugin-usbqemu-wheel (requires pcsx2)
Sources (8)
- git+https://github.com/google/shaderc.git#tag=v2024.1
- git+https://github.com/ianlancetaylor/libbacktrace.git#commit=ad106d5fdd5d960bd33fae1c48a351af567fd075
- git+https://github.com/KhronosGroup/glslang.git#commit=142052fa30f9eca191aa9dcf65359fcaed09eeec
- git+https://github.com/KhronosGroup/SPIRV-Headers.git#commit=5e3ad389ee56fca27c9705d093ae5387ce404df4
- git+https://github.com/KhronosGroup/SPIRV-Tools.git#commit=dd4b663e13c07fea4fbb3f70c1c91c86731099f7
- git+https://github.com/PCSX2/pcsx2.git
- git+https://github.com/PCSX2/pcsx2_patches.git
- ShaderName.patch
Latest Comments
« First ‹ Previous 1 .. 43 44 45 46 47 48 49 50 51 52 53 .. 66 Next › Last »
rafaelff commented on 2014-07-22 11:06 (UTC)
alucryd commented on 2014-07-22 09:53 (UTC)
What do you mean by getting out-of-date? Almost every git package goes like this: 'latest_release_number'.r'number_of_commits_since_latest_release'.'latest_commit_hash'; that scheme is compatible with vercomp and pkgver is always above the stable release. Unfortunately 1.2.2 wasn't tagged, hence the currently weird pkgver, but once 1.3.0 is I'll go back to using 'git describe --tags'. I'm not sure it's useful to have 1.3.0 right now, especially since the pkgver will be above the one I'll get when 1.3.0 is tagged, and I don't want to introduce an ugly epoch.
rafaelff commented on 2014-07-22 01:34 (UTC)
Development version of PCSX2 is currently in version 1.3.0, as can be seen in SysForwardDefs.h[1]. To avoid getting out-of-date, I suggest preparing pkgver's content using the values from this file, like the developer Gregory did in the script "create_pcsx2_tarball_from_svn_repository.sh"[2] (which get from git, btw).
Anyway, can you please update the pkgver from 1.2.2 to 1.3.0 ?
[1] https://github.com/PCSX2/pcsx2/blob/master/pcsx2/SysForwardDefs.h
[2] https://github.com/PCSX2/pcsx2/blob/master/debian-unstable-upstream/create_pcsx2_tarball_from_svn_repository.sh
alucryd commented on 2014-03-26 14:22 (UTC)
Glad they switched to Github! It seems the last release wasn't properly tagged though, git describe --tags still prints 1.2.1.* instead of 1.2.2.* so pkgver will be manual for now. Merging pcsx2-svn into pcsx2-git.
rafaelff commented on 2014-03-26 02:05 (UTC)
@alucryd: IMHO, I believe this package should be replaced with a pcsx2-git, because they decided to have github as main repository [1].
[1] https://code.google.com/p/pcsx2/source/detail?r=5933#
MarisaDOOM commented on 2014-02-23 11:53 (UTC)
Oh... it doesn't seem to be a problem with event device permissions. OnePAD actually IS broken with SDL2.
MarisaDOOM commented on 2014-02-21 22:31 (UTC)
SDL2 problems? I'm pretty sure I know what's wrong. (Also damn thing doesn't build right now)
alucryd commented on 2014-02-19 17:25 (UTC)
Disabled SDL2, OnePAD doesn't play nice with it.
rafaelff commented on 2014-02-02 16:06 (UTC)
pkgver needs bump to 1.3.0 (rev 5870)
Pinned Comments
weirdbeard commented on 2024-08-17 03:40 (UTC)
https://github.com/PCSX2/pcsx2/pull/11632
This package now enables Cmake Package mode proper. PCSX2 will here on, be installed in the package standard folders /usr/bin, /usr/share, /usr/lib. Following the XDG standard pcsx2's config files remain in .config/PCSX2
In order to ensure a proper and clean upgrade. Uninstall this package COMPLETELY and clear cache before reinstalling.