SliTaz SliTaz Forum

You are not logged in.

#1 2019-02-20 03:48:26

sofia-m
Member
Registered: 2019-02-15
Posts: 75

Tazweb default seach engine

Hello,

I love tazweb but... how to I change the default search engine?

Offline

#2 2019-02-20 07:42:04

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Tazweb default seach engine

Change #define SEARCH "http://duckduckgo.com/?q=%s&t=slitaz"  written into source code file tazweb.c

then rebuild tazweb.

http://hg.slitaz.org/tazweb/file/46a16f731de8/src/tazweb.c#l23

The founder of slitaz who retired long ago created tazweb as a lightweight browser for slitaz panel a.k.a. tazpanel.

Offline

#3 2019-02-20 19:05:02

sofia-m
Member
Registered: 2019-02-15
Posts: 75

Re: Tazweb default seach engine

Thanks a lot Mojo,

Will do!

Amazing little browser with great functionality.

Offline

#4 2020-06-07 20:45:27

sofia-m
Member
Registered: 2019-02-15
Posts: 75

Re: Tazweb default seach engine

Hello,

I have tried (again) to build Tazweb from source. I did it at the time of the post, compiling the sources, but now wanted to create the package so that I can reinstall tazweb across different machines.

I followed the instructions in the cookbook, set up the wok, etc.

But, when  try # cook tazweb, I get the following error:

make: *** [Makefile:14: all] Error 1

Build dependencies to remove: 19

Removing: cacerts enchant-dev gmp-dev gnutls gnutls-dev gtk-doc

libgnome-keyring libsoup-dev libsoup-gnome libtasn1-dev libunistring-dev

libwebkit-dev libxslt-dev libxslt-python nettle-dev p11-kit-dev py3k tcl tk

ERROR: cook failed

Debug information

================================================================================

Cook date: 2020-06-07 20:30

Cook time: 11s

ERROR: cook failed

ERROR: cook failed

src/tazweb.c:13:18: fatal error: glib.h: No such file or directory

src/tazweb.c:13:18: fatal error: glib.h: No such file or directory

src/tazweb.c:13:18: fatal error: glib.h: No such file or directory

================================================================================

Leaving aufs chroot...

/usr/bin/cook: .: line 1003: can't open '/home/slitaz/wok/tazweb/taz/tazweb-*/receipt': No such file or directory

Glib and glib-dev are installed. As for the missing file '/home/slitaz/wok/tazweb/taz/tazweb-*/receipt', it is not there. I tried to create it and ut the receipt from /var/lib/tazpkg/installed/tazweb there, but it get erased when I enter the 'cook' command.

This is my first effort at building a slitaz package, so I'm sure I'm missing something.

Also, since my purpose is to reconfigure tazweb before building the package, where should I put the modified sources and the new main.c file?

Offline

#5 2020-06-08 04:42:29

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Tazweb default seach engine

The cause of the fatal error is almost always before the error message, frequently it's not included in the debug information.

Relevant error message:

Package uuid was not found in the pkg-config search path.

Perhaps you should add the directory containing `uuid.pc'

Package 'uuid', required by 'fontconfig', not found

Locate the tazpkg that owns the required file:

tazpkg search-pkgname uuid.pc

Search result for package "uuid.pc"

================================================================================

ossp-uuid-dev

util-linux-uuid-dev

================================================================================

2 packages

Add util-linux-uuid-dev to wok/tazweb/receipt BUILD_DEPENDS variable,the build and package generation completes.   

Source tarballs are stored in this path if using tazdev chroot:

/home/slitaz/cooking/chroot/home/slitaz/src

Offline

#6 2020-06-08 20:30:09

sofia-m
Member
Registered: 2019-02-15
Posts: 75

Re: Tazweb default seach engine

Thanks Mojo, that fixed the problem.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]