From c7270b9b0f0dbd44a6089e54665182c381f36015 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 25 Jun 2018 19:13:13 +0200 Subject: Update pkgbuild --- linux/makepkg/PKGBUILD | 24 ++--- linux/man/manpage.md | 8 -- linux/man/smolbote.7 | 226 ----------------------------------------- linux/man/smolbote.7.html | 252 ---------------------------------------------- linux/man/smolbote.7.ronn | 119 ---------------------- linux/man/smolbote.md | 120 ++++++++++++++++++++++ 6 files changed, 132 insertions(+), 617 deletions(-) delete mode 100644 linux/man/manpage.md delete mode 100644 linux/man/smolbote.7 delete mode 100644 linux/man/smolbote.7.html delete mode 100644 linux/man/smolbote.7.ronn create mode 100644 linux/man/smolbote.md (limited to 'linux') diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index d0e3b7f..cd21909 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -14,7 +14,7 @@ replaces=('smolbote-git') depends=('qt5-webengine>=5.10.1' 'boost-libs>=1.66.0') optdepends=('firejail: launch a sandboxed instance') -makedepends=('mercurial' 'cmake' 'pkg-config' 'ninja') +makedepends=('mercurial' 'cmake' 'pkg-config' 'go-md2man') # this is the central repository source=("smolbote-hg::hg+https://neueland.iserlohn-fortress.net/smolbote.hg") @@ -29,7 +29,7 @@ prepare() { # go into src/smolbote-hg cd smolbote-hg - msg "Verifying integrity" + msg2 "Verifying integrity" # get commit id _node="$(hg log -r tip --template='{node}')" # download checksums and signature @@ -46,11 +46,13 @@ pkgver() { } build() { + # clean build folder # src/smolbote-hg-r000.123456789012 rm -rf "$pkgname-$pkgver" mkdir "$pkgname-$pkgver" cd "$pkgname-$pkgver" + msg2 "Building smolbote" # CMake Options # Build Type # Debug builds don't have install rules. @@ -73,23 +75,22 @@ build() { # this requires 'extra-cmake-modules' #_cmake_options="$_cmake_options -DPlasma=On" - # Build System - # Flavour: I use ninja, but you can comment this out, or set your own - # flavour. Don't forget to change the Build and Install though! - _cmake_options="$_cmake_options -GNinja" - # Generate Makefile cmake $_cmake_options "$srcdir/smolbote-hg" # Build - ninja + make + + msg2 "Generating manpage" + go-md2man -in $srcdir/smolbote-hg/linux/man/smolbote.md -out smolbote.7 + gzip smolbote.7 } package() { cd "$pkgname-$pkgver" # Install - ninja install + make install # icon and .desktop install -Dm644 "${srcdir}/smolbote-hg/data/poi.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/poi.svg" @@ -99,7 +100,6 @@ package() { install -Dm644 "${srcdir}/smolbote-hg/data/poi.profile" "${pkgdir}/usr/local/lib/smolbote/poi.profile" # man page - _man_dir="$pkgdir/usr/local/man/man7" - test -d $_man_dir || mkdir -p $_man_dir - gzip --keep --to-stdout "$srcdir/smolbote-hg/linux/man/smolbote.7" > "$_man_dir/smolbote.7.gz" + install -Dm644 smolbote.7.gz $pkgdir/usr/local/man/man7/smolbote.7.gz } + diff --git a/linux/man/manpage.md b/linux/man/manpage.md deleted file mode 100644 index deb06fd..0000000 --- a/linux/man/manpage.md +++ /dev/null @@ -1,8 +0,0 @@ -To generate the manpage, use ronn: - -~~~sh -## install -gem install --user-install ronn -## generate -ronn smolbote.7.ronn -~~~ diff --git a/linux/man/smolbote.7 b/linux/man/smolbote.7 deleted file mode 100644 index fe36a8d..0000000 --- a/linux/man/smolbote.7 +++ /dev/null @@ -1,226 +0,0 @@ -.\" generated with Ronn/v0.7.3 -.\" http://github.com/rtomayko/ronn/tree/0.7.3 -. -.TH "SMOLBOTE" "7" "June 2018" "" "" -. -.SH "NAME" -\fBsmolbote\fR \- yet another no\-frills browser -. -.SH "SYNOPSIS" -\fBpoi\fR [\fIoptions\fR\.\.\.] URL(s) -. -.SH "DESCRIPTION" -smolbote is a keep\-it\-simple free software web browser\. -. -.SH "COMMAND\-LINE OPTIONS" -. -.SS "General" -. -.IP "\(bu" 4 -\fB\-h\fR, \fB\-\-help\fR: Display this help\. -. -.IP "\(bu" 4 -\fB\-v\fR, \fB\-\-version\fR: Display version information\. -. -.IP "\(bu" 4 -\fB\-\-build\fR: Display build branch and commit\. -. -.IP "" 0 -. -.SS "Configuration" -. -.IP "\(bu" 4 -\fB\-c\fR, \fB\-\-config\fR: Set configuration file\. -. -.IP "\(bu" 4 -\fB\-\-socket\fR: Local server socket -. -.IP "" 0 -. -.SS "Plugins" -. -.IP "\(bu" 4 -\fB\-\-command\fR: Run a plugin command\. -. -.IP "\(bu" 4 -\fB\-\-commands\fR: List all plugin commands\. -. -.IP "" 0 -. -.SH "CONFIGURATION" -The Configuration is loaded from \fI~/\.config/smolbote/smolbote\.cfg\fR, and can be edited with the \fBpoi\-config\fR tool\. -. -.P -Settings are only loaded on launch; re\-run the browser to apply changes\. -. -.SS "Browser" -. -.IP "\(bu" 4 -browser\.stylesheet: path -. -.IP "" 0 -. -.SS "Main Window" -A main window contains one or more subwindows\. -. -.IP "\(bu" 4 -mainwindow\.height: 720 -. -.IP "\(bu" 4 -mainwindow\.width: 1280 -. -.IP "\(bu" 4 -mainwindow\.maximized: true -. -.IP "\(bu" 4 -mainwindow\.title: smolbote -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.newGroup: Ctrl+G -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.newWindow: Ctrl+N -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.about: F1 -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.quit: Ctrl+Q -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.search: F3 -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.tileWindows: F9 -. -.IP "\(bu" 4 -mainwindow\.shortcuts\.cascadeWindows: F10 -. -.IP "" 0 -. -.SS "Subwindow" -A subwindow contains multiple tabs and functions similarly to a tab group\. -. -.IP "\(bu" 4 -window\.shortcuts\.new: Ctrl+T -. -.IP "\(bu" 4 -window\.shortcuts\.close: Ctrl+X -. -.IP "\(bu" 4 -window\.shortcuts\.left: Ctrl+O -. -.IP "\(bu" 4 -window\.shortcuts\.right: Ctrl+P -. -.IP "\(bu" 4 -window\.shortcuts\.fullscreen: F11 -. -.IP "" 0 -. -.SS "Navigation bar" -The navigation bar is the toolbar that holds the history, reload and home buttons, as well as the address bar\. It can be made movable through the navigation\.movable option\. -. -.IP "\(bu" 4 -navigation\.movable: false -. -.IP "\(bu" 4 -navigation\.shortcuts\.back: Ctrl+Left -. -.IP "\(bu" 4 -navigation\.shortcuts\.forward: Ctrl+Right -. -.IP "\(bu" 4 -navigation\.shortcuts\.refresh: F5 -. -.IP "\(bu" 4 -navigation\.shortcuts\.reload: Ctrl+F5 -. -.IP "\(bu" 4 -navigation\.shortcuts\.home: Ctrl+Home -. -.IP "" 0 -. -.SS "Address bar" -. -.IP "\(bu" 4 -addressbar\.shortcuts\.focus: F4 -. -.IP "\(bu" 4 -addressbar\.shortcuts\.menu: F2 -. -.IP "" 0 -. -.SS "Filter" -. -.IP "\(bu" 4 -filter\.path: ~/\.config/smolbote/hosts\.d -. -.IP "\(bu" 4 -filter\.cookies\.block\.all: false (todo: in qt5\.11) -. -.IP "\(bu" 4 -filter\.cookies\.block\.thirdParty: true -. -.IP "\(bu" 4 -filter\.cookies\.path: ~/\.config/smolbote/cookies\.d -. -.IP "" 0 -. -.SS "Plugins" -Plugins a way of extending smolbote\'s functionality using the Qt plugin system\. They are not to be confused with NPAPI/PPAPI or WebExtension plugins\. -. -.P -To enable a plugin either copy it or symlink it in the plugins\.path location, or set its absolute path as the plugins\.path\. -. -.IP "\(bu" 4 -plugins\.path: ~/\.config/smolbote/plugins\.d -. -.IP "" 0 -. -.SS "Profiles" -A Profile is a collection of settings, policies, scripts, cookies, cache and history\. Profiles can be used to isolate pages from each other\. -. -.P -Each window has a default profile it uses when opening new tabs\. This can be set by the profile\.default option, and can be changed from the window\'s menu\. Additionally, tabs can have their profiles individually changed from their page menu\. -. -.P -Because profiles store all their data separately, you can log in into the same site with a different account from each profile\. However, links opened into new tabs will still use the subwindow\'s default profile\. For example, you can set a profile to hold login information for a site, but all new tabs opened from that site would still be using the default off\-the\-record profile\. -. -.IP "\(bu" 4 -profile\.default: \'\' -. -.IP "\(bu" 4 -profile\.path: ~/\.config/smolbote/profiles\.d -. -.IP "\(bu" 4 -profile\.search: https://duckduckgo\.com/?q=%1&ia=web -. -.IP "\(bu" 4 -profile\.homepage: about:blank -. -.IP "\(bu" 4 -profile\.newtab: about:blank -. -.IP "" 0 -. -.SS "Bookmarks" -. -.IP "\(bu" 4 -bookmarks\.path: ~/\.config/smolbote/bookmarks\.xbel -. -.IP "\(bu" 4 -bookmarks\.shortcut: Ctrl+B -. -.IP "" 0 -. -.SS "Downloads" -. -.IP "\(bu" 4 -downloads\.path: ~/Downloads -. -.IP "\(bu" 4 -downloads\.shortcut: Ctrl+D -. -.IP "" 0 - diff --git a/linux/man/smolbote.7.html b/linux/man/smolbote.7.html deleted file mode 100644 index 5784c91..0000000 --- a/linux/man/smolbote.7.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - smolbote(7) - yet another no-frills browser - - - - -
- - - -
    -
  1. smolbote(7)
  2. -
  3. -
  4. smolbote(7)
  5. -
