8000 gotk3 for Debian GNU/Linux unstable(aka sid) version · Issue #88 · conformal/gotk3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.
This repository was archived by the owner on Aug 13, 2019. It is now read-only.
gotk3 for Debian GNU/Linux unstable(aka sid) version #88
Open
@omac777

Description

@omac777

AS SUPERUSER(root):
1)Install Debian GNU/Linux "testing" version(aka jessie) from a netinst iso.
2)Then upgrade your clean jessie install to "unstable" version(aka sid).

2.1)First ensure your /etc/apt/sources.list contains the following:
deb http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb http://mirrors.kernel.org/debian unstable main contrib non-free
deb-src http://mirrors.kernel.org/debian unstable main contrib non-free
2.2)Do these apt commands to update and upgrade to sid:
apt-get update
apt-get -u dist-upgrade
You will have to reboot a couple of times through this. Bear with it.

3)Once in sid version install the following:

3.1)To build the golang distribution from sources, you will need to install these:
apt-get install mercurial
apt-get install gcc

3.2)To build conformal systems gotk3, you will need these:
apt-get install pkg-config
apt-get install libgtk-3-dev
apt-get install libcairo2-dev
apt-get install libglib2.0-dev

3.3)I highly recommend you learn emacs. Install emacs and the emacs golang-mode.
apt-get install emacs
apt-get install golang-mode

4)AS A REGULAR USER(not root) do the following:
4.1)fetch golang sources and build
hg clone -u release https://code.google.com/p/go
cd go/src/
./all.bash
4.2)setup your environment variables for golang
export GOROOT=/home/loongson/go
export GOPATH=/home/loongson/Code/go
export PATH=$PATH:$GOPATH/bin:$GOROOT/bin
4.3)fetch and build gotk3 sources
go get code.google.com/p/go.tools/cmd/...
go get github.com/conformal/gotk3/gtk
4.4)now compile a gotk3 sample
cd Code/go/src/github.com/conformal/gotk3/gtk/examples/grid/
go build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0