-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from gnunn1/master
- Loading branch information
Showing
73 changed files
with
20,878 additions
and
5,422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### Building Terminix XDG-APP Bundle | ||
|
||
This folder contains the scripts required to build Terminix as an XDG-APP bundle. XDG-APP allows desktop applications to be distributed independently of traditional Linux package managers, applications distributed in this way run in a sandboxed environment. Additional information on XDG-APP can be found [here](https://wiki.gnome.org/Projects/SandboxedApps). | ||
|
||
The first step to building the Terminix XDG-APP Bundle is to install the xdg-app framework. This will vary by distribution, on Arch it is easily installed using the [xdg-app](https://aur.archlinux.org/packages/xdg-app) package from AUR as follows: | ||
|
||
```yaourt xdg-app``` | ||
|
||
Once that is done you will need to install the Gnome and Freedesktop runtimes, this can be done by following the instructions on the [Gnome wiki](https://wiki.gnome.org/Projects/SandboxedApps#Gnome_sdk). The specific steps you need are as follows: | ||
) | ||
``` | ||
$ wget https://people.gnome.org/~alexl/keys/gnome-sdk.gpg | ||
$ xdg-app --user remote-add gnome --gpg-key=gnome-sdk.gpg http://sdk.gnome.org/repo/ | ||
$ xdg-app --user install gnome org.gnome.Platform 3.20 | ||
$ xdg-app --user install gnome org.gnome.Sdk 3.20 | ||
$ xdg-app --user install gnome org.freedesktop.Platform 1.4 | ||
``` | ||
With all the dependencies in place, you can now build the bundle: | ||
|
||
``` | ||
./build | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#! /bin/sh | ||
|
||
BUILD_DIR=builddir | ||
JSON=terminix.json | ||
REPO=$HOME/xdg-app-repos/terminix | ||
|
||
echo "Removing build dir..." | ||
rm -rf $BUILD_DIR | ||
|
||
echo "Building with xdg-app-builder..." | ||
xdg-app-builder --repo=$REPO $BUILD_DIR $JSON | ||
|
||
echo "Creating bundle file..." | ||
xdg-app build-bundle $REPO terminix.x86_64.xdgapp com.gexperts.Terminix master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
cat <<EOF >Makefile | ||
all: | ||
make -f posix.mak AUTO_BOOTSTRAP=1 | ||
install: | ||
mkdir /app/bin | ||
cp src/dmd /app/bin | ||
echo -e "[Environment64]" > /app/bin/dmd.conf | ||
echo -e "DFLAGS=-I/app/src/phobos -I/app/src/druntime/import -L-L/app/linux/release/64" >> /app/bin/dmd.conf | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
cat <<EOF >Makefile | ||
all: | ||
make -f posix.mak DMD=/app/bin/dmd ROOT_OF_THEM_ALL=/app | ||
install: | ||
make -f posix.mak install DMD=/app/bin/dmd INSTALL_DIR=/app | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
cat <<EOF >Makefile | ||
all: | ||
/app/bin/dmd -ofbin/dub -w -version=DubUseCurl -Isource -L-L/app/linux/release/64/ -L-lphobos2 @build-files.txt | ||
install: | ||
cp bin/dub /app/bin | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
cat <<EOF >Makefile | ||
all: | ||
echo "2.070" > VERSION | ||
make -f posix.mak VERSION=VERSION DMD=/app/bin/dmd DRUNTIME_PATH=/app DMDEXTRAFLAGS=-I/app/src/druntime/import DRUNTIME=/app/linux/release/64/libdruntime.a ROOT_OF_THEM_ALL=/app CUSTOM_DRUNTIME=1 | ||
install: | ||
make -f posix.mak install VERSION=VERSION DMD=/app/bin/dmd INSTALL_DIR=/app DRUNTIME_PATH=/app DRUNTIME=/app/linux/release/64/libdruntime.a DMDEXTRAFLAGS=-I/app/src/druntime/import CUSTOM_DRUNTIME=1 | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
cat <<EOF >Makefile | ||
all: | ||
LD_LIBRARY_PATH=/app/linux/release/64 dub build --build=release | ||
install: | ||
./install.sh /app | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"id": "com.gexperts.Terminix", | ||
"version": "master", | ||
"runtime": "org.gnome.Platform", | ||
"runtime-version": "3.20", | ||
"sdk": "org.gnome.Sdk", | ||
"command": "terminix", | ||
"tags": ["Terminal", "Tile"], | ||
"cleanup-commands": ["rm -rf /app/lib", | ||
"rm -rf /app/src", | ||
"rm -rf /app/linux", | ||
"rm -rf /app/share/nautilus-python", | ||
"rm /app/bin/dmd", | ||
"rm /app/bin/dmd.conf", | ||
"rm /app/bin/dub", | ||
"rm /app/*-LICENSE.txt"], | ||
"finish-args": ["--filesystem=host", | ||
"--share=ipc", | ||
"--socket=x11", | ||
"--socket=wayland", | ||
"--socket=session-bus", | ||
"--filesystem=~/.config/dconf:ro", | ||
"--filesystem=xdg-run/dconf", | ||
"--talk-name=ca.desrt.dconf", | ||
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"], | ||
"modules": [ | ||
{ | ||
"name": "dmd", | ||
"build-options": { | ||
"build-args": ["--share=network"] | ||
}, | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "http://github.com/D-Programming-Language/dmd", | ||
"branch": "master" | ||
}, | ||
{ | ||
"type": "file", | ||
"path": "dmd-configure", | ||
"dest-filename": "configure" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "druntime", | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "http://github.com/D-Programming-Language/druntime", | ||
"branch": "master" | ||
}, | ||
{ | ||
"type": "file", | ||
"path": "druntime-configure", | ||
"dest-filename": "configure" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "phobos", | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "http://github.com/D-Programming-Language/phobos", | ||
"branch": "master" | ||
}, | ||
{ | ||
"type": "file", | ||
"path": "phobos-configure", | ||
"dest-filename": "configure" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "dub", | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "http://github.com/D-Programming-Language/dub", | ||
"branch": "master" | ||
}, | ||
{ | ||
"type": "file", | ||
"path": "dub-configure", | ||
"dest-filename": "configure" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "terminix", | ||
"build-options": { | ||
"build-args": ["--share=network"] | ||
}, | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "http://github.com/gnunn1/terminix", | ||
"branch": "master" | ||
}, | ||
{ | ||
"type": "file", | ||
"path": "terminix-configure", | ||
"dest-filename": "configure" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Copyright 2016 Matthias Clasen --> | ||
<component type="desktop"> | ||
<id type="desktop">com.gexperts.Terminix.desktop</id> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>MPL-2.0</project_license> | ||
<name>Terminix</name> | ||
<summary>A tiling terminal for GNOME</summary> | ||
<description> | ||
<p> | ||
Terminix is a tiling terminal emulator. | ||
</p> | ||
<p>It lets you:</p> | ||
<ul> | ||
<li>Layout terminals in any fashion by splitting them horizontally or vertically</li> | ||
<li>Terminals can be re-arranged using drag and drop both within and between windows</li> | ||
<li>Terminals can be detached into a new window via drag and drop</li> | ||
<li>Input can be synchronized between terminals so commands typed in one terminal are replicated to the others</li> | ||
<li>The grouping of terminals can be saved and loaded from disk</li> | ||
<li>Terminals support custom titles</li> | ||
<li>Color schemes are stored in files and custom color schemes can be created by simply creating a new file</li> | ||
<li>Transparent background</li> | ||
<li>Supports notifications when processes are completed out of view</li> | ||
</ul> | ||
<p> | ||
The application was written using GTK 3 and an effort was made to conform to | ||
GNOME Human Interface Guidelines (HIG). As a result, it does use client-side-decorations, though it can be disabled if necessary. | ||
</p> | ||
<p>Terminix has been tested with GNOME and with Unity.</p> | ||
</description> | ||
<kudos> | ||
<kudo>AppMenu</kudo> | ||
<kudo>ModernToolkit</kudo> | ||
</kudos> | ||
<url type="homepage">https://github.com/gnunn1/terminix/</url> | ||
<project_group>GNOME</project_group> | ||
<translation type="gettext">terminix</translation> | ||
</component> |
Oops, something went wrong.