- -

NAME

-

- smolbote - yet another no-frills browser -

- -

SYNOPSIS

- -

poi [options...] URL(s)

- -

DESCRIPTION

- -

smolbote is a keep-it-simple free software web browser.

- -

COMMAND-LINE OPTIONS

- -

General

- - - - -

Configuration

- - - - -

Plugins

- - - - -

CONFIGURATION

- -

The Configuration is loaded from ~/.config/smolbote/smolbote.cfg, and can be -edited with the poi-config tool.

- -

Settings are only loaded on launch; re-run the browser to apply changes.

- -

Browser

- - - - -

Main Window

- -

A main window contains one or more subwindows.

- - - - -

Subwindow

- -

A subwindow contains multiple tabs and functions similarly to a tab group.

- - - - - - -

The navigation bar is the toolbar that holds the history, reload and home -buttons, as well as the address bar. It can be made movable through the -navigation.movable option.

- - - - -

Address bar

- - - - -

Filter

- - - - -

Plugins

- -

Plugins a way of extending smolbote's functionality using the Qt plugin system. -They are not to be confused with NPAPI/PPAPI or WebExtension plugins.

- -

To enable a plugin either copy it or symlink it in the plugins.path location, -or set its absolute path as the plugins.path.

- - - - -

Profiles

