Skip to content

Commit ef672df

Browse files
committed
bunch of fixes
1 parent 887b251 commit ef672df

File tree

8 files changed

+23
-164
lines changed

8 files changed

+23
-164
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ jobs:
251251
mkdir -p "$HOME/.ccache"
252252
mkdir build
253253
cd build
254-
cmake .. -GNinja -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc-13 -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++-13 -DCMAKE_PREFIX_PATH="${{github.workspace}}/qt/${{ env.yaqti }}/gcc_64/" -Ddatadir:PATH="share/dolphin-emu" -DBIN_INSTALL_DIR="install/usr/bin" -DCMAKE_INSTALL_PREFIX="install/usr" -DINC_INSTALL_DIR="install/usr/include" -DLIB_INSTALL_DIR="install/usr/lib" -DPKGCONFIG_INSTALL_DIR="install/usr/lib/pkgconfig" -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DENABLE_NOGUI=OFF
254+
cmake .. -GNinja -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc-13 -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++-13 -DCMAKE_PREFIX_PATH="${{github.workspace}}/qt/${{ env.yaqti }}/gcc_64/" -Ddatadir:PATH="share/project-plus-dolphin" -DBIN_INSTALL_DIR="install/usr/bin" -DCMAKE_INSTALL_PREFIX="install/usr" -DINC_INSTALL_DIR="install/usr/include" -DLIB_INSTALL_DIR="install/usr/lib" -DPKGCONFIG_INSTALL_DIR="install/usr/lib/pkgconfig" -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DENABLE_NOGUI=OFF
255255
ninja
256256
- name: Install Dolphin
257257
run: |
@@ -260,7 +260,7 @@ jobs:
260260
- name: Package Dolphin-Binary
261261
run: |
262262
mkdir -p $GITHUB_WORKSPACE/{artifacts,uploads}
263-
cp -P build/install/usr/bin/dolphin-emu $GITHUB_WORKSPACE/artifacts
263+
cp -P build/install/usr/bin/project-plus-dolphin $GITHUB_WORKSPACE/artifacts
264264
- name: Package Dolphin-AppImage
265265
env:
266266
QT_BASE_DIR: /qt/${{ env.yaqti }}/gcc_64
@@ -284,7 +284,7 @@ jobs:
284284
cd $GITHUB_WORKSPACE
285285
mkdir -p squashfs-root
286286
cp -a build/install/usr $GITHUB_WORKSPACE/squashfs-root/
287-
cp Data/dolphin-emu.svg ./squashfs-root/dolphin-emu.svg
287+
cp Data/project-plus-dolphin.svg ./squashfs-root/project-plus-dolphin.svg
288288
cp Data/project-plus-dolphin.desktop ./squashfs-root/project-plus-dolphin.desktop
289289
curl -sSfL https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64 -o ./squashfs-root/runtime
290290
curl -sSfL "https://github.com/RPCS3/AppImageKit-checkrt/releases/download/continuous2/AppRun-patched-x86_64" -o ./squashfs-root/AppRun-patched
@@ -296,7 +296,7 @@ jobs:
296296
chmod a+x ./squashfs-root/AppRun-patched
297297
chmod a+x ./squashfs-root/update.sh
298298
export UPD_INFO="gh-releases-zsync|Motobug|Project-Plus-Dolphin|continuous|Project+_Dolphin-x86_64.AppImage.zsync"
299-
/tmp/squashfs-root/AppRun --appdir="$GITHUB_WORKSPACE"/squashfs-root/ --plugin qt -d "$GITHUB_WORKSPACE"/squashfs-root/project-plus-dolphin.desktop -i "$GITHUB_WORKSPACE"/squashfs-root/dolphin-emu.svg \
299+
/tmp/squashfs-root/AppRun --appdir="$GITHUB_WORKSPACE"/squashfs-root/ --plugin qt -d "$GITHUB_WORKSPACE"/squashfs-root/project-plus-dolphin.desktop -i "$GITHUB_WORKSPACE"/squashfs-root/project-plus-dolphin.svg \
300300
--exclude-library=libglib* --output appimage
301301
ls . | grep *.AppImage
302302
mv $(ls . | grep *.AppImage) $GITHUB_WORKSPACE/artifacts

