summaryrefslogtreecommitdiff
path: root/README.txt
blob: 571f0df95a20670e1d07477e68de754bbd9afca9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# My extension - Make The Web Great Again! #

This extension's goal is to allow replacing javascript served by websites
with scripts specified by user. Something like NoScript and Greasemonkey
together. Such facility is necessary to enable browsing World Wide Web
without executing nonfree software.

Currently, the target browsers for this extension are Ungoogled Chromium
and various forks of Firefox Quantum (right now, Ungoogled Chromium is
being used).

This extension's development has just started. It doesn't do anything
useful yet. See TODOS.org

## Installation ##
The extension can be loaded into Ungoogled Chromium as unpacked extension.
As of now, project's main directory is also the extension directory.
(("rm -rf") "true")) #t)) (add-before 'check 'delete-failing-tests ;; XXX As always, these should eventually be fixed and run. (lambda _ (for-each delete-file '("vlib/os/notify/notify_test.v" "vlib/v/doc/doc_private_fn_test.v" "vlib/v/live/live_test.v" "vlib/v/tests/repl/repl_test.v" "vlib/v/tests/valgrind/valgrind_test.v")) #t)) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (let* ((bin "tmp/bin") (gcc (which "gcc"))) (when tests? (mkdir-p bin) (symlink gcc (string-append bin "/cc")) (setenv "PATH" (string-append bin ":" (getenv "PATH"))) (invoke "./v" "test-self"))) #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((bin (string-append (assoc-ref outputs "out") "/bin")) (docs (string-append bin "/cmd/v/help")) (tools (string-append bin "/cmd/tools")) (thirdparty (string-append bin "/thirdparty")) (vlib (string-append bin "/vlib")) (vmod (string-append bin "/v.mod"))) (mkdir-p bin) (copy-file "./v" (string-append bin "/v")) ;; v requires as of 0.2.4 that these other components are in the ;; same directory. In a future release we may be able to move ;; these into other output folders. (copy-recursively "cmd/tools" tools) (copy-recursively "cmd/v/help" docs) (copy-recursively "thirdparty" thirdparty) (copy-recursively "vlib" vlib) (copy-file "v.mod" vmod)) #t))))) (inputs (list glib)) (native-inputs `(("vc" ;; Versions are not consistently tagged, but the matching commit will ;; probably have ‘v0.x.y’ in the commit message. ,(let ((vc-version "5e876c1491db50b136499d3397b57b7c062040e5")) ;; v bootstraps from generated c source code from a dedicated ;; repository. It's readable, as generated source goes, and not at all ;; obfuscated, and it's about 15kb. The original source written in ;; golang is lost to the forces of entropy; modifying the generated c ;; source by hand has been a commonly used technique for iterating on ;; the codebase. (origin (method git-fetch) (uri (git-reference (url "https://github.com/vlang/vc") (commit vc-version))) (file-name (git-file-name "vc" vc-version)) (sha256 (base32 "1gxdkgc7aqw5f0fhch1n6nhzgzvgb49p77idx1zj7wcp53lpx5ng"))))) ("git" ,git-minimal) ;; For the tests. ("libx11" ,libx11) ("node" ,node) ("openssl" ,openssl) ("sqlite" ,sqlite))) (home-page "https://vlang.io/") (synopsis "Compiler for the V programming language") (description "V is a systems programming language. It provides memory safety and thread safety guarantees with minimal abstraction.") (license license:expat)))