Compare commits

44 Commits

Author SHA1 Message Date
f4ea9db111 openrc: version bump to 0.38.2 2018-08-26 00:53:01 +08:00
e930449f37 mypy: version bump to 0.620 2018-08-26 00:52:58 +08:00
e7d042869d fd: version bump to 7.1.0 2018-08-26 00:52:49 +08:00
bb07e4e80e sets: add haskell-platform set 2018-08-25 19:38:12 +08:00
871a91b362 dev-haskell/stack-bin: initial import 2018-08-25 19:32:51 +08:00
56fe1ad1ba dev-lang/ghc-bin: add cabal-install-bin to suggestions 2018-08-25 19:32:50 +08:00
9c79a42687 dev-haskell/cabal-install-bin: initial import of version 2.2.0.0 2018-08-25 19:32:50 +08:00
656f415319 metadata: add dev-haskell category 2018-08-25 19:32:50 +08:00
6d0047b15b dev-lang/ghc-bin: add SLOT 8.4.3 2018-08-25 19:32:50 +08:00
eb46eeb54e dev-lang/ghc-bin: add SLOT 8.2.2 2018-08-25 19:32:39 +08:00
59c279f05a dev-lang/ghc-bin: initial import of SLOT 8.0.2 2018-08-25 19:32:24 +08:00
995b0138dd dev-db/pgmodeler: update HOMEPAGE 2018-08-22 23:43:09 +08:00
b9afac0f48 remmina: fix scm installation 2018-08-20 10:24:18 +08:00
205a50effc remmina: version bump to 1.2.31.3 2018-08-20 10:24:14 +08:00
10c4c1b7b3 sys-apps/lenovo-throttling-fix: add scm exheres 2018-08-19 20:10:36 +08:00
9a601442e3 net-im/signal-desktop: bump to 1.15.5, fix install 2018-08-19 01:33:20 +08:00
c08fc8400b dev-perl/razor: fix build 2018-08-17 11:04:10 +08:00
60b56ff450 net-im/slack: initial import 2018-08-16 01:33:07 +08:00
4d82b35a66 sys-boot/unetbootin: revival and bump from ::nicoo 2018-08-16 00:37:51 +08:00
42725634cf voip/skypeforlinux: bump to 8.28.76.42 2018-08-15 01:38:34 +08:00
2294d2c243 monitor/s-tui: initial import 2018-08-14 23:50:17 +08:00
a4ab7b3c37 app-benchmarks/stress: initial import 2018-08-14 23:47:58 +08:00
39ce51f794 sys-apps/lenovo-throttling-fix: initial import 2018-08-14 20:30:18 +08:00
e5e2a4831d dev-python/python-periphery: initial import 2018-08-14 20:08:24 +08:00
8c7684eda0 metadata: formatting/ordering 2018-08-14 19:37:33 +08:00
81e2b82889 sys-apps/ripgrep: initial import 2018-08-14 19:36:44 +08:00
74909aee4c sys-apps/fd: initial import 2018-08-14 19:30:24 +08:00
765f0a42d0 Merge remote-tracking branch 'origin/merge-requests/7' 2018-08-13 10:34:25 +08:00
711718c2be python-sipsimple: Add patches to fix PJSIP compilation 2018-08-06 08:29:54 +01:00
c2c25bf9eb Update contribution info 2018-06-28 13:40:53 +02:00
ec0115a46e Update contribution info 2018-06-26 17:08:02 +02:00
83979d829f app-editors/oni: initial import 2018-06-24 20:38:36 +02:00
1266ca53b9 voip/teamspeak-client-bin: bump to 3.1.10 2018-06-23 15:34:07 +02:00
44fe707906 Merge remote-tracking branch 'gitlab/merge-requests/6' 2018-06-19 23:29:51 +02:00
16ea3713b2 mypy: version bump to 0.610 2018-06-19 20:54:16 +03:00
768adc4562 app-editors/neovim-gtk: fix build of 0.1.1 2018-06-16 13:51:22 +02:00
e0958880e1 app-editors/neovim-gtk: fix install phase 2018-06-16 01:40:47 +02:00
83386b0d6e app-editors/neovim-gtk: add MimeType to desktop entry 2018-06-15 20:25:15 +02:00
c7d218beda app-editors/neovim-gtk: initial import 2018-06-14 00:32:00 +02:00
4925c7abf9 desktop-utils.exlib: extend categories 2018-06-14 00:27:12 +02:00
068d5d76dd dev-ruby/neovim-ruby: initial import 2018-06-13 23:33:55 +02:00
c56801c820 dev-ruby/msgpack: initial import 2018-06-13 23:33:55 +02:00
538aeffbfd metadata: add dev-ruby category 2018-06-13 23:33:55 +02:00
24d056ae33 metadata: mask net-misc/trickle[~scm] 2018-06-13 23:33:55 +02:00
42 changed files with 1424 additions and 18 deletions

View File

@@ -8,7 +8,5 @@ Random exheres.
You have these possibilities:
1. use https://gitlab.exherbo.org/exherbo-unofficial/hasufell
2. use the patchbot on irc.freenode.net in `#exherbo`: https://exherbo.org/docs/patchbot.html
3. git patch via email to: hasufell `ä` hasufell.de
4. ask for an account on https://gogs.hasufell.de and fork+PR
1. git patch via email to: hasufell `ä` hasufell.de
2. create an account [here](https://gogs.hasufell.de/user/sign_up) and fork+PR

View File

@@ -105,6 +105,12 @@ find_desktop_file_category() {
local subcat=
case ${CATEGORY} in
app*) maincat="Utility"
case ${CATEGORY##*-} in
editors) subcat="TextEditor";;
*) ;;
esac
;;
dev*) maincat="Development"
case ${CATEGORY##*-} in
db) subcat="Database";;

View File