BuildLinuxAppImage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ rm ./AppDir/usr/bin/dolphin-emu-nogui
3030
rm ./AppDir/usr/bin/dolphin-tool
3131
mv ./AppDir/usr/share/dolphin-emu/sys ./AppDir/usr/bin/Sys
3232
rm -rf ./AppDir/usr/share/dolphin-emu
33-
sed -i 's/env QT_QPA_PLATFORM=xcb dolphin-emu/dolphin-emu/g' ./AppDir/usr/share/applications/dolphin-emu.desktop
33+
sed -i 's/env QT_QPA_PLATFORM=xcb dolphin-emu/dolphin-emu/g' ./AppDir/usr/share/applications/project-plus-dolphin.desktop
3434

3535
# Prepare Tools for building the AppImage
3636
wget -N https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-${ARCH}.AppImage

CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0.0" CACHE STRING "")
2828

2929
set(CMAKE_USER_MAKE_RULES_OVERRIDE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/FlagsOverride.cmake")
3030

31-
project(dolphin-emu)
31+
project(project-plus-dolphin)
3232

3333
if (MSVC)
3434
if (POLICY CMP0117)
@@ -177,7 +177,7 @@ include(RemoveCompileFlag)
177177
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
178178

179179
# Set up paths
180-
set(datadir ${CMAKE_INSTALL_FULL_DATADIR}/dolphin-emu CACHE PATH "datadir")
180+
set(datadir ${CMAKE_INSTALL_FULL_DATADIR}/project-plus-dolphin CACHE PATH "datadir")
181181
add_definitions(-DDATA_DIR="${datadir}/")
182182

183183
if(CMAKE_SYSROOT)
@@ -861,16 +861,10 @@ if(NOT CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD|OpenBSD|Darwin")
861861
endif()
862862
if(CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD|OpenBSD")
863863
# Install the application icon and menu item
864-
install(FILES Data/dolphin-emu.svg
865-
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
866-
install(FILES Data/dolphin-emu.png
867-
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps)
868864
install(FILES Data/project-plus-dolphin.svg
869865
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
870866
install(FILES Data/project-plus-dolphin.png
871867
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps)
872-
install(FILES Data/dolphin-emu.desktop
873-
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps)
874868
install(FILES Data/project-plus-dolphin.desktop
875869
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
876870
# Install manpages

Data/dolphin-emu.png

-20.1 KB
Binary file not shown.

Data/dolphin-emu.svg

Lines changed: 0 additions & 135 deletions
This file was deleted.

Data/project-plus-dolphin.svg

Lines changed: 2 additions & 2 deletions
Loading

travis/appimage/AppRun

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22

33
mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/dolphin-emu.svg $HOME/.local/share/icons/hicolor/scalable/apps
4-
mkdir -p $HOME/.local/share/dolphin-emu && cp -R $APPDIR/usr/share/dolphin-emu $HOME/.local/share/
4+
mkdir -p $HOME/.local/share/project-plus-dolphin && cp -R $APPDIR/usr/share/project-plus-dolphin $HOME/.local/share/
55

6-
GITVER=$(wget -qO- https://www.github.com/qurious-pixel/dolphin/releases/tag/continuous | grep '<p>DOLPHIN' | awk '{print $NF}' | cut -d '<' -f 1)
6+
GITVER=$(wget -qO- https://www.github.com/Motobug/Project-Plus-Dolphin/releases/tag/v3.1.2-mainline-beta.2 | grep '<p>DOLPHIN' | awk '{print $NF}' | cut -d '<' -f 1)
77
APPVER=$(cat $APPDIR/version.txt)
88

99
if [[ -z "$GITVER" ]]; then

travis/appimage/appimage.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
branch=`echo ${GITHUB_REF##*/}`
44

55
BUILDBIN=/dolphin/dolphin/build/Binaries
6-
BINFILE=dolphin-emu-x86_64.AppImage
6+
BINFILE=Project+_Dolphin-x86_64.AppImage
77
LOG_FILE=$HOME/curl.log
88
CXX=g++-9
99

@@ -23,18 +23,18 @@ cd /tmp
2323
./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract
2424
cd $HOME
2525
mkdir -p squashfs-root/usr/bin
26-
cp -P "$BUILDBIN"/dolphin-emu $HOME/squashfs-root/usr/bin/
26+
cp -P "$BUILDBIN"/project-plus-dolphin $HOME/squashfs-root/usr/bin/
2727

28-
curl -sL https://raw.githubusercontent.com/qurious-pixel/dolphin/$branch/Data/dolphin-emu.svg -o ./squashfs-root/dolphin-emu.svg
29-
curl -sL https://raw.githubusercontent.com/qurious-pixel/dolphin/$branch/Data/dolphin-emu.desktop -o ./squashfs-root/dolphin-emu.desktop
28+
curl -sL https://raw.githubusercontent.com/Motobug/Project-Plus-Dolphin/$branch/Data/project-plus-dolphin.svg -o ./squashfs-root/project-plus-dolphin.svg
29+
curl -sL https://raw.githubusercontent.com/Motobug/Project-Plus-Dolphin/$branch/Data/project-plus-dolphin.desktop -o ./squashfs-root/project-plus-dolphin.desktop
3030
curl -sL https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64 -o ./squashfs-root/runtime
31-
mkdir -p squashfs-root/usr/share/applications && cp ./squashfs-root/dolphin-emu.desktop ./squashfs-root/usr/share/applications
32-
mkdir -p squashfs-root/usr/share/icons && cp ./squashfs-root/dolphin-emu.svg ./squashfs-root/usr/share/icons
33-
mkdir -p squashfs-root/usr/share/icons/hicolor/scalable/apps && cp ./squashfs-root/dolphin-emu.svg ./squashfs-root/usr/share/icons/hicolor/scalable/apps
34-
mkdir -p squashfs-root/usr/share/pixmaps && cp ./squashfs-root/dolphin-emu.svg ./squashfs-root/usr/share/pixmaps
31+
mkdir -p squashfs-root/usr/share/applications && cp ./squashfs-root/project-plus-dolphin.desktop ./squashfs-root/usr/share/applications
32+
mkdir -p squashfs-root/usr/share/icons && cp ./squashfs-root/project-plus-dolphin.svg ./squashfs-root/usr/share/icons
33+
mkdir -p squashfs-root/usr/share/icons/hicolor/scalable/apps && cp ./squashfs-root/project-plus-dolphin.svg ./squashfs-root/usr/share/icons/hicolor/scalable/apps
34+
mkdir -p squashfs-root/usr/share/pixmaps && cp ./squashfs-root/project-plus-dolphin.svg ./squashfs-root/usr/share/pixmaps
3535
mkdir -p squashfs-root/usr/optional/ ; mkdir -p squashfs-root/usr/optional/libstdc++/
3636

37-
mkdir -p squashfs-root/usr/share/dolphin-emu
37+
mkdir -p squashfs-root/usr/share/project-plus-dolphin
3838
cp -R /dolphin/dolphin/Data/Sys ./squashfs-root/usr/bin
3939
curl -sL "https://raw.githubusercontent.com/qurious-pixel/dolphin/$branch/travis/appimage/update.sh" -o $HOME/squashfs-root/update.sh
4040
curl -sL "https://raw.githubusercontent.com/qurious-pixel/dolphin/$branch/travis/appimage/AppRun" -o $HOME/squashfs-root/AppRun
@@ -55,8 +55,8 @@ unset QT_PLUGIN_PATH
5555
unset LD_LIBRARY_PATH
5656
unset QTDIR
5757

58-
# /tmp/squashfs-root/AppRun $HOME/squashfs-root/usr/bin/dolphin-emu -appimage -unsupported-allow-new-glibc -no-copy-copyright-files -no-translations -bundle-non-qt-libs
59-
/tmp/squashfs-root/AppRun $HOME/squashfs-root/usr/bin/dolphin-emu -unsupported-allow-new-glibc -no-copy-copyright-files -no-translations -bundle-non-qt-libs
58+
# /tmp/squashfs-root/AppRun $HOME/squashfs-root/usr/bin/project-plus-dolphin -appimage -unsupported-allow-new-glibc -no-copy-copyright-files -no-translations -bundle-non-qt-libs
59+
/tmp/squashfs-root/AppRun $HOME/squashfs-root/usr/bin/project-plus-dolphin -unsupported-allow-new-glibc -no-copy-copyright-files -no-translations -bundle-non-qt-libs
6060
export PATH=$(readlink -f /tmp/squashfs-root/usr/bin/):$PATH
6161

6262
# Add AppImageUpdate as the internal updater
@@ -77,7 +77,7 @@ mkdir $HOME/artifacts/
7777
mkdir -p /dolphin/artifacts/
7878
mv Project+_Dolphin-x86_64.AppImage* $HOME/artifacts
7979
cp -R $HOME/artifacts/ /dolphin/
80-
cp $BUILDBIN/dolphin-emu /dolphin/artifacts
80+
cp $BUILDBIN/project-plus-dolphin /dolphin/artifacts
8181
chmod -R 777 /dolphin/artifacts
8282
cd /dolphin/artifacts
8383
ls -al /dolphin/artifacts/

0 commit comments

Comments
 (0)