Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak release 1.6.19 #96

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
image:
- Visual Studio 2019
- macOS

environment:
matrix:
- MACEMU_PROJECT: BasiliskII
- MACEMU_PROJECT: SheepShaver

for:
-
matrix:
only:
- image: Visual Studio 2019

environment:
MSYS2_DIR: C:\msys64
MSYS2_BIN: $(MSYS2_DIR)\usr\bin
MSYS2_PLATFORM: MINGW32

install:
- '%MSYS2_BIN%\env %MSYS2_BIN%\bash -lc ''/usr/bin/pacman -Sy --noconfirm'' '
# After installing a package with pacman -S, check that it is actually installed with pacman -Qi
# because pacman -S reports success even if the package install failed when some necessary package downloads timed out
- '%MSYS2_BIN%\env %MSYS2_BIN%\bash -lc ''/usr/bin/pacman -S --noconfirm mingw-w64-i686-gtk2'' '
- '%MSYS2_BIN%\env %MSYS2_BIN%\bash -lc ''/usr/bin/pacman -Qi mingw-w64-i686-gtk2'' '
- '%MSYS2_BIN%\env %MSYS2_BIN%\bash -lc ''/usr/bin/pacman -S --noconfirm mingw-w64-i686-SDL2'' '
- '%MSYS2_BIN%\env %MSYS2_BIN%\bash -lc ''/usr/bin/pacman -Qi mingw-w64-i686-SDL2'' '

cache:
- $(MSYS2_DIR)\var\cache\pacman\pkg # downloaded MSYS2 pacman packages

build_script:
- if %MACEMU_PROJECT%==SheepShaver %MSYS2_BIN%\env MSYSTEM=%MSYS2_PLATFORM% %MSYS2_BIN%\bash -lc 'cd /c/projects/%APPVEYOR_PROJECT_NAME%/%MACEMU_PROJECT%; make links'
- '%MSYS2_BIN%\env MSYSTEM=%MSYS2_PLATFORM% %MSYS2_BIN%\bash -lc ''cd /c/projects/%APPVEYOR_PROJECT_NAME%/%MACEMU_PROJECT%/src/Windows; ../Unix/autogen.sh'' '
- '%MSYS2_BIN%\env MSYSTEM=%MSYS2_PLATFORM% %MSYS2_BIN%\bash -lc ''cd /c/projects/%APPVEYOR_PROJECT_NAME%/%MACEMU_PROJECT%/src/Windows; make'' '

after_build:
- cd %MACEMU_PROJECT%\src\Windows
- 7z a ..\..\..\%MACEMU_PROJECT%.zip %MACEMU_PROJECT%*.exe

artifacts:
- path: $(MACEMU_PROJECT)\src\Windows\config.log
- path: $(MACEMU_PROJECT).zip
name: $(MACEMU_PROJECT)

-
matrix:
only:
- image: macOS
MACEMU_PROJECT: BasiliskII

environment:
SDL_VERSION: 2.0.14

install:
- test -e "SDL2-$SDL_VERSION.dmg" || curl -O http://www.libsdl.org/release/SDL2-$SDL_VERSION.dmg
- sudo hdiutil attach SDL2-$SDL_VERSION.dmg
- sudo cp -r /Volumes/SDL2/SDL2.framework /Library/Frameworks/
# - brew update
# - HOMEBREW_NO_AUTO_UPDATE=1 brew install mpfr

cache:
- SDL2-$SDL_VERSION.dmg

build_script:
- cd $MACEMU_PROJECT/src/MacOSX
- xcodebuild -project $MACEMU_PROJECT.xcodeproj -scheme $MACEMU_PROJECT -configuration Release build SYMROOT=. CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO
- rm -rf Release/gencpu_output* Release/*.a
- hdiutil create ../../../$MACEMU_PROJECT.dmg -ov -volname $MACEMU_PROJECT -fs HFS+ -srcfolder Release/

artifacts:
- path: $MACEMU_PROJECT.dmg
name: $MACEMU_PROJECT

-
matrix:
only:
- image: macOS
MACEMU_PROJECT: SheepShaver

install:
# - brew update
- HOMEBREW_NO_AUTO_UPDATE=1 brew install sdl2 gtk+
- HOMEBREW_NO_AUTO_UPDATE=1 brew link sdl2 gtk+

cache:
- /usr/local/Cellar

build_script:
- cd $MACEMU_PROJECT
- make links
- cd src/Unix
- ./autogen.sh
- make
- tar -cJvf ../../../$MACEMU_PROJECT.tar.xz $MACEMU_PROJECT

artifacts:
- path: $MACEMU_PROJECT.tar.xz
name: $MACEMU_PROJECT
61 changes: 61 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
language: cpp

# Do not build branches of the form "pr/*". By prefixing pull requests coming
# from branches inside the repository with pr/, this avoids building both the
# branch push _and_ the pull request.
# Based on https://github.com/boostorg/hana/blob/master/.travis.yml
branches:
except: /pr\/.*/