@@ -1,5 +1,6 @@
app-admin
app-arch
app-benchmarks
app-crypt
app-editors
app-ergonomics
@@ -8,11 +9,13 @@ dev-cpp
dev-db
dev-dotnet
dev-games
dev-haskell
dev-lang
dev-libs
dev-ocaml
dev-perl
dev-python
dev-ruby
dev-tcl
dev-util
games-action
@@ -33,6 +36,7 @@ media-libs
media-plugins
media-sound
media-video
monitor
net-firewall
net-im
net-libs
@@ -41,6 +45,7 @@ net-p2p
net-www
sci-mathematics
sys-apps
sys-boot
sys-process
voip
www-apps

View File

@@ -1,4 +1,5 @@
(
app-editors/neovim-gtk[~scm]
dev-lang/fsharp[~scm]
dev-lang/fstar[~scm]
dev-python/pytype[~scm]
@@ -7,17 +8,21 @@
games-engines/OpenJK[~scm]
games-engines/flare[~scm]
games-fps/eduke32[~scm]
games-rpg/valyriatear[~scm]
games-rpg/flare[~scm]
games-rpg/valyriatear[~scm]
games-strategy/freesynd[~scm]
media/livestreamer[~scm]
media-gfx/pinta[~scm]
media-sound/pnmixer[~scm]
media-sound/pnmixer-rs[~scm]
media-sound/pnmixer[~scm]
media/livestreamer[~scm]
net-im/gajim-omemo[~scm]
net-im/lurch[~scm]
net-im/pidgin-opensteamworks[~scm]
net-misc/remmina[~scm]
net-misc/trickle[~scm]
sys-apps/fd[~scm]
sys-apps/lenovo-throttling-fix[~scm]
sys-apps/ripgrep[~scm]
x11-apps/terminator[~scm]
x11-misc/cbatticon[~scm]
x11-wm/i3[~scm]

View File

@@ -0,0 +1,14 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="Imposes stressful loads on different aspects of the system"
HOMEPAGE="https://people.seas.harvard.edu/~apw/stress"
DOWNLOADS="https://people.seas.harvard.edu/~apw/stress/${PNV}.tar.gz"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,26 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require neovim-gtk
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
app-editors/neovim
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3[>=3.10.0]
x11-libs/pango
"
src_install() {
ecargo_install
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/128x128/apps
doins desktop/nvim-gtk.png
}

View File

@@ -0,0 +1,38 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require neovim-gtk
DOWNLOADS=""
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
app-editors/neovim
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3[>=3.22.0]
x11-libs/pango[>=1.38]
"
src_unpack() {
cargo_src_unpack
}
src_install() {
ecargo_install
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/48x48/apps
doins desktop/org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/scalable/apps
doins desktop/org.daa.NeovimGtk.svg
}

View File

@@ -0,0 +1,30 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require freedesktop-desktop gtk-icon-cache
require cargo [ channel=stable ]
require github [ user=daa84 tag="v${PV}" ]
SUMMARY="Gtk ui for neovim"
HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}"
LICENCES="GPL-3.0"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"
src_prepare() {
default
export PREFIX=/usr
}
pkg_postinst() {
freedesktop-desktop_update_desktop_database
gtk-icon-cache_pkg_postinst
}
pkg_postrm() {
freedesktop-desktop_update_desktop_database
gtk-icon-cache_pkg_postrm
}

View File

