14 Commits

Author SHA1 Message Date
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
6b01384402
ci: fix floppybridge CMake version 2024-09-25 07:57:32 +02:00
Dimitris Panokostas
00306d493e
build: added install targets for guisan and floppybridge 2024-09-12 03:01:54 +02:00
Dimitris Panokostas
41d1274796
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:13:43 +02:00
Dimitris Panokostas
07fe744be0
ci: change copying of floppybridge lib, do it on the root CMake file instead 2024-06-04 17:27:48 +02:00
Dimitris Panokostas
791559be94
Revert "ci: change destination of floppybridge library"
This reverts commit af14d197d903bda10b74ffe24515715eb6cb00c0.
2024-06-04 09:44:46 +02:00
Dimitris Panokostas
ff37b3be69
Revert "Try to fix the relative path once more"
This reverts commit 9946d56cc36b5bfee7c976280d02bcab25021223.
2024-06-04 09:32:24 +02:00
Dimitris Panokostas
9946d56cc3
Try to fix the relative path once more 2024-06-04 08:52:31 +02:00
Dimitris Panokostas
af14d197d9
ci: change destination of floppybridge library
It should be the top-level source dir, not the floppybridge one
2024-06-04 00:08:38 +02:00
Dimitris Panokostas
9a831c2a15
ci: avoid relative paths for placing floppybridge library
Apparently, this won't work everywhere - flatpak failed with the relative paths
2024-06-03 23:05:40 +02:00
Dimitris Panokostas
7d4403b941
build: fix CMake copy of floppybridge lib destination path 2024-06-03 19:48:46 +02:00
Dimitris Panokostas
795dd8dc96
ci: CMake will now copy libfloppybridge.so into plugins when finished 2024-06-03 19:34:38 +02:00
Dimitris Panokostas
334423d0fc
ci: allow floppybridge to use older CMake versions also (3.13 for buster) 2024-05-24 15:44:15 +02:00
Dimitris Panokostas
f35761751f
Update floppybridge to latest version (#1313)
* Update FloppyBridge code to 1.6

- Updated FloppyBridge code to latest version (1.6)
- Moved floppybridge files to externals, build it as a library
- Created CMakeLists file for floppybridge

* Added floppybridge in Makefile

* Add libfloppybridge to CI and macOS packaging

* bugfix: FloppyBridge - Fixed an issue where removing a disk while the motor was switched on caused a crash, and also failed to detect a disk change

* Updated floppybridge to latest version

* Remove unused variable

* Rename Fast profile to Normal

* Minor updates

* Moved floppybridge includes under src
2024-05-09 10:46:13 +02:00