xombrero linux

From ConformalOpenSource
Jump to: navigation, search

Build dependencies:

  • libbsd-devel
  • webkitgtk-devel
  • gtk2-devel
  • gcc
  • git

Runtime dependencies:

  • webkit
  • libbsd


Compile instructions:

Clone repository

$ git clone https://opensource.conformal.com/git/xombrero.git Cloning into xombrero... remote: Counting objects: 2536, done. remote: Compressing objects: 100% (1127/1127), done. remote: Total 2536 (delta 1641), reused 2158 (delta 1408) Receiving objects: 100% (2536/2536), 747.61 KiB | 985 KiB/s, done. Resolving deltas: 100% (1641/1641), done.

Go to the Linux build directory

$ cd xombrero/linux/

And make the project:

$ make perl ../js-merge-helper.pl ../hinting.js ../input-focus.js > javascript.h Generating ../about.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../about.o -c ../about.c Generating ../cookie.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../cookie.o -c ../cookie.c Generating ../inspector.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../inspector.o -c ../inspector.c Generating ../marco.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../marco.o -c ../marco.c Generating ../settings.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../settings.o -c ../settings.c Generating ../whitelist.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../whitelist.o -c ../whitelist.c Generating ../xombrero.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o ../xombrero.o -c ../xombrero.c Generating linux.o.depend cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o linux.o -c linux.c cc -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -o xombrero ../about.o ../cookie.o ../inspector.o ../marco.o ../settings.o ../whitelist.o ../xombrero.o linux.o -pthread -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgnutls -lgthread-2.0 -lrt -lglib-2.0 -lbsd -ldl -lgcrypt

Install xombrero:

$ sudo make install install -m 755 -d /usr/local/bin install -m 755 -d /usr/local/lib install -m 755 -d /usr/local/share/man/man1 install -m 755 -d /usr/local/share/xombrero install -m 755 xombrero /usr/local/bin install -m 644 ../xombrero.1 /usr/local/share/man/man1/xombrero.1 install -m 644 ../xombreroicon16.png /usr/local/share/xombrero install -m 644 ../xombreroicon32.png /usr/local/share/xombrero install -m 644 ../xombreroicon48.png /usr/local/share/xombrero install -m 644 ../xombreroicon64.png /usr/local/share/xombrero install -m 644 ../xombreroicon128.png /usr/local/share/xombrero install -m 644 ../style.css /usr/local/share/xombrero

And if you'd like to uninstall it:

$ sudo make uninstall rm -f /usr/local/bin/xombrero rm -f /usr/local/share/man/man1/xombrero.1 rm -f /usr/local/share/xombrero/xombreroicon.png rm -f /usr/local/share/xombrero/xombreroicon16.png rm -f /usr/local/share/xombrero/xombreroicon32.png rm -f /usr/local/share/xombrero/xombreroicon48.png rm -f /usr/local/share/xombrero/xombreroicon64.png rm -f /usr/local/share/xombrero/xombreroicon128.png rm -f /usr/local/share/xombrero/style.css if [ -d /usr/local/share/xombrero ]; then rmdir /usr/local/share/xombrero; fi