@@ -0,0 +1,96 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require desktop-utils gtk-icon-cache freedesktop-desktop
SUMMARY="An IDE powered by Neovim"
HOMEPAGE="https://www.onivim.io/"
DOWNLOADS="
platform:amd64? ( https://github.com/onivim/oni/releases/download/v${PV}/Oni-${PV}-x64-linux.tar.gz )
https://aur.archlinux.org/cgit/aur.git/plain/icons.tar.gz?h=oni -> oni-icons.tar.gz
"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64"
MYOPTIONS="
( platform: amd64 )
"
DEPENDENCIES="
run:
app-editors/neovim
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
gnome-platform/GConf:2
media-libs/fontconfig
net-print/cups
sys-apps/dbus
sys-sound/alsa-lib
x11-libs/cairo
x11-libs/gdk-pixbuf:2.0
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libxcb
x11-libs/libxkbfile
x11-libs/pango
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS="github:onivim/${PN}"
UPSTREAM_DOCUMENTATION="https://onivim.github.io/oni-docs/"
WORK=${WORKBASE}/Oni-${PV}-x64-linux
pkg_setup() {
exdirectory --allow /opt
}
src_install() {
insinto /opt/${PN}
doins -r *
chmod +x "${IMAGE}"/opt/${PN}/oni
herebin ${PN} <<EOF
#!/bin/bash
set -e
cd /opt/${PN}
exec ./oni "\$@"
EOF
install_desktop_entry \
"MimeType=text/english;text/plain;text/markdown;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python;" \
"Categories=Utility;TextEditor;" \
"Keywords=Text;Editor;Neovim;" \
"GenericName=Text Editor"
for i in 16x16 32x32 64x64 128x128 256x256 512x512 1024x1024; do
insinto /usr/share/icons/hicolor/${i}/apps
newins "${WORKBASE}"/icons/${i}.png oni.png
done
}
pkg_postinst() {
freedesktop-desktop_pkg_postinst
gtk-icon-cache_pkg_postinst
}
pkg_postrm() {
freedesktop-desktop_pkg_postrm
gtk-icon-cache_pkg_postrm
}

View File

@@ -13,7 +13,7 @@ the job for you! This software reunites the concepts of entity-relationship
diagrams and the features that PostgreSQL implements as extensions of SQL
standards.
"
HOMEPAGE="https://www.pgmodeler.com.br ${HOMEPAGE}"
HOMEPAGE="https://pgmodeler.io/ ${HOMEPAGE}"
LICENCES="GPL-3"
SLOT="0"

View File

@@ -0,0 +1,30 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="cabal-install is the command line interface to Cabal and hackage"
HOMEPAGE="https://www.haskell.org/cabal/"
DOWNLOADS="https://www.haskell.org/cabal/release/cabal-install-${PV}/cabal-install-${PV}-x86_64-unknown-linux.tar.gz"
LICENCES="BSD-3"
SLOT="0"
PLATFORMS="-* ~amd64"
MYOPTIONS=""
DEPENDENCIES="
run:
dev-lang/ghc-bin
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
!dev-haskell/cabal-install [[
description = [ Both install the same binary ]
resolution = uninstall-blocked-after
]]
"
BUGS_TO="hasufell@posteo.de"
WORK=${WORKBASE}
src_install() {
dobin cabal
}

View File

@@ -0,0 +1,31 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
SUMMARY="The Haskell Tool Stack"
DESCRIPTION="
Stack is a cross-platform program for developing Haskell projects.
It is intended for Haskellers both new and experienced.
"
HOMEPAGE="http://haskellstack.org/"
DOWNLOADS="https://github.com/commercialhaskell/stack/releases/download/v${PV}/stack-${PV}-linux-x86_64.tar.gz"
LICENCES="BSD-3"
SLOT="0"
PLATFORMS="-* ~amd64"
MYOPTIONS=""
DEPENDENCIES="
run:
dev-lang/ghc-bin
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
"
BUGS_TO="hasufell@posteo.de"
WORK=${WORKBASE}/stack-${PV}-linux-x86_64
src_install() {
default
dobin stack
}

View File

@@ -0,0 +1,218 @@
# ghc-pkg command line completion for bash
#
# Copyright 2006-2007 Lennart Kolmodin <kolmodin@dtek.chalmers.se>
_ghc-pkg-get-ghc-pkg()
{
echo ghc-pkg
}
_ghc-pkg-pkg-fields()
{
# usage: _ghc-pkg-pkg-fields pkg-id
#
# list all fields of the pkg-id
# same fields for all packages but different in different versions of
# ghc-pkg? this can probably be done better/faster
if [[ -z "$1" ]]; then
echo "usage: _ghc-pkg-pkg-fields pkg-id"
return 1
fi
local fields
fields="$( $(_ghc-pkg-get-ghc-pkg) describe $1 )"
#if [[ fields != *"cannot find package"* ]]; then
echo "$fields" | grep ".*:.*" | sed "s/^\(.*\):.*\$/\1/"
#fi
}
_ghc-pkg-pkg-ids()
{
# usage: _ghc-pkg-pkg-ids
#
# simply lists all package ids known by ghc-pkg.
$(_ghc-pkg-get-ghc-pkg) list --simple-output
}
_ghc-pkg-pkgs()
{
# usage: _ghc-pkg-pkgs [include-pkgs] [include-ids]
#
# with optional parameter include-pkgs it will list all packages known
# to ghc-pkg.
# with optional parameter include-ids it will list all package-ids known
# to ghc-pkg.
local pkgs
local result
pkgs=( $( _ghc-pkg-pkg-ids ) )
result=( )
local withPkgs="no" withIds="no"
while [[ -n "$1" ]]; do
case "$1" in
include-pkgs)
withPkgs="yes" ;;
include-ids)
withIds="yes" ;;
*)
echo "unknown parameter '$1' to _ghc-pkg-pkgs"
return 1 ;;
esac
shift
done
# user must supply either include-pkgs, include-ids or both
if [[ $withPkgs != "yes" && $withIds != "yes" ]]; then
echo "usage: _ghc-pkg-pkgs [include-pkgs] [include-ids]"
return 1
fi
# find all packages if the user requested them
if [[ $withPkgs == "yes" ]]; then
# O(n^2) algorithm to exclude duplicates
for p in ${pkgs[*]}; do
p="${p//-[0-9.]*/}"
for existing in ${result[*]}; do
if [[ "$existing" == "$p" ]]; then
continue 2
fi
done
result=( "${result[@]}" "${p}" )
done
fi
# include all pkg-ids if requested
if [[ $withIds == "yes" ]]; then
result=( "${result[@]}" "${pkgs[@]}" )
fi
# we are finished, echo the result
echo "${result[*]}"
# happy ending
return 0
}
_ghc-pkg()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=()
local actions flags
actions='register update unregister expose hide list latest describe field'
dbflags="--user \
--global \
-f --package-conf= \
--global-conf="
registerflags="--force \
-g --auto-ghci-libs \
-D --define-name="
listflags="--simple-output"
flags="$dbflags \
$registerflags \
$listflags \
-? --help \
-V --version"
# if it's the users first word; complete it and return
if (($COMP_CWORD == 1)); then
COMPREPLY=( $( compgen -W "$actions $flags" -- $cur ) )
return 0
fi
# now we know we have at least one word written
local action="unknown" \
prev numwords \
cword act
prev=${COMP_WORDS[COMP_CWORD-1]}
numwords=${#COMP_WORDS[@]}
# find the action with O(n*m) algorithm
# where n = ${#COMP_WORDS[*]}
# m = number of actions
for cword in ${COMP_WORDS[*]}; do
for act in $actions; do
if [[ "$cword" == "$act" ]]; then
action=$cword
fi
done
done
case $action in
register|update)
# we want to complete both flags and paths, how?
# we do it by checking if the user has started to write a flag
# or a path, and then decide what to complete.
# that is, to complete a flag, the user must start to write a '-'
if [[ "$cur" == -* ]]; then
# (we assume) it's the start of a flag
# set COMPREPLY to flags relevant to these actions
COMPREPLY=( $( compgen -W "$dbflags $registerflags" -- $cur ) )
fi
;;
unregister|expose|hide|list|describe)
# all these actions can be completed with exactly one argument,
# a pkg-id.
COMPREPLY=( $( compgen -W "$dbflags" -- $cur ) )
# add special flags for some actions
if [[ "$action" == "list" ]]; then
COMPREPLY+=( $( compgen -W "$listflags" -- $cur ) )
fi
COMPREPLY+=( $( compgen -W "$( _ghc-pkg-pkgs include-ids )" -- $cur ) )
;;
latest)
# complete only packages, not package ids
COMPREPLY=( $( compgen -W "$( _ghc-pkg-pkgs include-pkgs )" -- $cur ) )
;;
field)
# we should always complete on the flags...
COMPREPLY=( $( compgen -W "$dbflags" -- $cur ) )
# then, we should either complete the package name or the field
# lets find out which one
# find the number of words in COMP_WORDS before COMP_CWORD that
# isn't flags. it should be 2 or 3 for us to complete it,
# exactly 2 if we should complete the package name
# exactly 3 if we should complete the field name
# otherwise, don't do any additional completion except the
# flags
# count the number of non flags up till the current word
local numnonflags=0 lastword i
for (( i=0 ; $i < $COMP_CWORD ; i++ )); do
if [[ ${COMP_WORDS[$i]} != -* ]]; then
lastword=${COMP_WORDS[$i]}
numnonflags=$(( ++numnonflags ))
fi
done
case $numnonflags in
2)
# complete on pkg-ids
COMPREPLY+=( $( compgen -W "$( _ghc-pkg-pkgs include-ids )" -- $cur ) ) ;;
3)
# complete on fields
COMPREPLY+=( $( compgen -W "$( _ghc-pkg-pkg-fields $lastword )" -- $cur ) ) ;;
esac
;;
*)
# unknown action, not yet given by the user
# return all possible completions
COMPREPLY=( $( compgen -W "$actions $flags" -- $cur ) )
;;
esac
}
complete -F _ghc-pkg -o default ghc-pkg
# vim: set ft=sh tw=80 sw=4 et :

