Skip to content

Commit

Permalink
Initial snap for Guake 3.6.3. Only devmode currently (#1)
Browse files Browse the repository at this point in the history
That commit introduces initial version of Guake 3.6.3 snap package. Currently it is build as devmode snap only. It is working but please use it carefully!
  • Loading branch information
robert-matusewicz authored Nov 6, 2019
1 parent 22ba45f commit 87e941a
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 0 deletions.
82 changes: 82 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<h1 align="center">
<img src="guake.png" alt="Guake Terminal">
<br />
Guake Terminal
</h1>

<p align="center"><b>This is the snap for Guake</b>. Guake is a dropdown terminal made for the GNOME desktop environment. Guake's style of window is based on an FPS game, and one of its goals is to be easy to reach. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.</p>

<!-- Uncomment and modify this when you are provided a build status badge
<p align="center">
<a href="https://build.snapcraft.io/user/snapcrafters/fork-and-rename-me"><img src="https://build.snapcraft.io/badge/snapcrafters/fork-and-rename-me.svg" alt="Snap Status"></a>
</p>
-->


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

<p align="center">Published for <img src="https://raw.githubusercontent.com/anythingcodes/slack-emoji-for-techies/gh-pages/emoji/tux.png" align="top" width="24" /> with 💝 by Snapcrafters</p>

## Install

sudo snap install guake

<!-- Uncomment and modify this when your snap is available on the store
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/guake)
-->

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

## Remaining tasks

Snapcrafters ([join us](https://forum.snapcraft.io/t/join-snapcrafters/1325))
are working to land snap install documentation and
the [snapcraft.yaml](https://github.com/snapcrafters/fork-and-rename-me/blob/master/snap/snapcraft.yaml)
upstream so [Guake](http://guake-project.org/) can authoritatively publish future releases.

- [x] Fork the [Snapcrafters template](https://github.com/snapcrafters/fork-and-rename-me) repository to your own GitHub account.
- If you have already forked the Snapcrafter template to your account and want to create another snap, you'll need to use GitHub's [Import repository](https://github.com/new/import) feature because you can only fork a repository once.
- [x] Rename the forked Snapcrafters template repository
- [x] Update the description of the repository
- [x] Update logos and references to `[Project]` and `[my-snap-name]`
- [x] Create a snap that runs in `devmode`
- [ ] Register the snap in the store, **using the preferred upstream name**
- [ ] Add a screenshot to this `README.md`
- [ ] Publish the `devmode` snap in the Snap store edge channel
- [ ] Add install instructions to this `README.md`
- [ ] Update snap store metadata, icons and screenshots
- [ ] Convert the snap to `strict` confinement, or `classic` confinement if it qualifies
- [ ] Publish the confined snap in the Snap store beta channel
- [ ] Update the install instructions in this `README.md`
- [ ] Post a call for testing on the [Snapcraft Forum](https://forum.snapcraft.io) - [link]()
- [ ] Make a post in the [Snapcraft Forum](https://forum.snapcraft.io) asking for a transfer of the snap name from you to snapcrafters - [link]()
- [ ] Ask a [Snapcrafters admin](https://github.com/orgs/snapcrafters/people?query=%20role%3Aowner) to fork your repo into github.com/snapcrafters, and configure the repo for automatic publishing into edge on commit
- [ ] Add the provided Snapcraft build badge to this `README.md`
- [ ] Publish the snap in the Snap store stable channel
- [ ] Update the install instructions in this `README.md`
- [ ] Post an announcement in the [Snapcraft Forum](https://forum.snapcraft.io) - [link]()
- [ ] Submit a pull request or patch upstream that adds snap install documentation - [link]()
- [ ] Submit a pull request or patch upstream that adds the `snapcraft.yaml` and any required assets/launchers - [link]()
- [ ] Add upstream contact information to the `README.md`
- If upstream accept the PR:
- [ ] Request upstream create a Snap store account
- [ ] Contact the Snap Advocacy team to request the snap be transferred to upstream
- [ ] Ask the Snap Advocacy team to celebrate the snap - [link]()

If you have any questions, [post in the Snapcraft forum](https://forum.snapcraft.io).

<!--
## The Snapcrafters
| [![Your Name](https://gravatar.com/avatar/bc0bced65e963eb5c3a16cab8b004431/?s=128)](https://github.com/yourname/) |
| :---: |
| [Your Name](https://github.com/yourname/) |
-->

<!-- Uncomment and modify this when you have upstream contacts
## Upstream
| [![Upstream Name](https://gravatar.com/avatar/bc0bced65e963eb5c3a16cab8b004431?s=128)](https://github.com/upstreamname) |
| :---: |
| [Upstream Name](https://github.com/upstreamname) |
-->
Binary file added guake.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: guake
version: 3.6.3
summary: Top-down terminal for Gnome, inspired by the terminal used in Quake
description: |
Guake is a dropdown terminal made for the GNOME desktop environment.
Guake's style of window is based on an FPS game,
and one of its goals is to be easy to reach.
icon: guake.png

grade: devel
confinement: devmode
base: core18

layout:
/usr/local/share:
bind: $SNAP/usr/local/share

slots:
dbus-guake:
interface: dbus
bus : session
name: org.guake3.RemoteControl

environment:
PYTHONPATH: $PYTHONPATH:$SNAP/usr/local/lib/python3.6/dist-packages

apps:
guake:
command: usr/local/bin/guake
extensions: [gnome-3-28]
slots:
- dbus-guake
plugs:
- gsettings
- home

parts:
guake:
source-type: git
source: https://github.com/Guake/guake/
source-tag: 3.6.3
plugin: make
make-install-var: PREFIX
make-parameters:
- DESTDIR=$SNAPCRAFT_PART_INSTALL
build-packages:
- gettext
- libglib2.0-dev
- gsettings-desktop-schemas
stage-packages:
- gir1.2-keybinder-3.0
- gir1.2-notify-0.7
- gir1.2-vte-2.91
- gir1.2-wnck-3.0
- gir1.2-gtk-3.0
- libkeybinder-3.0-0
- libutempter0
- python3-distutils
- python3-pip
- python3-setuptools
- python3-gi-cairo
- python3-cairo
- python3-dbus
- python3-gi
- python-gobject-2
override-build: |
snapcraftctl build
sed -i 's|#!/root/parts/guake/install/usr/bin/python3|#!/usr/bin/env python3|' $SNAPCRAFT_PART_INSTALL/usr/local/bin/guake

0 comments on commit 87e941a

Please sign in to comment.