138 Commits

Author SHA1 Message Date
Dimitris Panokostas
357cb2de4a
bugfix: fix bundled plugins on MacOS (#1540) (#1541)
The bundled plugins of capsimg and floppybridge, were not included in the final app bundle.
Furthermore, they need to be signed with the same digital certificate, otherwise MacOS will block them from loading.
2024-12-19 16:38:38 +01:00
Dimitris Panokostas
95e54b5af7
ci: more artifact filename fixes 2024-11-27 19:23:24 +01:00
Dimitris Panokostas
39b2d48e5c
ci: zip packages for release, with unique names
Artifacts need separate names, easiest way is to zip them
2024-11-27 18:28:09 +01:00
Dimitris Panokostas
f440f72c92
ci: refactor artifacts handling for release as well 2024-11-27 12:39:05 +01:00
Dimitris Panokostas
e4044faf3b
ci: refactor artifacts handling for pre-release
[skip ci]
2024-11-27 12:34:12 +01:00
Dimitris Panokostas
4d258d720b
ci: pick up artifacts from directories 2024-11-27 12:13:39 +01:00
Dimitris Panokostas
1d43b414ce
ci: pre-release use artifacts with wildcard 2024-11-27 11:53:05 +01:00
Dimitris Panokostas
9d0c218429
ci: added missing team ID 2024-11-22 00:46:20 +01:00
Dimitris Panokostas
a197c86218
ci: added notary service steps 2024-11-22 00:36:07 +01:00
Dimitris Panokostas
10fe3646cb
ci: fix macOS signing 2024-11-22 00:04:40 +01:00
Dimitris Panokostas
0fe6e54a87
ci: Add Apple certificate signing to dylibs and app bundle 2024-11-21 23:53:00 +01:00
Dimitris Panokostas
0344272981
ci: Added missing create keychain step 2024-11-21 20:29:38 +01:00
Dimitris Panokostas
935fcda4bd
ci: add apple signing certificate setup in workflow 2024-11-21 20:09:34 +01:00
Dimitris Panokostas
b7077ac49a
chore: remove opencollective links 2024-11-05 22:19:13 +01:00
Dimitris Panokostas
bd11afa5bc
Update c-cpp.yml 2024-11-01 16:51:31 +01:00
Dimitris Panokostas
698ca83394
ci: add libenet-dev to Ubuntu builds 2024-10-29 22:41:04 +01:00
Dimitris Panokostas
c2bdca40fe
ci: added new lib dependency in macOS runners
- enet library is now required
2024-10-29 22:34:47 +01:00
Dimitris Panokostas
2f3a353c3f
enhancement: improved icon, added svg version (#1463)
* enhancement: improved icon, added svg version

* enhancement: Use the MacOS-specific icon

* bugfix: Fixed description file
2024-10-08 22:56:48 +02:00
Dimitris Panokostas
3c6f62acbb
ci: RPM files have dashes instead of underscores 2024-10-06 19:21:07 +02:00
Dimitris Panokostas
35c02ace7d
ci: specify package format for each target 2024-10-06 19:03:25 +02:00
Dimitris Panokostas
81fe61af91
ci: added Fedora RPM builds 2024-10-06 18:53:20 +02:00
Dimitris Panokostas
fed7088428
ci: specify install prefix during configure step 2024-10-02 22:42:55 +02:00
Dimitris Panokostas
add4a3b6b7
ci: remove auto-assign workflow 2024-10-02 16:30:47 +02:00
Dimitris Panokostas
56af4867d7
ci: add ubuntu builds to the releases 2024-10-01 11:56:29 +02:00
Dimitris Panokostas
e61cabed00
ci: add ubuntu builds 2024-10-01 11:50:07 +02:00
Dimitris Panokostas
eb104c176b
chore: added codeowners file
[skip ci]
2024-10-01 09:38:23 +02:00
Dimitris Panokostas
5b73383c64
Revert "chore: add authors pipeline (#1447)"
This reverts commit 11be090d9d2388307aa35f26e6a56460d5a53836.
[skip ci]
2024-10-01 09:30:47 +02:00
Dimitris Panokostas
11be090d9d
chore: add authors pipeline (#1447) 2024-10-01 09:20:12 +02:00
Dimitris Panokostas
0a7806e15b
chore: remove authors pipeline
this needs to come in as a PR apparently
2024-10-01 09:06:41 +02:00
Dimitris Panokostas
4c68534497
Create authors.yml 2024-10-01 08:50:42 +02:00
Dimitris Panokostas
6e84d721c9
Macos bundle (#1446)
* refactor: macOS bundle changes

- Move macos build files in separate directory
- Harmonize logic of creating folders on startup between MacOS and Linux versions
- Removed macos_init_amiberry.zsh script, no longer needed

* ci: enable builds on all pushes and pull requests

* ci: build on every push, not just tags

* build: fix some paths

* Added cmake macosx bundle options

* Fixes for macOS directory detections

* build: fix path to template file

* Escape paths in macOS Library directory

* build: when compiling on macOS, capitalize project name

* ci: use CMake to prepare macOS bundles

* ci: fix path for macOS bundle

* ci: remove CPack options for macOS (not needed)

The build already produces an app bundle now, so there's no need for Cpack as well for this platform

* ci: don't include the build dir in the macOS zip

* ci: fix path to macOS artifact

* ci: fix macOS x86 zip path

* build: add a few more properties in the plist file

* build: combine macOS and Linux options where possible

* build: added man file (fixes #1445)

* ci: build macOS packages the same way as Linux Deb ones

* ci: also change apple silicon build

* build: fix macos bundle packaging from cmake

* refactor: reorganize CPack entries

- reorganized cpack entries in more logical order
- added DMG background image

* refactor: improved icon

* bugfix: fixed applescript .app reference

* build: maybe we don't need the RPATH change anymore

* build: skip install step in bundled libs, do it from the root one only

* refactor: use .dylib for macOS libs, look for them in Frameworks directory

* build: fix destination folder of DEB assets

* build: remove Makefiles and obsolete files

* refactor: data_dir in macOS should be in Resources

* refactor: some dirs should not be in the config file

- data dir is determined on startup, having it in the config file will only make things worse
- path dir doesn't seem to be necessary to save/load
- config path as well
2024-09-30 18:38:55 +02:00
Dimitris Panokostas
40e73ea8ae
1440 create home directories on startup (#1443)
* build: move gamecontrollerdb.txt to controllers directory

* enhancement: create home directories if they don't exist

- After the directories have been decided (data, home, config), create those in the specified HOME directory, if they don't exist
- If they didn't exist, and we had the original contents installed in /usr/share/amiberry/<dir>, copy those over and change permissions. This ensures that the distributed files like the AROS ROMs, the WHDLoad booter and the controllerdb files, are always there in the home dir.

* chore: we no longer need to copy all the directories in the package

Now that we create the home directories on startup, we don't need the empty ones in the package anymore.
Only those that contain something can stay

* build: add stripping of binaries

* chore: ignore .idea folder

* bugfix: WHDLoad booter A1200 config was incorrect

After the additional entries in A1200 configs and models, the booter was set to incorrectly use a config with a Blizzard accelerator. Since that requires a board ROM, which might not be available, it has to change.

Using the default A1200 config instead, and setting Fast RAM to 8MB after that.

* build: install icon in shared location

When preparing the .deb package, the application icon should go in the /usr/share/icons/hicolor/... location, to adhere with established standards

* build: use ~/Amiberry instead of ~/.amiberry

Perhaps it's best to use a non-hidden folder for amiberry directories, make it easier on the users to find it

* refactor: use ~/Amiberry/conf instead of ~/.config/amiberry for config files

* refactor: change desktop file icon reference

Should be possible to use just "amiberry" now, that the icon file is copied in the right location

* chore: fix references to github.com/midwan -> github.com/BlitterStudio

* refactor: move plugins dir to /usr/lib/amiberry in the .deb package

If we are using a system-wide installation, with the .deb package, use /usr/lib/amiberry for plugins.
Check the HOME/Amiberry/plugins next, create it if necessary.
Fallback to the startup directory if that's not available (probably never).

* refactor: only move the abr folder in the destination plugins

When using the .deb package, only the abr folder should be copied in the destination.
Otherwise, we get a plugins directory created there as well

* refactor: Change Kickstarts to Roms

The Kickstarts directory can contain different kind of ROMs, not only kickstarts.
It's best if we rename it accordingly

* build: CPack updates

- Removed unneeded line
- added CPACK_DEBIAN_PACKAGE_ARCHITECTURE
- Added Extended Description
- Fixed description starts with package name

* ci: rename architectures properly

Let's keep the names identical to what dpkg reports

* build: fix some lintian errors

- location of plugins
- section

* build: added copyright and changelog in DEB

* build: fix location of debian files

* build: add copyright notice, fix changelog

* build: changelog should be compressed

* build: extend the description

* build: make the description lines shorter...

* build: description should not be longer than 80 chars

* build: remove timestamp from changelog

Fix another lintian complaint

* build: description again

* bugfix: the plugins dir was not correctly set

* refactor: Updated desktop entry to handle MimeTypes

* build: remove duplicate key in desktop file

* build: add more mimetypes to desktop file
2024-09-28 09:54:50 +02:00
Dimitris Panokostas
6846dac813
ci: fixed case 2024-09-25 15:21:01 +02:00
Dimitris Panokostas
97ae4b3791
ci: no need to checkout submodules for macos builds anymore 2024-09-25 15:14:53 +02:00
Dimitris Panokostas
45ce0ac86d
ci: set up an auto-assign rule 2024-09-24 14:45:17 +02:00
Dimitris Panokostas
d0056f77cd
Merge Preview v6.x to master
V5 now lives in a separate repo: https://github.com/BlitterStudio/amiberry-lite
2024-09-23 19:42:29 +02:00
dependabot[bot]
754e524bea
build(deps): bump actions/download-artifact in /.github/workflows (#1419)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.2 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.2...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 08:02:50 +02:00
Dimitris Panokostas
0cc9b55a43
refactor: Move "abr" under plugins directory
- Handle "abr" as one of the plugins, instead of having it living on a directory in the home dir.
- Moved directory, updated paths and macOS scripts accordingly.
- get_plugin_path() now returns the actual plugins path
2024-09-02 21:30:52 +02:00
Dimitris Panokostas
576a2d2e65
ci: Remove Manjaro RPI4 target from releases
Only AmiKit was using that, and it moved to Debian12 with the new update
2024-09-01 18:11:43 +02:00
Dimitris Panokostas
471fb51cb2
Fix capsimg (#1374)
* Remove capsimg submodule

* Add capsimg sources

* Add dependencies in Makefile and CMakeLists.txt to build libcapsimage.so

* Fix path in makefile

* Add libs to make clean also

* Automatically build capsimg as well

* Remove extra step to build capsimg from pipeline
2024-06-28 00:14:08 +02:00
Dimitris Panokostas
96dd8d083b
Update c-cpp.yml 2024-06-16 19:52:19 +02:00
Dimitris Panokostas
eee5bacccf
Update c-cpp.yml 2024-06-16 19:48:46 +02:00
Dimitris Panokostas
ca3d06dc3d
Update c-cpp.yml 2024-06-16 19:43:41 +02:00
Dimitris Panokostas
054b8fb7f9
Update c-cpp.yml
Try adding a `brew upgrade` step
2024-06-16 19:38:57 +02:00
Dimitris Panokostas
8c14ac43c8
ci: fix apple silicon build 2024-06-13 22:37:55 +02:00
Dimitris Panokostas
66c41f823b
ci: Rename macOS M1 to macOS Apple Silicon 2024-06-13 22:28:37 +02:00
Dimitris Panokostas
73d3fc0e8c
Package macOS bundles on each build 2024-06-11 15:43:46 +02:00
Dimitris Panokostas
9c3f9efac5
ci: Removed Buster platforms from pipeline targets
Debian Buster is EOL soon, might as well remove it from the pipelines
2024-06-04 19:38:35 +02:00
Dimitris Panokostas
1e081a3728
feat: Merge latest updates from master
- Merged latest FloppyBridge version
- FloppyBridge is now an external library (plugin)
- Added plugins directory, for external libraries (capsimg.so, libfloppybridge.so)
- Updated Makefile and CMakeLists files
- Other minor updates from preview
2024-05-24 16:45:50 +02:00
Dimitris Panokostas
52656e0ce4
bugfix: add missing directories in packaging (fixes #1306) 2024-05-06 21:50:55 +02:00