View File

@@ -0,0 +1,88 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require bash-completion alternatives
SUMMARY="The Glorious Glasgow Haskell Compilation System"
DESCRIPTION="
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
language Haskell."
HOMEPAGE="https://www.haskell.org/ghc/"
DOWNLOADS="https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-deb7-linux.tar.xz"
LICENCES="BSD-3"
SLOT="${PV}"
PLATFORMS="-* ~amd64"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-lang/perl:*[>=5.6.1]
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
!dev-lang/ghc [[
description = [ Both install the same binaries/libs and alternatives ]
resolution = uninstall-blocked-before
]]
suggestion:
dev-haskell/cabal-install-bin [[ description = [ the cabal binary for installing packages ] ]]
dev-lang/llvm[>=2.7] [[ description = [ LLVM can be used for code generation and linking ] ]]
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS="freecode:${PN}"
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
RESTRICT="test"
WORK=${WORKBASE}/ghc-${PV}
src_configure() {
# we are not building, shut up already
edo mkdir "${TEMP}"/bin
edo ln -s /usr/$(exhost --target)/bin/$(exhost --tool-prefix)ar "${TEMP}/bin/ar"
edo ln -s /usr/$(exhost --target)/bin/true "${TEMP}"/bin/strip
export PATH="${TEMP}/bin:$PATH"
edo ./configure \
--prefix=/usr/x86_64-pc-linux-gnu \
--datadir=/usr/share \
--datarootdir=/usr/share \
--docdir=/usr/share/doc/ghc-bin-${PV}
}
src_compile() {
:
}
src_install() {
default
# bashcomp
dobashcompletion "${FILES}/ghc-bash-completion"
alternatives_for ghc ${SLOT} ${SLOT} \
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
# some scripts are not versioned, move
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
# remove unversioned symlinks, we create alternatives later
local ghc_bin
for ghc_bin in ghc ghci ghc-pkg haddock runghc runhaskell ; do
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
done
unset ghc_bin
# create alternatives for scripts/binaries
alternatives_for ghc ${SLOT} ${SLOT} \
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}} \
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
}

View File

@@ -0,0 +1,85 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require bash-completion alternatives
SUMMARY="The Glorious Glasgow Haskell Compilation System"
DESCRIPTION="
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
language Haskell."
HOMEPAGE="https://www.haskell.org/ghc/"
DOWNLOADS="https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-deb7-linux.tar.xz"
LICENCES="BSD-3"
SLOT="${PV}"
PLATFORMS="-* ~amd64"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-lang/perl:*[>=5.6.1]
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
!dev-lang/ghc [[
description = [ Both install the same binaries/libs and alternatives ]
resolution = uninstall-blocked-before
]]
suggestion:
dev-haskell/cabal-install-bin [[ description = [ the cabal binary for installing packages ] ]]
dev-lang/llvm[>=2.7] [[ description = [ LLVM can be used for code generation and linking ] ]]
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS="freecode:${PN}"
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
RESTRICT="test"
WORK=${WORKBASE}/ghc-${PV}
src_configure() {
# we are not building, shut up already
edo mkdir "${TEMP}"/bin
edo ln -s /usr/$(exhost --target)/bin/$(exhost --tool-prefix)ar "${TEMP}/bin/ar"
edo ln -s /usr/$(exhost --target)/bin/true "${TEMP}"/bin/strip
export PATH="${TEMP}/bin:$PATH"
econf \
--target=$(exhost --target)
}
src_compile() {
:
}
src_install() {
default
# bashcomp
dobashcompletion "${FILES}/ghc-bash-completion"
alternatives_for ghc ${SLOT} ${SLOT} \
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
# some scripts are not versioned, move
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
# remove unversioned symlinks, we create alternatives later
local ghc_bin
for ghc_bin in ghc ghci ghc-pkg haddock runghc runhaskell ; do
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
done
unset ghc_bin
# create alternatives for scripts/binaries
alternatives_for ghc ${SLOT} ${SLOT} \
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}} \
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
}

View File