- -

A Profile is a collection of settings, policies, scripts, cookies, cache and -history. Profiles can be used to isolate pages from each other.

- -

Each window has a default profile it uses when opening new tabs. This can be -set by the profile.default option, and can be changed from the window's menu. -Additionally, tabs can have their profiles individually changed from their page -menu.

- -

Because profiles store all their data separately, you can log in into the same -site with a different account from each profile. However, links opened into new -tabs will still use the subwindow's default profile. For example, you can set a -profile to hold login information for a site, but all new tabs opened from that -site would still be using the default off-the-record profile.

- - - - -

Bookmarks

- - - - -

Downloads

- - - - - -
    -
  1. -
  2. June 2018
  3. -
  4. smolbote(7)
  5. -
- -
- - diff --git a/linux/man/smolbote.7.ronn b/linux/man/smolbote.7.ronn deleted file mode 100644 index 98674b9..0000000 --- a/linux/man/smolbote.7.ronn +++ /dev/null @@ -1,119 +0,0 @@ -smolbote(7) -- yet another no-frills browser -==== - -## SYNOPSIS - -`poi` [...] URL(s) - -## DESCRIPTION - -smolbote is a keep-it-simple free software web browser. - -## COMMAND-LINE OPTIONS - -### General -* `-h`, `--help`: Display this help. -* `-v`, `--version`: Display version information. -* `--build`: Display build branch and commit. - -### Configuration -* `-c`, `--config`: Set configuration file. -* `--socket`: Local server socket - -### Plugins -* `--command`: Run a plugin command. -* `--commands`: List all plugin commands. - -## CONFIGURATION - -The Configuration is loaded from _~/.config/smolbote/smolbote.cfg_, and can be -edited with the `poi-config` tool. - -Settings are only loaded on launch; re-run the browser to apply changes. - -### Browser -* browser.stylesheet: path - -### Main Window -A main window contains one or more subwindows. - -* mainwindow.height: 720 -* mainwindow.width: 1280 -* mainwindow.maximized: true -* mainwindow.title: smolbote -* mainwindow.shortcuts.newGroup: Ctrl+G -* mainwindow.shortcuts.newWindow: Ctrl+N -* mainwindow.shortcuts.about: F1 -* mainwindow.shortcuts.quit: Ctrl+Q -* mainwindow.shortcuts.search: F3 -* mainwindow.shortcuts.tileWindows: F9 -* mainwindow.shortcuts.cascadeWindows: F10 - -### Subwindow -A subwindow contains multiple tabs and functions similarly to a tab group. - -* window.shortcuts.new: Ctrl+T -* window.shortcuts.close: Ctrl+X -* window.shortcuts.left: Ctrl+O -* window.shortcuts.right: Ctrl+P -* window.shortcuts.fullscreen: F11 - -### Navigation bar -The navigation bar is the toolbar that holds the history, reload and home -buttons, as well as the address bar. It can be made movable through the -navigation.movable option. - -* navigation.movable: false -* navigation.shortcuts.back: Ctrl+Left -* navigation.shortcuts.forward: Ctrl+Right -* navigation.shortcuts.refresh: F5 -* navigation.shortcuts.reload: Ctrl+F5 -* navigation.shortcuts.home: Ctrl+Home - -### Address bar -* addressbar.shortcuts.focus: F4 -* addressbar.shortcuts.menu: F2 - -### Filter -* filter.path: ~/.config/smolbote/hosts.d -* filter.cookies.block.all: false (todo: in qt5.11) -* filter.cookies.block.thirdParty: true -* filter.cookies.path: ~/.config/smolbote/cookies.d - -### Plugins -Plugins a way of extending smolbote's functionality using the Qt plugin system. -They are not to be confused with NPAPI/PPAPI or WebExtension plugins. - -To enable a plugin either copy it or symlink it in the plugins.path location, -or set its absolute path as the plugins.path. - -* plugins.path: ~/.config/smolbote/plugins.d - -### Profiles -A Profile is a collection of settings, policies, scripts, cookies, cache and -history. Profiles can be used to isolate pages from each other. - -Each window has a default profile it uses when opening new tabs. This can be -set by the profile.default option, and can be changed from the window's menu. -Additionally, tabs can have their profiles individually changed from their page -menu. - -Because profiles store all their data separately, you can log in into the same -site with a different account from each profile. However, links opened into new -tabs will still use the subwindow's default profile. For example, you can set a -profile to hold login information for a site, but all new tabs opened from that -site would still be using the default off-the-record profile. - -* profile.default: '' -* profile.path: ~/.config/smolbote/profiles.d -* profile.search: https://duckduckgo.com/?q=%1&ia=web -* profile.homepage: about:blank -* profile.newtab: about:blank - -### Bookmarks -* bookmarks.path: ~/.config/smolbote/bookmarks.xbel -* bookmarks.shortcut: Ctrl+B - -### Downloads -* downloads.path: ~/Downloads -* downloads.shortcut: Ctrl+D diff --git a/linux/man/smolbote.md b/linux/man/smolbote.md new file mode 100644 index 0000000..320b9c6 --- /dev/null +++ b/linux/man/smolbote.md @@ -0,0 +1,120 @@ +smolbote(7) +=== + +## NAME +smolbote - yet another no-frills web browser + +## SYNOPSIS +`poi` [...] URL(s) + +## DESCRIPTION +todo + +## COMMAND-LINE OPTIONS + +### General +* `-h`, `--help`: Display this help. +* `-v`, `--version`: Display version information. +* `--build`: Display build branch and commit. + +### Configuration +* `-c`, `--config`: Set configuration file. +* `--socket`: Local server socket + +### Plugins +* `--command`: Run a plugin command. +* `--commands`: List all plugin commands. + +## CONFIGURATION + +The Configuration is loaded from _~/.config/smolbote/smolbote.cfg_, and can be +edited with the `poi-config` tool. + +Settings are only loaded on launch; re-run the browser to apply changes. + +### Browser +* browser.stylesheet: path + +### Main Window +A main window contains one or more subwindows. + +* mainwindow.height: 720 +* mainwindow.width: 1280 +* mainwindow.maximized: true +* mainwindow.title: smolbote +* mainwindow.shortcuts.newGroup: Ctrl+G +* mainwindow.shortcuts.newWindow: Ctrl+N +* mainwindow.shortcuts.about: F1 +* mainwindow.shortcuts.quit: Ctrl+Q +* mainwindow.shortcuts.search: F3 +* mainwindow.shortcuts.tileWindows: F9 +* mainwindow.shortcuts.cascadeWindows: F10 + +### Subwindow +A subwindow contains multiple tabs and functions similarly to a tab group. + +* window.shortcuts.new: Ctrl+T +* window.shortcuts.close: Ctrl+X +* window.shortcuts.left: Ctrl+O +* window.shortcuts.right: Ctrl+P +* window.shortcuts.fullscreen: F11 + +### Navigation bar +The navigation bar is the toolbar that holds the history, reload and home +buttons, as well as the address bar. It can be made movable through the +navigation.movable option. + +* navigation.movable: false +* navigation.shortcuts.back: Ctrl+Left +* navigation.shortcuts.forward: Ctrl+Right +* navigation.shortcuts.refresh: F5 +* navigation.shortcuts.reload: Ctrl+F5 +* navigation.shortcuts.home: Ctrl+Home + +### Address bar +* addressbar.shortcuts.focus: F4 +* addressbar.shortcuts.menu: F2 + +### Filter +* filter.path: ~/.config/smolbote/hosts.d +* filter.cookies.block.all: false (todo: in qt5.11) +* filter.cookies.block.thirdParty: true +* filter.cookies.path: ~/.config/smolbote/cookies.d + +### Plugins +Plugins a way of extending smolbote's functionality using the Qt plugin system. +They are not to be confused with NPAPI/PPAPI or WebExtension plugins. + +To enable a plugin either copy it or symlink it in the plugins.path location, +or set its absolute path as the plugins.path. + +* plugins.path: ~/.config/smolbote/plugins.d + +### Profiles +A Profile is a collection of settings, policies, scripts, cookies, cache and +history. Profiles can be used to isolate pages from each other. + +Each window has a default profile it uses when opening new tabs. This can be +set by the profile.default option, and can be changed from the window's menu. +Additionally, tabs can have their profiles individually changed from their page +menu. + +Because profiles store all their data separately, you can log in into the same +site with a different account from each profile. However, links opened into new +tabs will still use the subwindow's default profile. For example, you can set a +profile to hold login information for a site, but all new tabs opened from that +site would still be using the default off-the-record profile. + +* profile.default: '' +* profile.path: ~/.config/smolbote/profiles.d +* profile.search: https://duckduckgo.com/?q=%1&ia=web +* profile.homepage: about:blank +* profile.newtab: about:blank + +### Bookmarks +* bookmarks.path: ~/.config/smolbote/bookmarks.xbel +* bookmarks.shortcut: Ctrl+B + +### Downloads +* downloads.path: ~/Downloads +* downloads.shortcut: Ctrl+D -- cgit v1.2.1