├── .github ├── FUNDING.yml └── workflows │ └── main.yml ├── .gitignore ├── LICENSE ├── README.md ├── config ├── noto-sans-cjk-hk.reg ├── noto-sans-cjk-jp.reg ├── noto-sans-cjk-kr.reg ├── noto-sans-cjk-sc.reg └── noto-sans-cjk-tc.reg ├── old ├── arm-main.yml ├── lolp-protn-main.yml ├── scripts-arm │ ├── msiexec │ ├── notepad │ ├── regedit │ ├── regsvr32 │ ├── wineboot │ ├── winecfg │ ├── wineconsole │ ├── winedbg │ ├── winefile │ ├── winemine │ └── winepath ├── w4lol.main.yml ├── wine-devel-arm.yml ├── wine-devel-arm64.yml ├── wine-stable-4-amd64.yml ├── wine-stable-4-i386.yml ├── wine-stable-4-multi.yml ├── wine-stable-arm.yml ├── wine-stable-arm64.yml ├── wine-staging-ge-lol.yml ├── wine-staging-ge-proton.yml └── wine-staging-lolp.yml ├── runtime ├── mksquashfs ├── runtime-aarch64 └── runtime-x86_64 ├── wine-devel.yml ├── wine-stable.yml ├── wine-staging.yml ├── wine.svg └── wrapper /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: mmtrt # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the action will run. 6 | on: 7 | # Build at 00:00 on every 12th day-of-month. 8 | schedule: 9 | - cron: "0 0 */12 * *" 10 | # Triggers the workflow on push or pull request events but only for the master branch 11 | push: 12 | branches: [ master ] 13 | paths-ignore: [ '**/README.md' ] 14 | pull_request: 15 | branches: [ master ] 16 | paths-ignore: [ '**/README.md' ] 17 | 18 | # Allows you to run this workflow manually from the Actions tab 19 | workflow_dispatch: 20 | 21 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 22 | jobs: 23 | # This workflow contains a single job called "build-stable" 24 | build-stable: 25 | # The type of runner that the job will run on 26 | runs-on: ubuntu-latest 27 | 28 | # Steps represent a sequence of tasks that will be executed as part of the job 29 | steps: 30 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 31 | - uses: actions/checkout@v3 32 | 33 | - name: Prerequisites 34 | run: | 35 | sudo apt update && sudo apt install libfuse2 -y 36 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/Continuous/appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 37 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 38 | 39 | # stable 40 | echo "WINE_VER=stable_$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/stable | grep -Eo '/wine-[0-9].*xz"' | cut -d'-' -f2 | head -1)" >> $GITHUB_ENV 41 | 42 | # Runs a set of commands using the runners shell 43 | - name: Build appimage 44 | run: | 45 | # add custom mksquashfs 46 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 47 | 48 | # force zstd format in appimagebuilder for appimages 49 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 50 | 51 | squashfs-root/AppRun --recipe wine-stable.yml 52 | 53 | - name: release 54 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 55 | with: 56 | title: Continuous build (stable) 57 | automatic_release_tag: continuous-stable 58 | prerelease: false 59 | draft: false 60 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 61 | repo_token: ${{ secrets.GITHUB_TOKEN }} 62 | 63 | # This workflow contains a single job called "build-devel" 64 | build-devel: 65 | # The type of runner that the job will run on 66 | runs-on: ubuntu-latest 67 | 68 | # Steps represent a sequence of tasks that will be executed as part of the job 69 | steps: 70 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 71 | - uses: actions/checkout@v3 72 | 73 | - name: Prerequisites 74 | run: | 75 | sudo apt update && sudo apt install libfuse2 -y 76 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/Continuous/appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 77 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 78 | 79 | # devel 80 | echo "WINE_VER=devel_$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/latest | grep -Eo '[0-9].*xz"' | sed -r 's|-amd64| |' | head -1 | awk '{print $1}')" >> $GITHUB_ENV 81 | 82 | # Runs a set of commands using the runners shell 83 | - name: Build appimage 84 | run: | 85 | # add custom mksquashfs 86 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 87 | 88 | # force zstd format in appimagebuilder for appimages 89 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 90 | 91 | squashfs-root/AppRun --recipe wine-devel.yml 92 | 93 | - name: release 94 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 95 | with: 96 | title: Continuous build (devel) 97 | automatic_release_tag: continuous-devel 98 | prerelease: false 99 | draft: false 100 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 101 | repo_token: ${{ secrets.GITHUB_TOKEN }} 102 | 103 | # This workflow contains a single job called "build-staging" 104 | build-staging: 105 | # The type of runner that the job will run on 106 | runs-on: ubuntu-latest 107 | 108 | # Steps represent a sequence of tasks that will be executed as part of the job 109 | steps: 110 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 111 | - uses: actions/checkout@v3 112 | 113 | - name: Prerequisites 114 | run: | 115 | sudo apt update && sudo apt install libfuse2 -y 116 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/Continuous/appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 117 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 118 | 119 | # staging 120 | echo "WINE_VER=staging_$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/latest | grep -Eo '[0-9].*xz"' | sed -r 's|-amd64| |' | head -1 | awk '{print $1}')" >> $GITHUB_ENV 121 | 122 | # Runs a set of commands using the runners shell 123 | - name: Build appimage 124 | run: | 125 | # add custom mksquashfs 126 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 127 | 128 | # force zstd format in appimagebuilder for appimages 129 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 130 | 131 | squashfs-root/AppRun --recipe wine-staging.yml 132 | 133 | - name: release 134 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 135 | with: 136 | title: Continuous build (staging) 137 | automatic_release_tag: continuous-staging 138 | prerelease: false 139 | draft: false 140 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 141 | repo_token: ${{ secrets.GITHUB_TOKEN }} 142 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | AppDir/ 2 | appimage-build/ 3 | appimage-builder-cache/ 4 | *.deb 5 | *.appimage 6 | *.AppImage 7 | *.zsync 8 | *.msi 9 | *.squashfs 10 | *.part 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Taqi Raza 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | WINE logo 3 | 4 |

WINE AppImage

5 | 6 |

WINE AppImage (unofficial) AppImages by GitHub Actions Continuous Integration 7 |
8 | Report bug 9 | · 10 | Request feature 11 | · 12 | Download AppImage 13 |

14 |