@@ -0,0 +1,92 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require bash-completion alternatives
SUMMARY="The Glorious Glasgow Haskell Compilation System"
DESCRIPTION="
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
language Haskell."
HOMEPAGE="https://www.haskell.org/ghc/"
DOWNLOADS="https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-fedora27-linux.tar.xz"
LICENCES="BSD-3"
SLOT="${PV}"
PLATFORMS="-* ~amd64"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-lang/perl:*[>=5.6.1]
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
!dev-lang/ghc [[
description = [ Both install the same binaries/libs and alternatives ]
resolution = uninstall-blocked-before
]]
suggestion:
dev-haskell/cabal-install-bin [[ description = [ the cabal binary for installing packages ] ]]
dev-lang/llvm[>=2.7] [[ description = [ LLVM can be used for code generation and linking ] ]]
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS="freecode:${PN}"
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
RESTRICT="test"
WORK=${WORKBASE}/ghc-${PV}
src_configure() {
econf \
--target=$(exhost --target)
}
src_compile() {
:
}
src_install() {
default
# bashcomp
dobashcompletion "${FILES}/ghc-bash-completion"
alternatives_for ghc ${SLOT} ${SLOT} \
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
# some scripts are not versioned, move
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
# remove unversioned symlinks, we create alternatives later
local ghc_bin
for ghc_bin in ghc ghci ghc-pkg haddock runghc runhaskell ; do
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
done
unset ghc_bin
# create alternatives for scripts/binaries
alternatives_for ghc ${SLOT} ${SLOT} \
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}} \
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
# alternatives for manpages
local file alternatives=()
for file in "${IMAGE}"/usr/share/man/*/*; do
alternatives+=(
${file#${IMAGE}}
${file#${IMAGE}}-${SLOT}
)
done
alternatives_for \
ghc ${SLOT} ${SLOT} \
"${alternatives[@]}"
}

View File

@@ -30,14 +30,9 @@ src_install() {
# utterly broken shit, doesn't honour INSTALLMAN1DIR etc
# no, I'm not hacking on perl build systems
dodir /usr/share/man
edo mv "${IMAGE%/}"/usr/$(exhost --target)/man/man1 \
"${IMAGE%/}"/usr/share/man/man1
edo mv "${IMAGE%/}"/usr/$(exhost --target)/man/man3 \
"${IMAGE%/}"/usr/share/man/man3
edo mv "${IMAGE%/}"/usr/$(exhost --target)/share/man/man5 \
"${IMAGE%/}"/usr/share/man/man5
edo rmdir "${IMAGE%/}"/usr/$(exhost --target)/man \
"${IMAGE%/}"/usr/$(exhost --target)/share/man \
edo rmdir "${IMAGE%/}"/usr/$(exhost --target)/share/man \
"${IMAGE%/}"/usr/$(exhost --target)/share
}

View File

@@ -24,14 +24,26 @@ MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/typed-ast[>=1.1.0&<1.2.0][python_abis:*(-)?]
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?]
python_abis:3.4? (
dev-python/typing[>=3.5.3][python_abis:3.4]
)
test:
dev-python/py[>=1.5.2][python_abis:*(-)?]
dev-python/pytest[>=3.0][python_abis:*(-)?]
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
dev-python/pytest-xdist[>=1.18][python_abis:*(-)?]
dev-python/virtualenv[python_abis:*(-)?]
suggestion:
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?] [[
description = [ Show memory stats in 'dmypy status -v' ] ]]
"
BUGS_TO="hasufell@posteo.de"
# Require upstream release with https://github.com/python/mypy/pull/5191 included
# Require unpackaged: flake8-bugbear, flake8-pyi
RESTRICT="test"
prepare_one_multibuild() {
edo sed -i \
-e "/target = /s|lib|$(exhost --target)/lib|" \
@@ -40,3 +52,7 @@ prepare_one_multibuild() {
setup-py_prepare_one_multibuild
}
test_one_multibuild() {
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
}

View File

@@ -0,0 +1,22 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="vsergeev" ]
require pypi
require setup-py [ import=setuptools test=pytest ]
SUMMARY="A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux"
HOMEPAGE="https://github.com/vsergeev/python-periphery ${HOMEPAGE}"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
test:
dev-python/pytest-runner[python_abis:*(-)?]
"
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,30 @@
Upstream: https://github.com/AGProjects/python-sipsimple/pull/3
From f96d1e8637f817dc76188742d2e0e1b7b2776581 Mon Sep 17 00:00:00 2001
From: Benjamin Lamowski <benjamin@lamowski.net>
Date: Tue, 22 May 2018 10:11:06 -0400
Subject: [PATCH] pjsip: fix compilation error with FFmpeg 2.8.14
---
deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c b/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
index cf859408..097479f6 100644
--- a/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
+++ b/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
@@ -1684,12 +1684,12 @@ static pj_status_t ffmpeg_codec_decode_whole(pjmedia_vid_codec *codec,
avpacket.size = (int)input->size;
/* ffmpeg warns:
- * - input buffer padding, at least FF_INPUT_BUFFER_PADDING_SIZE
+ * - input buffer padding, at least AV_INPUT_BUFFER_PADDING_SIZE
* - null terminated
* Normally, encoded buffer is allocated more than needed, so lets just
* bzero the input buffer end/pad, hope it will be just fine.
*/
- pj_bzero(avpacket.data+avpacket.size, FF_INPUT_BUFFER_PADDING_SIZE);
+ pj_bzero(avpacket.data+avpacket.size, AV_INPUT_BUFFER_PADDING_SIZE);
output->bit_info = 0;
output->timestamp = input->timestamp;

View File

