You are not logged in.

#1 2018-06-19 20:19:04

ss
Member
Registered: 2018-06-04
Posts: 89

[SOLVED] How to compile my own change of surf browser

The surf browser is in the community repo and can be installed with pacman directly.
At the end of the installation, it suggests a location of config.h, but I don't have that directory at all.

-- Edit config.h in PKGBUILD's directory (generally /var/abs/community/surf/)
-- and rebuild package if you want to change settings.

I also tried

locate config.h | grep surf

but the file is not there.

Moreover, if I am not mistaken, software in the official repo are binaries, and the source is not downloaded, as opposed to AUR packages? Then what is right way to make my own change then recompile surf? In my opinion, surf is only useful and attractive with a custom build.

Last edited by ss (2018-06-19 22:18:09)

Offline

#2 2018-06-19 20:23:11

ss
Member
Registered: 2018-06-04
Posts: 89

Re: [SOLVED] How to compile my own change of surf browser

OK, I think I should just install surf-git from AUR.
Then the message shown at the end of the installation is a little bit confusing.

Offline

#3 2018-06-19 20:26:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [SOLVED] How to compile my own change of surf browser

If you want to create your own adjustments to repo packages you will want to take a look at https://wiki.archlinux.org/index.php/Arch_Build_System

Offline

#4 2018-06-19 20:34:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] How to compile my own change of surf browser

The file shipped is config.def.h, you adapt it and rename it config.h


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-06-19 21:59:03

ss
Member
Registered: 2018-06-04
Posts: 89

Re: [SOLVED] How to compile my own change of surf browser

jasonwryan wrote:

The file shipped is config.def.h, you adapt it and rename it config.h

If I git clone the source or get it from AUR, I know I should cp config.def.h config.h, then make my own change.
But now that I installed community/surf 2.0-1 with pacman, is the source in my computer? Where could I find it?

Offline

#6 2018-06-19 22:02:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] How to compile my own change of surf browser

Read the link in #3


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-06-19 22:17:48

ss
Member
Registered: 2018-06-04
Posts: 89

Re: [SOLVED] How to compile my own change of surf browser

OK, ABS is the solution. Thank you all.

Offline

Board footer

Powered by FluxBB