15 | 16 | ## Info 17 | * Now WINE AppImages are built with wow64 enabled WINE builds. 18 | 19 | ## Get Started 20 | 21 | Download the latest release from 22 | 23 | | Stable | Devel | Staging | 24 | | ------- | --------- | --------- | 25 | | | | | | 26 | | [Download](https://github.com/mmtrt/WINE_AppImage/releases/tag/continuous-stable) | [Download](https://github.com/mmtrt/WINE_AppImage/releases/tag/continuous-devel) | [Download](https://github.com/mmtrt/WINE_AppImage/releases/tag/continuous-staging) | 27 | 28 | ### Executing 29 | #### File Manager 30 | Just double click the `*.AppImage` file and you are done! 31 | 32 | > In normal cases, the above method should work, but in some rare cases 33 | the `+x` permissisions. So, right click > Properties > Allow Execution 34 | #### Terminal 35 | ```bash 36 | ./wine-*.AppImage 37 | ``` 38 | ```bash 39 | chmod +x wine-*.AppImage 40 | ./wine-*.AppImage 41 | ``` 42 | 43 | In case, if FUSE support libraries are not installed on the host system, it is 44 | still possible to run the AppImage 45 | 46 | ```bash 47 | ./wine-*.AppImage --appimage-extract 48 | cd squashfs-root 49 | ./AppRun 50 | ``` 51 | 52 | ## Building AppImage (Debian Based Host Only) 53 | 54 | #### > Clone this repo 55 | ``` 56 | git clone 'https://github.com/mmtrt/WINE_AppImage.git' 57 | ``` 58 | 59 | #### > Download appimage-builder and unpack (AppRun v2) 60 | ``` 61 | cd WINE_AppImage ; wget -q 'https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage' ; chmod +x 'appimage-builder-1.0.3-x86_64.AppImage' ; ./appimage-builder-1.0.3-x86_64.AppImage --appimage-extract 62 | ``` 63 | #### > Download appimage-builder continuous build and unpack (AppRun v3) 64 | > NOTE: use this step for only WINE 9 and above AppImage recipe. below mentioned version may change in future. 65 | ``` 66 | cd WINE_AppImage ; wget -q 'https://github.com/AppImageCrafters/appimage-builder/releases/download/Continuous/appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage' ; chmod +x 'appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage' ; ./appimage-builder-1.1.1.dev32+g2709a3b-x86_64.AppImage --appimage-extract 67 | ``` 68 | 69 | #### > Modify appimage-builder 70 | ``` 71 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 72 | ``` 73 | 74 | #### > Modify Recipe for building locally 75 | Change version in `wine-stable.yml` for example. 76 | 77 | version: `!ENV ${WINE_VER}` 78 | 79 | To 80 | 81 | version: `"1.0"` 82 | 83 | 84 | #### > Start building 85 | Now launch modified appimage-builder using modifed recipe after doing above steps 86 | 87 | ``` 88 | squashfs-root/AppRun --recipe wine-stable.yml 89 | ``` 90 | 91 | **NOTE:** if you are making changes in recipe file after doing all steps then just skip all steps and use building step only. 92 | 93 | ## Acknowledgements 94 | * https://www.winehq.org 95 | * https://github.com/AppImageCrafters/appimage-builder 96 | -------------------------------------------------------------------------------- /config/noto-sans-cjk-hk.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/config/noto-sans-cjk-hk.reg -------------------------------------------------------------------------------- /config/noto-sans-cjk-jp.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/config/noto-sans-cjk-jp.reg -------------------------------------------------------------------------------- /config/noto-sans-cjk-kr.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/config/noto-sans-cjk-kr.reg -------------------------------------------------------------------------------- /config/noto-sans-cjk-sc.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/config/noto-sans-cjk-sc.reg -------------------------------------------------------------------------------- /config/noto-sans-cjk-tc.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/config/noto-sans-cjk-tc.reg -------------------------------------------------------------------------------- /old/arm-main.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the action will run. 6 | on: 7 | # Build at 00:00 on every 12th day-of-month. 8 | schedule: 9 | - cron: "0 0 */12 * *" 10 | # Triggers the workflow on push or pull request events but only for the master branch 11 | push: 12 | branches: [ master ] 13 | paths-ignore: [ '**/README.md' ] 14 | pull_request: 15 | branches: [ master ] 16 | paths-ignore: [ '**/README.md' ] 17 | 18 | # Allows you to run this workflow manually from the Actions tab 19 | workflow_dispatch: 20 | 21 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 22 | jobs: 23 | 24 | build-stable-arm: 25 | # The type of runner that the job will run on 26 | runs-on: ubuntu-latest 27 | 28 | # Steps represent a sequence of tasks that will be executed as part of the job 29 | steps: 30 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 31 | - uses: actions/checkout@v3 32 | 33 | - name: Prerequisites 34 | run: | 35 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; sudo mv appimage-builder /usr/bin 36 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 37 | 38 | # Runs a set of commands using the runners shell 39 | - name: Build appimage 40 | run: | 41 | # add dir dist 42 | mkdir dist 43 | 44 | appimage-builder --recipe wine-stable-arm.yml 45 | mv *AppImage* dist/. 46 | 47 | - name: Upload artifact 48 | uses: actions/upload-artifact@v1.0.0 49 | with: 50 | name: wine-stable-arm-continuous-armhf.AppImage 51 | path: 'dist' 52 | 53 | build-stable-arm64: 54 | # The type of runner that the job will run on 55 | runs-on: ubuntu-latest 56 | 57 | # Steps represent a sequence of tasks that will be executed as part of the job 58 | steps: 59 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 60 | - uses: actions/checkout@v3 61 | 62 | - name: Prerequisites 63 | run: | 64 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; sudo mv appimage-builder /usr/bin 65 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 66 | 67 | # Runs a set of commands using the runners shell 68 | - name: Build appimage 69 | run: | 70 | # add dir dist 71 | mkdir dist 72 | 73 | appimage-builder --recipe wine-stable-arm64.yml 74 | mv *AppImage* dist/. 75 | 76 | - name: Upload artifact 77 | uses: actions/upload-artifact@v1.0.0 78 | with: 79 | name: wine-stable-arm64-continuous-aarch64.AppImage 80 | path: 'dist' 81 | 82 | build-devel-arm: 83 | # The type of runner that the job will run on 84 | runs-on: ubuntu-latest 85 | 86 | # Steps represent a sequence of tasks that will be executed as part of the job 87 | steps: 88 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 89 | - uses: actions/checkout@v3 90 | 91 | - name: Prerequisites 92 | run: | 93 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; sudo mv appimage-builder /usr/bin 94 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 95 | 96 | # Runs a set of commands using the runners shell 97 | - name: Build appimage 98 | run: | 99 | # add dir dist 100 | mkdir dist 101 | 102 | appimage-builder --recipe wine-devel-arm.yml 103 | mv *AppImage* dist/. 104 | 105 | - name: Upload artifact 106 | uses: actions/upload-artifact@v1.0.0 107 | with: 108 | name: wine-devel-arm-continuous-armhf.AppImage 109 | path: 'dist' 110 | 111 | build-devel-arm64: 112 | # The type of runner that the job will run on 113 | runs-on: ubuntu-latest 114 | 115 | # Steps represent a sequence of tasks that will be executed as part of the job 116 | steps: 117 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 118 | - uses: actions/checkout@v3 119 | 120 | - name: Prerequisites 121 | run: | 122 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; sudo mv appimage-builder /usr/bin 123 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 124 | 125 | # Runs a set of commands using the runners shell 126 | - name: Build appimage 127 | run: | 128 | # add dir dist 129 | mkdir dist 130 | 131 | appimage-builder --recipe wine-devel-arm64.yml 132 | mv *AppImage* dist/. 133 | 134 | - name: Upload artifact 135 | uses: actions/upload-artifact@v1.0.0 136 | with: 137 | name: wine-devel-arm64-continuous-aarch64.AppImage 138 | path: 'dist' 139 | 140 | release-stable-arm: 141 | needs: [build-stable-arm] 142 | runs-on: ubuntu-latest 143 | 144 | steps: 145 | - uses: actions/download-artifact@v1 146 | with: 147 | name: wine-stable-arm-continuous-armhf.AppImage 148 | 149 | - name: release 150 | uses: marvinpinto/action-automatic-releases@latest 151 | with: 152 | title: Continuous build (stable) arm 153 | automatic_release_tag: continuous-stable-arm 154 | prerelease: false 155 | draft: false 156 | files: | 157 | wine-stable-arm-continuous-armhf.AppImage 158 | repo_token: ${{ secrets.GITHUB_TOKEN }} 159 | 160 | release-stable-arm64: 161 | needs: [build-stable-arm64] 162 | runs-on: ubuntu-latest 163 | 164 | steps: 165 | - uses: actions/download-artifact@v1 166 | with: 167 | name: wine-stable-arm64-continuous-aarch64.AppImage 168 | 169 | - name: release 170 | uses: marvinpinto/action-automatic-releases@latest 171 | with: 172 | title: Continuous build (stable) arm64 173 | automatic_release_tag: continuous-stable-arm64 174 | prerelease: false 175 | draft: false 176 | files: | 177 | wine-stable-arm64-continuous-aarch64.AppImage 178 | repo_token: ${{ secrets.GITHUB_TOKEN }} 179 | 180 | release-devel-arm: 181 | needs: [build-devel-arm] 182 | runs-on: ubuntu-latest 183 | 184 | steps: 185 | - uses: actions/download-artifact@v1 186 | with: 187 | name: wine-devel-arm-continuous-armhf.AppImage 188 | 189 | - name: release 190 | uses: marvinpinto/action-automatic-releases@latest 191 | with: 192 | title: Continuous build (devel) arm 193 | automatic_release_tag: continuous-devel-arm 194 | prerelease: false 195 | draft: false 196 | files: | 197 | wine-devel-arm-continuous-armhf.AppImage 198 | repo_token: ${{ secrets.GITHUB_TOKEN }} 199 | 200 | release-devel-arm64: 201 | needs: [build-devel-arm64] 202 | runs-on: ubuntu-latest 203 | 204 | steps: 205 | - uses: actions/download-artifact@v1 206 | with: 207 | name: wine-devel-arm64-continuous-aarch64.AppImage 208 | 209 | - name: release 210 | uses: marvinpinto/action-automatic-releases@latest 211 | with: 212 | title: Continuous build (devel) arm64 213 | automatic_release_tag: continuous-devel-arm64 214 | prerelease: false 215 | draft: false 216 | files: | 217 | wine-devel-arm64-continuous-aarch64.AppImage 218 | repo_token: ${{ secrets.GITHUB_TOKEN }} 219 | -------------------------------------------------------------------------------- /old/lolp-protn-main.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: CI 4 | 5 | # Controls when the action will run. 6 | on: 7 | # Build at 00:00 on every 12th day-of-month. 8 | schedule: 9 | - cron: "0 0 */12 * *" 10 | # Triggers the workflow on push or pull request events but only for the master branch 11 | push: 12 | branches: [ master ] 13 | paths-ignore: [ '**/README.md' ] 14 | pull_request: 15 | branches: [ master ] 16 | paths-ignore: [ '**/README.md' ] 17 | 18 | # Allows you to run this workflow manually from the Actions tab 19 | workflow_dispatch: 20 | 21 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 22 | jobs: 23 | # This workflow contains a single job called "build-staging-lolp" 24 | build-staging-lolp: 25 | # The type of runner that the job will run on 26 | runs-on: ubuntu-latest 27 | 28 | # Steps represent a sequence of tasks that will be executed as part of the job 29 | steps: 30 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 31 | - uses: actions/checkout@v3 32 | 33 | - name: Prerequisites 34 | run: | 35 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; sudo mv appimage-builder /usr/bin 36 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 37 | staging 38 | echo "WINE_VER=staging_lolp_5.18" >> $GITHUB_ENV 39 | Nvidia 40 | echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV 41 | 42 | # Runs a set of commands using the runners shell 43 | - name: Build appimage 44 | run: | 45 | # add dir dist 46 | mkdir dist 47 | 48 | set Nvidia driver version 49 | sed -i "s|520|$NVDV|" wine-staging-lolp.yml 50 | 51 | appimage-builder --recipe wine-staging-lolp.yml 52 | mv *AppImage* dist/. 53 | 54 | - name: Upload artifact 55 | uses: actions/upload-artifact@v1.0.0 56 | with: 57 | name: wine-staging_lolp-continuous-x86_64.AppImage 58 | path: 'dist' 59 | 60 | # This workflow contains a single job called "build-staging-ge-proton" 61 | build-staging-ge-proton: 62 | The type of runner that the job will run on 63 | runs-on: ubuntu-latest 64 | 65 | # Steps represent a sequence of tasks that will be executed as part of the job 66 | steps: 67 | Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 68 | - uses: actions/checkout@v3 69 | 70 | - name: Prerequisites 71 | run: | 72 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; sudo mv appimage-builder /usr/bin 73 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 74 | # staging 75 | echo "WINE_VER=staging_ge-proton_$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/tags" | grep -Eo "GE-.*" | head -1 | sed -r 's|-GE||g;s|"| |g;s|n| |g' | awk '{print $2}')" >> $GITHUB_ENV 76 | # Nvidia 77 | echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV 78 | 79 | # Runs a set of commands using the runners shell 80 | - name: Build appimage 81 | run: | 82 | # add dir dist 83 | mkdir dist 84 | 85 | # set Nvidia driver version 86 | sed -i "s|520|$NVDV|" wine-staging-ge-proton.yml 87 | 88 | appimage-builder --recipe wine-staging-ge-proton.yml 89 | mv *AppImage* dist/. 90 | 91 | - name: Upload artifact 92 | uses: actions/upload-artifact@v1.0.0 93 | with: 94 | name: wine-staging_ge-proton-continuous-x86_64.AppImage 95 | path: 'dist' 96 | 97 | release-staging-lolp: 98 | needs: [build-staging-lolp] 99 | runs-on: ubuntu-latest 100 | 101 | steps: 102 | - uses: actions/download-artifact@v1 103 | with: 104 | name: wine-staging_lolp-continuous-x86_64.AppImage 105 | 106 | - name: release 107 | uses: marvinpinto/action-automatic-releases@latest 108 | with: 109 | title: Continuous build (staging) lolp 110 | automatic_release_tag: continuous-staging_lolp 111 | prerelease: false 112 | draft: false 113 | files: | 114 | wine-staging_lolp-continuous-x86_64.AppImage 115 | repo_token: ${{ secrets.GITHUB_TOKEN }} 116 | 117 | release-staging-ge-proton: 118 | needs: [build-staging-ge-proton] 119 | runs-on: ubuntu-latest 120 | 121 | steps: 122 | - uses: actions/download-artifact@v1 123 | with: 124 | name: wine-staging_ge-proton-continuous-x86_64.AppImage 125 | 126 | - name: release 127 | uses: marvinpinto/action-automatic-releases@latest 128 | with: 129 | title: Continuous build (staging) GE Proton 130 | automatic_release_tag: continuous-staging_ge_proton 131 | prerelease: false 132 | draft: false 133 | files: | 134 | wine-staging_ge-proton-continuous-x86_64.AppImage 135 | repo_token: ${{ secrets.GITHUB_TOKEN }} 136 | -------------------------------------------------------------------------------- /old/scripts-arm/msiexec: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/notepad: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/regedit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/regsvr32: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/wineboot: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/winecfg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/wineconsole: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/winedbg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/winefile: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/winemine: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/scripts-arm/winepath: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Wrapper script to start a Winelib application once it is installed 4 | # 5 | # Copyright (C) 2002 Alexandre Julliard 6 | # 7 | # This library is free software; you can redistribute it and/or 8 | # modify it under the terms of the GNU Lesser General Public 9 | # License as published by the Free Software Foundation; either 10 | # version 2.1 of the License, or (at your option) any later version. 11 | # 12 | # This library is distributed in the hope that it will be useful, 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | # Lesser General Public License for more details. 16 | # 17 | # You should have received a copy of the GNU Lesser General Public 18 | # License along with this library; if not, write to the Free Software 19 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 | # 21 | 22 | # determine the app Winelib library name 23 | appname=`basename "$0" .exe`.exe 24 | 25 | # first try explicit WINELOADER 26 | if [ -x "$WINELOADER" ]; then exec "$WINELOADER" "$appname" "$@"; fi 27 | 28 | # now try the directory containing $0 29 | appdir="" 30 | case "$0" in 31 | */*) 32 | # $0 contains a path, use it 33 | appdir=`dirname "$0"` 34 | ;; 35 | *) 36 | # no directory in $0, search in PATH 37 | saved_ifs=$IFS 38 | IFS=: 39 | for d in $PATH 40 | do 41 | IFS=$saved_ifs 42 | if [ -x "$d/$0" ]; then appdir="$d"; break; fi 43 | done 44 | ;; 45 | esac 46 | if [ -x "$appdir/wine" ]; then exec "$appdir/wine" "$appname" "$@"; fi 47 | if [ -x "$appdir/wine64" ]; then exec "$appdir/wine64" "$appname" "$@"; fi 48 | 49 | # now look in PATH 50 | saved_ifs=$IFS 51 | IFS=: 52 | for d in $PATH 53 | do 54 | IFS=$saved_ifs 55 | if [ -x "$d/wine" ]; then exec "$d/wine" "$appname" "$@"; fi 56 | if [ -x "$d/wine64" ]; then exec "$d/wine64" "$appname" "$@"; fi 57 | done 58 | 59 | # finally, the default bin directory 60 | if [ -x "/usr/lib/wine/wine" ]; then exec "/usr/lib/wine/wine" "$appname" "$@"; fi 61 | if [ -x "/usr/lib/wine/wine64" ]; then exec "/usr/lib/wine/wine64" "$appname" "$@"; fi 62 | 63 | echo "$0: the Wine loader is missing" 64 | exit 1 65 | -------------------------------------------------------------------------------- /old/w4lol.main.yml: -------------------------------------------------------------------------------- 1 | build-stable-4-i386: 2 | # The type of runner that the job will run on 3 | runs-on: ubuntu-latest 4 | 5 | # Steps represent a sequence of tasks that will be executed as part of the job 6 | steps: 7 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 8 | - uses: actions/checkout@v3 9 | 10 | - name: Prerequisites 11 | run: | 12 | sudo apt update && sudo apt install libfuse2 -y 13 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 14 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 15 | # stable 16 | echo "WINE_VER=stable-i386_4.0.4" >> $GITHUB_ENV 17 | # Nvidia 18 | # echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV 19 | 20 | # Runs a set of commands using the runners shell 21 | - name: Build appimage 22 | run: | 23 | # add custom mksquashfs 24 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 25 | 26 | # force zstd format in appimagebuilder for appimages 27 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 28 | 29 | # set Nvidia driver version 30 | # sed -i "s|520|$NVDV|" wine-stable-4-i386.yml 31 | 32 | squashfs-root/AppRun --recipe wine-stable-4-i386.yml 33 | 34 | - name: release 35 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 36 | with: 37 | title: Continuous build (stable) 4.0.x i386 38 | automatic_release_tag: continuous-stable-4-i386 39 | prerelease: false 40 | draft: false 41 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 42 | repo_token: ${{ secrets.GITHUB_TOKEN }} 43 | 44 | build-stable-4-amd64: 45 | # The type of runner that the job will run on 46 | runs-on: ubuntu-latest 47 | 48 | # Steps represent a sequence of tasks that will be executed as part of the job 49 | steps: 50 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 51 | - uses: actions/checkout@v3 52 | 53 | - name: Prerequisites 54 | run: | 55 | sudo apt update && sudo apt install libfuse2 -y 56 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 57 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 58 | # stable 59 | echo "WINE_VER=stable-amd64_4.0.4" >> $GITHUB_ENV 60 | # Nvidia 61 | # echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV 62 | 63 | # Runs a set of commands using the runners shell 64 | - name: Build appimage 65 | run: | 66 | # add custom mksquashfs 67 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 68 | 69 | # force zstd format in appimagebuilder for appimages 70 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 71 | 72 | # set Nvidia driver version 73 | # sed -i "s|520|$NVDV|" wine-stable-4-amd64.yml 74 | 75 | squashfs-root/AppRun --recipe wine-stable-4-amd64.yml 76 | 77 | - name: release 78 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 79 | with: 80 | title: Continuous build (stable) 4.0.x amd64 81 | automatic_release_tag: continuous-stable-4-amd64 82 | prerelease: false 83 | draft: false 84 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 85 | repo_token: ${{ secrets.GITHUB_TOKEN }} 86 | 87 | build-stable-4-multi: 88 | # The type of runner that the job will run on 89 | runs-on: ubuntu-latest 90 | 91 | # Steps represent a sequence of tasks that will be executed as part of the job 92 | steps: 93 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 94 | - uses: actions/checkout@v3 95 | 96 | - name: Prerequisites 97 | run: | 98 | sudo apt update && sudo apt install libfuse2 -y 99 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 100 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 101 | # stable 102 | echo "WINE_VER=stable-multi_4.0.4" >> $GITHUB_ENV 103 | # Nvidia 104 | # echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV 105 | 106 | # Runs a set of commands using the runners shell 107 | - name: Build appimage 108 | run: | 109 | # add custom mksquashfs 110 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 111 | 112 | # force zstd format in appimagebuilder for appimages 113 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 114 | 115 | # set Nvidia driver version 116 | # sed -i "s|520|$NVDV|" wine-stable-4-multi.yml 117 | 118 | squashfs-root/AppRun --recipe wine-stable-4-multi.yml 119 | 120 | - name: release 121 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 122 | with: 123 | title: Continuous build (stable) 4.0.x multi 124 | automatic_release_tag: continuous-stable-4-multi 125 | prerelease: false 126 | draft: false 127 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 128 | repo_token: ${{ secrets.GITHUB_TOKEN }} 129 | 130 | # This workflow contains a single job called "build-staging-ge-lol" 131 | build-staging-ge-lol: 132 | # The type of runner that the job will run on 133 | runs-on: ubuntu-latest 134 | 135 | # Steps represent a sequence of tasks that will be executed as part of the job 136 | steps: 137 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 138 | - uses: actions/checkout@v3 139 | 140 | - name: Prerequisites 141 | run: | 142 | sudo apt update && sudo apt install libfuse2 -y 143 | wget -q "https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage" -O appimage-builder ; chmod +x appimage-builder ; ./appimage-builder --appimage-extract &>/dev/null 144 | mkdir -p /usr/share/icons/hicolor/scalable/ ; cp wine.svg /usr/share/icons/hicolor/scalable/ 145 | # staging 146 | echo "WINE_VER=staging_ge-lol_$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/releases?page=2" | grep -Eo "LoL.*n>" | head -1 | grep -Eo 7.* | sed 's|-LoL| |' | awk '{print $1}')" >> $GITHUB_ENV 147 | # Nvidia 148 | #echo "NVDV=$(wget "https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=kinetic" -qO- | grep -Eo drivers-.*changes | sed -r "s|_| |g;s|-| |g" | tail -n1 | awk '{print $9}')" >> $GITHUB_ENV 149 | 150 | # Runs a set of commands using the runners shell 151 | - name: Build appimage 152 | run: | 153 | # add dir dist 154 | mkdir dist 155 | 156 | # add custom mksquashfs 157 | cp runtime/mksquashfs squashfs-root/usr/bin/mksquashfs 158 | 159 | # force zstd format in appimagebuilder for appimages 160 | rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py 161 | 162 | # set Nvidia driver version 163 | # sed -i "s|520|$NVDV|" wine-staging-ge-lol.yml 164 | 165 | squashfs-root/AppRun --recipe wine-staging-ge-lol.yml 166 | 167 | - name: release 168 | uses: marvinpinto/action-automatic-releases@6273874b61ebc8c71f1a61b2d98e234cf389b303 169 | with: 170 | title: Continuous build (staging) GE LoL 171 | automatic_release_tag: continuous-staging_ge_lol 172 | prerelease: false 173 | draft: false 174 | files: /home/runner/work/WINE_AppImage/WINE_AppImage/*.AppImage* 175 | repo_token: ${{ secrets.GITHUB_TOKEN }} 176 | 177 | 178 | -------------------------------------------------------------------------------- /old/wine-devel-arm.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir AppDir && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | 12 | AppDir: 13 | path: ./AppDir 14 | 15 | app_info: 16 | id: org.winehq.wine 17 | name: wine 18 | icon: wine 19 | version: "devel-arm_7.3" 20 | exec: bin/bash 21 | exec_args: wrapper $@ 22 | 23 | apt: 24 | arch: [arm64,armhf] 25 | sources: 26 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar main restricted universe multiverse' 27 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-updates main restricted universe multiverse' 28 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-backports main restricted universe multiverse' 29 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 30 | 31 | include: 32 | - fonts-wine 33 | - wine32-development 34 | - wine32-development-preloader 35 | - bash 36 | - cabextract 37 | - dash 38 | - perl 39 | - coreutils 40 | - mesa-utils 41 | - unionfs-fuse 42 | - vulkan-tools 43 | - libmspack0 44 | - libdrm2:armhf 45 | - libwine-development:armhf 46 | # - libdrm-intel1:armhf 47 | - libdrm-nouveau2:armhf 48 | - libdrm-amdgpu1:armhf 49 | - libdrm-radeon1:armhf 50 | - libegl-mesa0:armhf 51 | - libegl1:armhf 52 | - libgbm1:armhf 53 | - libgl1:armhf 54 | - libgl1-mesa-dri:armhf 55 | - libglapi-mesa:armhf 56 | - libgles2:armhf 57 | - libglvnd0:armhf 58 | - libglx0:armhf 59 | - libglx-mesa0:armhf 60 | - mesa-vdpau-drivers:armhf 61 | - mesa-va-drivers:armhf 62 | - mesa-vulkan-drivers:armhf 63 | - libx11-6:armhf 64 | - libx11-xcb1:armhf 65 | - libxcb-dri2-0:armhf 66 | - libxcb-dri3-0:armhf 67 | - libxcb-glx0:armhf 68 | - libxcb-present0:armhf 69 | - libxcb-render0:armhf 70 | - libxcb-shape0:armhf 71 | - libxcb-shm0:armhf 72 | - libxcb-xfixes0:armhf 73 | - libxcb1:armhf 74 | 75 | files: 76 | exclude: 77 | - sbin 78 | - var 79 | - etc/alternatives 80 | - etc/apt 81 | - etc/cron.daily 82 | - etc/dpkg 83 | - etc/mysql 84 | - etc/sane.d 85 | - etc/sensors.d 86 | - etc/skel 87 | - etc/snmp 88 | - etc/udev 89 | - etc/gss 90 | - etc/init.d 91 | - etc/logrotate.d 92 | - lib/modprobe.d 93 | - lib/systemd 94 | - lib/udev 95 | - usr/lib/mime 96 | - usr/lib/sasl2 97 | - usr/lib/tmpfiles.d 98 | - usr/lib/aarch64-linux-gnu 99 | - usr/sbin 100 | - usr/share/apps 101 | - usr/share/man 102 | - usr/share/doc 103 | - usr/share/adduser 104 | - usr/share/apport 105 | - usr/share/bash-completion 106 | - usr/share/bug 107 | - usr/share/debconf 108 | - usr/share/doc 109 | - usr/share/doc-base 110 | - usr/share/dpkg 111 | - usr/share/glib-2.0 112 | - usr/share/gst-plugins-base 113 | - usr/share/hal 114 | - usr/share/info 115 | - usr/share/initramfs-tools 116 | - usr/share/kde4 117 | - usr/share/libgphoto2 118 | - usr/share/lintian 119 | - usr/share/menu 120 | - usr/share/metainfo 121 | - usr/share/mesa-demos 122 | - usr/share/mime 123 | - usr/share/misc 124 | - usr/share/mysql-common 125 | - usr/share/pixmaps 126 | - usr/share/pkgconfig 127 | - usr/share/polkit-1 128 | - usr/share/snmp 129 | - usr/share/zoneinfo 130 | - usr/share/zoneinfo-icu 131 | - usr/share/zsh 132 | 133 | after_bundle: 134 | # this is executed after the packages and files are added 135 | - | 136 | # Patch wrapper script 137 | sed -i 's|wine-appimage|wine-devel-arm|' AppDir/wrapper 138 | 139 | # Copy over arm wine scripts to AppDir 140 | cp -R scripts-arm/* AppDir/usr/bin/ 141 | 142 | # Link wine files 143 | ( cd AppDir/usr/bin ; ln -s ../lib/wine-development/* . ) 144 | 145 | # Disable FileOpenAssociations 146 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/usr/share/wine-development/wine.inf 147 | 148 | # Disable winemenubuilder 149 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/usr/share/wine-development/wine.inf 150 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/usr/share/wine-development/wine.inf 151 | 152 | runtime: 153 | env: 154 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/arm-linux-gnueabihf/dri:${APPDIR}/usr/lib/aarch64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 155 | 156 | path_mappings: 157 | - /usr/lib/wine-development:$APPDIR/usr/lib/wine-development 158 | 159 | AppImage: 160 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-devel-arm|wine-devel*.AppImage.zsync 161 | #sign-key: None 162 | arch: aarch64 163 | 164 | -------------------------------------------------------------------------------- /old/wine-devel-arm64.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir AppDir && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | 12 | AppDir: 13 | path: ./AppDir 14 | 15 | app_info: 16 | id: org.winehq.wine 17 | name: wine 18 | icon: wine 19 | version: "devel-arm64_7.3" 20 | exec: bin/bash 21 | exec_args: wrapper $@ 22 | 23 | apt: 24 | arch: [arm64] 25 | sources: 26 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar main restricted universe multiverse' 27 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-updates main restricted universe multiverse' 28 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-backports main restricted universe multiverse' 29 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 30 | 31 | include: 32 | - fonts-wine 33 | - wine64-development 34 | - wine64-development-preloader 35 | - bash 36 | - cabextract 37 | - dash 38 | - perl 39 | - coreutils 40 | - mesa-utils 41 | - unionfs-fuse 42 | - vulkan-tools 43 | - libmspack0 44 | - libwine-development 45 | 46 | files: 47 | exclude: 48 | - sbin 49 | - var 50 | - etc/alternatives 51 | - etc/apt 52 | - etc/cron.daily 53 | - etc/dpkg 54 | - etc/mysql 55 | - etc/sane.d 56 | - etc/sensors.d 57 | - etc/skel 58 | - etc/snmp 59 | - etc/udev 60 | - etc/gss 61 | - etc/init.d 62 | - etc/logrotate.d 63 | - lib/modprobe.d 64 | - lib/systemd 65 | - lib/udev 66 | - usr/lib/mime 67 | - usr/lib/sasl2 68 | - usr/lib/tmpfiles.d 69 | - usr/sbin 70 | - usr/share/apps 71 | - usr/share/man 72 | - usr/share/doc 73 | - usr/share/adduser 74 | - usr/share/apport 75 | - usr/share/bash-completion 76 | - usr/share/bug 77 | - usr/share/debconf 78 | - usr/share/doc 79 | - usr/share/doc-base 80 | - usr/share/dpkg 81 | - usr/share/glib-2.0 82 | - usr/share/gst-plugins-base 83 | - usr/share/hal 84 | - usr/share/info 85 | - usr/share/initramfs-tools 86 | - usr/share/kde4 87 | - usr/share/libgphoto2 88 | - usr/share/lintian 89 | - usr/share/menu 90 | - usr/share/metainfo 91 | - usr/share/mesa-demos 92 | - usr/share/mime 93 | - usr/share/misc 94 | - usr/share/mysql-common 95 | - usr/share/pixmaps 96 | - usr/share/pkgconfig 97 | - usr/share/polkit-1 98 | - usr/share/snmp 99 | - usr/share/zoneinfo 100 | - usr/share/zoneinfo-icu 101 | - usr/share/zsh 102 | 103 | after_bundle: 104 | # this is executed after the packages and files are added 105 | - | 106 | # Patch wrapper script to use wine64 107 | sed -i 's|/wine"|/wine64"|' AppDir/wrapper 108 | 109 | # Patch wrapper script 110 | sed -i 's|wine-appimage|wine-devel-arm64|' AppDir/wrapper 111 | 112 | # Copy over arm wine scripts to AppDir 113 | cp -R scripts-arm/* AppDir/usr/bin/ 114 | 115 | # Link wine files 116 | ( cd AppDir/usr/bin ; ln -s ../lib/wine-development/* . ) 117 | 118 | # Disable FileOpenAssociations 119 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/usr/share/wine-development/wine.inf 120 | 121 | # Disable winemenubuilder 122 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/usr/share/wine-development/wine.inf 123 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/usr/share/wine-development/wine.inf 124 | 125 | runtime: 126 | env: 127 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/arm-linux-gnueabihf/dri:${APPDIR}/usr/lib/aarch64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 128 | 129 | path_mappings: 130 | - /usr/lib/wine-development:$APPDIR/usr/lib/wine-development 131 | 132 | AppImage: 133 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-devel-arm64|wine-devel*.AppImage.zsync 134 | #sign-key: None 135 | arch: aarch64 136 | 137 | -------------------------------------------------------------------------------- /old/wine-stable-4-amd64.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true 6 | - mkdir -p appimage-build/prime AppDir/{bin,winedata} && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://gist.github.com/mmtrt/dcaf1dcca14783646ce57c4271e7d5c6/raw/48351c83de4c89db244b6ca48f88674d25f7b12c/winetricks-wine4" -O ./AppDir/bin/winetricks && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | # Add static appimage runtime 12 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 13 | # Add WINE official light blue theme 14 | - wget -q "https://github.com/mmtrt/sommelier-core/raw/tmp/themes/light/light.msstyles" -P ./AppDir/winedata/resources/themes/light 15 | # Add config 16 | - cp -R config AppDir/winedata 17 | 18 | AppDir: 19 | path: ./AppDir 20 | 21 | app_info: 22 | id: org.winehq.wine 23 | name: wine 24 | icon: wine 25 | version: !ENV ${WINE_VER} 26 | exec: bin/bash 27 | exec_args: $APPDIR/wrapper $@ 28 | 29 | apt: 30 | arch: [amd64] 31 | sources: 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' 33 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' 34 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' 35 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 36 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' 37 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 38 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 39 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 40 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main' 41 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 42 | 43 | include: 44 | - wine-staging-amd64=7.22~jammy-1 45 | - bash 46 | - cabextract 47 | - cups 48 | - dash 49 | - perl 50 | - coreutils 51 | - mesa-utils 52 | - mesa-utils-bin 53 | - unionfs-fuse 54 | - vulkan-tools 55 | - libcups2 56 | # - libfuse2 57 | # - libfuse3-3 58 | - libmpg123-0 59 | - libmspack0 60 | - gstreamer1.0-plugins-good 61 | - gstreamer1.0-plugins-bad 62 | - gstreamer1.0-plugins-ugly 63 | - winbind 64 | # - libnvidia-compute-520 65 | # - libnvidia-decode-520 66 | # - libnvidia-encode-520 67 | # - libnvidia-extra-520 68 | # - libnvidia-fbc1-520 69 | # - libnvidia-gl-520 70 | - libdrm2 71 | - libdrm-intel1 72 | - libdrm-nouveau2 73 | - libdrm-amdgpu1 74 | - libdrm-radeon1 75 | - libegl-mesa0 76 | - libegl1 77 | - libgbm1 78 | - libgl1 79 | - libgl1-mesa-dri 80 | - libglapi-mesa 81 | - libgles2 82 | - libglvnd0 83 | - libglx0 84 | - libglx-mesa0 85 | - mesa-vdpau-drivers 86 | - mesa-va-drivers 87 | - mesa-vulkan-drivers 88 | - libopenal1 89 | - libx11-6 90 | - libx11-xcb1 91 | - libxcb-dri2-0 92 | - libxcb-dri3-0 93 | - libxcb-glx0 94 | - libxcb-present0 95 | - libxcb-render0 96 | - libxcb-shape0 97 | - libxcb-shm0 98 | - libxcb-xfixes0 99 | - libxcb1 100 | 101 | files: 102 | exclude: 103 | - sbin 104 | - var 105 | - etc/alternatives 106 | - etc/apt 107 | - etc/cron.daily 108 | - etc/dpkg 109 | - etc/mysql 110 | - etc/sane.d 111 | - etc/sensors.d 112 | - etc/skel 113 | - etc/snmp 114 | - etc/udev 115 | - etc/gss 116 | - etc/init.d 117 | - etc/logrotate.d 118 | - lib/modprobe.d 119 | - lib/systemd 120 | - lib/udev 121 | - usr/lib/mime 122 | - usr/lib/sasl2 123 | - usr/lib/tmpfiles.d 124 | - usr/sbin 125 | - usr/share/apps 126 | - usr/share/man 127 | - usr/share/doc 128 | - usr/share/adduser 129 | - usr/share/apport 130 | - usr/share/bash-completion 131 | - usr/share/bug 132 | - usr/share/debconf 133 | - usr/share/doc 134 | - usr/share/doc-base 135 | - usr/share/dpkg 136 | - usr/share/glib-2.0 137 | - usr/share/gst-plugins-base 138 | - usr/share/hal 139 | - usr/share/info 140 | - usr/share/initramfs-tools 141 | - usr/share/kde4 142 | - usr/share/libgphoto2 143 | - usr/share/lintian 144 | - usr/share/menu 145 | - usr/share/metainfo 146 | - usr/share/mesa-demos 147 | - usr/share/mime 148 | - usr/share/misc 149 | - usr/share/mysql-common 150 | - usr/share/pixmaps 151 | - usr/share/pkgconfig 152 | - usr/share/polkit-1 153 | - usr/share/snmp 154 | - usr/share/zoneinfo 155 | - usr/share/zoneinfo-icu 156 | - usr/share/zsh 157 | - opt/wine-staging 158 | - opt/wine-stable/share/man 159 | - opt/wine-stable/lib64/wine/*.a 160 | - opt/wine-stable/lib64/wine/*.def 161 | 162 | after_bundle: 163 | # this is executed after the packages and files are added 164 | - | 165 | # Patch wrapper script 166 | sed -i 's|wine-appimage|wine-appimage-4-stable-amd64|' AppDir/wrapper 167 | 168 | # Patch wrapper script to use wine64 169 | sed -i 's|/wine"|/wine64"|' AppDir/wrapper 170 | 171 | WINE_VER="4.0.4" 172 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-stable_${WINE_VER}~focal_amd64.deb 173 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-stable-amd64_${WINE_VER}~focal_amd64.deb 174 | dpkg -x "wine-stable_${WINE_VER}~focal_amd64.deb" AppDir/ 175 | dpkg -x "wine-stable-amd64_${WINE_VER}~focal_amd64.deb" AppDir/ 176 | (cd AppDir/usr/bin; ln -s "../../opt/wine-stable/bin/"* .) 177 | 178 | # Cleanup 179 | rm -rf AppDir/usr/share/{applications,man,doc} 180 | rm -rf AppDir/opt/wine-stable/share/{applications,man,doc} 181 | 182 | # Disable FileOpenAssociations 183 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-stable/share/wine/wine.inf 184 | 185 | # Disable winemenubuilder 186 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-stable/share/wine/wine.inf 187 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-stable/share/wine/wine.inf 188 | 189 | # Pre patch setting wine blue theme by default 190 | sed -i 's| DllOverrides| DllOverrides,\\\n ThemeSet|;$a \\n[ThemeSet]\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ColorName",,"Blue"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"DllName",,"C:\\windows\\resources\\themes\\light\\light.msstyles"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ThemeActive",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"FlatMenu",0x10001,0x00000000\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"GradientCaption",0x10001,0x00000001\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"SizeName",,"NormalSize"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"IconTitleFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"LoadedBefore",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"NonClientMetrics",1,f8,01,00,00,01,00,00,00,10,00,00,00,10,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0f,00,\\\n00,00,0f,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,\\\nff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,\\\n22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,\\\n00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,\\\n00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Colors,"ActiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"ActiveTitle",,"50 150 250"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveTitle",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Background",,"58 110 165"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonAlternateFace",,"181 181 181"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonDkShadow",,"64 64 64"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonFace",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonLight",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonShadow",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientActiveTitle",,"166 202 240"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientInactiveTitle",,"192 192 192"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GrayText",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Hilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HotTrackingColor",,"0 0 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitle",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitleText",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoWindow",,"255 255 225"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Menu",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuBar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuHilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Scrollbar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"TitleText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowFrame",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Control Panel\\Colors,"Background",,"37 111 149"\nHKCU,Control Panel\\Colors,"ButtonAlternateFace",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonDkShadow",,"106 106 106"\nHKCU,Control Panel\\Colors,"ButtonFace",,"245 245 245"\nHKCU,Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonLight",,"227 227 227"\nHKCU,Control Panel\\Colors,"ButtonShadow",,"166 166 166"\nHKCU,Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Control Panel\\Colors,"GradientActiveTitle",,"50 150 250"\nHKCU,Control Panel\\Colors,"GradientInactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"GrayText",,"166 166 166"\nHKCU,Control Panel\\Colors,"Hilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Control Panel\\Colors,"HotTrackingColor",,"224 224 224"\nHKCU,Control Panel\\Colors,"InactiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"InactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"InactiveTitleText",,"100 100 100"\nHKCU,Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Control Panel\\Colors,"InfoWindow",,"255 255 255"\nHKCU,Control Panel\\Colors,"Menu",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuBar",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuHilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Scrollbar",,"255 255 255"\nHKCU,Control Panel\\Colors,"TitleText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Control Panel\\Colors,"WindowFrame",,"158 158 158"\nHKCU,Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Desktop,"UserPreferencesMask",1,30,00,02,80,12,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"BorderWidth",,"1"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"IconFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MessageFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollHeight",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollWidth",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionHeight",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionWidth",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"StatusFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00' AppDir/opt/wine-stable/share/wine/wine.inf 191 | 192 | # Deploy wine-mono wine-gecko 193 | # For future reference setting of MONO_VER see https://github.com/wine-mirror/wine/tree/stable of wine-stable 194 | MONO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f2) 195 | GECKO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f2) 196 | 197 | case "$WINE_VER" in 198 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 199 | GECKO_VER="2.47" 200 | MONO_VER="4.7.1" 201 | ;; 202 | 203 | 4.0.1|4.0.2|4.0.3|4.0.4) 204 | GECKO_VER="2.47" 205 | MONO_VER="4.7.5" 206 | ;; 207 | 208 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 209 | GECKO_VER="2.47.1" 210 | MONO_VER="4.9.4" 211 | ;; 212 | 213 | 6.0.1|6.0.2|6.0.3|6.0.4) 214 | GECKO_VER="2.47.2" 215 | MONO_VER="5.1.1" 216 | ;; 217 | 218 | 7.0.1|7.0.2|7.0.3|7.0.4) 219 | GECKO_VER="2.47.2" 220 | MONO_VER="7.0.0-x86" 221 | ;; 222 | *) 223 | MONO_VER="$MONO_VER-x86" 224 | ;; 225 | esac 226 | 227 | if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 228 | GECKO=wine_gecko-${GECKO_VER} 229 | else 230 | GECKO=wine-gecko-${GECKO_VER} 231 | fi 232 | 233 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 234 | GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 235 | 236 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 237 | wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 238 | 239 | runtime: 240 | env: 241 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 242 | APPDIR_LIBC_VERSION: '2.38' 243 | 244 | path_mappings: 245 | - /opt/wine-stable:$APPDIR/opt/wine-stable 246 | 247 | AppImage: 248 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-stable-4-amd64|wine-stable*.AppImage.zsync 249 | #sign-key: None 250 | arch: x86_64 251 | 252 | -------------------------------------------------------------------------------- /old/wine-stable-4-i386.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true 6 | - mkdir -p appimage-build/prime AppDir/{bin,winedata} && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://gist.github.com/mmtrt/dcaf1dcca14783646ce57c4271e7d5c6/raw/48351c83de4c89db244b6ca48f88674d25f7b12c/winetricks-wine4" -O ./AppDir/bin/winetricks && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | # Add static appimage runtime 12 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 13 | # Add WINE official light blue theme 14 | - wget -q "https://github.com/mmtrt/sommelier-core/raw/tmp/themes/light/light.msstyles" -P ./AppDir/winedata/resources/themes/light 15 | # Add config 16 | - cp -R config AppDir/winedata 17 | 18 | AppDir: 19 | path: ./AppDir 20 | 21 | app_info: 22 | id: org.winehq.wine 23 | name: wine 24 | icon: wine 25 | version: !ENV ${WINE_VER} 26 | exec: bin/bash 27 | exec_args: $APPDIR/wrapper $@ 28 | 29 | apt: 30 | arch: [amd64, i386] 31 | sources: 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' 33 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' 34 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' 35 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 36 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' 37 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 38 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 39 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 40 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main' 41 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 42 | 43 | include: 44 | - wine-staging-i386=7.22~jammy-1 45 | - bash 46 | - cabextract 47 | - cups 48 | - dash 49 | - perl 50 | - coreutils 51 | - mesa-utils 52 | - mesa-utils-bin 53 | - unionfs-fuse 54 | - vulkan-tools 55 | - libcups2 56 | # - libfuse2 57 | # - libfuse3-3 58 | - libmspack0 59 | - libmpg123-0:i386 60 | - gstreamer1.0-plugins-good:i386 61 | - gstreamer1.0-plugins-bad:i386 62 | - gstreamer1.0-plugins-ugly:i386 63 | - winbind:i386 64 | # - libnvidia-compute-520:i386 65 | # - libnvidia-decode-520:i386 66 | # - libnvidia-encode-520:i386 67 | # - libnvidia-extra-520:i386 68 | # - libnvidia-fbc1-520:i386 69 | # - libnvidia-gl-520:i386 70 | - libdrm2:i386 71 | - libdrm-intel1:i386 72 | - libdrm-nouveau2:i386 73 | - libdrm-amdgpu1:i386 74 | - libdrm-radeon1:i386 75 | - libegl-mesa0:i386 76 | - libegl1:i386 77 | - libgbm1:i386 78 | - libgl1:i386 79 | - libgl1-mesa-dri:i386 80 | - libglapi-mesa:i386 81 | - libgles2:i386 82 | - libglvnd0:i386 83 | - libglx0:i386 84 | - libglx-mesa0:i386 85 | - mesa-vdpau-drivers:i386 86 | - mesa-va-drivers:i386 87 | - mesa-vulkan-drivers:i386 88 | - libopenal1:i386 89 | - libx11-6:i386 90 | - libx11-xcb1:i386 91 | - libxcb-dri2-0:i386 92 | - libxcb-dri3-0:i386 93 | - libxcb-glx0:i386 94 | - libxcb-present0:i386 95 | - libxcb-render0:i386 96 | - libxcb-shape0:i386 97 | - libxcb-shm0:i386 98 | - libxcb-xfixes0:i386 99 | - libxcb1:i386 100 | - libxcomposite1:i386 101 | 102 | files: 103 | exclude: 104 | - sbin 105 | - var 106 | - etc/alternatives 107 | - etc/apt 108 | - etc/cron.daily 109 | - etc/dpkg 110 | - etc/mysql 111 | - etc/sane.d 112 | - etc/sensors.d 113 | - etc/skel 114 | - etc/snmp 115 | - etc/udev 116 | - etc/gss 117 | - etc/init.d 118 | - etc/logrotate.d 119 | - lib/modprobe.d 120 | - lib/systemd 121 | - lib/udev 122 | - usr/lib/mime 123 | - usr/lib/sasl2 124 | - usr/lib/tmpfiles.d 125 | - usr/sbin 126 | - usr/share/apps 127 | - usr/share/man 128 | - usr/share/doc 129 | - usr/share/adduser 130 | - usr/share/apport 131 | - usr/share/bash-completion 132 | - usr/share/bug 133 | - usr/share/debconf 134 | - usr/share/doc 135 | - usr/share/doc-base 136 | - usr/share/dpkg 137 | - usr/share/glib-2.0 138 | - usr/share/gst-plugins-base 139 | - usr/share/hal 140 | - usr/share/info 141 | - usr/share/initramfs-tools 142 | - usr/share/kde4 143 | - usr/share/libgphoto2 144 | - usr/share/lintian 145 | - usr/share/menu 146 | - usr/share/metainfo 147 | - usr/share/mesa-demos 148 | - usr/share/mime 149 | - usr/share/misc 150 | - usr/share/mysql-common 151 | - usr/share/pixmaps 152 | - usr/share/pkgconfig 153 | - usr/share/polkit-1 154 | - usr/share/snmp 155 | - usr/share/zoneinfo 156 | - usr/share/zoneinfo-icu 157 | - usr/share/zsh 158 | - opt/wine-staging 159 | - opt/wine-stable/share/man 160 | - opt/wine-stable/lib/wine/*.a 161 | - opt/wine-stable/lib/wine/*.def 162 | 163 | after_bundle: 164 | # this is executed after the packages and files are added 165 | - | 166 | # Patch wrapper script 167 | sed -i 's|wine-appimage|wine-appimage-4-stable-i386|' AppDir/wrapper 168 | 169 | WINE_VER="4.0.4" 170 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-stable_${WINE_VER}~focal_i386.deb 171 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-stable-i386_${WINE_VER}~focal_i386.deb 172 | dpkg -x "wine-stable_${WINE_VER}~focal_i386.deb" AppDir/ 173 | dpkg -x "wine-stable-i386_${WINE_VER}~focal_i386.deb" AppDir/ 174 | (cd AppDir/usr/bin; ln -s "../../opt/wine-stable/bin/"* .) 175 | 176 | # Cleanup 177 | rm -rf AppDir/usr/share/{applications,man,doc} 178 | rm -rf AppDir/opt/wine-stable/share/{applications,man,doc} 179 | 180 | # Disable FileOpenAssociations 181 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-stable/share/wine/wine.inf 182 | 183 | # Disable winemenubuilder 184 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-stable/share/wine/wine.inf 185 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-stable/share/wine/wine.inf 186 | 187 | # Pre patch setting wine blue theme by default 188 | sed -i 's| DllOverrides| DllOverrides,\\\n ThemeSet|;$a \\n[ThemeSet]\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ColorName",,"Blue"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"DllName",,"C:\\windows\\resources\\themes\\light\\light.msstyles"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ThemeActive",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"FlatMenu",0x10001,0x00000000\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"GradientCaption",0x10001,0x00000001\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"SizeName",,"NormalSize"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"IconTitleFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"LoadedBefore",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"NonClientMetrics",1,f8,01,00,00,01,00,00,00,10,00,00,00,10,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0f,00,\\\n00,00,0f,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,\\\nff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,\\\n22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,\\\n00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,\\\n00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Colors,"ActiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"ActiveTitle",,"50 150 250"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveTitle",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Background",,"58 110 165"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonAlternateFace",,"181 181 181"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonDkShadow",,"64 64 64"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonFace",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonLight",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonShadow",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientActiveTitle",,"166 202 240"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientInactiveTitle",,"192 192 192"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GrayText",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Hilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HotTrackingColor",,"0 0 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitle",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitleText",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoWindow",,"255 255 225"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Menu",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuBar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuHilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Scrollbar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"TitleText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowFrame",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Control Panel\\Colors,"Background",,"37 111 149"\nHKCU,Control Panel\\Colors,"ButtonAlternateFace",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonDkShadow",,"106 106 106"\nHKCU,Control Panel\\Colors,"ButtonFace",,"245 245 245"\nHKCU,Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonLight",,"227 227 227"\nHKCU,Control Panel\\Colors,"ButtonShadow",,"166 166 166"\nHKCU,Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Control Panel\\Colors,"GradientActiveTitle",,"50 150 250"\nHKCU,Control Panel\\Colors,"GradientInactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"GrayText",,"166 166 166"\nHKCU,Control Panel\\Colors,"Hilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Control Panel\\Colors,"HotTrackingColor",,"224 224 224"\nHKCU,Control Panel\\Colors,"InactiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"InactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"InactiveTitleText",,"100 100 100"\nHKCU,Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Control Panel\\Colors,"InfoWindow",,"255 255 255"\nHKCU,Control Panel\\Colors,"Menu",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuBar",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuHilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Scrollbar",,"255 255 255"\nHKCU,Control Panel\\Colors,"TitleText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Control Panel\\Colors,"WindowFrame",,"158 158 158"\nHKCU,Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Desktop,"UserPreferencesMask",1,30,00,02,80,12,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"BorderWidth",,"1"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"IconFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MessageFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollHeight",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollWidth",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionHeight",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionWidth",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"StatusFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00' AppDir/opt/wine-stable/share/wine/wine.inf 189 | 190 | # Deploy wine-mono wine-gecko 191 | # For future reference setting of MONO_VER see https://github.com/wine-mirror/wine/tree/stable of wine-stable 192 | MONO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f2) 193 | GECKO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f2) 194 | 195 | case "$WINE_VER" in 196 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 197 | GECKO_VER="2.47" 198 | MONO_VER="4.7.1" 199 | ;; 200 | 201 | 4.0.1|4.0.2|4.0.3|4.0.4) 202 | GECKO_VER="2.47" 203 | MONO_VER="4.7.5" 204 | ;; 205 | 206 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 207 | GECKO_VER="2.47.1" 208 | MONO_VER="4.9.4" 209 | ;; 210 | 211 | 6.0.1|6.0.2|6.0.3|6.0.4) 212 | GECKO_VER="2.47.2" 213 | MONO_VER="5.1.1" 214 | ;; 215 | 216 | 7.0.1|7.0.2|7.0.3|7.0.4) 217 | GECKO_VER="2.47.2" 218 | MONO_VER="7.0.0-x86" 219 | ;; 220 | *) 221 | MONO_VER="$MONO_VER-x86" 222 | ;; 223 | esac 224 | 225 | if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 226 | GECKO=wine_gecko-${GECKO_VER} 227 | else 228 | GECKO=wine-gecko-${GECKO_VER} 229 | fi 230 | 231 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 232 | GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 233 | 234 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 235 | wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 236 | 237 | runtime: 238 | env: 239 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 240 | APPDIR_LIBC_VERSION: '2.38' 241 | 242 | path_mappings: 243 | - /opt/wine-stable:$APPDIR/opt/wine-stable 244 | 245 | AppImage: 246 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-stable-4-i386|wine-stable*.AppImage.zsync 247 | #sign-key: None 248 | arch: x86_64 249 | 250 | -------------------------------------------------------------------------------- /old/wine-stable-4-multi.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true 6 | - mkdir -p appimage-build/prime AppDir/{bin,winedata} && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://gist.github.com/mmtrt/dcaf1dcca14783646ce57c4271e7d5c6/raw/48351c83de4c89db244b6ca48f88674d25f7b12c/winetricks-wine4" -O ./AppDir/bin/winetricks && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | # Add static appimage runtime 12 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 13 | # Add WINE official light blue theme 14 | - wget -q "https://github.com/mmtrt/sommelier-core/raw/tmp/themes/light/light.msstyles" -P ./AppDir/winedata/resources/themes/light 15 | # Add config 16 | - cp -R config AppDir/winedata 17 | 18 | AppDir: 19 | path: ./AppDir 20 | 21 | app_info: 22 | id: org.winehq.wine 23 | name: wine 24 | icon: wine 25 | version: !ENV ${WINE_VER} 26 | exec: bin/bash 27 | exec_args: $APPDIR/wrapper $@ 28 | 29 | apt: 30 | arch: [amd64, i386] 31 | sources: 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' 33 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' 34 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' 35 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 36 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' 37 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 38 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 39 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 40 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main' 41 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 42 | 43 | include: 44 | - wine-staging-i386=7.22~jammy-1 45 | - wine-staging-amd64=7.22~jammy-1 46 | - bash 47 | - cabextract 48 | - cups 49 | - dash 50 | - perl 51 | - coreutils 52 | - mesa-utils 53 | - mesa-utils-bin 54 | - unionfs-fuse 55 | - vulkan-tools 56 | - libcups2 57 | # - libfuse2 58 | # - libfuse3-3 59 | - libmspack0 60 | - libmpg123-0:i386 61 | - gstreamer1.0-plugins-good:i386 62 | - gstreamer1.0-plugins-bad:i386 63 | - gstreamer1.0-plugins-ugly:i386 64 | - winbind:i386 65 | # - libnvidia-compute-520:i386 66 | # - libnvidia-decode-520:i386 67 | # - libnvidia-encode-520:i386 68 | # - libnvidia-extra-520:i386 69 | # - libnvidia-fbc1-520:i386 70 | # - libnvidia-gl-520:i386 71 | - libdrm2:i386 72 | - libdrm-intel1:i386 73 | - libdrm-nouveau2:i386 74 | - libdrm-amdgpu1:i386 75 | - libdrm-radeon1:i386 76 | - libegl-mesa0:i386 77 | - libegl1:i386 78 | - libgbm1:i386 79 | - libgl1:i386 80 | - libgl1-mesa-dri:i386 81 | - libglapi-mesa:i386 82 | - libgles2:i386 83 | - libglvnd0:i386 84 | - libglx0:i386 85 | - libglx-mesa0:i386 86 | - mesa-vdpau-drivers:i386 87 | - mesa-va-drivers:i386 88 | - mesa-vulkan-drivers:i386 89 | - libopenal1:i386 90 | - libx11-6:i386 91 | - libx11-xcb1:i386 92 | - libxcb-dri2-0:i386 93 | - libxcb-dri3-0:i386 94 | - libxcb-glx0:i386 95 | - libxcb-present0:i386 96 | - libxcb-render0:i386 97 | - libxcb-shape0:i386 98 | - libxcb-shm0:i386 99 | - libxcb-xfixes0:i386 100 | - libxcb1:i386 101 | - libxcomposite1:i386 102 | 103 | files: 104 | exclude: 105 | - sbin 106 | - var 107 | - etc/alternatives 108 | - etc/apt 109 | - etc/cron.daily 110 | - etc/dpkg 111 | - etc/mysql 112 | - etc/sane.d 113 | - etc/sensors.d 114 | - etc/skel 115 | - etc/snmp 116 | - etc/udev 117 | - etc/gss 118 | - etc/init.d 119 | - etc/logrotate.d 120 | - lib/modprobe.d 121 | - lib/systemd 122 | - lib/udev 123 | - usr/lib/mime 124 | - usr/lib/sasl2 125 | - usr/lib/tmpfiles.d 126 | - usr/sbin 127 | - usr/share/apps 128 | - usr/share/man 129 | - usr/share/doc 130 | - usr/share/adduser 131 | - usr/share/apport 132 | - usr/share/bash-completion 133 | - usr/share/bug 134 | - usr/share/debconf 135 | - usr/share/doc 136 | - usr/share/doc-base 137 | - usr/share/dpkg 138 | - usr/share/glib-2.0 139 | - usr/share/gst-plugins-base 140 | - usr/share/hal 141 | - usr/share/info 142 | - usr/share/initramfs-tools 143 | - usr/share/kde4 144 | - usr/share/libgphoto2 145 | - usr/share/lintian 146 | - usr/share/menu 147 | - usr/share/metainfo 148 | - usr/share/mesa-demos 149 | - usr/share/mime 150 | - usr/share/misc 151 | - usr/share/mysql-common 152 | - usr/share/pixmaps 153 | - usr/share/pkgconfig 154 | - usr/share/polkit-1 155 | - usr/share/snmp 156 | - usr/share/zoneinfo 157 | - usr/share/zoneinfo-icu 158 | - usr/share/zsh 159 | - opt/wine-staging 160 | - opt/wine-stable/share/man 161 | - opt/wine-stable/lib/wine/*.a 162 | - opt/wine-stable/lib/wine/*.def 163 | - opt/wine-stable/lib64/wine/*.a 164 | - opt/wine-stable/lib64/wine/*.def 165 | 166 | after_bundle: 167 | # this is executed after the packages and files are added 168 | - | 169 | # Patch wrapper script 170 | sed -i 's|wine-appimage|wine-appimage-4-stable|' AppDir/wrapper 171 | 172 | WINE_VER="4.0.4" 173 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-stable_${WINE_VER}~focal_i386.deb 174 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-stable-i386_${WINE_VER}~focal_i386.deb 175 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-stable_${WINE_VER}~focal_amd64.deb 176 | wget -q -c https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-stable-amd64_${WINE_VER}~focal_amd64.deb 177 | dpkg -x "wine-stable_${WINE_VER}~focal_i386.deb" AppDir/ 178 | dpkg -x "wine-stable-i386_${WINE_VER}~focal_i386.deb" AppDir/ 179 | dpkg -x "wine-stable_${WINE_VER}~focal_amd64.deb" AppDir/ 180 | dpkg -x "wine-stable-amd64_${WINE_VER}~focal_amd64.deb" AppDir/ 181 | (cd AppDir/usr/bin; ln -s "../../opt/wine-stable/bin/"* .) 182 | 183 | # Cleanup 184 | rm -rf AppDir/usr/share/{applications,man,doc} 185 | rm -rf AppDir/opt/wine-stable/share/{applications,man,doc} 186 | 187 | # Disable FileOpenAssociations 188 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-stable/share/wine/wine.inf 189 | 190 | # Disable winemenubuilder 191 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-stable/share/wine/wine.inf 192 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-stable/share/wine/wine.inf 193 | 194 | # Pre patch setting wine blue theme by default 195 | sed -i 's| DllOverrides| DllOverrides,\\\n ThemeSet|;$a \\n[ThemeSet]\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ColorName",,"Blue"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"DllName",,"C:\\windows\\resources\\themes\\light\\light.msstyles"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ThemeActive",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"FlatMenu",0x10001,0x00000000\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"GradientCaption",0x10001,0x00000001\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"SizeName",,"NormalSize"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"IconTitleFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"LoadedBefore",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"NonClientMetrics",1,f8,01,00,00,01,00,00,00,10,00,00,00,10,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0f,00,\\\n00,00,0f,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,\\\nff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,\\\n22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,\\\n00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,\\\n00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Colors,"ActiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"ActiveTitle",,"50 150 250"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveTitle",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Background",,"58 110 165"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonAlternateFace",,"181 181 181"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonDkShadow",,"64 64 64"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonFace",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonLight",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonShadow",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientActiveTitle",,"166 202 240"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientInactiveTitle",,"192 192 192"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GrayText",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Hilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HotTrackingColor",,"0 0 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitle",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitleText",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoWindow",,"255 255 225"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Menu",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuBar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuHilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Scrollbar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"TitleText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowFrame",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Control Panel\\Colors,"Background",,"37 111 149"\nHKCU,Control Panel\\Colors,"ButtonAlternateFace",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonDkShadow",,"106 106 106"\nHKCU,Control Panel\\Colors,"ButtonFace",,"245 245 245"\nHKCU,Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonLight",,"227 227 227"\nHKCU,Control Panel\\Colors,"ButtonShadow",,"166 166 166"\nHKCU,Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Control Panel\\Colors,"GradientActiveTitle",,"50 150 250"\nHKCU,Control Panel\\Colors,"GradientInactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"GrayText",,"166 166 166"\nHKCU,Control Panel\\Colors,"Hilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Control Panel\\Colors,"HotTrackingColor",,"224 224 224"\nHKCU,Control Panel\\Colors,"InactiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"InactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"InactiveTitleText",,"100 100 100"\nHKCU,Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Control Panel\\Colors,"InfoWindow",,"255 255 255"\nHKCU,Control Panel\\Colors,"Menu",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuBar",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuHilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Scrollbar",,"255 255 255"\nHKCU,Control Panel\\Colors,"TitleText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Control Panel\\Colors,"WindowFrame",,"158 158 158"\nHKCU,Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Desktop,"UserPreferencesMask",1,30,00,02,80,12,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"BorderWidth",,"1"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"IconFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MessageFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollHeight",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollWidth",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionHeight",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionWidth",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"StatusFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00' AppDir/opt/wine-stable/share/wine/wine.inf 196 | 197 | # Deploy wine-mono wine-gecko 198 | # For future reference setting of MONO_VER see https://github.com/wine-mirror/wine/tree/stable of wine-stable 199 | MONO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f2) 200 | GECKO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f2) 201 | 202 | case "$WINE_VER" in 203 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 204 | GECKO_VER="2.47" 205 | MONO_VER="4.7.1" 206 | ;; 207 | 208 | 4.0.1|4.0.2|4.0.3|4.0.4) 209 | GECKO_VER="2.47" 210 | MONO_VER="4.7.5" 211 | ;; 212 | 213 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 214 | GECKO_VER="2.47.1" 215 | MONO_VER="4.9.4" 216 | ;; 217 | 218 | 6.0.1|6.0.2|6.0.3|6.0.4) 219 | GECKO_VER="2.47.2" 220 | MONO_VER="5.1.1" 221 | ;; 222 | 223 | 7.0.1|7.0.2|7.0.3|7.0.4) 224 | GECKO_VER="2.47.2" 225 | MONO_VER="7.0.0-x86" 226 | ;; 227 | *) 228 | MONO_VER="$MONO_VER-x86" 229 | ;; 230 | esac 231 | 232 | if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 233 | GECKO=wine_gecko-${GECKO_VER} 234 | else 235 | GECKO=wine-gecko-${GECKO_VER} 236 | fi 237 | 238 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 239 | GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 240 | GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 241 | 242 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 243 | wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 244 | wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 245 | 246 | runtime: 247 | env: 248 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 249 | APPDIR_LIBC_VERSION: '2.38' 250 | 251 | path_mappings: 252 | - /opt/wine-stable:$APPDIR/opt/wine-stable 253 | 254 | AppImage: 255 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-stable-4-multi|wine-stable*.AppImage.zsync 256 | #sign-key: None 257 | arch: x86_64 258 | 259 | -------------------------------------------------------------------------------- /old/wine-stable-arm.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir AppDir && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | # Add WINE official light blue theme 12 | - wget -q "https://github.com/mmtrt/sommelier-core/raw/master/themes/light/light.msstyles" -P ./AppDir/winedata/resources/themes/light 13 | 14 | AppDir: 15 | path: ./AppDir 16 | 17 | app_info: 18 | id: org.winehq.wine 19 | name: wine 20 | icon: wine 21 | version: "stable-arm_7.0" 22 | exec: bin/bash 23 | exec_args: wrapper $@ 24 | 25 | apt: 26 | arch: [arm64,armhf] 27 | sources: 28 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar main restricted universe multiverse' 29 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-updates main restricted universe multiverse' 30 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-backports main restricted universe multiverse' 31 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 32 | 33 | include: 34 | - fonts-wine 35 | - wine32 36 | - wine32-preloader 37 | - bash 38 | - cabextract 39 | - dash 40 | - perl 41 | - coreutils 42 | - mesa-utils 43 | - unionfs-fuse 44 | - vulkan-tools 45 | - libmspack0 46 | - libdrm2:armhf 47 | - libwine:armhf 48 | # - libdrm-intel1:armhf 49 | - libdrm-nouveau2:armhf 50 | - libdrm-amdgpu1:armhf 51 | - libdrm-radeon1:armhf 52 | - libegl-mesa0:armhf 53 | - libegl1:armhf 54 | - libgbm1:armhf 55 | - libgl1:armhf 56 | - libgl1-mesa-dri:armhf 57 | - libglapi-mesa:armhf 58 | - libgles2:armhf 59 | - libglvnd0:armhf 60 | - libglx0:armhf 61 | - libglx-mesa0:armhf 62 | - mesa-vdpau-drivers:armhf 63 | - mesa-va-drivers:armhf 64 | - mesa-vulkan-drivers:armhf 65 | - libx11-6:armhf 66 | - libx11-xcb1:armhf 67 | - libxcb-dri2-0:armhf 68 | - libxcb-dri3-0:armhf 69 | - libxcb-glx0:armhf 70 | - libxcb-present0:armhf 71 | - libxcb-render0:armhf 72 | - libxcb-shape0:armhf 73 | - libxcb-shm0:armhf 74 | - libxcb-xfixes0:armhf 75 | - libxcb1:armhf 76 | 77 | files: 78 | exclude: 79 | - sbin 80 | - var 81 | - etc/alternatives 82 | - etc/apt 83 | - etc/cron.daily 84 | - etc/dpkg 85 | - etc/mysql 86 | - etc/sane.d 87 | - etc/sensors.d 88 | - etc/skel 89 | - etc/snmp 90 | - etc/udev 91 | - etc/gss 92 | - etc/init.d 93 | - etc/logrotate.d 94 | - lib/modprobe.d 95 | - lib/systemd 96 | - lib/udev 97 | - usr/lib/mime 98 | - usr/lib/sasl2 99 | - usr/lib/tmpfiles.d 100 | - usr/lib/aarch64-linux-gnu 101 | - usr/sbin 102 | - usr/share/apps 103 | - usr/share/man 104 | - usr/share/doc 105 | - usr/share/adduser 106 | - usr/share/apport 107 | - usr/share/bash-completion 108 | - usr/share/bug 109 | - usr/share/debconf 110 | - usr/share/doc 111 | - usr/share/doc-base 112 | - usr/share/dpkg 113 | - usr/share/glib-2.0 114 | - usr/share/gst-plugins-base 115 | - usr/share/hal 116 | - usr/share/info 117 | - usr/share/initramfs-tools 118 | - usr/share/kde4 119 | - usr/share/libgphoto2 120 | - usr/share/lintian 121 | - usr/share/menu 122 | - usr/share/metainfo 123 | - usr/share/mesa-demos 124 | - usr/share/mime 125 | - usr/share/misc 126 | - usr/share/mysql-common 127 | - usr/share/pixmaps 128 | - usr/share/pkgconfig 129 | - usr/share/polkit-1 130 | - usr/share/snmp 131 | - usr/share/zoneinfo 132 | - usr/share/zoneinfo-icu 133 | - usr/share/zsh 134 | 135 | after_bundle: 136 | # this is executed after the packages and files are added 137 | - | 138 | # Patch wrapper script 139 | sed -i 's|wine-appimage|wine-stable-arm|' AppDir/wrapper 140 | 141 | # Copy over arm wine scripts to AppDir 142 | cp -R scripts-arm/* AppDir/usr/bin/ 143 | 144 | # Link wine files 145 | ( cd AppDir/usr/bin ; ln -s ../lib/wine/* . ) 146 | 147 | # Disable FileOpenAssociations 148 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/usr/share/wine/wine.inf 149 | 150 | # Disable winemenubuilder 151 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/usr/share/wine/wine.inf 152 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/usr/share/wine/wine.inf 153 | 154 | # Pre patch setting wine blue theme by default 155 | sed -i 's| DllOverrides| DllOverrides,\\\n ThemeSet|;$a \\n[ThemeSet]\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ColorName",,"Blue"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"DllName",,"C:\\windows\\resources\\themes\\light\\light.msstyles"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ThemeActive",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"FlatMenu",0x10001,0x00000000\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"GradientCaption",0x10001,0x00000001\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"SizeName",,"NormalSize"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"IconTitleFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"LoadedBefore",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"NonClientMetrics",1,f8,01,00,00,01,00,00,00,10,00,00,00,10,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0f,00,\\\n00,00,0f,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,\\\nff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,\\\n22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,\\\n00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,\\\n00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Colors,"ActiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"ActiveTitle",,"50 150 250"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveTitle",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Background",,"58 110 165"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonAlternateFace",,"181 181 181"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonDkShadow",,"64 64 64"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonFace",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonLight",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonShadow",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientActiveTitle",,"166 202 240"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientInactiveTitle",,"192 192 192"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GrayText",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Hilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HotTrackingColor",,"0 0 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitle",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitleText",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoWindow",,"255 255 225"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Menu",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuBar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuHilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Scrollbar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"TitleText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowFrame",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Control Panel\\Colors,"Background",,"37 111 149"\nHKCU,Control Panel\\Colors,"ButtonAlternateFace",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonDkShadow",,"106 106 106"\nHKCU,Control Panel\\Colors,"ButtonFace",,"245 245 245"\nHKCU,Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonLight",,"227 227 227"\nHKCU,Control Panel\\Colors,"ButtonShadow",,"166 166 166"\nHKCU,Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Control Panel\\Colors,"GradientActiveTitle",,"50 150 250"\nHKCU,Control Panel\\Colors,"GradientInactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"GrayText",,"166 166 166"\nHKCU,Control Panel\\Colors,"Hilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Control Panel\\Colors,"HotTrackingColor",,"224 224 224"\nHKCU,Control Panel\\Colors,"InactiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"InactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"InactiveTitleText",,"100 100 100"\nHKCU,Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Control Panel\\Colors,"InfoWindow",,"255 255 255"\nHKCU,Control Panel\\Colors,"Menu",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuBar",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuHilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Scrollbar",,"255 255 255"\nHKCU,Control Panel\\Colors,"TitleText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Control Panel\\Colors,"WindowFrame",,"158 158 158"\nHKCU,Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Desktop,"UserPreferencesMask",1,30,00,02,80,12,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"BorderWidth",,"1"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"IconFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MessageFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollHeight",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollWidth",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionHeight",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionWidth",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"StatusFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00' AppDir/usr/share/wine/wine.inf 156 | 157 | runtime: 158 | env: 159 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/arm-linux-gnueabihf/dri:${APPDIR}/usr/lib/aarch64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 160 | 161 | path_mappings: 162 | - /usr/lib/wine:$APPDIR/usr/lib/wine 163 | 164 | AppImage: 165 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-stable-arm|wine-stable*.AppImage.zsync 166 | #sign-key: None 167 | arch: aarch64 168 | 169 | -------------------------------------------------------------------------------- /old/wine-stable-arm64.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir AppDir && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | # Add WINE official light blue theme 12 | - wget -q "https://github.com/mmtrt/sommelier-core/raw/master/themes/light/light.msstyles" -P ./AppDir/winedata/resources/themes/light 13 | 14 | AppDir: 15 | path: ./AppDir 16 | 17 | app_info: 18 | id: org.winehq.wine 19 | name: wine 20 | icon: wine 21 | version: "stable-arm64_7.0" 22 | exec: bin/bash 23 | exec_args: wrapper $@ 24 | 25 | apt: 26 | arch: [arm64] 27 | sources: 28 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar main restricted universe multiverse' 29 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-updates main restricted universe multiverse' 30 | - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports/ lunar-backports main restricted universe multiverse' 31 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 32 | 33 | include: 34 | - fonts-wine 35 | - wine64 36 | - wine64-preloader 37 | - bash 38 | - cabextract 39 | - dash 40 | - perl 41 | - coreutils 42 | - mesa-utils 43 | - unionfs-fuse 44 | - vulkan-tools 45 | - libmspack0 46 | - libwine 47 | 48 | files: 49 | exclude: 50 | - sbin 51 | - var 52 | - etc/alternatives 53 | - etc/apt 54 | - etc/cron.daily 55 | - etc/dpkg 56 | - etc/mysql 57 | - etc/sane.d 58 | - etc/sensors.d 59 | - etc/skel 60 | - etc/snmp 61 | - etc/udev 62 | - etc/gss 63 | - etc/init.d 64 | - etc/logrotate.d 65 | - lib/modprobe.d 66 | - lib/systemd 67 | - lib/udev 68 | - usr/lib/mime 69 | - usr/lib/sasl2 70 | - usr/lib/tmpfiles.d 71 | - usr/sbin 72 | - usr/share/apps 73 | - usr/share/man 74 | - usr/share/doc 75 | - usr/share/adduser 76 | - usr/share/apport 77 | - usr/share/bash-completion 78 | - usr/share/bug 79 | - usr/share/debconf 80 | - usr/share/doc 81 | - usr/share/doc-base 82 | - usr/share/dpkg 83 | - usr/share/glib-2.0 84 | - usr/share/gst-plugins-base 85 | - usr/share/hal 86 | - usr/share/info 87 | - usr/share/initramfs-tools 88 | - usr/share/kde4 89 | - usr/share/libgphoto2 90 | - usr/share/lintian 91 | - usr/share/menu 92 | - usr/share/metainfo 93 | - usr/share/mesa-demos 94 | - usr/share/mime 95 | - usr/share/misc 96 | - usr/share/mysql-common 97 | - usr/share/pixmaps 98 | - usr/share/pkgconfig 99 | - usr/share/polkit-1 100 | - usr/share/snmp 101 | - usr/share/zoneinfo 102 | - usr/share/zoneinfo-icu 103 | - usr/share/zsh 104 | 105 | after_bundle: 106 | # this is executed after the packages and files are added 107 | - | 108 | # Patch wrapper script to use wine64 109 | sed -i 's|/wine"|/wine64"|' AppDir/wrapper 110 | 111 | # Patch wrapper script 112 | sed -i 's|wine-appimage|wine-stable-arm64|' AppDir/wrapper 113 | 114 | # Copy over arm wine scripts to AppDir 115 | cp -R scripts-arm/* AppDir/usr/bin/ 116 | 117 | # Link wine files 118 | ( cd AppDir/usr/bin ; ln -s ../lib/wine/* . ) 119 | 120 | # Disable FileOpenAssociations 121 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/usr/share/wine/wine.inf 122 | 123 | # Disable winemenubuilder 124 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/usr/share/wine/wine.inf 125 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/usr/share/wine/wine.inf 126 | 127 | # Pre patch setting wine blue theme by default 128 | sed -i 's| DllOverrides| DllOverrides,\\\n ThemeSet|;$a \\n[ThemeSet]\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ColorName",,"Blue"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"DllName",,"C:\\windows\\resources\\themes\\light\\light.msstyles"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"ThemeActive",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"FlatMenu",0x10001,0x00000000\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"GradientCaption",0x10001,0x00000001\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"SizeName",,"NormalSize"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"IconTitleFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"LoadedBefore",,"1"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager,"NonClientMetrics",1,f8,01,00,00,01,00,00,00,10,00,00,00,10,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0f,00,\\\n00,00,0f,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,\\\n00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,\\\n20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,\\\nff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,\\\n22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,\\\n00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,\\\n00,6d,00,61,00,00,00,6c,00,20,00,44,00,6c,00,67,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Colors,"ActiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"ActiveTitle",,"50 150 250"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ActiveTitle",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Background",,"58 110 165"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonAlternateFace",,"181 181 181"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonDkShadow",,"64 64 64"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonFace",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonLight",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonShadow",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientActiveTitle",,"166 202 240"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GradientInactiveTitle",,"192 192 192"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"GrayText",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Hilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"HotTrackingColor",,"0 0 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveBorder",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitle",,"128 128 128"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InactiveTitleText",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"InfoWindow",,"255 255 225"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Menu",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuBar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuHilight",,"10 36 106"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Scrollbar",,"212 208 200"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"TitleText",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowFrame",,"0 0 0"\nHKCU,Software\\Microsoft\\Windows\\CurrentVersion\\ThemeManager\\Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Colors,"AppWorkSpace",,"128 128 128"\nHKCU,Control Panel\\Colors,"Background",,"37 111 149"\nHKCU,Control Panel\\Colors,"ButtonAlternateFace",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonDkShadow",,"106 106 106"\nHKCU,Control Panel\\Colors,"ButtonFace",,"245 245 245"\nHKCU,Control Panel\\Colors,"ButtonHilight",,"255 255 255"\nHKCU,Control Panel\\Colors,"ButtonLight",,"227 227 227"\nHKCU,Control Panel\\Colors,"ButtonShadow",,"166 166 166"\nHKCU,Control Panel\\Colors,"ButtonText",,"0 0 0"\nHKCU,Control Panel\\Colors,"GradientActiveTitle",,"50 150 250"\nHKCU,Control Panel\\Colors,"GradientInactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"GrayText",,"166 166 166"\nHKCU,Control Panel\\Colors,"Hilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"HilightText",,"255 255 255"\nHKCU,Control Panel\\Colors,"HotTrackingColor",,"224 224 224"\nHKCU,Control Panel\\Colors,"InactiveBorder",,"255 255 255"\nHKCU,Control Panel\\Colors,"InactiveTitle",,"245 245 245"\nHKCU,Control Panel\\Colors,"InactiveTitleText",,"100 100 100"\nHKCU,Control Panel\\Colors,"InfoText",,"0 0 0"\nHKCU,Control Panel\\Colors,"InfoWindow",,"255 255 255"\nHKCU,Control Panel\\Colors,"Menu",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuBar",,"255 255 255"\nHKCU,Control Panel\\Colors,"MenuHilight",,"48 150 250"\nHKCU,Control Panel\\Colors,"MenuText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Scrollbar",,"255 255 255"\nHKCU,Control Panel\\Colors,"TitleText",,"0 0 0"\nHKCU,Control Panel\\Colors,"Window",,"255 255 255"\nHKCU,Control Panel\\Colors,"WindowFrame",,"158 158 158"\nHKCU,Control Panel\\Colors,"WindowText",,"0 0 0"\nHKCU,Control Panel\\Desktop,"UserPreferencesMask",1,30,00,02,80,12,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"BorderWidth",,"1"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"CaptionWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"IconFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\\\n00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuHeight",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MenuWidth",,"18"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"MessageFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollHeight",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"ScrollWidth",,"17"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\\\n00,00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionHeight",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"SmCaptionWidth",,"15"\nHKCU,Control Panel\\Desktop\\WindowMetrics,"StatusFont",1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\\\n00,00,00,00,00,00,00,22,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\\\n00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00' AppDir/usr/share/wine/wine.inf 129 | 130 | runtime: 131 | env: 132 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/arm-linux-gnueabihf/dri:${APPDIR}/usr/lib/aarch64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 133 | 134 | path_mappings: 135 | - /usr/lib/wine:$APPDIR/usr/lib/wine 136 | 137 | AppImage: 138 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-stable-arm64|wine-stable*.AppImage.zsync 139 | #sign-key: None 140 | arch: aarch64 141 | 142 | -------------------------------------------------------------------------------- /old/wine-staging-ge-lol.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true 6 | - mkdir -p appimage-build/prime AppDir/winedata && cp wrapper AppDir 7 | - sed -i '21,47d' AppDir/wrapper && sed -i '/all"}/a export WINEDLLOVERRIDES=${WINEDLLOVERRIDES:-"mscoree,mshtml="}' AppDir/wrapper 8 | # Add winetricks 9 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 10 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 11 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 12 | # Add static appimage runtime 13 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 14 | # Add config 15 | - cp -R config AppDir/winedata 16 | 17 | AppDir: 18 | path: ./AppDir 19 | 20 | app_info: 21 | id: org.winehq.wine 22 | name: wine 23 | icon: wine 24 | version: !ENV ${WINE_VER} 25 | exec: bin/bash 26 | exec_args: $APPDIR/wrapper $@ 27 | 28 | apt: 29 | arch: [amd64, i386] 30 | sources: 31 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' 33 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' 34 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 35 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' 36 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 37 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 38 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 39 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu jammy main' 40 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 41 | 42 | include: 43 | - wine-devel-i386=7.22~jammy-1 44 | - wine-devel-amd64=7.22~jammy-1 45 | - bash 46 | - cabextract 47 | - dash 48 | - perl 49 | - coreutils 50 | - mesa-utils 51 | - mesa-utils-bin 52 | - unionfs-fuse 53 | - vulkan-tools 54 | - libmspack0 55 | - gstreamer1.0-plugins-good:i386 56 | - gstreamer1.0-plugins-bad:i386 57 | - gstreamer1.0-plugins-ugly:i386 58 | # - libnvidia-compute-520:i386 59 | # - libnvidia-decode-520:i386 60 | # - libnvidia-encode-520:i386 61 | # - libnvidia-extra-520:i386 62 | # - libnvidia-fbc1-520:i386 63 | # - libnvidia-gl-520:i386 64 | - libdrm2:i386 65 | - libdrm-intel1:i386 66 | - libdrm-nouveau2:i386 67 | - libdrm-amdgpu1:i386 68 | - libdrm-radeon1:i386 69 | - libegl-mesa0:i386 70 | - libegl1:i386 71 | - libgbm1:i386 72 | - libgl1:i386 73 | - libgl1-mesa-dri:i386 74 | - libglapi-mesa:i386 75 | - libgles2:i386 76 | - libglvnd0:i386 77 | - libglx0:i386 78 | - libglx-mesa0:i386 79 | - mesa-vdpau-drivers:i386 80 | - mesa-va-drivers:i386 81 | - mesa-vulkan-drivers:i386 82 | - libopenal1:i386 83 | - libx11-6:i386 84 | - libx11-xcb1:i386 85 | - libxcb-dri2-0:i386 86 | - libxcb-dri3-0:i386 87 | - libxcb-glx0:i386 88 | - libxcb-present0:i386 89 | - libxcb-render0:i386 90 | - libxcb-shape0:i386 91 | - libxcb-shm0:i386 92 | - libxcb-xfixes0:i386 93 | - libxcb1:i386 94 | - libxcomposite1:i386 95 | - winbind:i386 96 | 97 | files: 98 | exclude: 99 | - sbin 100 | - var 101 | - etc/alternatives 102 | - etc/apt 103 | - etc/cron.daily 104 | - etc/dpkg 105 | - etc/mysql 106 | - etc/sane.d 107 | - etc/sensors.d 108 | - etc/skel 109 | - etc/snmp 110 | - etc/udev 111 | - etc/gss 112 | - etc/init.d 113 | - etc/logrotate.d 114 | - lib/modprobe.d 115 | - lib/systemd 116 | - lib/udev 117 | - usr/lib/mime 118 | - usr/lib/sasl2 119 | - usr/lib/tmpfiles.d 120 | - usr/sbin 121 | - usr/share/apps 122 | - usr/share/man 123 | - usr/share/doc 124 | - usr/share/adduser 125 | - usr/share/apport 126 | - usr/share/bash-completion 127 | - usr/share/bug 128 | - usr/share/debconf 129 | - usr/share/doc 130 | - usr/share/doc-base 131 | - usr/share/dpkg 132 | - usr/share/glib-2.0 133 | - usr/share/gst-plugins-base 134 | - usr/share/hal 135 | - usr/share/info 136 | - usr/share/initramfs-tools 137 | - usr/share/kde4 138 | - usr/share/libgphoto2 139 | - usr/share/lintian 140 | - usr/share/menu 141 | - usr/share/metainfo 142 | - usr/share/mesa-demos 143 | - usr/share/mime 144 | - usr/share/misc 145 | - usr/share/mysql-common 146 | - usr/share/pixmaps 147 | - usr/share/pkgconfig 148 | - usr/share/polkit-1 149 | - usr/share/snmp 150 | - usr/share/zoneinfo 151 | - usr/share/zoneinfo-icu 152 | - usr/share/zsh 153 | - opt/wine-devel 154 | - opt/wine-staging/share/man 155 | - opt/wine-staging/share/applications 156 | - opt/wine-staging/lib/wine/i386-unix/*.a 157 | - opt/wine-staging/lib/wine/i386-windows/*.a 158 | - opt/wine-staging/lib64/wine/x86_64-unix/*.a 159 | - opt/wine-staging/lib64/wine/x86_64-windows/*.a 160 | 161 | after_bundle: 162 | # this is executed after the packages and files are added 163 | - | 164 | # Patch wrapper script 165 | sed -i 's|wine-appimage|wine-appimage-ge-lol|' AppDir/wrapper 166 | 167 | wget -q "https://github.com/$(wget -qO- https://github.com/GloriousEggroll/wine-ge-custom/releases/expanded_assets/$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/releases?page=2" | grep -Eo "tree/7.*" | head -1 | sed 's|/| |g;s|"| |g'|awk '{print $2}') | grep tar.xz | sed 's|"| |g' | awk '{print $3}' | head -1)" 168 | mkdir -p AppDir/opt ; (cd AppDir/opt ; tar -xf ../../*.tar.xz ; mv lutris* wine-staging ; rm ../../*.tar.xz) 169 | (cd AppDir/usr/bin; ln -s "../../opt/wine-staging/bin/"* .) 170 | 171 | # Cleanup 172 | rm -rf AppDir/usr/share/{applications,man,doc} 173 | rm -rf AppDir/opt/wine-staging/share/{applications,man,doc} 174 | rm -rf AppDir/opt/wine-staging/lib/wine/i386-unix/*.a 175 | rm -rf AppDir/opt/wine-staging/lib/wine/i386-windows/*.a 176 | rm -rf AppDir/opt/wine-staging/lib64/wine/x86_64-unix/*.a 177 | rm -rf AppDir/opt/wine-staging/lib64/wine/x86_64-windows/*.a 178 | 179 | # Disable FileOpenAssociations 180 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-staging/share/wine/wine.inf 181 | 182 | # Disable winemenubuilder 183 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-staging/share/wine/wine.inf 184 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-staging/share/wine/wine.inf 185 | 186 | runtime: 187 | env: 188 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 189 | APPDIR_LIBC_VERSION: '2.38' 190 | 191 | path_mappings: 192 | - /opt/wine-staging:$APPDIR/opt/wine-staging 193 | 194 | AppImage: 195 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-staging_ge_lol|wine-staging_ge-lol_*.AppImage.zsync 196 | #sign-key: None 197 | arch: x86_64 198 | 199 | -------------------------------------------------------------------------------- /old/wine-staging-ge-proton.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true 6 | - mkdir -p AppDir/winedata && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | 12 | AppDir: 13 | path: ./AppDir 14 | 15 | app_info: 16 | id: org.winehq.wine 17 | name: wine 18 | icon: wine 19 | version: !ENV ${WINE_VER} 20 | exec: bin/bash 21 | exec_args: wrapper $@ 22 | 23 | apt: 24 | arch: [amd64, i386] 25 | sources: 26 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse' 27 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted universe multiverse' 28 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic-backports main restricted universe multiverse' 29 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 30 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ kinetic main' 31 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 32 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ kinetic main' 33 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 34 | - sourceline: 'deb https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu kinetic main' 35 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x957D2708A03A4626' 36 | 37 | include: 38 | - wine-devel-i386=7.21~kinetic-1 39 | - wine-devel-amd64=7.21~kinetic-1 40 | - bash 41 | - cabextract 42 | - cups 43 | - dash 44 | - perl 45 | - coreutils 46 | - mesa-utils 47 | - unionfs-fuse 48 | - vulkan-tools 49 | - libcups2 50 | - libfuse2 51 | - libfuse3-3 52 | - libmspack0 53 | # - libnvidia-compute-520:i386 54 | # - libnvidia-decode-520:i386 55 | # - libnvidia-encode-520:i386 56 | # - libnvidia-extra-520:i386 57 | # - libnvidia-fbc1-520:i386 58 | # - libnvidia-gl-520:i386 59 | - libdrm2:i386 60 | - libdrm-intel1:i386 61 | - libdrm-nouveau2:i386 62 | - libdrm-amdgpu1:i386 63 | - libdrm-radeon1:i386 64 | - libegl-mesa0:i386 65 | - libegl1:i386 66 | - libgbm1:i386 67 | - libgl1:i386 68 | - libgl1-mesa-dri:i386 69 | - libglapi-mesa:i386 70 | - libgles2:i386 71 | - libglvnd0:i386 72 | - libglx0:i386 73 | - libglx-mesa0:i386 74 | - mesa-vdpau-drivers:i386 75 | - mesa-va-drivers:i386 76 | - mesa-vulkan-drivers:i386 77 | - libx11-6:i386 78 | - libx11-xcb1:i386 79 | - libxcb-dri2-0:i386 80 | - libxcb-dri3-0:i386 81 | - libxcb-glx0:i386 82 | - libxcb-present0:i386 83 | - libxcb-render0:i386 84 | - libxcb-shape0:i386 85 | - libxcb-shm0:i386 86 | - libxcb-xfixes0:i386 87 | - libxcb1:i386 88 | 89 | files: 90 | exclude: 91 | - var 92 | - etc/alternatives 93 | - etc/apt 94 | - etc/cron.daily 95 | - etc/dpkg 96 | - etc/mysql 97 | - etc/sane.d 98 | - etc/sensors.d 99 | - etc/skel 100 | - etc/snmp 101 | - etc/udev 102 | - etc/gss 103 | - etc/init.d 104 | - etc/logrotate.d 105 | - lib/modprobe.d 106 | - lib/systemd 107 | - lib/udev 108 | - usr/lib/mime 109 | - usr/lib/sasl2 110 | - usr/lib/tmpfiles.d 111 | - usr/sbin 112 | - usr/share/apps 113 | - usr/share/man 114 | - usr/share/doc 115 | - usr/share/adduser 116 | - usr/share/apport 117 | - usr/share/bash-completion 118 | - usr/share/bug 119 | - usr/share/debconf 120 | - usr/share/doc 121 | - usr/share/doc-base 122 | - usr/share/dpkg 123 | - usr/share/glib-2.0 124 | - usr/share/gst-plugins-base 125 | - usr/share/hal 126 | - usr/share/info 127 | - usr/share/initramfs-tools 128 | - usr/share/kde4 129 | - usr/share/libgphoto2 130 | - usr/share/lintian 131 | - usr/share/menu 132 | - usr/share/metainfo 133 | - usr/share/mesa-demos 134 | - usr/share/mime 135 | - usr/share/misc 136 | - usr/share/mysql-common 137 | - usr/share/pixmaps 138 | - usr/share/pkgconfig 139 | - usr/share/polkit-1 140 | - usr/share/snmp 141 | - usr/share/zoneinfo 142 | - usr/share/zoneinfo-icu 143 | - usr/share/zsh 144 | - opt/wine-devel 145 | - opt/wine-staging/share/man 146 | - opt/wine-staging/share/applications 147 | - opt/wine-staging/lib/wine/i386-unix/*.a 148 | - opt/wine-staging/lib/wine/i386-windows/*.a 149 | - opt/wine-staging/lib64/wine/x86_64-unix/*.a 150 | - opt/wine-staging/lib64/wine/x86_64-windows/*.a 151 | 152 | after_bundle: 153 | # this is executed after the packages and files are added 154 | - | 155 | # Patch wrapper script 156 | sed -i 's|wine-appimage|wine-appimage-ge-proton|' AppDir/wrapper 157 | 158 | WINE_VER="$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/tags" | grep -Eo "GE-.*" | head -1 | sed -r 's|"| |g' | awk '{print $1}')" 159 | 160 | wget -q "https://github.com/GloriousEggroll/wine-ge-custom/releases/download/$WINE_VER/wine-lutris-${WINE_VER}-x86_64.tar.xz" 161 | mkdir -p AppDir/opt ; (cd AppDir/opt ; tar -xf ../../*.tar.xz ; mv lutris* wine-staging ; rm ../../*.tar.xz) 162 | (cd AppDir/usr/bin; ln -s "../../opt/wine-staging/bin/"* .) 163 | 164 | # Cleanup 165 | rm -rf AppDir/usr/share/{applications,man,doc} 166 | rm -rf AppDir/opt/wine-staging/share/{applications,man,doc} 167 | rm -rf AppDir/opt/wine-staging/lib/wine/i386-unix/*.a 168 | rm -rf AppDir/opt/wine-staging/lib/wine/i386-windows/*.a 169 | rm -rf AppDir/opt/wine-staging/lib64/wine/x86_64-unix/*.a 170 | rm -rf AppDir/opt/wine-staging/lib64/wine/x86_64-windows/*.a 171 | 172 | # Disable FileOpenAssociations 173 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-staging/share/wine/wine.inf 174 | 175 | # Disable winemenubuilder 176 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-staging/share/wine/wine.inf 177 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-staging/share/wine/wine.inf 178 | 179 | # WINE_VER="$(wget -qO- "https://github.com/GloriousEggroll/wine-ge-custom/tags" | grep -Eo "GE-.*" | head -1 | sed -r 's|-GE||g;s|"| |g;s|n| |g' | awk '{print $2}')" 180 | 181 | # # wine-mono wine-gecko 182 | # MONO_VER=$(wget "https://source.winehq.org/source/dlls/appwiz.cpl/addons.c?%21v=wine-${WINE_VER}" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f4) 183 | # GECKO_VER=$(wget "https://source.winehq.org/source/dlls/appwiz.cpl/addons.c?%21v=wine-${WINE_VER}" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f4) 184 | # # For future reference see MONO_VER https://github.com/wine-mirror/wine/tree/stable of wine-stable 185 | # case "$WINE_VER" in 186 | # 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 187 | # GECKO_VER="2.47" 188 | # MONO_VER="4.7.1" 189 | # ;; 190 | 191 | # 4.0.1|4.0.2|4.0.3|4.0.4) 192 | # GECKO_VER="2.47" 193 | # MONO_VER="4.7.5" 194 | # ;; 195 | 196 | # 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 197 | # GECKO_VER="2.47.1" 198 | # MONO_VER="4.9.4" 199 | # ;; 200 | 201 | # 6.0.1|6.0.2|6.0.3|6.0.4) 202 | # GECKO_VER="2.47.2" 203 | # MONO_VER="5.1.1" 204 | # ;; 205 | 206 | # 7.0.1|7.0.2|7.0.3|7.0.4) 207 | # GECKO_VER="2.47.2" 208 | # MONO_VER="7.0.0" 209 | # ;; 210 | # esac 211 | # if [[ $(echo $WINE_VER |sed -e 's/\.//g') -ge 518 || $(echo $WINE_VER |sed -e 's/\.//g') -eq 60 || $(echo $WINE_VER |sed -e 's/\.//g') -eq 70 ]]; then 212 | # MONO_VER="$MONO_VER-x86" 213 | # fi 214 | # if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 215 | # GECKO=wine_gecko-${GECKO_VER} 216 | # else 217 | # GECKO=wine-gecko-${GECKO_VER} 218 | # fi 219 | 220 | # MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 221 | # GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 222 | # GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 223 | # wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 224 | # wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 225 | # wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 226 | 227 | runtime: 228 | env: 229 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 230 | 231 | path_mappings: 232 | - /opt/wine-staging:$APPDIR/opt/wine-staging 233 | 234 | AppImage: 235 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-staging_ge_proton|wine-staging_ge-proton*.AppImage.zsync 236 | #sign-key: None 237 | arch: x86_64 238 | 239 | -------------------------------------------------------------------------------- /old/wine-staging-lolp.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir appimage-builder-cache/var/cache/apt/archives/*wine* || true 6 | - mkdir -p AppDir/winedata && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons ; cp wine.svg AppDir/usr/share/icons 11 | 12 | AppDir: 13 | path: ./AppDir 14 | 15 | app_info: 16 | id: org.winehq.wine 17 | name: wine 18 | icon: wine 19 | version: !ENV ${WINE_VER} 20 | exec: bin/bash 21 | exec_args: wrapper $@ 22 | 23 | apt: 24 | arch: [amd64, i386] 25 | sources: 26 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse' 27 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic-updates main restricted universe multiverse' 28 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ kinetic-backports main restricted universe multiverse' 29 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 30 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main' 31 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 32 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ kinetic main' 33 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 34 | - sourceline: 'deb https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu kinetic main' 35 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x957D2708A03A4626' 36 | 37 | include: 38 | - wine-devel-i386=7.19~jammy-1 39 | - wine-devel-amd64=7.19~jammy-1 40 | - bash 41 | - cabextract 42 | - cups 43 | - dash 44 | - perl 45 | - coreutils 46 | - mesa-utils 47 | - unionfs-fuse 48 | - vulkan-tools 49 | - libcups2 50 | - libfuse2 51 | - libfuse3-3 52 | - libmspack0 53 | # - libnvidia-compute-520:i386 54 | # - libnvidia-decode-520:i386 55 | # - libnvidia-encode-520:i386 56 | # - libnvidia-extra-520:i386 57 | # - libnvidia-fbc1-520:i386 58 | # - libnvidia-gl-520:i386 59 | - libdrm2:i386 60 | - libdrm-intel1:i386 61 | - libdrm-nouveau2:i386 62 | - libdrm-amdgpu1:i386 63 | - libdrm-radeon1:i386 64 | - libegl-mesa0:i386 65 | - libegl1:i386 66 | - libgbm1:i386 67 | - libgl1:i386 68 | - libgl1-mesa-dri:i386 69 | - libglapi-mesa:i386 70 | - libgles2:i386 71 | - libglvnd0:i386 72 | - libglx0:i386 73 | - libglx-mesa0:i386 74 | - mesa-vdpau-drivers:i386 75 | - mesa-va-drivers:i386 76 | - mesa-vulkan-drivers:i386 77 | - libx11-6:i386 78 | - libx11-xcb1:i386 79 | - libxcb-dri2-0:i386 80 | - libxcb-dri3-0:i386 81 | - libxcb-glx0:i386 82 | - libxcb-present0:i386 83 | - libxcb-render0:i386 84 | - libxcb-shape0:i386 85 | - libxcb-shm0:i386 86 | - libxcb-xfixes0:i386 87 | - libxcb1:i386 88 | 89 | files: 90 | exclude: 91 | - var 92 | - etc/alternatives 93 | - etc/apt 94 | - etc/cron.daily 95 | - etc/dpkg 96 | - etc/mysql 97 | - etc/sane.d 98 | - etc/sensors.d 99 | - etc/skel 100 | - etc/snmp 101 | - etc/udev 102 | - etc/gss 103 | - etc/init.d 104 | - etc/logrotate.d 105 | - lib/modprobe.d 106 | - lib/systemd 107 | - lib/udev 108 | - usr/lib/mime 109 | - usr/lib/sasl2 110 | - usr/lib/tmpfiles.d 111 | - usr/sbin 112 | - usr/share/apps 113 | - usr/share/man 114 | - usr/share/doc 115 | - usr/share/adduser 116 | - usr/share/apport 117 | - usr/share/bash-completion 118 | - usr/share/bug 119 | - usr/share/debconf 120 | - usr/share/doc 121 | - usr/share/doc-base 122 | - usr/share/dpkg 123 | - usr/share/glib-2.0 124 | - usr/share/gst-plugins-base 125 | - usr/share/hal 126 | - usr/share/info 127 | - usr/share/initramfs-tools 128 | - usr/share/kde4 129 | - usr/share/libgphoto2 130 | - usr/share/lintian 131 | - usr/share/menu 132 | - usr/share/metainfo 133 | - usr/share/misc 134 | - usr/share/mysql-common 135 | - usr/share/pixmaps 136 | - usr/share/pkgconfig 137 | - usr/share/polkit-1 138 | - usr/share/snmp 139 | - usr/share/zoneinfo 140 | - usr/share/zoneinfo-icu 141 | - usr/share/zsh 142 | - opt/wine-devel 143 | - opt/wine-staging/share/man 144 | - opt/wine-staging/share/applications 145 | - opt/wine-staging/lib/wine/*.a 146 | - opt/wine-staging/lib/wine/*.def 147 | - opt/wine-staging/lib64/wine/*.a 148 | - opt/wine-staging/lib64/wine/*.def 149 | 150 | after_bundle: 151 | # this is executed after the packages and files are added 152 | - | 153 | # Patch wrapper script 154 | sed -i 's|wine-appimage|wine-appimage-lolp|' AppDir/wrapper 155 | 156 | WINE_VER="5.18" 157 | wget -q -c https://launchpad.net/~mmtrt/+archive/ubuntu/testing/+files/wine-staging_${WINE_VER}-f~0ubuntu10_i386.deb 158 | wget -q -c https://launchpad.net/~mmtrt/+archive/ubuntu/testing/+files/wine-staging-i386_${WINE_VER}-f~0ubuntu10_i386.deb 159 | wget -q -c https://launchpad.net/~mmtrt/+archive/ubuntu/testing/+files/wine-staging_${WINE_VER}-f~0ubuntu10_amd64.deb 160 | wget -q -c https://launchpad.net/~mmtrt/+archive/ubuntu/testing/+files/wine-staging-amd64_${WINE_VER}-f~0ubuntu10_amd64.deb 161 | dpkg -x "wine-staging_${WINE_VER}-f~0ubuntu10_i386.deb" AppDir/ 162 | dpkg -x "wine-staging-i386_${WINE_VER}-f~0ubuntu10_i386.deb" AppDir/ 163 | dpkg -x "wine-staging_${WINE_VER}-f~0ubuntu10_amd64.deb" AppDir/ 164 | dpkg -x "wine-staging-amd64_${WINE_VER}-f~0ubuntu10_amd64.deb" AppDir/ 165 | (cd AppDir/usr/bin; ln -s "../../opt/wine-staging/bin/"* .) 166 | 167 | # Cleanup wine install dir 168 | rm -rf AppDir/usr/share/{applications,man,doc} 169 | rm -rf AppDir/opt/wine-staging/share/{applications,man,doc} 170 | rm -rf AppDir/opt/wine-staging/lib/wine/*.a 171 | rm -rf AppDir/opt/wine-staging/lib/wine/*.def 172 | rm -rf AppDir/opt/wine-staging/lib64/wine/*.a 173 | rm -rf AppDir/opt/wine-staging/lib64/wine/*.def 174 | 175 | # Disable FileOpenAssociations 176 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-staging/share/wine/wine.inf 177 | 178 | # Disable winemenubuilder 179 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-staging/share/wine/wine.inf 180 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-staging/share/wine/wine.inf 181 | 182 | # wine-mono wine-gecko 183 | MONO_VER=$(wget "https://source.winehq.org/source/dlls/appwiz.cpl/addons.c?%21v=wine-${WINE_VER}" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f4) 184 | GECKO_VER=$(wget "https://source.winehq.org/source/dlls/appwiz.cpl/addons.c?%21v=wine-${WINE_VER}" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f4) 185 | # For future reference see MONO_VER https://github.com/wine-mirror/wine/tree/stable of wine-stable 186 | case "$WINE_VER" in 187 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 188 | GECKO_VER="2.47" 189 | MONO_VER="4.7.1" 190 | ;; 191 | 192 | 4.0.1|4.0.2|4.0.3|4.0.4) 193 | GECKO_VER="2.47" 194 | MONO_VER="4.7.5" 195 | ;; 196 | 197 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 198 | GECKO_VER="2.47.1" 199 | MONO_VER="4.9.4" 200 | ;; 201 | 202 | 6.0.1|6.0.2|6.0.3|6.0.4) 203 | GECKO_VER="2.47.2" 204 | MONO_VER="5.1.1" 205 | ;; 206 | 207 | 7.0.1|7.0.2|7.0.3|7.0.4) 208 | GECKO_VER="2.47.2" 209 | MONO_VER="7.0.0" 210 | ;; 211 | esac 212 | if [[ $(echo $WINE_VER |sed -e 's/\.//g') -ge 518 || $(echo $WINE_VER |sed -e 's/\.//g') -eq 60 || $(echo $WINE_VER |sed -e 's/\.//g') -eq 70 ]]; then 213 | MONO_VER="$MONO_VER-x86" 214 | fi 215 | if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 216 | GECKO=wine_gecko-${GECKO_VER} 217 | else 218 | GECKO=wine-gecko-${GECKO_VER} 219 | fi 220 | 221 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 222 | GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 223 | GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 224 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 225 | wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 226 | wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 227 | 228 | runtime: 229 | env: 230 | LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}' 231 | 232 | path_mappings: 233 | - /opt/wine-staging:$APPDIR/opt/wine-staging 234 | 235 | AppImage: 236 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-staging_lolp|wine-staging_lolp*.AppImage.zsync 237 | #sign-key: None 238 | arch: x86_64 239 | 240 | -------------------------------------------------------------------------------- /runtime/mksquashfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/runtime/mksquashfs -------------------------------------------------------------------------------- /runtime/runtime-aarch64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/runtime/runtime-aarch64 -------------------------------------------------------------------------------- /runtime/runtime-x86_64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmtrt/WINE_AppImage/e9a9bed4b6169be626780dbe420031a287b1cb05/runtime/runtime-x86_64 -------------------------------------------------------------------------------- /wine-devel.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir -p appimage-build/prime AppDir/winedata && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons AppDir/usr/lib64 ; cp wine.svg AppDir/usr/share/icons 11 | # Add static appimage runtime 12 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 13 | # Add config 14 | - cp -R config AppDir/winedata 15 | 16 | AppDir: 17 | path: ./AppDir 18 | 19 | app_info: 20 | id: org.winehq.wine 21 | name: wine 22 | icon: wine 23 | version: !ENV ${WINE_VER} 24 | exec: bin/bash 25 | exec_args: $APPDIR/wrapper $@ 26 | 27 | apt: 28 | arch: [amd64] 29 | sources: 30 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse' 31 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse' 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse' 33 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 34 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 35 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 36 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 37 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 38 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu focal main' 39 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 40 | 41 | include: 42 | - bash 43 | - cabextract 44 | - dash 45 | - coreutils 46 | - mesa-utils 47 | - unionfs-fuse 48 | - vulkan-tools 49 | - libmspack0 50 | 51 | files: 52 | exclude: 53 | - sbin 54 | - var 55 | - etc/alternatives 56 | - etc/apt 57 | - etc/cron.daily 58 | - etc/dpkg 59 | - etc/mysql 60 | - etc/sane.d 61 | - etc/sensors.d 62 | - etc/skel 63 | - etc/snmp 64 | - etc/udev 65 | - etc/gss 66 | - etc/init.d 67 | - etc/logrotate.d 68 | - lib/modprobe.d 69 | - lib/systemd 70 | - lib/udev 71 | - usr/lib/mime 72 | - usr/lib/sasl2 73 | - usr/lib/tmpfiles.d 74 | - usr/sbin 75 | - usr/share/apps 76 | - usr/share/man 77 | - usr/share/doc 78 | - usr/share/adduser 79 | - usr/share/apport 80 | - usr/share/bash-completion 81 | - usr/share/bug 82 | - usr/share/debconf 83 | - usr/share/doc 84 | - usr/share/doc-base 85 | - usr/share/dpkg 86 | - usr/share/glib-2.0 87 | - usr/share/gst-plugins-base 88 | - usr/share/hal 89 | - usr/share/info 90 | - usr/share/initramfs-tools 91 | - usr/share/kde4 92 | - usr/share/libgphoto2 93 | - usr/share/lintian 94 | - usr/share/menu 95 | - usr/share/metainfo 96 | - usr/share/mesa-demos 97 | - usr/share/mime 98 | - usr/share/misc 99 | - usr/share/mysql-common 100 | - usr/share/pixmaps 101 | - usr/share/pkgconfig 102 | - usr/share/polkit-1 103 | - usr/share/snmp 104 | - usr/share/zoneinfo 105 | - usr/share/zoneinfo-icu 106 | - usr/share/zsh 107 | - opt/wine-staging 108 | - opt/wine-devel/share/man 109 | - opt/wine-devel/share/applications 110 | - opt/wine-devel/lib/wine/i386-windows/*.a 111 | - opt/wine-devel/lib64/wine/x86_64-unix/*.a 112 | - opt/wine-devel/lib64/wine/x86_64-windows/*.a 113 | 114 | after_bundle: 115 | # this is executed after the packages and files are added 116 | - | 117 | # Patch wrapper script 118 | sed -i 's|wine-appimage|wine-appimage-devel|' AppDir/wrapper 119 | 120 | WINE_VER="$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/latest | grep -Eo '[0-9].*xz"' | sed -r 's|-amd64| |' | head -1 | awk '{print $1}')" 121 | 122 | wget -q "https://github.com/mmtrt/Wine-Builds/releases/download/latest/wine-${WINE_VER}-amd64.tar.xz" 123 | mkdir -p AppDir/opt ; (cd AppDir/opt ; tar -xf ../../*.tar.xz ; mv wine-* wine-devel) 124 | 125 | (cd AppDir/usr/bin; ln -s "../../opt/wine-devel/bin/"* .) 126 | 127 | # Cleanup 128 | rm -rf AppDir/usr/share/{applications,man,doc} 129 | rm -rf AppDir/opt/wine-devel/share/{applications,man,doc} 130 | rm -rf AppDir/opt/wine-devel/lib/wine/i386-windows/*.a 131 | rm -rf AppDir/opt/wine-devel/lib64/wine/x86_64-unix/*.a 132 | rm -rf AppDir/opt/wine-devel/lib64/wine/x86_64-windows/*.a 133 | 134 | # Disable FileOpenAssociations 135 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-devel/share/wine/wine.inf 136 | 137 | # Disable winemenubuilder 138 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-devel/share/wine/wine.inf 139 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-devel/share/wine/wine.inf 140 | 141 | # Pre patch CJK font replacement with Noto Sans CJK by defualt 142 | sed -i 's| DllOverrides| DllOverrides,\\\n FontReplacement|g;$a \\n[FontReplacement]\nHKCU,Software\\Wine\\Fonts\\Replacements,"Batang",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"BatangChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Dotum",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"DotumChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Gulim",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"GulimChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS-ExtB",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS PGothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS UI Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"NSimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun-ExtB",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Bold",,"Noto Sans CJK JP Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Semilight",,"Noto Sans CJK JP DemiLight"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Bold",,"Noto Sans CJK JP Black"' AppDir/opt/wine-devel/share/wine/wine.inf 143 | 144 | # Deploy wine-mono wine-gecko 145 | # For future reference setting of MONO_VER see https://github.com/wine-mirror/wine/tree/stable of wine-stable 146 | MONO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f2) 147 | GECKO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f2) 148 | 149 | case "$WINE_VER" in 150 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 151 | GECKO_VER="2.47" 152 | MONO_VER="4.7.1" 153 | ;; 154 | 155 | 4.0.1|4.0.2|4.0.3|4.0.4) 156 | GECKO_VER="2.47" 157 | MONO_VER="4.7.5" 158 | ;; 159 | 160 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 161 | GECKO_VER="2.47.1" 162 | MONO_VER="4.9.4" 163 | ;; 164 | 165 | 6.0.1|6.0.2|6.0.3|6.0.4) 166 | GECKO_VER="2.47.2" 167 | MONO_VER="5.1.1" 168 | ;; 169 | 170 | 7.0.1|7.0.2|7.0.3|7.0.4) 171 | GECKO_VER="2.47.2" 172 | MONO_VER="7.0.0-x86" 173 | ;; 174 | *) 175 | MONO_VER="$MONO_VER-x86" 176 | ;; 177 | esac 178 | 179 | # if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 180 | # GECKO=wine_gecko-${GECKO_VER} 181 | # else 182 | # GECKO=wine-gecko-${GECKO_VER} 183 | # fi 184 | 185 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 186 | # GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 187 | # GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 188 | 189 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 190 | # wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 191 | # wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 192 | 193 | after_runtime: 194 | # this is executed after the runtime is added 195 | - | 196 | # Remove runtime info 197 | sed -i '/modules_dir/d' AppDir/AppRun.config 198 | 199 | runtime: 200 | version: v3.0.0-devel-2 201 | path_mappings: 202 | - /opt/wine-devel:$APPDIR/opt/wine-devel 203 | 204 | AppImage: 205 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-devel|wine-devel*.AppImage.zsync 206 | #sign-key: None 207 | arch: x86_64 208 | 209 | -------------------------------------------------------------------------------- /wine-stable.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir -p appimage-build/prime AppDir/winedata && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons AppDir/usr/lib64 ; cp wine.svg AppDir/usr/share/icons 11 | # Add static appimage runtime 12 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 13 | # Add config 14 | - cp -R config AppDir/winedata 15 | 16 | AppDir: 17 | path: ./AppDir 18 | 19 | app_info: 20 | id: org.winehq.wine 21 | name: wine 22 | icon: wine 23 | version: !ENV ${WINE_VER} 24 | exec: bin/bash 25 | exec_args: $APPDIR/wrapper $@ 26 | 27 | apt: 28 | arch: [amd64] 29 | sources: 30 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse' 31 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse' 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse' 33 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 34 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 35 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 36 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 37 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 38 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu focal main' 39 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 40 | 41 | include: 42 | - bash 43 | - cabextract 44 | - dash 45 | - coreutils 46 | - mesa-utils 47 | - unionfs-fuse 48 | - vulkan-tools 49 | - libmspack0 50 | 51 | files: 52 | exclude: 53 | - sbin 54 | - var 55 | - etc/alternatives 56 | - etc/apt 57 | - etc/cron.daily 58 | - etc/dpkg 59 | - etc/mysql 60 | - etc/sane.d 61 | - etc/sensors.d 62 | - etc/skel 63 | - etc/snmp 64 | - etc/udev 65 | - etc/gss 66 | - etc/init.d 67 | - etc/logrotate.d 68 | - lib/modprobe.d 69 | - lib/systemd 70 | - lib/udev 71 | - usr/lib/mime 72 | - usr/lib/sasl2 73 | - usr/lib/tmpfiles.d 74 | - usr/sbin 75 | - usr/share/apps 76 | - usr/share/man 77 | - usr/share/doc 78 | - usr/share/adduser 79 | - usr/share/apport 80 | - usr/share/bash-completion 81 | - usr/share/bug 82 | - usr/share/debconf 83 | - usr/share/doc 84 | - usr/share/doc-base 85 | - usr/share/dpkg 86 | - usr/share/glib-2.0 87 | - usr/share/gst-plugins-base 88 | - usr/share/hal 89 | - usr/share/info 90 | - usr/share/initramfs-tools 91 | - usr/share/kde4 92 | - usr/share/libgphoto2 93 | - usr/share/lintian 94 | - usr/share/menu 95 | - usr/share/metainfo 96 | - usr/share/mesa-demos 97 | - usr/share/mime 98 | - usr/share/misc 99 | - usr/share/mysql-common 100 | - usr/share/pixmaps 101 | - usr/share/pkgconfig 102 | - usr/share/polkit-1 103 | - usr/share/snmp 104 | - usr/share/zoneinfo 105 | - usr/share/zoneinfo-icu 106 | - usr/share/zsh 107 | - opt/wine-staging 108 | - opt/wine-stable/share/man 109 | - opt/wine-stable/share/applications 110 | - opt/wine-stable/lib/wine/i386-windows/*.a 111 | - opt/wine-stable/lib64/wine/x86_64-unix/*.a 112 | - opt/wine-stable/lib64/wine/x86_64-windows/*.a 113 | 114 | after_bundle: 115 | # this is executed after the packages and files are added 116 | - | 117 | # Patch wrapper script 118 | sed -i 's|wine-appimage|wine-appimage-stable|' AppDir/wrapper 119 | 120 | WINE_VER="$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/stable | grep -Eo '/wine-[0-9].*xz"' | cut -d'-' -f2 | head -1)" 121 | 122 | wget -q "https://github.com/mmtrt/Wine-Builds/releases/download/stable/wine-${WINE_VER}-amd64.tar.xz" 123 | mkdir -p AppDir/opt ; (cd AppDir/opt ; tar -xf ../../*.tar.xz ; mv wine-* wine-stable) 124 | 125 | (cd AppDir/usr/bin; ln -s "../../opt/wine-stable/bin/"* .) 126 | 127 | # Cleanup 128 | rm -rf AppDir/usr/share/{applications,man,doc} 129 | rm -rf AppDir/opt/wine-stable/share/{applications,man,doc} 130 | rm -rf AppDir/opt/wine-stable/lib/wine/i386-windows/*.a 131 | rm -rf AppDir/opt/wine-stable/lib64/wine/x86_64-unix/*.a 132 | rm -rf AppDir/opt/wine-stable/lib64/wine/x86_64-windows/*.a 133 | 134 | # Disable FileOpenAssociations 135 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-stable/share/wine/wine.inf 136 | 137 | # Disable winemenubuilder 138 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-stable/share/wine/wine.inf 139 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-stable/share/wine/wine.inf 140 | 141 | # Pre patch CJK font replacement with Noto Sans CJK by defualt 142 | sed -i 's| DllOverrides| DllOverrides,\\\n FontReplacement|g;$a \\n[FontReplacement]\nHKCU,Software\\Wine\\Fonts\\Replacements,"Batang",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"BatangChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Dotum",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"DotumChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Gulim",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"GulimChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS-ExtB",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS PGothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS UI Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"NSimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun-ExtB",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Bold",,"Noto Sans CJK JP Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Semilight",,"Noto Sans CJK JP DemiLight"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Bold",,"Noto Sans CJK JP Black"' AppDir/opt/wine-stable/share/wine/wine.inf 143 | 144 | # Deploy wine-mono wine-gecko 145 | # For future reference setting of MONO_VER see https://github.com/wine-mirror/wine/tree/stable of wine-stable 146 | MONO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f2) 147 | GECKO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f2) 148 | 149 | case "$WINE_VER" in 150 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 151 | GECKO_VER="2.47" 152 | MONO_VER="4.7.1" 153 | ;; 154 | 155 | 4.0.1|4.0.2|4.0.3|4.0.4) 156 | GECKO_VER="2.47" 157 | MONO_VER="4.7.5" 158 | ;; 159 | 160 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 161 | GECKO_VER="2.47.1" 162 | MONO_VER="4.9.4" 163 | ;; 164 | 165 | 6.0.1|6.0.2|6.0.3|6.0.4) 166 | GECKO_VER="2.47.2" 167 | MONO_VER="5.1.1" 168 | ;; 169 | 170 | 7.0.1|7.0.2|7.0.3|7.0.4) 171 | GECKO_VER="2.47.2" 172 | MONO_VER="7.0.0-x86" 173 | ;; 174 | *) 175 | MONO_VER="$MONO_VER-x86" 176 | ;; 177 | esac 178 | 179 | # if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 180 | # GECKO=wine_gecko-${GECKO_VER} 181 | # else 182 | # GECKO=wine-gecko-${GECKO_VER} 183 | # fi 184 | 185 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 186 | # GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 187 | # GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 188 | 189 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 190 | # wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 191 | # wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 192 | 193 | after_runtime: 194 | # this is executed after the runtime is added 195 | - | 196 | # Remove runtime info 197 | sed -i '/modules_dir/d' AppDir/AppRun.config 198 | 199 | runtime: 200 | version: v3.0.0-devel-2 201 | path_mappings: 202 | - /opt/wine-stable:$APPDIR/opt/wine-stable 203 | 204 | AppImage: 205 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-stable|wine-stable*.AppImage.zsync 206 | #sign-key: None 207 | arch: x86_64 208 | 209 | -------------------------------------------------------------------------------- /wine-staging.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | script: 4 | # Remove any previous build cache data 5 | - rm -rf AppDir || true 6 | - mkdir -p appimage-build/prime AppDir/winedata && cp wrapper AppDir 7 | # Add winetricks 8 | - wget -q "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks" -P ./AppDir/bin && chmod +x ./AppDir/bin/winetricks 9 | # Copy App icon to AppDir/usr/share/icons needed prior to appimage-builder ver 1.x.x 10 | - mkdir -p AppDir/usr/share/icons AppDir/usr/lib64 ; cp wine.svg AppDir/usr/share/icons 11 | # Add static appimage runtime 12 | - cp runtime/runtime-x86_64 appimage-build/prime/runtime-x86_64 13 | # Add config 14 | - cp -R config AppDir/winedata 15 | 16 | AppDir: 17 | path: ./AppDir 18 | 19 | app_info: 20 | id: org.winehq.wine 21 | name: wine 22 | icon: wine 23 | version: !ENV ${WINE_VER} 24 | exec: bin/bash 25 | exec_args: $APPDIR/wrapper $@ 26 | 27 | apt: 28 | arch: [amd64] 29 | sources: 30 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse' 31 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse' 32 | - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse' 33 | key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' 34 | - sourceline: 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' 35 | key_url: 'https://dl.winehq.org/wine-builds/winehq.key' 36 | # - sourceline: 'deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ jammy main' 37 | # key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xFCAE110B1118213C' 38 | - sourceline: 'deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu focal main' 39 | key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf63f0f2b90935439' 40 | 41 | include: 42 | - bash 43 | - cabextract 44 | - dash 45 | - coreutils 46 | - mesa-utils 47 | - unionfs-fuse 48 | - vulkan-tools 49 | - libmspack0 50 | 51 | files: 52 | exclude: 53 | - sbin 54 | - var 55 | - etc/alternatives 56 | - etc/apt 57 | - etc/cron.daily 58 | - etc/dpkg 59 | - etc/mysql 60 | - etc/sane.d 61 | - etc/sensors.d 62 | - etc/skel 63 | - etc/snmp 64 | - etc/udev 65 | - etc/gss 66 | - etc/init.d 67 | - etc/logrotate.d 68 | - lib/modprobe.d 69 | - lib/systemd 70 | - lib/udev 71 | - usr/lib/mime 72 | - usr/lib/sasl2 73 | - usr/lib/tmpfiles.d 74 | - usr/sbin 75 | - usr/share/apps 76 | - usr/share/man 77 | - usr/share/doc 78 | - usr/share/adduser 79 | - usr/share/apport 80 | - usr/share/bash-completion 81 | - usr/share/bug 82 | - usr/share/debconf 83 | - usr/share/doc 84 | - usr/share/doc-base 85 | - usr/share/dpkg 86 | - usr/share/glib-2.0 87 | - usr/share/gst-plugins-base 88 | - usr/share/hal 89 | - usr/share/info 90 | - usr/share/initramfs-tools 91 | - usr/share/kde4 92 | - usr/share/libgphoto2 93 | - usr/share/lintian 94 | - usr/share/menu 95 | - usr/share/metainfo 96 | - usr/share/mesa-demos 97 | - usr/share/mime 98 | - usr/share/misc 99 | - usr/share/mysql-common 100 | - usr/share/pixmaps 101 | - usr/share/pkgconfig 102 | - usr/share/polkit-1 103 | - usr/share/snmp 104 | - usr/share/zoneinfo 105 | - usr/share/zoneinfo-icu 106 | - usr/share/zsh 107 | - opt/wine-devel 108 | - opt/wine-staging/share/man 109 | - opt/wine-staging/share/applications 110 | - opt/wine-staging/lib/wine/i386-windows/*.a 111 | - opt/wine-staging/lib64/wine/x86_64-unix/*.a 112 | - opt/wine-staging/lib64/wine/x86_64-windows/*.a 113 | 114 | after_bundle: 115 | # this is executed after the packages and files are added 116 | - | 117 | # Patch wrapper script 118 | sed -i 's|wine-appimage|wine-appimage-staging|' AppDir/wrapper 119 | 120 | WINE_VER="$(wget -qO- https://github.com/mmtrt/Wine-Builds/releases/expanded_assets/latest | grep -Eo '[0-9].*xz"' | sed -r 's|-amd64| |' | head -1 | awk '{print $1}')" 121 | 122 | wget -q "https://github.com/mmtrt/Wine-Builds/releases/download/latest/wine-${WINE_VER}-staging-amd64.tar.xz" 123 | mkdir -p AppDir/opt ; (cd AppDir/opt ; tar -xf ../../*.tar.xz ; mv wine-* wine-staging) 124 | 125 | (cd AppDir/usr/bin; ln -s "../../opt/wine-staging/bin/"* .) 126 | 127 | # Cleanup 128 | rm -rf AppDir/usr/share/{applications,man,doc} 129 | rm -rf AppDir/opt/wine-staging/share/{applications,man,doc} 130 | rm -rf AppDir/opt/wine-staging/lib/wine/i386-windows/*.a 131 | rm -rf AppDir/opt/wine-staging/lib64/wine/x86_64-unix/*.a 132 | rm -rf AppDir/opt/wine-staging/lib64/wine/x86_64-windows/*.a 133 | 134 | # Disable FileOpenAssociations 135 | sed -i 's| LicenseInformation| LicenseInformation,\\\n FileOpenAssociations|g;$a \\n[FileOpenAssociations]\nHKCU,Software\\Wine\\FileOpenAssociations,"Enable",,"N"' AppDir/opt/wine-staging/share/wine/wine.inf 136 | 137 | # Disable winemenubuilder 138 | sed -i 's| FileOpenAssociations| FileOpenAssociations,\\\n DllOverrides|;$a \\n[DllOverrides]\nHKCU,Software\\Wine\\DllOverrides,"*winemenubuilder.exe",,""' AppDir/opt/wine-staging/share/wine/wine.inf 139 | sed -i '/\%11\%\\winemenubuilder.exe -a -r/d' AppDir/opt/wine-staging/share/wine/wine.inf 140 | 141 | # Pre patch CJK font replacement with Noto Sans CJK by defualt 142 | sed -i 's| DllOverrides| DllOverrides,\\\n FontReplacement|g;$a \\n[FontReplacement]\nHKCU,Software\\Wine\\Fonts\\Replacements,"Batang",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"BatangChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Dotum",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"DotumChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Gulim",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"GulimChe",,"Noto Sans CJK KR"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Light",,"Noto Sans CJK TC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft JhengHei UI Bold",,"Noto Sans CJK TC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Light",,"Noto Sans CJK SC Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Microsoft YaHei UI Bold",,"Noto Sans CJK SC Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MingLiU_HKSCS-ExtB",,"Noto Sans CJK HK"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS PGothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"MS UI Gothic",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"NSimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"PMingLiU-ExtB",,"Noto Sans CJK TC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimHei",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"SimSun-ExtB",,"Noto Sans CJK SC"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic Bold",,"Noto Sans CJK JP Black"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Regular",,"Noto Sans CJK JP"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Medium",,"Noto Sans CJK JP Medium"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Semilight",,"Noto Sans CJK JP DemiLight"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Light",,"Noto Sans CJK JP Light"\nHKCU,Software\\Wine\\Fonts\\Replacements,"Yu Gothic UI Bold",,"Noto Sans CJK JP Black"' AppDir/opt/wine-staging/share/wine/wine.inf 143 | 144 | # Deploy wine-mono wine-gecko 145 | # For future reference setting of MONO_VER see https://github.com/wine-mirror/wine/tree/stable of wine-stable 146 | MONO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'MONO_VERSION.*[0-9]"' | cut -d'"' -f2) 147 | GECKO_VER=$(wget "https://raw.githubusercontent.com/wine-mirror/wine/$(wget -qO- https://github.com/wine-mirror/wine/releases/tag/wine-${WINE_VER} | grep 'commit/' | sed -r 's|/wine-mirror/wine/commit/||g' | cut -d'"' -f2 | head -1)/dlls/appwiz.cpl/addons.c" -qO- | grep -Po 'GECKO_VERSION.*[0-9]"' | cut -d'"' -f2) 148 | 149 | case "$WINE_VER" in 150 | 3.0.1|3.0.2|3.0.3|3.0.4|3.0.5) 151 | GECKO_VER="2.47" 152 | MONO_VER="4.7.1" 153 | ;; 154 | 155 | 4.0.1|4.0.2|4.0.3|4.0.4) 156 | GECKO_VER="2.47" 157 | MONO_VER="4.7.5" 158 | ;; 159 | 160 | 5.0.1|5.0.2|5.0.3|5.0.4|5.0.5) 161 | GECKO_VER="2.47.1" 162 | MONO_VER="4.9.4" 163 | ;; 164 | 165 | 6.0.1|6.0.2|6.0.3|6.0.4) 166 | GECKO_VER="2.47.2" 167 | MONO_VER="5.1.1" 168 | ;; 169 | 170 | 7.0.1|7.0.2|7.0.3|7.0.4) 171 | GECKO_VER="2.47.2" 172 | MONO_VER="7.0.0-x86" 173 | ;; 174 | *) 175 | MONO_VER="$MONO_VER-x86" 176 | ;; 177 | esac 178 | 179 | # if [[ $(echo $GECKO_VER |sed -e 's/\.//g') -le 247 ]]; then 180 | # GECKO=wine_gecko-${GECKO_VER} 181 | # else 182 | # GECKO=wine-gecko-${GECKO_VER} 183 | # fi 184 | 185 | MONO_URL="https://dl.winehq.org/wine/wine-mono/$(cut -d'-' -f1 <<< ${MONO_VER})/wine-mono-${MONO_VER}.msi" 186 | # GECKO_URL_x86="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86.msi" 187 | # GECKO_URL_x86_64="https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/${GECKO}-x86_64.msi" 188 | 189 | wget -q "$MONO_URL" -O AppDir/winedata/wine-mono-${MONO_VER}.msi 190 | # wget -q "$GECKO_URL_x86" -O AppDir/winedata/${GECKO}-x86.msi 191 | # wget -q "$GECKO_URL_x86_64" -O AppDir/winedata/${GECKO}-x86_64.msi 192 | 193 | after_runtime: 194 | # this is executed after the runtime is added 195 | - | 196 | # Remove runtime info 197 | sed -i '/modules_dir/d' AppDir/AppRun.config 198 | 199 | runtime: 200 | version: v3.0.0-devel-2 201 | path_mappings: 202 | - /opt/wine-staging:$APPDIR/opt/wine-staging 203 | 204 | AppImage: 205 | update-information: gh-releases-zsync|mmtrt|WINE_AppImage|continuous-staging|wine-staging*.AppImage.zsync 206 | #sign-key: None 207 | arch: x86_64 208 | 209 | -------------------------------------------------------------------------------- /wrapper: -------------------------------------------------------------------------------- 1 | # WINE env 2 | export WINE="$APPDIR/usr/bin/wine" 3 | export WINEDEBUG=${WINEDEBUG:-"fixme-all"} 4 | export WINEPREFIX=${WINEPREFIX:-"$HOME/.wine-appimage"} 5 | export WINESERVER="$APPDIR/usr/bin/wineserver" 6 | 7 | # DXVK env 8 | export DXVK_HUD=${DXVK_HUD:-"0"} 9 | export DXVK_LOG_LEVEL=${DXVK_LOG_LEVEL:-"none"} 10 | export DXVK_STATE_CACHE=${DXVK_STATE_CACHE:-"0"} 11 | export DXVK_CONFIG_FILE=${DXVK_CONFIG_FILE:-"$progHome/dxvk.conf"} 12 | 13 | # check gpu vendor 14 | VENDOR=$(glxinfo -B | grep "OpenGL vendor") 15 | 16 | if [[ $VENDOR == *"Intel"* ]]; then 17 | export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/intel_icd.i686.json:/usr/share/vulkan/icd.d/intel_icd.x86_64.json" 18 | elif [[ $VENDOR == *"NVIDIA"* ]]; then 19 | export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/nvidia_icd.json" 20 | elif [[ $VENDOR == *"Radeon"* ]]; then 21 | export VK_ICD_FILENAMES="/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json" 22 | fi 23 | 24 | if [ ! -d "$WINEPREFIX" ]; then 25 | 26 | if [ ! -d "$HOME"/.cache/wine ]; then 27 | mkdir -p "$HOME"/.cache/wine 28 | fi 29 | 30 | # Remove old created links 31 | find "$HOME/.cache/wine/" -type l -delete &>/dev/null 32 | 33 | if [ ! -f "$HOME"/.cache/wine/"$(ls $APPDIR/winedata/ | grep mono)" ]; then 34 | ln -s $APPDIR/winedata/wine-mono-*.msi "$HOME"/.cache/wine/ 35 | fi 36 | 37 | if [ $(ls $APPDIR/winedata/ | grep gecko | head -1 | grep -c "e_g") -eq 1 ]; then 38 | GECKO=$(ls $APPDIR/winedata/ | grep gecko | head -1 | cut -d'-' -f2) 39 | else 40 | GECKO=$(ls $APPDIR/winedata/ | grep gecko | head -1 | cut -d'-' -f3) 41 | fi 42 | 43 | for wg in wine-gecko-${GECKO}-x86.msi wine-gecko-${GECKO}-x86_64.msi wine_gecko-${GECKO}-x86.msi wine_gecko-${GECKO}-x86_64.msi ; do 44 | if [[ ! -f "$HOME"/.cache/wine/$wg && -f $APPDIR/winedata/$wg ]]; then 45 | ln -s $APPDIR/winedata/$wg "$HOME"/.cache/wine/ 46 | fi 47 | done 48 | 49 | # Better support for CJK fonts. 50 | if (locale | grep 'LANG=ja_JP') >/dev/null 2>&1; then 51 | "$APPDIR/usr/bin/wine" regedit "$APPDIR/winedata/config/noto-sans-cjk-jp.reg" 52 | sleep 1 53 | elif (locale | grep 'LANG=ko_KR') >/dev/null 2>&1; then 54 | "$APPDIR/usr/bin/wine" regedit "$APPDIR/winedata/config/noto-sans-cjk-kr.reg" 55 | sleep 1 56 | elif (locale | grep -e 'LANG=zh_CN' -e 'LANG=zh_SG') >/dev/null 2>&1; then 57 | "$APPDIR/usr/bin/wine" regedit "$APPDIR/winedata/config/noto-sans-cjk-sc.reg" 58 | sleep 1 59 | elif (locale | grep 'LANG=zh_HK') >/dev/null 2>&1; then 60 | "$APPDIR/usr/bin/wine" regedit "$APPDIR/winedata/config/noto-sans-cjk-hk.reg" 61 | sleep 1 62 | elif (locale | grep -e 'LANG=zh_MO' -e 'LANG=zh_TW') >/dev/null 2>&1; then 63 | "$APPDIR/usr/bin/wine" regedit "$APPDIR/winedata/config/noto-sans-cjk-tc.reg" 64 | sleep 1 65 | fi 66 | 67 | fi 68 | 69 | # Load winecfg if no arguments given 70 | APPLICATION="" 71 | if [ -z "$*" ] ; then 72 | APPLICATION="winecfg" 73 | fi 74 | 75 | # Allow the AppImage to be symlinked to e.g., /usr/bin/wineserver 76 | if [ -n "$APPIMAGE" ] ; then 77 | BINARY_NAME=$(basename "$ARGV0") 78 | else 79 | BINARY_NAME=$(basename "$0") 80 | fi 81 | 82 | if [ -n "$1" ] && [ -e "$APPDIR/bin/$1" ] ; then 83 | MAIN="$APPDIR/bin/$1" ; shift 84 | elif [ -n "$1" ] && [ -e "$APPDIR/usr/bin/$1" ] ; then 85 | MAIN="$APPDIR/usr/bin/$1" ; shift 86 | elif [ -e "$APPDIR/bin/$BINARY_NAME" ] ; then 87 | MAIN="$APPDIR/bin/$BINARY_NAME" 88 | elif [ -e "$APPDIR/usr/bin/$BINARY_NAME" ] ; then 89 | MAIN="$APPDIR/usr/bin/$BINARY_NAME" 90 | else 91 | MAIN="$APPDIR/usr/bin/wine" 92 | fi 93 | 94 | if [ -z "$APPLICATION" ] ; then 95 | "$MAIN" "$@" 96 | else 97 | "$MAIN" "$APPLICATION" 98 | fi --------------------------------------------------------------------------------