@@ -0,0 +1,173 @@
Upstream: https://trac.pjsip.org/repos/changeset/5405/pjproject/trunk/pjmedia/src/pjmedia-codec/openh264.cpp
Reason: Support for OpenH264 v1.6.0 codec
Index: deps/pjsip/pjmedia/src/pjmedia-codec/openh264.cpp
===================================================================
--- deps/pjsip/pjmedia/src/pjmedia-codec/openh264.cpp (revision 5045)
+++ deps/pjsip/pjmedia/src/pjmedia-codec/openh264.cpp (revision 5405)
@@ -164,6 +164,6 @@
struct SLayerPEncCtx
{
- pj_int32_t iDLayerQp;
- SSliceConfig sSliceCfg;
+ pj_int32_t iDLayerQp;
+ SSliceArgument sSliceArgument;
};
@@ -471,16 +471,17 @@
/* Init encoder parameters */
- pj_bzero(&eprm, sizeof(eprm));
- eprm.iInputCsp = videoFormatI420;
+ oh264_data->enc->GetDefaultParams (&eprm);
+ eprm.iComplexityMode = MEDIUM_COMPLEXITY;
eprm.sSpatialLayers[0].uiProfileIdc = PRO_BASELINE;
eprm.iPicWidth = param->enc_fmt.det.vid.size.w;
+ eprm.iUsageType = CAMERA_VIDEO_REAL_TIME;
eprm.iPicHeight = param->enc_fmt.det.vid.size.h;
eprm.fMaxFrameRate = (param->enc_fmt.det.vid.fps.num *
1.0f /
param->enc_fmt.det.vid.fps.denum);
- eprm.uiFrameToBeCoded = (unsigned int) -1;
eprm.iTemporalLayerNum = 1;
eprm.uiIntraPeriod = 0; /* I-Frame interval in frames */
- eprm.bEnableSpsPpsIdAddition = (oh264_data->whole? false : true);
+ eprm.eSpsPpsIdStrategy = (oh264_data->whole ? CONSTANT_ID :
+ INCREASING_ID);
eprm.bEnableFrameCroppingFlag = true;
eprm.iLoopFilterDisableIdc = 0;
@@ -505,16 +506,17 @@
pj_bzero(&elayer_ctx, sizeof (SLayerPEncCtx));
elayer_ctx.iDLayerQp = 24;
- elayer_ctx.sSliceCfg.uiSliceMode = (oh264_data->whole ?
- SM_SINGLE_SLICE : SM_DYN_SLICE);
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceSizeConstraint = param->enc_mtu;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceNum = 1;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[0] = 960;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[1] = 0;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[2] = 0;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[3] = 0;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[4] = 0;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[5] = 0;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[6] = 0;
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[7] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMode = (oh264_data->whole ?
+ SM_SINGLE_SLICE :
+ SM_SIZELIMITED_SLICE);
+ elayer_ctx.sSliceArgument.uiSliceSizeConstraint = param->enc_mtu;
+ elayer_ctx.sSliceArgument.uiSliceNum = 1;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[0] = 960;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[1] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[2] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[3] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[4] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[5] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[6] = 0;
+ elayer_ctx.sSliceArgument.uiSliceMbNum[7] = 0;
elayer->iVideoWidth = eprm.iPicWidth;
@@ -524,12 +526,12 @@
elayer->iSpatialBitrate = eprm.iTargetBitrate;
elayer->iDLayerQp = elayer_ctx.iDLayerQp;
- elayer->sSliceCfg.uiSliceMode = elayer_ctx.sSliceCfg.uiSliceMode;
-
- memcpy( &elayer->sSliceCfg,
- &elayer_ctx.sSliceCfg,
- sizeof (SSliceConfig));
- memcpy( &elayer->sSliceCfg.sSliceArgument.uiSliceMbNum[0],
- &elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[0],
- sizeof (elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum));
+ elayer->sSliceArgument.uiSliceMode = elayer_ctx.sSliceArgument.uiSliceMode;
+
+ memcpy ( &elayer->sSliceArgument,
+ &elayer_ctx.sSliceArgument,
+ sizeof (SSliceArgument));
+ memcpy ( &elayer->sSliceArgument.uiSliceMbNum[0],
+ &elayer_ctx.sSliceArgument.uiSliceMbNum[0],
+ sizeof (elayer_ctx.sSliceArgument.uiSliceMbNum));
/* Init input picture */
@@ -553,11 +555,18 @@
}
+ int videoFormat = videoFormatI420;
+ rc = oh264_data->enc->SetOption (ENCODER_OPTION_DATAFORMAT, &videoFormat);
+ if (rc != cmResultSuccess) {
+ PJ_LOG(4,(THIS_FILE, "SVC encoder SetOption videoFormatI420 failed, "
+ "rc=%d", rc));
+ return PJMEDIA_CODEC_EFAILED;
+ }
+
/*
* Decoder
*/
sDecParam.sVideoProperty.size = sizeof (sDecParam.sVideoProperty);
- sDecParam.iOutputColorFormat = videoFormatI420;
sDecParam.uiTargetDqLayer = (pj_uint8_t) - 1;
- sDecParam.uiEcActiveFlag = 1;
+ sDecParam.eEcActiveIdc = ERROR_CON_SLICE_COPY;
sDecParam.sVideoProperty.eVideoBsType = VIDEO_BITSTREAM_DEFAULT;
@@ -575,12 +584,4 @@
PJ_LOG(4,(THIS_FILE, "Decoder initialization failed, rc=%d", rc));
return PJMEDIA_CODEC_EFAILED;
- }
-
- pj_int32_t color_fmt = videoFormatI420;
- rc = oh264_data->dec->SetOption (DECODER_OPTION_DATAFORMAT, &color_fmt);
- if (rc) {
- PJ_LOG(4,(THIS_FILE,
- "Warning: SetOption(DECODER_OPTION_DATAFORMAT) failed, rc=%d",
- rc));
}
@@ -662,5 +663,5 @@
}
- if (oh264_data->bsi.eOutputFrameType == videoFrameTypeSkip) {
+ if (oh264_data->bsi.eFrameType == videoFrameTypeSkip) {
output->size = 0;
output->type = PJMEDIA_FRAME_TYPE_NONE;
@@ -682,11 +683,11 @@
/* Find which layer with biggest payload */
oh264_data->ilayer = 0;
- payload_size = oh264_data->bsi.sLayerInfo[0].iNalLengthInByte[0];
+ payload_size = oh264_data->bsi.sLayerInfo[0].pNalLengthInByte[0];
for (i=0; i < (unsigned)oh264_data->bsi.iLayerNum; ++i) {
unsigned j;
pLayerBsInfo = &oh264_data->bsi.sLayerInfo[i];
for (j=0; j < (unsigned)pLayerBsInfo->iNalCount; ++j) {
- if (pLayerBsInfo->iNalLengthInByte[j] > (int)payload_size) {
- payload_size = pLayerBsInfo->iNalLengthInByte[j];
+ if (pLayerBsInfo->pNalLengthInByte[j] > (int)payload_size) {
+ payload_size = pLayerBsInfo->pNalLengthInByte[j];
oh264_data->ilayer = i;
}
@@ -704,5 +705,5 @@
payload_size = 0;
for (int inal = pLayerBsInfo->iNalCount - 1; inal >= 0; --inal) {
- payload_size += pLayerBsInfo->iNalLengthInByte[inal];
+ payload_size += pLayerBsInfo->pNalLengthInByte[inal];
}
@@ -761,5 +762,5 @@
output->size = payload_len;
- if (oh264_data->bsi.eOutputFrameType == videoFrameTypeIDR) {
+ if (oh264_data->bsi.eFrameType == videoFrameTypeIDR) {
output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME;
}
@@ -783,5 +784,5 @@
oh264_data->enc_frame_size = 0;
for (int inal = pLayerBsInfo->iNalCount - 1; inal >= 0; --inal) {
- oh264_data->enc_frame_size += pLayerBsInfo->iNalLengthInByte[inal];
+ oh264_data->enc_frame_size += pLayerBsInfo->pNalLengthInByte[inal];
}
@@ -810,5 +811,5 @@
output->size = payload_len;
- if (oh264_data->bsi.eOutputFrameType == videoFrameTypeIDR) {
+ if (oh264_data->bsi.eFrameType == videoFrameTypeIDR) {
output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME;
}

View File

@@ -48,6 +48,8 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=(
"${FILES}"/${PNV}-fix-build.patch
"${FILES}"/${PNV}-pjmedia-ffmpeg-fix.patch
-p0 "${FILES}"/${PNV}-pjmedia-openh264-1.6.patch
)
src_compile() {

View File

@@ -0,0 +1,15 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gem
SUMMARY="Binary-based efficient data interchange format for ruby binding"
HOMEPAGE="https://msgpack.org"
LICENCES="Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,23 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gem [ pn=neovim ]
SUMMARY="Ruby bindings for Neovim"
HOMEPAGE="https://github.com/alexgenco/neovim-ruby"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-ruby/msgpack[~>1.1]
dev-ruby/multi_json[~>1.0]
"
BUGS_TO="hasufell@posteo.de"
REMOTE_IDS+=" github:alexgenco/neovim-ruby"

View File

@@ -0,0 +1,24 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="amanusk" tag="v${PV}" ]
require pypi setup-py [ import=setuptools ]
SUMMARY="Stress-Terminal UI monitoring tool "
HOMEPAGE="https://amanusk.github.io/s-tui/ ${HOMEPAGE}"
LICENCES="GPL-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/psutil[>=5.2.0][python_abis:*(-)?]
dev-python/urwid[>=1.3.1][python_abis:*(-)?]
suggestion:
app-benchmarks/stress [[ description = [ For running stress tests in s-tui ] ]]
"
BUGS_TO="hasufell@posteo.de"

View File

@@ -16,6 +16,11 @@ MYOPTIONS="
RESTRICT="mirror"
DEPENDENCIES="
build+run:
!net-im/signal-desktop[<1.15.5] [[
description = [ /usr/host/bin/${PN} was accidentially a directory, paludis would refuse to merge ]
resolution = uninstall-blocked-before
]]
run:
dev-libs/atk
dev-libs/expat
@@ -68,8 +73,8 @@ src_install() {
doins -r usr/share/applications
doins -r usr/share/icons
edo chmod +x "${IMAGE}"/opt/Signal/signal-desktop
dodir /usr/$(exhost --target)/bin/${PN}
dosym ../../../opt/Signal/${MY_PN} /usr/$(exhost --target)/bin/${PN}
dodir /usr/$(exhost --target)/bin/
dosym ../../../opt/Signal/signal-desktop /usr/$(exhost --target)/bin/${PN}
}
pkg_postinst() {

View File

@@ -0,0 +1,90 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache freedesktop-desktop freedesktop-mime
SUMMARY="Team collaboration tool"
HOMEPAGE="http://www.slack.com/"
DOWNLOADS="https://downloads.slack-edge.com/linux_releases/${PN/-bin/}-desktop-${PV}-amd64.deb"
LICENCES="all-rights-reserved"
SLOT="0"
PLATFORMS="~amd64 -*"
MYOPTIONS=""
RESTRICT="mirror"
DEPENDENCIES="
run:
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/libsecret:1
dev-libs/nspr
dev-libs/nss
gnome-platform/GConf:2
media-libs/fontconfig
media-libs/freetype:2
net-misc/curl
net-print/cups
sys-apps/dbus
sys-sound/alsa-lib
x11-libs/cairo
x11-libs/gdk-pixbuf:2.0
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libxcb
x11-libs/libxkbfile
x11-libs/pango
"
BUGS_TO="hasufell@posteo.de"
WORK=${WORKBASE}
pkg_setup() {
exdirectory --allow /opt
}
src_unpack() {
default
unpack ./data.tar.xz
}
src_install() {
insinto /usr/share/pixmaps
doins usr/share/pixmaps/slack.png
insinto /usr/share/icons/hicolor/512x512/apps
doins usr/share/pixmaps/slack.png
insinto /usr/share/applications
doins usr/share/applications/slack.desktop
insinto /opt/slack
doins -r usr/lib/slack/.
edo chmod +x "${IMAGE}"/opt/slack/slack
dodir /usr/$(exhost --target)/bin
dosym ../../../opt/slack/slack /usr/$(exhost --target)/bin/slack
}
pkg_postinst() {
freedesktop-mime_pkg_postinst
freedesktop-desktop_pkg_postinst
gtk-icon-cache_pkg_postinst
}
pkg_postrm() {
freedesktop-mime_pkg_postrm
freedesktop-desktop_pkg_postrm
gtk-icon-cache_pkg_postrm
}

View File

@@ -1,6 +1,14 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
SCM_EXTERNAL_REFS="
flatpak/shared-modules:remminafpsm
"
SCM_SECONDARY_REPOSITORIES="
remminafpsm
"
SCM_remminafpsm_REPOSITORY="https://github.com/flathub/shared-modules.git"
require remmina
SLOT="0"

View File

@@ -21,7 +21,7 @@ DEPENDENCIES="
virtual/pkg-config
build+run:
core/json-glib
dev-libs/glib:2
dev-libs/glib:2[>=2.30]
dev-libs/libgcrypt
dev-libs/libsecret:1
gnome-desktop/libsoup:2.4

View File

@@ -0,0 +1,20 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require cargo [ channel=stable ]
require github [ user=sharkdp tag="v${PV}" ]
SUMMARY="A simple, fast and user-friendly alternative to 'find'"
HOMEPAGE="http://crates.io/crates/fd ${HOMEPAGE}"
# not sure if this is choice or both
LICENCES="MIT Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
"
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,20 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=sharkdp tag="v${PV}" ]
require cargo [ channel=stable ]
SUMMARY="A simple, fast and user-friendly alternative to 'find'"
HOMEPAGE="https://github.com/sharkdp/fd ${HOMEPAGE}"
# not sure if this is choice or both
LICENCES="MIT Apache-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
"
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,7 @@
#!/sbin/openrc-run
description="Workaround for Intel throttling issues on Thinkpads in Linux"
command="/usr/lib/lenovo-throttling-fix/lenovo_fix.py"
pidfile="/run/lenovo-throttling-fix.pid"
command_background="yes"

View File

@@ -0,0 +1,41 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="erpalma" tag="v${PV}" ]
require python [ blacklist=2 multibuild=false ]
require systemd-service [ systemd_files=[ ] ]
require openrc-service
SUMMARY="Workaround for Intel throttling issues on Thinkpads in Linux"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/dbus-python[python_abis:*(-)?]
dev-python/psutil[python_abis:*(-)?]
gnome-bindings/pygobject[python_abis:*(-)?]
"
BUGS_TO="hasufell@posteo.de"
src_install() {
default
insinto /etc
doins etc/lenovo_fix.conf
systemd_files_doins "${SYSTEMDSYSTEMUNITDIR}" systemd/lenovo_fix.service
edo sed -i -e "s:env python[[:digit:].]*$:env ${PYTHON##*/}:" \
lenovo_fix.py
insinto /usr/$(exhost --target)/lib/lenovo-throttling-fix
doins mmio.py
exeinto /usr/$(exhost --target)/lib/lenovo-throttling-fix
doexe lenovo_fix.py
python_bytecompile /usr/$(exhost --target)/lib/lenovo-throttling-fix
install_openrc_files
}

View File

@@ -0,0 +1,41 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user="erpalma" tag="v${PV}" ]
require python [ blacklist=2 multibuild=false ]
require systemd-service [ systemd_files=[ ] ]
require openrc-service
SUMMARY="Workaround for Intel throttling issues on Thinkpads in Linux"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build+run:
dev-python/dbus-python[python_abis:*(-)?]
dev-python/psutil[python_abis:*(-)?]
gnome-bindings/pygobject[python_abis:*(-)?]
"
BUGS_TO="hasufell@posteo.de"
src_install() {
default
insinto /etc
doins etc/lenovo_fix.conf
systemd_files_doins "${SYSTEMDSYSTEMUNITDIR}" systemd/lenovo_fix.service
edo sed -i -e "s:env python[[:digit:].]*$:env ${PYTHON##*/}:" \
lenovo_fix.py
insinto /usr/$(exhost --target)/lib/lenovo-throttling-fix
doins mmio.py
exeinto /usr/$(exhost --target)/lib/lenovo-throttling-fix
doexe lenovo_fix.py
python_bytecompile /usr/$(exhost --target)/lib/lenovo-throttling-fix
install_openrc_files
}

View File

@@ -0,0 +1,19 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require cargo [ channel=nightly ]
require github [ user=BurntSushi ]
SUMMARY="ripgrep recursively searches directories for a regex pattern"
HOMEPAGE="https://crates.io/crates/ripgrep ${HOMEPAGE}"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
"
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,19 @@
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=BurntSushi ]
require cargo [ channel=stable ]
SUMMARY="ripgrep recursively searches directories for a regex pattern"
HOMEPAGE="https://github.com/BurntSushi/ripgrep ${HOMEPAGE}"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
"
BUGS_TO="hasufell@posteo.de"

View File

@@ -0,0 +1,71 @@
# Copyright 2012 Lasse Brun <bruners@gmail.com>
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user=gkovacs ] freedesktop-desktop gtk-icon-cache qmake [ slot=4 ]
SUMMARY="GUI for making bootable USB drives"
DESCRIPTION="UNetbootin allows you to create bootable Live USB drives for
most Linux distributions without burning a CD. You can either let
UNetbootin download one of the many distributions supported out-of-the-box
for you, or supply your own Linux .iso file if you've already downloaded
one or your preferred distribution isn't on the list."
UNETBOOTIN_LINGUAS="am ar ast be bg bn ca cs da de el eo es et eu fi fo fr
gl he hr hu id it ja lt lv ml ms nan nb nl nn pl pt pt_BR ro ru sk sl
sr sv sw tr uk ur vi zh_CN zh_TW"
MYOPTIONS="linguas: ( ${UNETBOOTIN_LINGUAS} )"
SLOT="0"
LICENCES="GPL-2"
PLATFORMS="~amd64"
DEPENDENCIES="
build+run:
x11-libs/qt:4
recommendation:
base/syslinux [[
description = [ Required for FAT32 and EXT2 formatted USB drive install mode ]
]]
sys-fs/mtools [[
description = [ Required for Arch Linux install mode which depends upon mlabel ]
]]
"
WORK="${WORK}/src/${PN}"
EQMAKE_SOURCES=( ${WORK}/${PN}.pro )
QMAKE4_SRC_CONFIGURE_PARAMS=(
"DEFINES += NOSTATIC"
"RESOURCES -= unetbootin.qrc"
)
src_prepare() {
# Configure http://sourceforge.net/apps/trac/unetbootin/wiki/compile
edo sed -i '/^RESOURCES/d' unetbootin.pro
edo lupdate unetbootin.pro
edo lrelease unetbootin.pro
}
src_install() {
local size lang
# Install the binary
dobin ${PN}
# Install the desktop shortcut
insinto /usr/share/applications
doins ${PN}.desktop
# Install icons
for size in 14 16 22 24 32 48 64 128 256 ; do
insinto /usr/share/icons/hicolor/${size}x${size}/apps
newins "${WORK}"/${PN}_${size}.png ${PN}.png
done
# Install linguas
insinto /usr/share/${PN}
for lang in ${UNETBOOTIN_LINGUAS} ; do
option "linguas:${lang}" && doins "${WORK}"/${PN}_${lang}.qm
done
}

View File

@@ -0,0 +1,3 @@
* dev-haskell/cabal-install-bin
* dev-lang/ghc-bin
? dev-haskell/stack-bin