jobs:
include:
- os: linux
arch: amd64
dist: bionic
sudo: required
compiler: gcc
env: BADGE=amd64-linux-basiliskii
addons:
apt:
packages:
- libgtk2.0-dev
- libsdl2-dev
script:
- cd BasiliskII/src/Unix
- NO_CONFIGURE=1 ./autogen.sh
- ./configure --with-mon
- make
- os: linux
arch: arm64
dist: bionic
sudo: required
compiler: gcc
env: BADGE=arm64-linux-basiliskii
addons:
apt:
packages:
- libgtk2.0-dev
- libsdl2-dev
script:
- cd BasiliskII/src/Unix
- NO_CONFIGURE=1 ./autogen.sh
- ./configure --with-mon
- make
- os: linux
arch: amd64
dist: bionic
sudo: required
compiler: gcc
env: BADGE=amd64-linux-sheepshaver
addons:
apt:
packages:
- libgtk2.0-dev
- libsdl2-dev
script:
- cd SheepShaver
- make links
- cd src/Unix
- NO_CONFIGURE=1 ./autogen.sh
- ./configure --with-mon
- make
3 changes: 1 addition & 2 deletions BasiliskII/BasiliskII.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ Some features of Basilisk II:
- Serial drivers
- SCSI Manager (old-style) emulation
- Emulates extended ADB keyboard and 3-button mouse
- Uses UAE 68k emulation or (under AmigaOS and NetBSD/m68k) real 68k
processor
- Uses UAE 68k emulation or real 68k processor

%prep
%setup -q
Expand Down
56 changes: 0 additions & 56 deletions BasiliskII/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ RELEASE := $(shell sed <BasiliskII.spec -n '/^\%define release */s///p')
VERNAME := BasiliskII-$(VERSION)

SRCARCHIVE := $(shell date +BasiliskII_src_%d%m%Y.tar.gz)
AMIGAARCHIVE := $(VERNAME)-$(RELEASE).amiga.lzh
BEOSPPCARCHIVE := $(VERNAME)-$(RELEASE).beosppc.zip
BEOSX86ARCHIVE := $(VERNAME)-$(RELEASE).beosx86.zip
MACOSXARCHIVE := $(VERNAME)-$(RELEASE).tar.gz

TMPDIR := $(shell date +/tmp/build%M%S)
Expand All @@ -27,14 +24,10 @@ help:
@echo "The following targets are available:"
@echo " tarball source tarball ($(SRCARCHIVE))"
@echo " rpm source and binary RPMs"
@echo " amiga AmigaOS binary archive ($(AMIGAARCHIVE))"
@echo " beosppc BeOS/ppc binary archive ($(BEOSPPCARCHIVE))"
@echo " beosx86 BeOS/x86 binary archive ($(BEOSX86ARCHIVE))"
@echo " macosx MacOS X binary archive ($(MACOSXARCHIVE))"

clean:
-rm -f $(SRCARCHIVE)
-rm -f $(AMIGAARCHIVE) $(BEOSPPCARCHIVE) $(BEOSX86ARCHIVE)

#
# Source tarball
Expand All @@ -59,55 +52,6 @@ $(SRCARCHIVE): $(SRCS) $(DOCS)
rpm: $(SRCARCHIVE)
rpmbuild -ta --clean $(SRCARCHIVE)

#
# Binary archive for AmigaOS
#
amiga: $(AMIGAARCHIVE)

$(AMIGAARCHIVE): $(SRCS) $(DOCS) src/AmigaOS/BasiliskII
-rm -rf $(TMPDIR)
mkdir $(TMPDIR)
mkdir $(TMPDIR)/$(VERNAME)
cp $(DOCS) $(TMPDIR)/$(VERNAME)
cp src/AmigaOS/BasiliskII $(TMPDIR)/$(VERNAME)
cp src/AmigaOS/BasiliskII.info $(TMPDIR)/$(VERNAME)
chmod 775 $(TMPDIR)/$(VERNAME)/BasiliskII
cd $(TMPDIR); lha a $@ $(VERNAME)
mv $(TMPDIR)/$@ .
rm -rf $(TMPDIR)

#
# Binary archive for BeOS/ppc
#
beosppc: $(BEOSPPCARCHIVE)

$(BEOSPPCARCHIVE): $(SRCS) $(DOCS) src/BeOS/obj.ppc/BasiliskII
-rm -rf $(TMPDIR)
mkdir $(TMPDIR)
mkdir $(TMPDIR)/$(VERNAME)
cp $(DOCS) $(TMPDIR)/$(VERNAME)
cp src/BeOS/obj.ppc/BasiliskII $(TMPDIR)/$(VERNAME)
mimeset -f $(TMPDIR)
cd $(TMPDIR); zip -ry $@ $(VERNAME)/
mv $(TMPDIR)/$@ .
rm -rf $(TMPDIR)

#
# Binary archive for BeOS/x86
#
beosx86: $(BEOSX86ARCHIVE)

$(BEOSX86ARCHIVE): $(SRCS) $(DOCS) src/BeOS/obj.x86/BasiliskII
-rm -rf $(TMPDIR)
mkdir $(TMPDIR)
mkdir $(TMPDIR)/$(VERNAME)
cp $(DOCS) $(TMPDIR)/$(VERNAME)
cp src/BeOS/obj.x86/BasiliskII $(TMPDIR)/$(VERNAME)
mimeset -f $(TMPDIR)
cd $(TMPDIR); zip -ry $@ $(VERNAME)/
mv $(TMPDIR)/$@ .
rm -rf $(TMPDIR)

#
# Binary archive for MacOS X
#
Expand Down
Binary file removed BasiliskII/src/AmigaOS/BasiliskII.info
Binary file not shown.
64 changes: 0 additions & 64 deletions BasiliskII/src/AmigaOS/Makefile

This file was deleted.

Loading