RPI4 GTK
Oct 12, 2022 2:52:08 GMT 1
Post by alexfish on Oct 12, 2022 2:52:08 GMT 1
Hi All
Raspberry OS
latest gtk updates prove to be a downer
have been testing other os's mainstream ubuntu
eventually install latest Ubuntu Desktop , something Jammy / jellyfish
managed to get gtk devs working
results of gtk webkit = disaster
in short I think that jellyfish = japanese man o war ::
So tried Manjaro , first choice KDE Plasma
and in the short got Bacon working + hug
the long of the short
pkg-configs did not work ?
'why does a series of question marks = smilies'
like
What, yes
first time ever and did not know this, the solution
installing packages is a no-brainer apart from that bit
+ youtube speed = much same if not slightly than pi os
Do I like it , dev wise , need to test further, Desktop wise ,Wow
Hope to be back on track dev wise, soon + waiting and hoping Pi OS gets sorted
now this code works RE libosm
neofetch
BR
Alex
Raspberry OS
latest gtk updates prove to be a downer
have been testing other os's mainstream ubuntu
eventually install latest Ubuntu Desktop , something Jammy / jellyfish
managed to get gtk devs working
results of gtk webkit = disaster
in short I think that jellyfish = japanese man o war ::
So tried Manjaro , first choice KDE Plasma
and in the short got Bacon working + hug
the long of the short
pkg-configs did not work ?
'why does a series of question marks = smilies'
like
PRAGMA LDFLAGS `pkg-config gtk+-3.0 gobject-2.0 gthread-2.0 --libs`
What, yes
first time ever and did not know this, the solution
pamac install pkg-config
installing packages is a no-brainer apart from that bit
+ youtube speed = much same if not slightly than pi os
Do I like it , dev wise , need to test further, Desktop wise ,Wow
Hope to be back on track dev wise, soon + waiting and hoping Pi OS gets sorted
now this code works RE libosm
'Requires libosmgpsmap-1.0-dev libgtk-3-dev
PRAGMA LDFLAGS `pkg-config gtk+-3.0 osmgpsmap-1.0 gthread-2.0 --libs`
PRAGMA OPTIONS `pkg-config gtk+-3.0 osmgpsmap-1.0 --cflags`
PRAGMA INCLUDE <gtk-3.0/gtk/gtk.h>
PRAGMA INCLUDE <osmgpsmap-1.0/osm-gps-map.h>
OPTION PARSE FALSE
LOCAL window TYPE GtkWidget *
LOCAL map TYPE OsmGpsMap *
LOCAL source$ TYPE OsmGpsMapSource_t
'g_thread_init(NULL)
gtk_init (&argc, &argv)
source$ = OSM_GPS_MAP_SOURCE_OPENSTREETMAP
map = g_object_new (OSM_TYPE_GPS_MAP, "map-source", source$, "tile-cache", "/tmp/", NULL)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL)
gtk_window_set_title (GTK_WINDOW (window), "BaCon Rules")
g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL)
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(map))
gtk_widget_show (GTK_WIDGET(map))
gtk_widget_show (window)
gtk_main ()
neofetch
[pi@pi ~]$ neofetch
██████████████████ ████████ pi@pi
██████████████████ ████████ -----
██████████████████ ████████ OS: Manjaro ARM Linux aarch64
██████████████████ ████████ Host: Raspberry Pi 4 Model B Rev 1.4
████████ ████████ Kernel: 5.15.56-1-MANJARO-ARM-RPI
████████ ████████ ████████ Uptime: 5 hours, 26 mins
████████ ████████ ████████ Packages: 750 (pacman)
████████ ████████ ████████ Shell: bash 5.1.16
████████ ████████ ████████ Resolution: 1920x1080
████████ ████████ ████████ DE: Plasma 5.25.5
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ Theme: [Plasma], Breeze [GTK2/3]
████████ ████████ ████████ Icons: [Plasma], breeze [GTK2/3]
████████ ████████ ████████ Terminal: konsole
CPU: BCM2835 (4) @ 1.500GHz
Memory: 1590MiB / 7809MiB
BR
Alex