From c3bcb0cc44e8ecb10967e3027fb52552c8245874 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Mon, 1 May 2017 11:03:15 +0200 Subject: [PATCH] first commit --- .SRCINFO | 22 ++++++++++++++++++++++ .gitignore | 5 +++++ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ README.md | 11 +++++++++++ ospkit-git.install | 12 ++++++++++++ ospkit.desktop | 10 ++++++++++ ospkit.png | Bin 0 -> 1399 bytes 7 files changed, 95 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD create mode 100644 README.md create mode 100644 ospkit-git.install create mode 100644 ospkit.desktop create mode 100644 ospkit.png diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..d276552 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Mon May 1 08:42:45 UTC 2017 +pkgbase = ospkit-git + pkgdesc = Webkit based html browser for printing. + pkgver = r19.7fe30da + pkgrel = 1 + url = http://osp.kitchen/tools/ospkit/ + arch = any + license = AGPL + makedepends = git + makedepends = qt5-webkit + depends = desktop-file-utils + provides = ospkit + source = git+http://gitlab.constantvzw.org/osp/tools.ospkit.git + source = ospkit.desktop + source = ospkit.png + md5sums = SKIP + md5sums = b921f154668105b891a8eac7e12ce94d + md5sums = 908a48e767b3286fa6e9a1d8b571ef65 + +pkgname = ospkit-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c7bd1cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +src +pkg +ospkit +tools.ospkit +ospkit-git-* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b70b9eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ + +# Maintainer: Bachir Soussi Chiadmi (scbh at g-u-i dot me) +pkgname=ospkit-git +pkgver=r19.7fe30da +pkgrel=1 +pkgdesc="Webkit based html browser for printing." +arch=('any') +url="http://osp.kitchen/tools/ospkit/" +license=('AGPL') +depends=('desktop-file-utils') +makedepends=('git' 'qt5-webkit') +provides=('ospkit') +source=('git+http://gitlab.constantvzw.org/osp/tools.ospkit.git' 'ospkit.desktop' 'ospkit.png') +md5sums=('SKIP' 'b921f154668105b891a8eac7e12ce94d' '908a48e767b3286fa6e9a1d8b571ef65') +conflicts=("") + +pkgver() { + cd "$srcdir/tools.ospkit" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/tools.ospkit/src/" + qmake + make +} + +package() { + mkdir -p "$pkgdir/usr/bin" + install "$srcdir/tools.ospkit/src/OSPKit" "$pkgdir/usr/bin/ospkit" + mkdir -p "$pkgdir/usr/share/applications" + install -Dm644 ospkit.desktop "$pkgdir/usr/share/applications/ospkit.desktop" + mkdir -p "$pkgdir/usr/share/pixmaps" + install -Dm644 ospkit.png "$pkgdir/usr/share/pixmaps/ospkit.png" +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..7361ba9 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +OSPKit arch linux package +============================ +The aim is to lay out printed documents within a web browser. + +Highlights: + +This browser is meant to be used with the project html2print available here: http://osp.kitchen/tools/html2print/. +The aim is to lay out printed documents within a web browser. +We built our own webkit browser in order to have a faster browser and good typography (weirdly, the bearings and kernings can be weird in certain webkit browsers). + +website: diff --git a/ospkit-git.install b/ospkit-git.install new file mode 100644 index 0000000..4d4a283 --- /dev/null +++ b/ospkit-git.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/ospkit.desktop b/ospkit.desktop new file mode 100644 index 0000000..75ae68d --- /dev/null +++ b/ospkit.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=OSPKit +Comment=Webkit based html browser for printing. +GenericName= +Exec=/usr/bin/ospkit +Icon=ospkit +Type=Application +StartupNotify=true +Categories=Graphisme; +MimeType=text/plain; diff --git a/ospkit.png b/ospkit.png new file mode 100644 index 0000000000000000000000000000000000000000..660b48cae11f50fb21af146b5fce48e9fcee3236 GIT binary patch literal 1399 zcmV--1&I2IP)H$vY0Fqlf}52Qczn#3XVyps7#%gO^s5Sf}((6YfCTZ zyN9g^<8rD!=S-7*-}=x0|NVcy|MUN!Ur$eg|0OP3bYG8YtD7;O`}IYWjx%f5hbR{YPz?4}k#AmH!HDUpb zSbZ-*!7b*hU;qHQ8}&#i{1h=s8HkK~*j~6P2g!Nwjaq%b6M!%vW*H?T?l`k)fy8+w z2zUac+NZy$MqKKfh}M-Ozw+2U59uT-+?)w#$IzJef{$|Gx}G|GW&BQn zzJ4(~9&JKZ% zrN>x@DawHpDmECtp<{PnSnxr)t_!r!Z{rV0kRRTJNH!GhW4FyE34BoQZh>~=sWD%> zC51l#4eN{S>~9~E6n;3wEwZWX4EJEV^zbI=**Nb6?_UYX0w0v8hqRYnq!}|LgpbW; z^TG@Cgm+#;mSeYzw(PCaz}M(X*s}C8eS^xtcUhgRH|&xI-kQFG$JRO+@IHm`w%iJ~ zZ@fW4-YqW=eEqDgVHc?X0)DtabyW90eel5o)n%2oKq&$rEKq%?V~wsvnh-mo=AnWr{<8WCogI&N zIr>fxvGYe41D?=B9DVt!WLE+JXn~IPhF$#igHC$yJz9W^U)-Wuvw??8_Vf7KOYHf{ zE4noUL*&u&Ym$Zl0Gg1=!*lC+p{kdG5O>!3&$?+wIsmX5v9xBar`_1Zw)GD7pPo30 z)Z1xPkh5{)?GD}D%7y>{TJzWO$V+F~ z-#&4nIQ#Jpv4?N&#cb9Wf5(>P=XmY=0s8JM7{Y{THWY1VYxz~W9Ag8VuKbf0=tA~0 zYm981yO*u6UgC{fHwB;kA^r)Xr`=f1GnL)+4m=Fd{(dJ-BVJa7>Ssd?4`i%i(}D(` ze9OVx&4TP90D!ex0~_Wv^2)b&DFnz<8?J}@nV%KNf?m)?lkVC2h&!v z`T5gqEbR%tm6ycVggjajo|VdP^2w?Y!P=>!|1yzEe*v)i<2-n@?J@uW002ovPDHLk FV1h~}nZE!4 literal 0 HcmV?d00001