Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
merlijn-sebrechts committed Jun 29, 2020
0 parents commit 539d11d
Show file tree
Hide file tree
Showing 10 changed files with 666 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .build-trigger.txt
@@ -0,0 +1,2 @@
2018-09-17-08:13:59
2018-09-17-10:19:50
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
parts/
prime/
stage/
snap/.snapcraft
*.snap
squashfs-root
33 changes: 33 additions & 0 deletions .travis.yml
@@ -0,0 +1,33 @@
language: bash
dist: xenial

env:
global:
- LC_ALL: C.UTF-8
- LANG: C.UTF-8
- SNAPCRAFT_ENABLE_SILENT_REPORT: y
- SNAPCRAFT_ENABLE_DEVELOPER_DEBUG: y

addons:
snaps:
- name: snapcraft
channel: stable
classic: true
- name: http
- name: transfer
- name: lxd
channel: stable

script:
- sudo apt update
- sudo /snap/bin/lxd.migrate -yes
- sudo /snap/bin/lxd waitready
- sudo /snap/bin/lxd init --auto
- mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
- sudo snapcraft --use-lxd
after_success:
- cp *.snap "$(echo "$TRAVIS_REPO_SLUG" | sed -e 's|.*/\(.*\)|\1|')-pr$TRAVIS_PULL_REQUEST.snap"
- timeout 180 /snap/bin/transfer "$(echo "$TRAVIS_REPO_SLUG" | sed -e 's|.*/\(.*\)|\1|')-pr$TRAVIS_PULL_REQUEST.snap"
after_failure:
- sudo journalctl -u snapd
- http https://api.snapcraft.io/v2/snaps/info/core architecture==amd64 Snap-Device-Series:16
502 changes: 502 additions & 0 deletions COPYING

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions README.md
@@ -0,0 +1,30 @@
<h1 align="center">
<img src="snap/gui/photoscape.png" alt="PhotoScape" width='256px'>
<br />
PhotoScape is a fun and easy photo editing software that enables you to fix and enhance photos.
</h1>

<p align="center"><b>This is the snap for PhotoScape</b>. It works on
Ubuntu, Fedora, Debian, and other major Linux distributions.<b>This snap is
experimental, built with development releases of upstream WINE and may not
function as expected. If you encounter issues please report them is this
GitHub project.</b></p>

<p align="center">Published for <img src="http://anything.codes/slack-emoji-for-techies/emoji/tux.png" align="top" width="24" /> with :gift_heart: by Snapcrafters</p>

<!-- <p align="center">
<a href="https://build.snapcraft.io/user/snapcrafters/steamforwindows"><img src="https://build.snapcraft.io/badge/snapcrafters/steamforwindows.svg" alt="Snap Status"></a>
</p> -->

## Install

snap install photoscape
snap connect photoscape:removable-media

([Don't have snapd installed?](https://snapcraft.io/docs/core/install))

![PhotoScape](screenshot.png?raw=true "PhotoScape")

## Reusing this snap

This snap is built from the "steamforwindows" snap. Look at the repo for instructions on how to snap your own Windows application: <https://github.com/snapcrafters/steamforwindows>.
Binary file added installer/setupbdv16j.exe
Binary file not shown.
Binary file added screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions snap/gui/bridge-designer.desktop
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Bridge Designer 2016
Exec=bridge-designer %F
Icon=${SNAP}/meta/gui/bridge-designer.png
Terminal=false
StartupNotify=true
StartupWMClass=bdv16j243.exe
Binary file added snap/gui/bridge-designer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions snap/snapcraft.yaml
@@ -0,0 +1,84 @@
name: bridge-designer
title: The Bridge Designer 2016
version: "v16j243"
summary: "Design a highway truss bridge: a realistic introduction to engineering"
description: |
The Bridge Designer will provide you with a realistic introduction to engineering through an authentic, hands-on design experience. This software provides you with the tools to model, test, and optimize a steel highway bridge, based on realistic specifications, constraints, and performance criteria.
Note: This snap uses the Wine compatibility layer to run this Windows application on Linux.
grade: stable

base: core18
confinement: strict

architectures:
- build-on: amd64

environment:
WINEDLLOVERRIDES: "$WINEDLLOVERRIDES;mscoree,mshtml=" # Prevent pop-ups about Wine Mono and Wine Gecko
SNAP_SOMMELIER_STRICT: "1" # Make Sommelier exit when unset variable is used. (useful to find bugs)
DEFAULT_THEME: "1"

apps:
bridge-designer:
extensions: [ gnome-3-28 ]
command: bin/sommelier run-exe
environment:
RUN_EXE: "C:/Program Files (x86)/Bridge Designer 2016 (2nd Edition)/bdv16j243.exe"
INSTALL_EXE: "$SNAP/setupbdv16j.exe"
INSTALL_FLAGS: "/S"
plugs:
- home
- network
- network-bind
- opengl
# The wine command can be used to run applications inside the wine
# environment that this snap uses.
#
# For example, users can configure the wine environment of this snap
# by running `myapp.wine winecfg`.
wine:
extensions: [ gnome-3-28 ]
command: bin/sommelier
plugs:
- home
- network
# The winetricks command can be used to run winetricks inside the wine
# environment that this snap uses.
winetricks:
extensions: [ gnome-3-28 ]
command: bin/sommelier winetricks
plugs:
- network

parts:
installer:
plugin: dump
source: installer

# The sommelier script helps you snap Windows applications using Wine. It
# initialises and configures Wine and installs the Windows application.
#
# This part is copied straight from the sommelier-core repository. Please
# periodically check the source for updates and copy the changes.
# https://github.com/snapcrafters/sommelier-core
#
sommelier:
plugin: make
source: https://github.com/snapcrafters/sommelier-core.git

# These plugs are used to connect the snap to the wine runtime.
#
# These plugs are copied straight from the sommelier-core repository. Please
# periodically check the source for updates and copy the changes.
# https://github.com/snapcrafters/sommelier-core
#
plugs:
wine-runtime:
interface: content
target: $SNAP/wine-runtime
default-provider: wine-platform-runtime
wine-5-stable:
interface: content
target: $SNAP/wine-platform
default-provider: wine-platform-5-stable

0 comments on commit 539d11d

Please sign in to comment.