Golang and GUI toolkits on FreeBSD

Sam Fourman Jr. sfourman at gmail.com
Wed Feb 18 07:52:04 UTC 2015


Thank you for your help, here is what I have

pkg info | grep gtk
avahi-gtk3-0.6.31_2            Gtk+ 3 library to the Avahi mDNS system
avahi-header-0.6.31            Install an avahi-gtk* header to avoid
conflict
clutter-gtk3-1.6.0             GTK+ Integration library for Clutter
colord-gtk-0.1.25_3            Manage color profiles to accurately color
input/output devices
gtk-doc-1.21                   Code documentation system, originally for
GTK+
gtk-engines2-2.20.2_2          Theme engine for the GTK+-2.0 toolkit
gtk-murrine-engine-0.98.2_4    Murrine GTK+ 2.x cairo based engine
gtk-update-icon-cache-2.24.25  Gtk-update-icon-cache utility from the Gtk+
toolkit
gtk-vnc-0.4.4_3                VNC viewer widget for GTK+
gtk2-2.24.25_1                 Gimp Toolkit for X11 GUI (previous stable
version)
gtk3-3.14.7                    Gimp Toolkit for X11 GUI (current stable
version)
gtkhtml4-4.8.5                 Lightweight HTML rendering/printing/editing
engine
gtkmm24-2.24.4_2               C++ wrapper for Gtk+
gtkmm30-3.14.0                 C++ wrapper for Gtk+3
gtksourceview2-2.10.5_4        Widget that adds syntax highlighting to
GtkTextView
gtksourceview3-3.14.3          Text widget that adds syntax highlighting to
the GtkTextView widget
gtkspell-2.0.16_5              GTK+ 2 spell checking component
gtkspell3-3.0.6                GTK+ 3 spell checking component
libcanberra-gtk3-0.30_3        Implementation of the Freedesktop sound
theme spec
py27-gtk2-2.24.0_3             Set of Python bindings for GTK+
py27-gtksourceview-2.10.1_1    Python bindings for GtkSourceView 2
transmission-gtk-2.84_4        Fast and lightweight GTK+2 BitTorrent client
webkit-gtk3-2.4.8              Opensource browser engine using the GTK+ 3
toolkit


pkgconf --cflags gtk+-3.0
-I/usr/local/include/gtk-3.0 -I/usr/local/include/cairo
-I/usr/local/include/pixman-1 -DMESA_EGL_NO_X11_HEADERS
-I/usr/local/include/libdrm -D_THREAD_SAFE
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16
-I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0
-I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0
-I/usr/local/include/dbus-1.0/include -I/usr/local/include/pango-1.0
 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz
-I/usr/local/include/gio-unix-2.0/ -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include

pkgconf --libs gtk+-3.0
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject
-lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -L/usr/local/lib
-lglib-2.0 -lintl



On Wed, Feb 18, 2015 at 1:42 AM, Waitman Gobble <gobble.wa at gmail.com> wrote:

> On Tue, Feb 17, 2015 at 11:25 PM, Waitman Gobble <gobble.wa at gmail.com>
> wrote:
> > On Tue, Feb 17, 2015 at 11:20 PM, Sam Fourman Jr. <sfourman at gmail.com>
> wrote:
> >>
> >>
> >>> Its curious that CXX is set to g++, but the c compiler is set to cc
> >>> defaulting to clang.. sounds yucky to me.
> >>>
> >>> is your include and lib path set right?
> >>
> >>
> >> I am not sure how to find the path settings, what command would I run?
> >>
> >>
> >>
> >> --
> >>
> >> Sam Fourman Jr.
> >
> > # pkg info | grep gtk
> > gio-sharp-2.22.3_1             GIO bindings not available in gtk-sharp
> > gqview-2.0.4_15                Another gtk2-based graphic file viewer
> > gtk-engines2-2.20.2_2          Theme engine for the GTK+-2.0 toolkit
> > gtk-sharp-beans-2.14.1_1       Extensions on top of GTK-sharp
> > gtk-sharp20-2.12.10_3          GTK+ and GNOME interfaces for the .NET
> runtime
> > gtk-update-icon-cache-2.24.25  Gtk-update-icon-cache utility from the
> > Gtk+ toolkit
> > gtk-xfce-engine-3.0.1_1        Xfce gtk theme engine
> > gtk12-1.2.10_24                Gimp Toolkit for X11 GUI (previous
> > stable version)
> > gtk2-2.24.25_1                 Gimp Toolkit for X11 GUI (previous
> > stable version)
> > gtk3-3.14.7                    Gimp Toolkit for X11 GUI (current stable
> version)
> > gtkmm24-2.24.4_2               C++ wrapper for Gtk+
> > gtkspell-2.0.16_5              GTK+ 2 spell checking component
> > libcanberra-gtk3-0.30_3        Implementation of the Freedesktop sound
> > theme spec
> > linux-f10-gtk2-2.14.7_5        GTK+ library, version 2.X (Linux Fedora
> 10)
> > py27-gtk2-2.24.0_3             Set of Python bindings for GTK+
> > webkit-gtk2-2.4.8              Opensource browser engine using the
> > GTK+ 2 toolkit
> > webkit-gtk3-2.4.8              Opensource browser engine using the
> > GTK+ 3 toolkit
> > wx28-gtk2-common-2.8.12_5      The wxWidgets GUI toolkit (common files)
> > wx28-gtk2-unicode-2.8.12_5     The wxWidgets GUI toolkit (Unicode)
> >
> >
> > # gtk-config --prefix --libs --cflags
> > /usr/local
> > -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
> > -I/usr/local/lib/glib/include -I/usr/local/include
> > -L/usr/local/lib -L/usr/local/lib -lgtk -lgdk -lgmodule -lglib -lintl
> > -lXi -lXext -lX11 -lm
> >
> >
> > I would presume that gtk3-config would exist? but it's not there. :)
> >
> > let me try the go thingy and see what happens over here.
> >
> >
> > --
> > Waitman Gobble
> > Los Altos California USA
> > 510-830-7975
>
> oh, duh. i see.
> #pkgconf --cflags gtk+-3.0
>
> I/usr/local/include/gtk-3.0 -I/usr/local/include/cairo
> -I/usr/local/include/pixman-1 -D_THREAD_SAFE
> -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16
> -I/usr/local/include/atk-1.0 -I/usr/local/include/at-spi2-atk/2.0
> -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0
> -I/usr/local/include/dbus-1.0/include -I/usr/local/include/pango-1.0
> -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz
> -I/usr/local/include/gio-unix-2.0/ -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include
>
> # pkgconf --libs gtk+-3.0
> -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject
> -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
> -L/usr/local/lib -lglib-2.0 -lintl
>
> --
> Waitman Gobble
> Los Altos California USA
> 510-830-7975
>



-- 

Sam Fourman Jr.


More information about the freebsd-questions mailing list