-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gtk-3.10-ubuntu-14.04' into master
- Loading branch information
Showing
6 changed files
with
71 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM ubuntu:trusty | ||
|
||
WORKDIR /root | ||
|
||
RUN apt-get update | ||
|
||
# Install gtk headers | ||
RUN apt-get install -y wget libgtk-3-dev libcairo2-dev libglib2.0-dev | ||
|
||
# Install go | ||
RUN wget -O go.tar.gz https://go.dev/dl/go1.17.4.linux-amd64.tar.gz; \ | ||
tar -xf go.tar.gz; | ||
|
||
RUN apt-get install -y git build-essential clang pkg-config zip; | ||
|
||
RUN git clone https://github.com/varnamproject/govarnam.git; \ | ||
git clone https://github.com/varnamproject/govarnam-ibus.git | ||
|
||
ENV PATH="/root/go/bin:${PATH}" | ||
|
||
WORKDIR /root/govarnam | ||
|
||
RUN CC=clang make; \ | ||
sudo make install; \ | ||
make release | ||
|
||
RUN mkdir -p /extract; \ | ||
cp *.zip /extract | ||
|
||
WORKDIR /root/govarnam-ibus | ||
|
||
RUN git checkout gtk-3.10-ubuntu-14.04; \ | ||
make ubuntu-14; \ | ||
make release | ||
|
||
RUN cp *.zip /extract |
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 @@ | ||
# Docker | ||
|
||
Builds `govarnam` & `govarnam-ibus` for Ubuntu 14.04 (GTK 3.10, glibc 2.19) & later versions: | ||
|
||
```bash | ||
docker build -t varnam . | ||
``` | ||
|
||
Copy built artifacts from container using: | ||
```bash | ||
id=$(docker create varnam) | ||
docker cp $id:/extract/. ./ | ||
docker rm -v $id | ||
``` |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
github.com/godbus/dbus/v5 v5.0.3 h1:ZqHaoEF7TBzh4jzPmqVhE/5A1z9of6orkAe5uHoAeME= | ||
github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= | ||
github.com/gotk3/gotk3 v0.6.0 h1:Aqlq4/6VabNwtCyA9M9zFNad5yHAqCi5heWnZ9y+3dA= | ||
github.com/gotk3/gotk3 v0.6.0/go.mod h1:/hqFpkNa9T3JgNAE2fLvCdov7c5bw//FHNZrZ3Uv9/Q= | ||
github.com/mattn/go-pointer v0.0.1/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc= | ||
github.com/gotk3/gotk3 v0.6.2-0.20211107090813-1d544513fb74 h1:3ZID57DpPn1xRXRzXYl5Sm4OQ4LJG4IFlGo+1TT6xWQ= | ||
github.com/gotk3/gotk3 v0.6.2-0.20211107090813-1d544513fb74/go.mod h1:/hqFpkNa9T3JgNAE2fLvCdov7c5bw//FHNZrZ3Uv9/Q= | ||
github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= |
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