forked from hasufell/hasufell-repository
Compare commits
118 Commits
a79ebcd9dc
...
d604fdd3e3
Author | SHA1 | Date | |
---|---|---|---|
d604fdd3e3 | |||
030647d916 | |||
4b11a0f320 | |||
ea70e8ecda | |||
bde0a5fdfb | |||
1a2e490361 | |||
18fe5ece15 | |||
d2cf4b374d | |||
7d50305545 | |||
ca476c4b68 | |||
|
92f766ef94 | ||
9da55e4aa2 | |||
44c9f51ea5 | |||
4f488d375c | |||
d0201a65c3 | |||
a3bda839a5 | |||
c8bc70443b | |||
a85ef37a79 | |||
1d1247a9c6 | |||
f34c398e30 | |||
d93adebe95 | |||
a731d6eb88 | |||
b17e9702c7 | |||
e7d03906b8 | |||
bd414440c0 | |||
0f1f486899 | |||
1b2e7469b9 | |||
24e2141335 | |||
e8a511645b | |||
086fadd439 | |||
030cded86b | |||
a306d51436 | |||
2d84fe8011 | |||
40c8a8202b | |||
50afe48396 | |||
9d3cb8246b | |||
0a9e434c93 | |||
182a3f02c6 | |||
a7ff9bb7a0 | |||
|
e5cbf72188 | ||
c6d7cec0ea | |||
0a2be20cf2 | |||
0434c2da41 | |||
c92503e773 | |||
|
2242af2d92 | ||
|
f92e19e048 | ||
f05ef97410 | |||
e8c3869265 | |||
3f8de36dcd | |||
322a49adb5 | |||
3fc116d181 | |||
108e3b8a1c | |||
b1186738b0 | |||
fb3aed63f7 | |||
aa95a77efe | |||
01be3c84ea | |||
a7e517cd13 | |||
a5d09fa690 | |||
32e298f7cb | |||
01f412b778 | |||
b2e54b1ee2 | |||
b7c1fc9985 | |||
a59fca3cb8 | |||
17f6253ca1 | |||
242ac1895b | |||
7d526fa805 | |||
cd4df8af01 | |||
2ba0cf6c75 | |||
b1d5ce4889 | |||
281ffd93c8 | |||
479e65c679 | |||
10cdc64b8d | |||
311fcccbb6 | |||
2bb4626ff5 | |||
c0a73b592e | |||
4321244cb9 | |||
757a282b04 | |||
c7e36f08c5 | |||
5a85853750 | |||
c50e57ea44 | |||
ac91960a21 | |||
fefc82e8b6 | |||
49661d4881 | |||
64db104f2b | |||
3367b48f93 | |||
d38a0069c4 | |||
a49dfb90fc | |||
6ab7c13396 | |||
d13355937f | |||
0f26b1a4f8 | |||
|
23a73f4ab8 | ||
47dfd9d03b | |||
c5233d46b1 | |||
ca9904a7c9 | |||
36b4e348cc | |||
62a4c782ab | |||
3716ee38e4 | |||
117aad5206 | |||
fab380486a | |||
a60998346f | |||
712c6622d6 | |||
5987bdd5a6 | |||
ab19b51c47 | |||
83ee221670 | |||
26ccd7f400 | |||
28dfe88c86 | |||
a8b12895d3 | |||
3874fdea53 | |||
5d05c0ce15 | |||
7155255e4b | |||
330af9fe56 | |||
2b40b9260b | |||
14b5db8dab | |||
4fc6ed1325 | |||
0d526c1d80 | |||
17395d0216 | |||
54067cb343 | |||
8ed852e56d |
81
exlibs/gog.exlib
Normal file
81
exlibs/gog.exlib
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Purpose: an exlib dealing with installation of GOG games
|
||||||
|
# Maintainer: Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Exports: pkg_nofetch, pkg_setup, src_unpack
|
||||||
|
# Side-effects: - adds build dependencies
|
||||||
|
# - sets $WORK, $DOWNLOADS, $LICENSES, $RESTRICT and $HOMEPAGE
|
||||||
|
#
|
||||||
|
# Usage
|
||||||
|
# exparams: - installer: the shell script installer (required)
|
||||||
|
# - unzip: whether to unzip and add unzip dependency (default: true)
|
||||||
|
# - install_dir: installation dir (default: /opt/${PN})
|
||||||
|
# variables: - GOG_SH: set to exparam installer
|
||||||
|
# - GOG_INSTALL_DIR: set to exparam install_dir, use this in src_install
|
||||||
|
|
||||||
|
|
||||||
|
myexparam installer=
|
||||||
|
myexparam -b unzip=true
|
||||||
|
myexparam install_dir=/opt/${PN}
|
||||||
|
|
||||||
|
exparam -v GOG_SH installer
|
||||||
|
exparam -v GOG_INSTALL_DIR install_dir
|
||||||
|
|
||||||
|
if [[ -z $(exparam installer) ]]; then
|
||||||
|
die "installer needs to be set!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$GOG_INSTALL_DIR" != /* ]]; then
|
||||||
|
die "${GOG_INSTALL_DIR} must be absolute!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export_exlib_phases pkg_nofetch pkg_setup src_unpack
|
||||||
|
|
||||||
|
|
||||||
|
HOMEPAGE="https://www.gog.com"
|
||||||
|
DOWNLOADS="manual: ${GOG_SH}"
|
||||||
|
|
||||||
|
LICENCES="all-rights-reserved GOG-EULA"
|
||||||
|
RESTRICT="fetch"
|
||||||
|
|
||||||
|
if exparam -b unzip ; then
|
||||||
|
DEPENDENCIES+="
|
||||||
|
build:
|
||||||
|
virtual/unzip
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
WORK="${WORKBASE}/data/noarch"
|
||||||
|
|
||||||
|
# Exported 'pkg_nofetch'.
|
||||||
|
#
|
||||||
|
# Arguments: none
|
||||||
|
# Side-effects: prints einfo
|
||||||
|
gog_pkg_nofetch() {
|
||||||
|
einfo
|
||||||
|
einfo "Please buy & download \"${GOG_SH}\""
|
||||||
|
einfo "from:"
|
||||||
|
einfo " ${HOMEPAGE}"
|
||||||
|
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||||
|
einfo
|
||||||
|
}
|
||||||
|
|
||||||
|
# Exported 'pkg_setup'.
|
||||||
|
#
|
||||||
|
# Arguments: none
|
||||||
|
# Side-effects: makes sure /opt is allowed to be installed into
|
||||||
|
gog_pkg_setup() {
|
||||||
|
exdirectory --allow "$(dirname "${GOG_INSTALL_DIR}")"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Exported 'src_unpack'.
|
||||||
|
#
|
||||||
|
# Arguments: none
|
||||||
|
# Side-effects: unpacks the data
|
||||||
|
gog_src_unpack() {
|
||||||
|
if exparam -b unzip ; then
|
||||||
|
unzip -qo "${FETCHEDDIR}/${GOG_SH}"
|
||||||
|
[[ $? -le 1 ]] || die "unpacking ${GOG_SH} failed!"
|
||||||
|
fi
|
||||||
|
}
|
140
licences/UPX-exception
Normal file
140
licences/UPX-exception
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
|
||||||
|
|
||||||
|
ooooo ooo ooooooooo. ooooooo ooooo
|
||||||
|
`888' `8' `888 `Y88. `8888 d8'
|
||||||
|
888 8 888 .d88' Y888..8P
|
||||||
|
888 8 888ooo88P' `8888'
|
||||||
|
888 8 888 .8PY888.
|
||||||
|
`88. .8' 888 d8' `888b
|
||||||
|
`YbodP' o888o o888o o88888o
|
||||||
|
|
||||||
|
|
||||||
|
The Ultimate Packer for eXecutables
|
||||||
|
Copyright (c) 1996-2000 Markus Oberhumer & Laszlo Molnar
|
||||||
|
http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
|
||||||
|
http://www.nexus.hu/upx
|
||||||
|
http://upx.tsx.org
|
||||||
|
|
||||||
|
|
||||||
|
PLEASE CAREFULLY READ THIS LICENSE AGREEMENT, ESPECIALLY IF YOU PLAN
|
||||||
|
TO MODIFY THE UPX SOURCE CODE OR USE A MODIFIED UPX VERSION.
|
||||||
|
|
||||||
|
|
||||||
|
ABSTRACT
|
||||||
|
========
|
||||||
|
|
||||||
|
UPX and UCL are copyrighted software distributed under the terms
|
||||||
|
of the GNU General Public License (hereinafter the "GPL").
|
||||||
|
|
||||||
|
The stub which is imbedded in each UPX compressed program is part
|
||||||
|
of UPX and UCL, and contains code that is under our copyright. The
|
||||||
|
terms of the GNU General Public License still apply as compressing
|
||||||
|
a program is a special form of linking with our stub.
|
||||||
|
|
||||||
|
As a special exception we grant the free usage of UPX for all
|
||||||
|
executables, including commercial programs.
|
||||||
|
See below for details and restrictions.
|
||||||
|
|
||||||
|
|
||||||
|
COPYRIGHT
|
||||||
|
=========
|
||||||
|
|
||||||
|
UPX and UCL are copyrighted software. All rights remain with the authors.
|
||||||
|
|
||||||
|
UPX is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer
|
||||||
|
UPX is Copyright (C) 1996-2000 Laszlo Molnar
|
||||||
|
|
||||||
|
UCL is Copyright (C) 1996-2000 Markus Franz Xaver Johannes Oberhumer
|
||||||
|
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
==========================
|
||||||
|
|
||||||
|
UPX and the UCL library are free software; you can redistribute them
|
||||||
|
and/or modify them under the terms of the GNU General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of
|
||||||
|
the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
UPX and UCL are distributed in the hope that they will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; see the file COPYING.
|
||||||
|
|
||||||
|
|
||||||
|
SPECIAL EXCEPTION FOR COMPRESSED EXECUTABLES
|
||||||
|
============================================
|
||||||
|
|
||||||
|
The stub which is imbedded in each UPX compressed program is part
|
||||||
|
of UPX and UCL, and contains code that is under our copyright. The
|
||||||
|
terms of the GNU General Public License still apply as compressing
|
||||||
|
a program is a special form of linking with our stub.
|
||||||
|
|
||||||
|
Hereby Markus F.X.J. Oberhumer and Laszlo Molnar grant you special
|
||||||
|
permission to freely use and distribute all UPX compressed programs
|
||||||
|
(including commercial ones), subject to the following restrictions:
|
||||||
|
|
||||||
|
1. You must compress your program with a completely unmodified UPX
|
||||||
|
version; either with our precompiled version, or (at your option)
|
||||||
|
with a self compiled version of the unmodified UPX sources as
|
||||||
|
distributed by us.
|
||||||
|
2. This also implies that the UPX stub must be completely unmodfied, i.e.
|
||||||
|
the stub imbedded in your compressed program must be byte-identical
|
||||||
|
to the stub that is produced by the official unmodified UPX version.
|
||||||
|
3. The decompressor and any other code from the stub must exclusively get
|
||||||
|
used by the unmodified UPX stub for decompressing your program at
|
||||||
|
program startup. No portion of the stub may get read, copied,
|
||||||
|
called or otherwise get used or accessed by your program.
|
||||||
|
|
||||||
|
|
||||||
|
ANNOTATIONS
|
||||||
|
===========
|
||||||
|
|
||||||
|
- You can use a modified UPX version or modified UPX stub only for
|
||||||
|
programs that are compatible with the GNU General Public License.
|
||||||
|
|
||||||
|
- We grant you special permission to freely use and distribute all UPX
|
||||||
|
compressed programs. But any modification of the UPX stub (such as,
|
||||||
|
but not limited to, removing our copyright string or making your
|
||||||
|
program non-decompressible) will immediately revoke your right to
|
||||||
|
use and distribute a UPX compressed program.
|
||||||
|
|
||||||
|
- UPX is not a software protection tool; by requiring that you use
|
||||||
|
the unmodified UPX version for your proprietary programs we
|
||||||
|
make sure that any user can decompress your program. This protects
|
||||||
|
both you and your users as nobody can hide malicious code -
|
||||||
|
any program that cannot be decompressed is highly suspicious
|
||||||
|
by definition.
|
||||||
|
|
||||||
|
- You can integrate all or part of UPX and UCL into projects that
|
||||||
|
are compatible with the GNU GPL, but obviously you cannot grant
|
||||||
|
any special exceptions beyond the GPL for our code in your project.
|
||||||
|
|
||||||
|
- We want to actively support manufacturers of virus scanners and
|
||||||
|
similar security software. Please contact us if you would like to
|
||||||
|
incorporate parts of UPX or UCL into such a product.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Markus F.X.J. Oberhumer Laszlo Molnar
|
||||||
|
markus.oberhumer@jk.uni-linz.ac.at ml1050@cdata.tvnet.hu
|
||||||
|
|
||||||
|
Linz, Austria, 25 Feb 2000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: 2.6.3ia
|
||||||
|
Charset: noconv
|
||||||
|
|
||||||
|
iQCVAwUBOLaLS210fyLu8beJAQFYVAP/ShzENWKLTvedLCjZbDcwaBEHfUVcrGMI
|
||||||
|
wE7frMkbWT2zmkdv9hW90WmjMhOBu7yhUplvN8BKOtLiolEnZmLCYu8AGCwr5wBf
|
||||||
|
dfLoClxnzfTtgQv5axF1awp4RwCUH3hf4cDrOVqmAsWXKPHtm4hx96jF6L4oHhjx
|
||||||
|
OO03+ojZdO8=
|
||||||
|
=CS52
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
|
|
||||||
|
|
@ -5,6 +5,7 @@ app-crypt
|
|||||||
app-diagram
|
app-diagram
|
||||||
app-editors
|
app-editors
|
||||||
app-ergonomics
|
app-ergonomics
|
||||||
|
app-misc
|
||||||
app-office
|
app-office
|
||||||
dev-cpp
|
dev-cpp
|
||||||
dev-db
|
dev-db
|
||||||
@ -14,6 +15,7 @@ dev-haskell
|
|||||||
dev-java
|
dev-java
|
||||||
dev-lang
|
dev-lang
|
||||||
dev-libs
|
dev-libs
|
||||||
|
dev-lua
|
||||||
dev-ocaml
|
dev-ocaml
|
||||||
dev-perl
|
dev-perl
|
||||||
dev-python
|
dev-python
|
||||||
@ -54,6 +56,7 @@ virtual
|
|||||||
voip
|
voip
|
||||||
www-apps
|
www-apps
|
||||||
www-servers
|
www-servers
|
||||||
|
x11-apps
|
||||||
x11-misc
|
x11-misc
|
||||||
x11-themes
|
x11-themes
|
||||||
xfce-extra
|
xfce-extra
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
(
|
(
|
||||||
app-editors/neovim-gtk[~scm]
|
app-editors/neovim-gtk[~scm]
|
||||||
dev-haskell/ghcup[~scm]
|
|
||||||
dev-lang/fsharp[~scm]
|
dev-lang/fsharp[~scm]
|
||||||
dev-lang/fstar[~scm]
|
dev-lang/fstar[~scm]
|
||||||
dev-python/pytype[~scm]
|
dev-python/pytype[~scm]
|
||||||
@ -12,6 +11,7 @@
|
|||||||
games-rpg/flare[~scm]
|
games-rpg/flare[~scm]
|
||||||
games-rpg/valyriatear[~scm]
|
games-rpg/valyriatear[~scm]
|
||||||
games-strategy/freesynd[~scm]
|
games-strategy/freesynd[~scm]
|
||||||
|
games-strategy/s25rttr[~scm]
|
||||||
media-gfx/pinta[~scm]
|
media-gfx/pinta[~scm]
|
||||||
media-sound/pnmixer-rs[~scm]
|
media-sound/pnmixer-rs[~scm]
|
||||||
media-sound/pnmixer[~scm]
|
media-sound/pnmixer[~scm]
|
||||||
@ -19,6 +19,7 @@
|
|||||||
net-im/gajim-omemo[~scm]
|
net-im/gajim-omemo[~scm]
|
||||||
net-im/lurch[~scm]
|
net-im/lurch[~scm]
|
||||||
net-im/pidgin-opensteamworks[~scm]
|
net-im/pidgin-opensteamworks[~scm]
|
||||||
|
net-im/purple-xmpp-http-upload[~scm]
|
||||||
net-misc/remmina[~scm]
|
net-misc/remmina[~scm]
|
||||||
net-misc/trickle[~scm]
|
net-misc/trickle[~scm]
|
||||||
sys-apps/fd[~scm]
|
sys-apps/fd[~scm]
|
||||||
@ -27,6 +28,7 @@
|
|||||||
x11-apps/terminator[~scm]
|
x11-apps/terminator[~scm]
|
||||||
x11-misc/cbatticon[~scm]
|
x11-misc/cbatticon[~scm]
|
||||||
x11-misc/fsearch[~scm]
|
x11-misc/fsearch[~scm]
|
||||||
|
x11-misc/polybar[~scm]
|
||||||
x11-wm/i3[~scm]
|
x11-wm/i3[~scm]
|
||||||
) [[
|
) [[
|
||||||
*author = [ Julian Ospald <hasufell@posteo.de> ]
|
*author = [ Julian Ospald <hasufell@posteo.de> ]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require openrc-service [ openrc_confd_files=[ "${FILES}"/openrc/confd ] ]
|
require openrc-service [ openrc_confd_files=[ "${FILES}"/openrc/confd ] ]
|
||||||
require setup-py [ import=setuptools blacklist="3" ]
|
require setup-py [ import=setuptools test=pytest ]
|
||||||
require pypi
|
require pypi
|
||||||
|
|
||||||
SUMMARY="A system for controlling process state under UNIX"
|
SUMMARY="A system for controlling process state under UNIX"
|
||||||
@ -17,7 +17,8 @@ DEPENDENCIES="
|
|||||||
run:
|
run:
|
||||||
dev-python/meld3[python_abis:*(-)?]
|
dev-python/meld3[python_abis:*(-)?]
|
||||||
test:
|
test:
|
||||||
dev-python/mock[python_abis:*(-)?]
|
dev-python/pexpect[python_abis:*(-)?]
|
||||||
|
python_abis:2.7? ( dev-python/mock[python_abis:2.7] )
|
||||||
"
|
"
|
||||||
|
|
||||||
RESTRICT="test" # sydbox violations
|
RESTRICT="test" # sydbox violations
|
33
packages/app-arch/upx/upx-3.96.exheres-0
Normal file
33
packages/app-arch/upx/upx-3.96.exheres-0
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
SUMMARY="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||||
|
HOMEPAGE="http://upx.github.io/"
|
||||||
|
DOWNLOADS="https://github.com/upx/upx/releases/download/v${PV}/${PNV}-src.tar.xz"
|
||||||
|
|
||||||
|
LICENCES="GPL-2 UPX-exception"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/perl
|
||||||
|
build+run:
|
||||||
|
dev-libs/ucl
|
||||||
|
sys-libs/zlib
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${PNV}-src
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CXXFLAGS_WERROR="" all
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin src/upx.out upx
|
||||||
|
dodoc BUGS NEWS PROJECTS README* THANKS doc/*.txt doc/upx.html
|
||||||
|
doman doc/upx.1
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user='mattn' tag="v${PV}" ]
|
||||||
|
|
||||||
|
SUMMARY="General purpose Language Server"
|
||||||
|
|
||||||
|
LICENCES="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/go
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export GOPATH="${WORK}"/.gopath
|
||||||
|
export GOBIN="${WORK}"/.bin
|
||||||
|
esandbox disable_net
|
||||||
|
edo go get ./...
|
||||||
|
edo go build
|
||||||
|
esandbox enable_net
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin efm-langserver-${PV} efm-langserver
|
||||||
|
emagicdocs
|
||||||
|
}
|
55
packages/app-editors/focuswriter/focuswriter-1.7.3.exheres-0
Normal file
55
packages/app-editors/focuswriter/focuswriter-1.7.3.exheres-0
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require qmake [ slot=5 ]
|
||||||
|
require github [ user="gottcode" ]
|
||||||
|
require gtk-icon-cache freedesktop-desktop
|
||||||
|
|
||||||
|
SUMMARY="Fullscreen and distraction-free word processor"
|
||||||
|
DESCRIPTION="
|
||||||
|
FocusWriter is a simple, distraction-free writing environment. It utilizes a hide-away interface that you access by moving your mouse to the edges of the screen, allowing the program to have a familiar look and feel to it while still getting out of the way so that you can immerse yourself in your work. It’s available for Linux, Windows, and Mac OS X, and has been translated into many different languages.
|
||||||
|
"
|
||||||
|
HOMEPAGE="https://gottcode.org/${PN}/ ${HOMEPAGE}"
|
||||||
|
DOWNLOADS="https://gottcode.org/${PN}/${PNV}-src.tar.bz2"
|
||||||
|
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
app-spell/hunspell:=
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/qtbase:5
|
||||||
|
x11-libs/qtmultimedia:5
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
UPSTREAM_CHANGELOG="https://github.com/gottcode/${PN}/blob/master/ChangeLog"
|
||||||
|
|
||||||
|
DEFAULT_SRC_INSTALL_PARAMS=(
|
||||||
|
INSTALL_ROOT="${IMAGE}"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
EQMAKE_PARAMS=(
|
||||||
|
PREFIX=/usr
|
||||||
|
BINDIR=/usr/$(exhost --target)/bin
|
||||||
|
)
|
||||||
|
qmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gtk-icon-cache_pkg_postinst
|
||||||
|
freedesktop-desktop_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gtk-icon-cache_pkg_postrm
|
||||||
|
freedesktop-desktop_pkg_postrm
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require neovim-gtk
|
require neovim-gtk gtk-icon-cache
|
||||||
|
|
||||||
DOWNLOADS=""
|
DOWNLOADS=""
|
||||||
|
|
||||||
@ -30,9 +30,12 @@ src_install() {
|
|||||||
insinto /usr/share/applications
|
insinto /usr/share/applications
|
||||||
doins desktop/*.desktop
|
doins desktop/*.desktop
|
||||||
|
|
||||||
|
insinto /usr/share/icons/hicolor/128x128/apps
|
||||||
|
newins desktop/org.daa.NeovimGtk_128.png org.daa.NeovimGtk.png
|
||||||
insinto /usr/share/icons/hicolor/48x48/apps
|
insinto /usr/share/icons/hicolor/48x48/apps
|
||||||
doins desktop/org.daa.NeovimGtk.png
|
newins desktop/org.daa.NeovimGtk_48.png org.daa.NeovimGtk.png
|
||||||
|
|
||||||
insinto /usr/share/icons/hicolor/scalable/apps
|
insinto /usr/share/icons/hicolor/scalable/apps
|
||||||
doins desktop/org.daa.NeovimGtk.svg
|
newins desktop/org.daa.NeovimGtk.svg org.daa.NeovimGtk.png
|
||||||
|
insinto /usr/share/icons/hicolor/symbolic/apps
|
||||||
|
newins desktop/org.daa.NeovimGtk-symbolic.svg org.daa.NeovimGtk.png
|
||||||
}
|
}
|
||||||
|
23
packages/app-misc/hunter/hunter-1.3.5.exheres-0
Normal file
23
packages/app-misc/hunter/hunter-1.3.5.exheres-0
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=rabite0 tag="v${PV}" ]
|
||||||
|
require cargo [ channel=nightly ]
|
||||||
|
|
||||||
|
SUMMARY="Ranger-like file browser written in rust"
|
||||||
|
|
||||||
|
LICENCES="WTFPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-libs/glib:2
|
||||||
|
media-libs/gstreamer
|
||||||
|
media-libs/libsixel
|
||||||
|
media-plugins/gst-plugins-base
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
36
packages/app-misc/nnn/nnn-2.5.exheres-0
Normal file
36
packages/app-misc/nnn/nnn-2.5.exheres-0
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user="jarun" tag="v${PV}" ]
|
||||||
|
require bash-completion zsh-completion
|
||||||
|
|
||||||
|
SUMMARY="Lean, fast, zero-config, full-featured file manager with batteries "
|
||||||
|
|
||||||
|
LICENCES="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
sys-libs/ncurses:=
|
||||||
|
sys-libs/readline:=
|
||||||
|
suggestion:
|
||||||
|
app-arch/libarchive [[ description = [ create, list and extract archives ] ]]
|
||||||
|
media/mediainfo [[ description = [ multimedia file details ] ]]
|
||||||
|
sys-auth/vlock [[ description = [ terminal locker ] ]]
|
||||||
|
sys-fs/sshfs-fuse [[ description = [ mount, unmount over SSHFS ] ]]
|
||||||
|
x11-apps/xdg-utils [[ description = [ desktop opener ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake PREFIX="/usr/$(exhost --target)" MANPREFIX="/usr/share/man" DESTDIR="${IMAGE}" install
|
||||||
|
emagicdocs
|
||||||
|
|
||||||
|
dobashcompletion scripts/auto-completion/bash/*
|
||||||
|
dozshcompletion scripts/auto-completion/zsh/*
|
||||||
|
}
|
20
packages/app-misc/ripgrep-all/ripgrep-all-0.9.3.exheres-0
Normal file
20
packages/app-misc/ripgrep-all/ripgrep-all-0.9.3.exheres-0
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=phiresky ] cargo
|
||||||
|
|
||||||
|
SUMMARY="rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc."
|
||||||
|
|
||||||
|
LICENCES="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
dev-rust/ripgrep
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/ripgrep_all-${PV}
|
||||||
|
|
23
packages/app-misc/tldr-hs/tldr-hs-0.6.2.exheres-0
Normal file
23
packages/app-misc/tldr-hs/tldr-hs-0.6.2.exheres-0
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
SUMMARY="Haskell tldr client with support for viewing tldr pages"
|
||||||
|
HOMEPAGE="https://github.com/psibi/tldr-hs"
|
||||||
|
DOWNLOADS="https://github.com/psibi/tldr-hs/releases/download/v${PV}/tldr-linux-v${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newbin tldr tldr-hs
|
||||||
|
}
|
||||||
|
|
@ -20,7 +20,7 @@ DEPENDENCIES="
|
|||||||
build:
|
build:
|
||||||
dev-libs/boost
|
dev-libs/boost
|
||||||
build+run:
|
build+run:
|
||||||
virtual/mysql
|
dev-db/mysql
|
||||||
providers:libressl? ( dev-libs/libressl:= )
|
providers:libressl? ( dev-libs/libressl:= )
|
||||||
providers:openssl? ( dev-libs/openssl )
|
providers:openssl? ( dev-libs/openssl )
|
||||||
"
|
"
|
@ -26,6 +26,7 @@ DEPENDENCIES="
|
|||||||
dev-cpp/ctemplate
|
dev-cpp/ctemplate
|
||||||
dev-cpp/libsigc++:2
|
dev-cpp/libsigc++:2
|
||||||
dev-db/libiodbc
|
dev-db/libiodbc
|
||||||
|
dev-db/mysql
|
||||||
dev-db/mysql-connector-c++[>=${PV}]
|
dev-db/mysql-connector-c++[>=${PV}]
|
||||||
dev-db/vsqlite++
|
dev-db/vsqlite++
|
||||||
dev-java/antlr:4
|
dev-java/antlr:4
|
||||||
@ -47,7 +48,6 @@ DEPENDENCIES="
|
|||||||
gnome-platform/libglade:2
|
gnome-platform/libglade:2
|
||||||
net-libs/libssh
|
net-libs/libssh
|
||||||
sci-libs/gdal
|
sci-libs/gdal
|
||||||
virtual/mysql
|
|
||||||
x11-dri/mesa
|
x11-dri/mesa
|
||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/gdk-pixbuf:2.0
|
x11-libs/gdk-pixbuf:2.0
|
15
packages/dev-db/mysql/files/logrotate.mysql
Normal file
15
packages/dev-db/mysql/files/logrotate.mysql
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright 1999-2006 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/files/logrotate.mysql,v 1.1 2007/01/12 16:54:20 chtekk Exp $
|
||||||
|
|
||||||
|
/var/log/mysql/mysql.err /var/log/mysql/mysql.log /var/log/mysql/mysqld.err {
|
||||||
|
monthly
|
||||||
|
create 660 mysql mysql
|
||||||
|
notifempty
|
||||||
|
size 5M
|
||||||
|
sharedscripts
|
||||||
|
missingok
|
||||||
|
postrotate
|
||||||
|
/usr/bin/kill -HUP `cat /run/mysqld/mysqld.pid`
|
||||||
|
endscript
|
||||||
|
}
|
28
packages/dev-db/mysql/files/mysql-5.7-my.cnf
Normal file
28
packages/dev-db/mysql/files/mysql-5.7-my.cnf
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# For advice on how to change settings please see
|
||||||
|
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
|
|
||||||
|
# Remove leading # and set to the amount of RAM for the most important data
|
||||||
|
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
|
||||||
|
# innodb_buffer_pool_size = 128M
|
||||||
|
|
||||||
|
# Remove leading # to turn on a very important data integrity option: logging
|
||||||
|
# changes to the binary log between backups.
|
||||||
|
# log_bin
|
||||||
|
|
||||||
|
# These are commonly set, remove the # and set as required.
|
||||||
|
# basedir = .....
|
||||||
|
# datadir = .....
|
||||||
|
# port = .....
|
||||||
|
# server_id = .....
|
||||||
|
# socket = .....
|
||||||
|
|
||||||
|
# Remove leading # to set options mainly useful for reporting servers.
|
||||||
|
# The server defaults are faster for transactions and fast SELECTs.
|
||||||
|
# Adjust sizes as needed, experiment to find the optimal values.
|
||||||
|
# join_buffer_size = 128M
|
||||||
|
# sort_buffer_size = 2M
|
||||||
|
# read_rnd_buffer_size = 2M
|
||||||
|
|
||||||
|
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
|
@ -0,0 +1,79 @@
|
|||||||
|
--- a/cmake/ssl.cmake
|
||||||
|
+++ b/cmake/ssl.cmake
|
||||||
|
@@ -186,7 +186,8 @@ MACRO (MYSQL_CHECK_SSL)
|
||||||
|
OPENSSL_FIX_VERSION "${OPENSSL_VERSION_NUMBER}"
|
||||||
|
)
|
||||||
|
ENDIF()
|
||||||
|
- IF("${OPENSSL_MAJOR_VERSION}.${OPENSSL_MINOR_VERSION}.${OPENSSL_FIX_VERSION}" VERSION_GREATER "1.1.0")
|
||||||
|
+ CHECK_SYMBOL_EXISTS(TLS1_3_VERSION "openssl/tls1.h" HAVE_TLS1_3_VERSION)
|
||||||
|
+ IF(HAVE_TLS1_3_VERSION)
|
||||||
|
ADD_DEFINITIONS(-DHAVE_TLSv13)
|
||||||
|
SET(HAVE_TLSv13 1)
|
||||||
|
IF(SOLARIS)
|
||||||
|
@@ -196,7 +197,7 @@ MACRO (MYSQL_CHECK_SSL)
|
||||||
|
IF(OPENSSL_INCLUDE_DIR AND
|
||||||
|
OPENSSL_LIBRARY AND
|
||||||
|
CRYPTO_LIBRARY AND
|
||||||
|
- OPENSSL_MAJOR_VERSION STREQUAL "1"
|
||||||
|
+ OPENSSL_MAJOR_VERSION VERSION_GREATER_EQUAL "1"
|
||||||
|
)
|
||||||
|
SET(OPENSSL_FOUND TRUE)
|
||||||
|
ELSE()
|
||||||
|
--- a/sql/auth/sha2_password_common.cc
|
||||||
|
+++ b/sql/auth/sha2_password_common.cc
|
||||||
|
@@ -116,7 +116,8 @@ bool SHA256_digest::retrieve_digest(unsigned char *digest,
|
||||||
|
DBUG_RETURN(true);
|
||||||
|
}
|
||||||
|
m_ok= EVP_DigestFinal_ex(md_context, m_digest, NULL);
|
||||||
|
-#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+#if defined(HAVE_WOLFSSL) || OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
||||||
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02090000fL)
|
||||||
|
EVP_MD_CTX_cleanup(md_context);
|
||||||
|
#else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
|
||||||
|
EVP_MD_CTX_reset(md_context);
|
||||||
|
--- a/sql/mysqld.cc
|
||||||
|
+++ b/sql/mysqld.cc
|
||||||
|
@@ -3419,7 +3419,7 @@ int warn_self_signed_ca()
|
||||||
|
static int init_ssl()
|
||||||
|
{
|
||||||
|
#ifdef HAVE_OPENSSL
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
CRYPTO_malloc_init();
|
||||||
|
#else /* OPENSSL_VERSION_NUMBER < 0x10100000L */
|
||||||
|
OPENSSL_malloc_init();
|
||||||
|
--- a/vio/viosslfactories.c
|
||||||
|
+++ b/vio/viosslfactories.c
|
||||||
|
@@ -123,21 +123,19 @@ static DH *get_dh2048(void)
|
||||||
|
DH *dh;
|
||||||
|
if ((dh=DH_new()))
|
||||||
|
{
|
||||||
|
- BIGNUM *p= BN_bin2bn(dh2048_p, sizeof(dh2048_p), NULL);
|
||||||
|
- BIGNUM *g= BN_bin2bn(dh2048_g, sizeof(dh2048_g), NULL);
|
||||||
|
- if (!p || !g
|
||||||
|
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||||
|
- || !DH_set0_pqg(dh, p, NULL, g)
|
||||||
|
-#endif /* OPENSSL_VERSION_NUMBER >= 0x10100000L */
|
||||||
|
- ) {
|
||||||
|
- /* DH_free() will free 'p' and 'g' at once. */
|
||||||
|
+ BIGNUM *p = BN_bin2bn(dh2048_p,sizeof(dh2048_p), NULL);
|
||||||
|
+ BIGNUM *g = BN_bin2bn(dh2048_g,sizeof(dh2048_g), NULL);
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
+ dh->p=p;
|
||||||
|
+ dh->g=g;
|
||||||
|
+ if (! dh->p || ! dh->g)
|
||||||
|
+#else
|
||||||
|
+ if (!DH_set0_pqg(dh, p, NULL, g))
|
||||||
|
+#endif
|
||||||
|
+ {
|
||||||
|
DH_free(dh);
|
||||||
|
- return NULL;
|
||||||
|
+ dh = NULL;
|
||||||
|
}
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
- dh->p= p;
|
||||||
|
- dh->g= g;
|
||||||
|
-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */
|
||||||
|
}
|
||||||
|
return(dh);
|
||||||
|
}
|
296
packages/dev-db/mysql/mysql-5.7.29.exheres-0
Normal file
296
packages/dev-db/mysql/mysql-5.7.29.exheres-0
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
# Copyright 2008, 2009, 2010 Ingmar Vanhassel <ingmar@exherbo.org>
|
||||||
|
# Copyright 2011-2019 Timo Gurr <tgurr@exherbo.org>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cmake systemd-service
|
||||||
|
|
||||||
|
MYSQL_MAJOR_VERSION=$(ever range 1-2)
|
||||||
|
|
||||||
|
# In order to provide a stable code base, MySQL depends on a specific version of Boost.
|
||||||
|
# Currently only Boost.Geometry headers are used and boost is just required at build time.
|
||||||
|
BOOST_PV=1.59.0
|
||||||
|
|
||||||
|
# Miraculously works for MySQL >= 5.1 till at least 5.6
|
||||||
|
SPHINX_PV="2.2.9"
|
||||||
|
|
||||||
|
SUMMARY="A relational database management system (RDBMS)"
|
||||||
|
HOMEPAGE="https://www.mysql.com/"
|
||||||
|
DOWNLOADS="
|
||||||
|
mirror://mysql/Downloads/MySQL-$(ever range 1-2)/${PNV}.tar.gz
|
||||||
|
mirror://sourceforge/boost/boost_${BOOST_PV//./_}.tar.bz2
|
||||||
|
https://downloads.mysql.com/archives/${PN}-$(ever range 1-2)/${PNV}.tar.gz
|
||||||
|
sphinx? ( http://sphinxsearch.com/files/sphinx-${SPHINX_PV}-release.tar.gz )
|
||||||
|
"
|
||||||
|
|
||||||
|
REMOTE_IDS="freecode:${PN}"
|
||||||
|
UPSTREAM_CHANGELOG="
|
||||||
|
https://dev.mysql.com/doc/relnotes/mysql/${MYSQL_MAJOR_VERSION}/en/news-$(ever replace_all '-').html [[ lang = [ en ] ]]
|
||||||
|
"
|
||||||
|
UPSTREAM_DOCUMENTATION="
|
||||||
|
https://dev.mysql.com/doc/refman/${MYSQL_MAJOR_VERSION}/en/index.html [[ lang = [ en ] ]]
|
||||||
|
https://dev.mysql.com/doc/refman/${MYSQL_MAJOR_VERSION}/en/postinstallation.html [[ lang = [ en ] note = [ Postinstallation documentation ] ]]
|
||||||
|
https://dev.mysql.com/doc/refman/${MYSQL_MAJOR_VERSION}/en/upgrading-downgrading.html [[ lang = [ en ] note = [ Upgrading or downgrading documentation ] ]]
|
||||||
|
"
|
||||||
|
UPSTREAM_RELEASE_NOTES="
|
||||||
|
https://dev.mysql.com/doc/relnotes/mysql/${MYSQL_MAJOR_VERSION}/en/ [[ lang = [ en ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENCES="GPL-2" # with-exceptions
|
||||||
|
SLOT="0"
|
||||||
|
MYOPTIONS="
|
||||||
|
debug
|
||||||
|
embedded-server [[ description = [ The embedded MySQL server library (DEPRECATED and slated for removal) ] ]]
|
||||||
|
memcached [[ description = [ Enable using memcached for InnoDb tables (don't know it? Don't enable it.) ] ]]
|
||||||
|
sphinx [[ description = [ Add the Sphinx Search Engine with fulltext search support (external engine) ] ]]
|
||||||
|
systemd
|
||||||
|
tcpd
|
||||||
|
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
build+run:
|
||||||
|
group/${PN}
|
||||||
|
user/${PN}
|
||||||
|
app-admin/eclectic[>=2.0.18] [[ note = [ Split ld-*.path, @TARGET@ substitution ] ]]
|
||||||
|
app-arch/lz4
|
||||||
|
dev-libs/libaio
|
||||||
|
dev-libs/libedit
|
||||||
|
dev-libs/protobuf:=[>=2.6.1]
|
||||||
|
sys-libs/zlib[>=1.2.11]
|
||||||
|
providers:libressl? ( dev-libs/libressl:= )
|
||||||
|
providers:openssl? ( dev-libs/openssl )
|
||||||
|
tcpd? ( sys-apps/tcp-wrappers )
|
||||||
|
!dev-db/mariadb [[
|
||||||
|
description = [ MariaDB is a drop-in replacement for MySQL with same binary names ]
|
||||||
|
resolution = manual
|
||||||
|
]]
|
||||||
|
!dev-db/Percona-Server [[
|
||||||
|
description = [ Percona-Server is a drop-in replacement for MySQL with same binary names ]
|
||||||
|
resolution = manual
|
||||||
|
]]
|
||||||
|
recommendation:
|
||||||
|
memcached? ( net/memcached [[ description = [ The option provides the bundled memcached but you might want to use a stand-alone memcached as well ] ]] )
|
||||||
|
suggestion:
|
||||||
|
app-admin/logrotate [[ description = [ Use logrotate for rotating logs ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/mysql-5.7.29-fix-libressl-support.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
# event_comment
|
||||||
|
# >= 5.6 needs libevent[>=1.4.12&<2.0] but
|
||||||
|
# a) we only have 2.0.22 at the time of writing
|
||||||
|
# b) lots of other stuff needs >=2.0
|
||||||
|
#
|
||||||
|
# Options:
|
||||||
|
#
|
||||||
|
# 1. Add libevent 1.4.x, imlement the dep as [>=1.4.12&<2.0] and watch the fun
|
||||||
|
# 2. Us the bundled libevent for MySQL to ensure it's always the right version.
|
||||||
|
# 3. Add libevent 1.4.x as SLOT=1.4, slot 2.0.x as SLOT=2.0, dep on the 1.4 slot here.
|
||||||
|
#
|
||||||
|
# I prefer 3., of course, but I went with 2. for now to be on the safe side.
|
||||||
|
#
|
||||||
|
# dev-libs/libevent[>=1.4.12]
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
# Sanity check when upgrading to a different x.y version of mysql
|
||||||
|
if [[ -z ${MYSQL_MAJOR_UPGRADE} ]] && has_version ${CATEGORY}/${PN} && \
|
||||||
|
! has_version ${CATEGORY}/${PN}[=${MYSQL_MAJOR_VERSION}*] ; then
|
||||||
|
ewarn "To install a different major version of MySQL, you have to dump/reload your database."
|
||||||
|
ewarn "When you've done this, please set 'MYSQL_MAJOR_UPGRADE=YesPlease', to continue the upgrade."
|
||||||
|
ewarn "For more information visit:"
|
||||||
|
ewarn "http://dev.mysql.com/doc/refman/${MYSQL_MAJOR_VERSION}/en/upgrading.html"
|
||||||
|
ewarn "http://dev.mysql.com/doc/refman/${MYSQL_MAJOR_VERSION}/en/downgrading.html"
|
||||||
|
die "Dump your databases before doing a major version upgrade of MySQL."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${ROOT}"/etc/tmpfiles.d/${PN}.conf ]] ; then
|
||||||
|
ewarn "The configuration file /etc/tmpfiles.d/${PN}.conf has been moved to"
|
||||||
|
ewarn "/usr/$(exhost --target)/lib/tmpfiles.d/${PN}.conf and can be safely removed after upgrade"
|
||||||
|
ewarn "if you did not make any changes to it."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
|
||||||
|
# https://bugs.mysql.com/bug.php?id=72353 (only relevant when using system libevent)
|
||||||
|
edo sed \
|
||||||
|
-e "s:\(LIBEVENT_LIBRAR\)IES:\1Y:" \
|
||||||
|
-i "${WORKBASE}"/${PNV}/cmake/libevent.cmake
|
||||||
|
|
||||||
|
# don't link statically against crypto libs
|
||||||
|
edo sed \
|
||||||
|
-e '/REVERSE CMAKE_FIND_LIBRARY_SUFFIXES/d' \
|
||||||
|
-i "${CMAKE_SOURCE}"/cmake/ssl.cmake
|
||||||
|
|
||||||
|
# disable the automagic LDAP SASL Authentication Plugin (client-side)
|
||||||
|
# if added it requires cyrus-sasl -DWITH_SASL:STRING=system and openldap and -DWITH_AUTHENTICATION_LDAP:BOOL=TRUE
|
||||||
|
edo sed \
|
||||||
|
-e '/ADD_SUBDIRECTORY(authentication_ldap)/d' \
|
||||||
|
-i "${CMAKE_SOURCE}"/libmysql/CMakeLists.txt
|
||||||
|
edo rm -rf "${WORKBASE}"/${PNV}/libmysql/authentication_ldap
|
||||||
|
|
||||||
|
option sphinx && edo ln -s "${WORKBASE}"/sphinx-${SPHINX_PV}-release/mysqlse "${WORKBASE}"/${PNV}/storage/sphinx
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local cmakeargs=(
|
||||||
|
-DBOOST_INCLUDE_DIR:PATH="${WORKBASE}"/boost_${BOOST_PV//./_}
|
||||||
|
-DBUILD_CONFIG:STRING=mysql_release
|
||||||
|
# The default layout STANDALONE breaks all the scripts.
|
||||||
|
-DINSTALL_LAYOUT:STRING="RPM"
|
||||||
|
-DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=TRUE
|
||||||
|
-DCMAKE_INSTALL_PREFIX:PATH=/usr
|
||||||
|
-DCOMPILATION_COMMENT:STRING="Exherbo"
|
||||||
|
-DDEFAULT_CHARSET:STRING=utf8
|
||||||
|
-DDEFAULT_COLLATION:STRING=utf8_general_ci
|
||||||
|
-DFEATURE_SET:STRING=community
|
||||||
|
-DINSTALL_BINDIR:PATH=$(exhost --target)/bin
|
||||||
|
-DINSTALL_DOCDIR:PATH=share/doc/${PNVR}
|
||||||
|
-DINSTALL_DOCREADMEDIR:PATH=share/doc/${PNVR}
|
||||||
|
-DINSTALL_INCLUDEDIR:PATH=$(exhost --target)/include/mysql
|
||||||
|
-DINSTALL_INFODIR:PATH=share/mysql/info
|
||||||
|
-DINSTALL_LIBDIR:PATH=$(exhost --target)/lib/mysql
|
||||||
|
-DINSTALL_MANDIR:PATH=share/man
|
||||||
|
-DINSTALL_MYSQLSHAREDIR:PATH=share/mysql
|
||||||
|
# Empty value to not install the mysql-test directory
|
||||||
|
-DINSTALL_MYSQLTESTDIR:STRING=
|
||||||
|
-DINSTALL_PLUGINDIR:PATH=$(exhost --target)/lib/mysql/plugin
|
||||||
|
-DINSTALL_SBINDIR:PATH=$(exhost --target)/bin
|
||||||
|
-DINSTALL_SCRIPTDIR:PATH=$(exhost --target)/bin
|
||||||
|
-DINSTALL_SHAREDIR:PATH=share
|
||||||
|
-DINSTALL_SUPPORTFILESDIR:PATH=share/mysql
|
||||||
|
-DMYSQL_DATADIR:PATH=/var/lib/mysql
|
||||||
|
-DMYSQL_UNIX_ADDR:PATH=/run/mysqld/mysqld.sock
|
||||||
|
-DREPRODUCIBLE_BUILD:BOOL=FALSE
|
||||||
|
-DSYSCONFDIR:PATH=/etc/mysql
|
||||||
|
-DENABLE_DTRACE:BOOL=FALSE
|
||||||
|
-DENABLE_GCOV:BOOL=FALSE
|
||||||
|
-DENABLE_GPROF:BOOL=FALSE
|
||||||
|
-DENABLED_LOCAL_INFILE:BOOL=TRUE
|
||||||
|
-DENABLED_PROFILING:BOOL=TRUE
|
||||||
|
-DWITH_ASAN:BOOL=FALSE
|
||||||
|
-DWITH_ASAN_SCOPE:BOOL=FALSE
|
||||||
|
-DWITH_BOOST:PATH="${WORKBASE}"/boost_${BOOST_PV//./_}
|
||||||
|
-DWITH_CLIENT_PROTOCOL_TRACING:BOOL=FALSE
|
||||||
|
# Curl is only used with yassl
|
||||||
|
-DWITH_CURL:BOOL=FALSE
|
||||||
|
-DWITH_EDITLINE:STRING=system
|
||||||
|
-DWITH_EXTRA_CHARSETS:STRING=all
|
||||||
|
# Search for event_comment in this exlib for the reason for using bundled
|
||||||
|
-DWITH_LIBEVENT:STRING=bundled
|
||||||
|
-DWITH_LZ4:STRING=system
|
||||||
|
-DWITH_MSAN:BOOL=FALSE
|
||||||
|
-DWITH_NUMA:BOOL=FALSE
|
||||||
|
-DWITH_PROTOBUF:STRING=system
|
||||||
|
-DWITH_RAPID:BOOL=FALSE
|
||||||
|
-DWITH_SSL:STRING=/usr/$(exhost --target)
|
||||||
|
-DWITH_TEST_TRACE_PLUGIN:BOOL=FALSE
|
||||||
|
-DWITH_UBSAN:BOOL=FALSE
|
||||||
|
-DWITH_UNIT_TESTS:BOOL=TRUE
|
||||||
|
-DWITH_VALGRIND:BOOL=FALSE
|
||||||
|
-DWITH_ZLIB:STRING=system
|
||||||
|
# Default ENGINES for MySQL 5.6 community build (currently == xlarge) minus embedded
|
||||||
|
-DWITH_ARCHIVE_STORAGE_ENGINE:BOOL=TRUE
|
||||||
|
-DWITH_BLACKHOLE_STORAGE_ENGINE:BOOL=TRUE
|
||||||
|
-DWITH_FEDERATED_STORAGE_ENGINE:BOOL=TRUE
|
||||||
|
-DWITH_INNOBASE_STORAGE_ENGINE:BOOL=TRUE
|
||||||
|
)
|
||||||
|
|
||||||
|
if option debug ; then
|
||||||
|
cmakeargs+=(
|
||||||
|
-DCMAKE_BUILD_TYPE:STRING=Debug
|
||||||
|
)
|
||||||
|
else
|
||||||
|
cmakeargs+=(
|
||||||
|
-DCMAKE_BUILD_TYPE:STRING=Release
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if option memcached ; then
|
||||||
|
cmakeargs+=(
|
||||||
|
# Unfortunately, the InnoDb/memcached interface needs libevent 1.4.x
|
||||||
|
# as bundled with MySQL or trying to use memcached WILL make MySQL
|
||||||
|
# segfault immediately.
|
||||||
|
# (Keeping this comment even though the bundled lib is used anyway in
|
||||||
|
# order to remember *why* I changed it.)
|
||||||
|
-DWITH_LIBEVENT:STRING=bundled
|
||||||
|
-DWITH_INNODB_MEMCACHED:BOOL=TRUE
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if option sphinx ; then
|
||||||
|
cmakeargs+=(
|
||||||
|
-DWITH_SPHINX_STORAGE_ENGINE:BOOL=TRUE
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if option systemd ; then
|
||||||
|
cmakeargs+=(
|
||||||
|
-DWITH_SYSTEMD:BOOL=TRUE
|
||||||
|
-DSYSTEMD_PID_DIR:PATH=/run/mysqld
|
||||||
|
-DSYSTEMD_SERVICES_DIR:PATH=${SYSTEMDSYSTEMUNITDIR}
|
||||||
|
-DSYSTEMD_TMPFILES_DIR:PATH=/usr/$(exhost --target)/lib/tmpfiles.d
|
||||||
|
)
|
||||||
|
else
|
||||||
|
cmakeargs+=(
|
||||||
|
-DWITH_SYSTEMD:BOOL=FALSE
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
ecmake \
|
||||||
|
"${cmakeargs[@]}" \
|
||||||
|
$(cmake_with debug DEBUG)\
|
||||||
|
$(cmake_with embedded-server EMBEDDED_SERVER)\
|
||||||
|
$(cmake_with tcpd LIBWRAP)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
# Remove empty directories
|
||||||
|
edo rmdir "${IMAGE}"/usr/share/mysql/info
|
||||||
|
! option debug && edo rmdir "${IMAGE}"/usr/$(exhost --target)/lib/mysql/plugin/debug
|
||||||
|
|
||||||
|
keepdir /etc/mysql
|
||||||
|
|
||||||
|
insinto /etc/mysql
|
||||||
|
newins "${FILES}"/mysql-$(ever range 1-2)-my.cnf my.cnf
|
||||||
|
|
||||||
|
hereenvd 46mysql <<EOF
|
||||||
|
LDPATH=/usr/@TARGET@/lib/mysql
|
||||||
|
EOF
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILES}"/logrotate.mysql mysql
|
||||||
|
|
||||||
|
keepdir /var/lib/mysql-files
|
||||||
|
edo chown mysql:mysql "${IMAGE}"/var/lib/mysql-files
|
||||||
|
edo chmod 0750 "${IMAGE}"/var/lib/mysql-files
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if option sphinx ; then
|
||||||
|
elog "In order to finalise your installation of the Sphinx Search Engine, you must install"
|
||||||
|
elog "it in MySQL using the following command as an administrative user:"
|
||||||
|
elog ""
|
||||||
|
elog "mysql> INSTALL PLUGIN SPHINX SONAME 'ha_sphinx.so';"
|
||||||
|
elog ""
|
||||||
|
fi
|
||||||
|
|
||||||
|
if option memcached ; then
|
||||||
|
elog "In order to finalise your installation of the memcached plugin, you must install"
|
||||||
|
elog "it in MySQL using the following command as an administrative user:"
|
||||||
|
elog ""
|
||||||
|
elog "mysql> install plugin daemon_memcached soname "libmemcached.so";"
|
||||||
|
elog ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
@ -23,7 +23,6 @@ LICENCES="wxWinLL-3 LGPL-2.1"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS="
|
MYOPTIONS="
|
||||||
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
|
|
||||||
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
||||||
"
|
"
|
||||||
|
|
||||||
@ -33,6 +32,7 @@ DEPENDENCIES="
|
|||||||
build+run:
|
build+run:
|
||||||
app-text/poppler[cairo]
|
app-text/poppler[cairo]
|
||||||
dev-libs/glib:2
|
dev-libs/glib:2
|
||||||
|
media/ffmpeg
|
||||||
media-libs/freetype:2
|
media-libs/freetype:2
|
||||||
media-libs/giflib:=
|
media-libs/giflib:=
|
||||||
media-libs/gstreamer:1.0
|
media-libs/gstreamer:1.0
|
||||||
@ -49,10 +49,8 @@ DEPENDENCIES="
|
|||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/libX11
|
x11-libs/libX11
|
||||||
x11-libs/libXrandr
|
x11-libs/libXrandr
|
||||||
providers:ffmpeg? ( media/ffmpeg )
|
|
||||||
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||||
providers:libav? ( media/libav )
|
|
||||||
"
|
"
|
||||||
|
|
||||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
@ -12,12 +12,13 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
virtual/GHC
|
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
!dev-haskell/cabal-install [[
|
!dev-haskell/cabal-install [[
|
||||||
description = [ Both install the same binary ]
|
description = [ Both install the same binary ]
|
||||||
resolution = uninstall-blocked-after
|
resolution = uninstall-blocked-after
|
||||||
]]
|
]]
|
||||||
|
recommendation:
|
||||||
|
virtual/GHC
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
@ -12,12 +12,13 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
virtual/GHC
|
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
!dev-haskell/cabal-install [[
|
!dev-haskell/cabal-install [[
|
||||||
description = [ Both install the same binary ]
|
description = [ Both install the same binary ]
|
||||||
resolution = uninstall-blocked-after
|
resolution = uninstall-blocked-after
|
||||||
]]
|
]]
|
||||||
|
recommendation:
|
||||||
|
virtual/GHC
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
@ -0,0 +1,31 @@
|
|||||||
|
# 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://downloads.haskell.org/~cabal/cabal-install-${PV}/cabal-install-${PV}-x86_64-unknown-linux.tar.xz"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
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
|
||||||
|
]]
|
||||||
|
recommendation:
|
||||||
|
virtual/GHC
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin cabal
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
|||||||
|
# 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://downloads.haskell.org/~cabal/cabal-install-${PV}/cabal-install-${PV}-x86_64-unknown-linux.tar.xz"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
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
|
||||||
|
]]
|
||||||
|
recommendation:
|
||||||
|
virtual/GHC
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin cabal
|
||||||
|
}
|
||||||
|
|
35
packages/dev-haskell/ghcup/ghcup-0.1.10.exheres-0
Normal file
35
packages/dev-haskell/ghcup/ghcup-0.1.10.exheres-0
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
SUMMARY="Painless installation of GHC toolchain"
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghcup/ https://gitlab.haskell.org/haskell/ghcup-hs"
|
||||||
|
DOWNLOADS="
|
||||||
|
platform:amd64? ( https://downloads.haskell.org/~ghcup/${PV}/x86_64-linux-ghcup-${PV} )
|
||||||
|
platform:x86? ( https://downloads.haskell.org/~ghcup/${PV}/i386-linux-ghcup-${PV} )
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENCES="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS="
|
||||||
|
platform: amd64 x86
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
recommendation:
|
||||||
|
net-misc/curl [[ description = [ GHCup uses curl by default for downloads ] ]]
|
||||||
|
suggestion:
|
||||||
|
net-misc/wget [[ description = [ GHCup can use wget instead of curl ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
edo cp "${FETCHEDDIR}/${ARCHIVES}" ghcup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ghcup
|
||||||
|
}
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require github [ user=haskell ]
|
|
||||||
|
|
||||||
SUMMARY="Painless installation of GHC toolchain"
|
|
||||||
HOMEPAGE="https://www.haskell.org/ghcup/ ${HOMEPAGE}"
|
|
||||||
|
|
||||||
LICENCES="BSD-3"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
|
|
||||||
|
|
||||||
DEPENDENCIES="
|
|
||||||
run:
|
|
||||||
app-arch/gzip
|
|
||||||
app-arch/tar
|
|
||||||
app-arch/xz
|
|
||||||
net-misc/curl
|
|
||||||
sys-apps/coreutils
|
|
||||||
virtual/awk
|
|
||||||
suggestion:
|
|
||||||
net-misc/wget [[ description = [ alternative downloader ] ]]
|
|
||||||
recommendation:
|
|
||||||
(
|
|
||||||
dev-lang/llvm[>=2.7]
|
|
||||||
dev-lang/perl:*[>=5.6.1]
|
|
||||||
dev-libs/gmp[>=5]
|
|
||||||
dev-libs/libffi
|
|
||||||
) [[ *description = [ Dependency for GHC ] *group-name = [ ghc-deps ] ]]
|
|
||||||
"
|
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin ghcup
|
|
||||||
emagicdocs
|
|
||||||
}
|
|
@ -17,7 +17,6 @@ MYOPTIONS=""
|
|||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||||
virtual/GHC
|
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
184
packages/dev-lang/GHC/GHC-8.8.1.exheres-0
Normal file
184
packages/dev-lang/GHC/GHC-8.8.1.exheres-0
Normal file
@ -0,0 +1,184 @@
|
|||||||
|
# Copyright 2008 Santiago M. Mola
|
||||||
|
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||||
|
# Copyright 2011 Markus Rothe
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
|
||||||
|
MY_PN="ghc"
|
||||||
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
|
MY_PNVR="${MY_PN}-${PVR}"
|
||||||
|
BOOTSTRAP_PV="8.6.5"
|
||||||
|
|
||||||
|
require bash-completion flag-o-matic alternatives
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||||
|
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}/${MY_PNV}-src.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${BOOTSTRAP_PV}/ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
|
||||||
|
BUGS_TO=""
|
||||||
|
REMOTE_IDS="freecode:${MY_PN}"
|
||||||
|
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="${PV}"
|
||||||
|
MYOPTIONS="
|
||||||
|
doc
|
||||||
|
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||||
|
# case of unexpected failures. There are always unexpected failures.
|
||||||
|
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||||
|
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-python/Sphinx
|
||||||
|
build+run:
|
||||||
|
dev-lang/perl:*[>=5.6.1]
|
||||||
|
dev-libs/gmp:=[>=5]
|
||||||
|
dev-libs/libffi
|
||||||
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
|
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/${PNV}-no-alex.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${MY_PNV}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
edo mv ghc-${BOOTSTRAP_PV} "bootstrap-ghc"
|
||||||
|
unpack ${MY_PNV}-src.tar.xz
|
||||||
|
unpack ${MY_PNV}-testsuite.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# prepare pre-built ghc
|
||||||
|
edo pushd "${WORKBASE}/bootstrap-ghc"
|
||||||
|
edo ./configure \
|
||||||
|
--prefix="${TEMP}/ghc-pre" \
|
||||||
|
--target=$(exhost --target)
|
||||||
|
emake install
|
||||||
|
edo popd
|
||||||
|
|
||||||
|
autotools_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Initialize build.mk
|
||||||
|
echo '# Exherbo changes' > mk/build.mk
|
||||||
|
|
||||||
|
cat <<EOF >> mk/build.mk
|
||||||
|
# Put docs into the right place
|
||||||
|
docdir = /usr/share/doc/${MY_PNVR}
|
||||||
|
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if option doc; then
|
||||||
|
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||||
|
|
||||||
|
if option llvm; then
|
||||||
|
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||||
|
--with-system-libffi
|
||||||
|
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||||
|
)
|
||||||
|
|
||||||
|
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||||
|
# cross-compilation.
|
||||||
|
GHC=${TEMP}/ghc-pre/bin/ghc econf \
|
||||||
|
AR=${AR} \
|
||||||
|
CC=${CC} \
|
||||||
|
--target=$(exhost --target) \
|
||||||
|
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||||
|
# containing only LICENSE files
|
||||||
|
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||||
|
|
||||||
|
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 $(optionq doc && echo "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}} \
|
||||||
|
$(optionq doc && echo "/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
|
||||||
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
|
local file alternatives=()
|
||||||
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
|
${file#${IMAGE}}
|
||||||
|
${file#${IMAGE}}-${SLOT}
|
||||||
|
)
|
||||||
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test_expensive() {
|
||||||
|
emake fulltest
|
||||||
|
}
|
||||||
|
|
180
packages/dev-lang/GHC/GHC-8.8.2.exheres-0
Normal file
180
packages/dev-lang/GHC/GHC-8.8.2.exheres-0
Normal file
@ -0,0 +1,180 @@
|
|||||||
|
# Copyright 2008 Santiago M. Mola
|
||||||
|
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||||
|
# Copyright 2011 Markus Rothe
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
|
||||||
|
MY_PN="ghc"
|
||||||
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
|
MY_PNVR="${MY_PN}-${PVR}"
|
||||||
|
BOOTSTRAP_PV="8.6.5"
|
||||||
|
|
||||||
|
require bash-completion flag-o-matic alternatives
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||||
|
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}/${MY_PNV}-src.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${BOOTSTRAP_PV}/ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
|
||||||
|
BUGS_TO=""
|
||||||
|
REMOTE_IDS="freecode:${MY_PN}"
|
||||||
|
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="${PV}"
|
||||||
|
MYOPTIONS="
|
||||||
|
doc
|
||||||
|
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||||
|
# case of unexpected failures. There are always unexpected failures.
|
||||||
|
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||||
|
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-python/Sphinx
|
||||||
|
build+run:
|
||||||
|
dev-lang/perl:*[>=5.6.1]
|
||||||
|
dev-libs/gmp:=[>=5]
|
||||||
|
dev-libs/libffi
|
||||||
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
|
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${MY_PNV}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
edo mv ghc-${BOOTSTRAP_PV} "bootstrap-ghc"
|
||||||
|
unpack ${MY_PNV}-src.tar.xz
|
||||||
|
unpack ${MY_PNV}-testsuite.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# prepare pre-built ghc
|
||||||
|
edo pushd "${WORKBASE}/bootstrap-ghc"
|
||||||
|
edo ./configure \
|
||||||
|
--prefix="${TEMP}/ghc-pre" \
|
||||||
|
--target=$(exhost --target)
|
||||||
|
emake install
|
||||||
|
edo popd
|
||||||
|
|
||||||
|
autotools_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Initialize build.mk
|
||||||
|
echo '# Exherbo changes' > mk/build.mk
|
||||||
|
|
||||||
|
cat <<EOF >> mk/build.mk
|
||||||
|
# Put docs into the right place
|
||||||
|
docdir = /usr/share/doc/${MY_PNVR}
|
||||||
|
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if option doc; then
|
||||||
|
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||||
|
|
||||||
|
if option llvm; then
|
||||||
|
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||||
|
--with-system-libffi
|
||||||
|
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||||
|
)
|
||||||
|
|
||||||
|
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||||
|
# cross-compilation.
|
||||||
|
GHC=${TEMP}/ghc-pre/bin/ghc econf \
|
||||||
|
AR=${AR} \
|
||||||
|
CC=${CC} \
|
||||||
|
--target=$(exhost --target) \
|
||||||
|
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||||
|
# containing only LICENSE files
|
||||||
|
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||||
|
|
||||||
|
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 $(optionq doc && echo "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}} \
|
||||||
|
$(optionq doc && echo "/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
|
||||||
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
|
local file alternatives=()
|
||||||
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
|
${file#${IMAGE}}
|
||||||
|
${file#${IMAGE}}-${SLOT}
|
||||||
|
)
|
||||||
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test_expensive() {
|
||||||
|
emake fulltest
|
||||||
|
}
|
||||||
|
|
188
packages/dev-lang/GHC/GHC-8.8.3.exheres-0
Normal file
188
packages/dev-lang/GHC/GHC-8.8.3.exheres-0
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
# Copyright 2008 Santiago M. Mola
|
||||||
|
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||||
|
# Copyright 2011 Markus Rothe
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||||
|
# Copyright 1999-2008 Gentoo Foundation
|
||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
|
||||||
|
MY_PN="ghc"
|
||||||
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
|
MY_PNVR="${MY_PN}-${PVR}"
|
||||||
|
BOOTSTRAP_PV="8.6.5"
|
||||||
|
|
||||||
|
require bash-completion flag-o-matic alternatives
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||||
|
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}/${MY_PNV}-src.tar.xz
|
||||||
|
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||||
|
bootstrap? ( https://downloads.haskell.org/~ghc/${BOOTSTRAP_PV}/ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz )
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="-* ~amd64"
|
||||||
|
|
||||||
|
BUGS_TO=""
|
||||||
|
REMOTE_IDS="freecode:${MY_PN}"
|
||||||
|
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="${PV}"
|
||||||
|
MYOPTIONS="
|
||||||
|
bootstrap [[ description = [ Use official bindist for bootstrapping ] ]]
|
||||||
|
doc
|
||||||
|
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||||
|
# case of unexpected failures. There are always unexpected failures.
|
||||||
|
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||||
|
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-python/Sphinx
|
||||||
|
!bootstrap? (
|
||||||
|
dev-lang/GHC:${BOOTSTRAP_PV}
|
||||||
|
)
|
||||||
|
build+run:
|
||||||
|
dev-lang/perl:*[>=5.6.1]
|
||||||
|
dev-libs/gmp:=[>=5]
|
||||||
|
dev-libs/libffi
|
||||||
|
llvm? ( dev-lang/llvm[>=2.7] )
|
||||||
|
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||||
|
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/${MY_PNV}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if option bootstrap ; then
|
||||||
|
unpack ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||||
|
edo mv ghc-${BOOTSTRAP_PV} "bootstrap-ghc"
|
||||||
|
fi
|
||||||
|
unpack ${MY_PNV}-src.tar.xz
|
||||||
|
unpack ${MY_PNV}-testsuite.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if option bootstrap ; then
|
||||||
|
# prepare pre-built ghc
|
||||||
|
edo pushd "${WORKBASE}/bootstrap-ghc"
|
||||||
|
edo ./configure \
|
||||||
|
--prefix="${TEMP}/ghc-pre" \
|
||||||
|
--target=$(exhost --target)
|
||||||
|
emake install
|
||||||
|
edo popd
|
||||||
|
fi
|
||||||
|
|
||||||
|
autotools_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Initialize build.mk
|
||||||
|
echo '# Exherbo changes' > mk/build.mk
|
||||||
|
|
||||||
|
cat <<EOF >> mk/build.mk
|
||||||
|
# Put docs into the right place
|
||||||
|
docdir = /usr/share/doc/${MY_PNVR}
|
||||||
|
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if option doc; then
|
||||||
|
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||||
|
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||||
|
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||||
|
|
||||||
|
if option llvm; then
|
||||||
|
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||||
|
else
|
||||||
|
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||||
|
fi
|
||||||
|
|
||||||
|
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||||
|
--with-system-libffi
|
||||||
|
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||||
|
)
|
||||||
|
|
||||||
|
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||||
|
# cross-compilation.
|
||||||
|
GHC=ghc-${BOOTSTRAP_PV} econf \
|
||||||
|
AR=${AR} \
|
||||||
|
CC=${CC} \
|
||||||
|
--target=$(exhost --target) \
|
||||||
|
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||||
|
|
||||||
|
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||||
|
echo "STRIP_CMD = :" >> mk/build.mk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||||
|
# containing only LICENSE files
|
||||||
|
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||||
|
|
||||||
|
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 $(optionq doc && echo "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}} \
|
||||||
|
$(optionq doc && echo "/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
|
||||||
|
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||||
|
local file alternatives=()
|
||||||
|
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||||
|
alternatives+=(
|
||||||
|
${file#${IMAGE}}
|
||||||
|
${file#${IMAGE}}-${SLOT}
|
||||||
|
)
|
||||||
|
done
|
||||||
|
|
||||||
|
alternatives_for \
|
||||||
|
ghc ${SLOT} ${SLOT} \
|
||||||
|
"${alternatives[@]}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test_expensive() {
|
||||||
|
emake fulltest
|
||||||
|
}
|
||||||
|
|
33
packages/dev-lang/GHC/files/GHC-8.8.1-no-alex.patch
Normal file
33
packages/dev-lang/GHC/files/GHC-8.8.1-no-alex.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
https://github.com/gentoo-haskell/gentoo-haskell/issues/959
|
||||||
|
|
||||||
|
From 144abba394c6a23eb877fbde727111a5e75b9d47 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ben Gamari <ben@smart-cactus.org>
|
||||||
|
Date: Wed, 18 Sep 2019 23:50:20 -0400
|
||||||
|
Subject: [PATCH] configure: Don't depend upon alex in source dist build
|
||||||
|
|
||||||
|
This fixes #16860 by verifying that the generated sources don't already
|
||||||
|
exist before asserting that the `alex` executable was found. This
|
||||||
|
replicates the logic already used for `happy` in the case of `alex`.
|
||||||
|
---
|
||||||
|
aclocal.m4 | 7 +++++--
|
||||||
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- a/aclocal.m4
|
||||||
|
+++ b/aclocal.m4
|
||||||
|
@@ -984,8 +984,11 @@ else
|
||||||
|
fi;
|
||||||
|
changequote([, ])dnl
|
||||||
|
])
|
||||||
|
-FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
|
||||||
|
- [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
|
||||||
|
+if test ! -f compiler/parser/Lexer.hs
|
||||||
|
+then
|
||||||
|
+ FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
|
||||||
|
+ [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
|
||||||
|
+fi
|
||||||
|
AlexVersion=$fptools_cv_alex_version;
|
||||||
|
AC_SUBST(AlexVersion)
|
||||||
|
])
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
62
packages/dev-lang/coconut/coconut-1.4.2.exheres-0
Normal file
62
packages/dev-lang/coconut/coconut-1.4.2.exheres-0
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user="evhub" tag="v${PV}" ]
|
||||||
|
require pypi setup-py [ import=setuptools ]
|
||||||
|
|
||||||
|
SUMMARY="Simple, elegant, Pythonic functional programming"
|
||||||
|
DESCRIPTION="
|
||||||
|
Coconut is a functional programming language that compiles to Python. Since all
|
||||||
|
valid Python is valid Coconut, using Coconut will only extend and enhance what
|
||||||
|
you're already capable of in Python.
|
||||||
|
|
||||||
|
Why use Coconut? Coconut is built to be fundamentally useful. Coconut enhances
|
||||||
|
the repertoire of Python programmers to include the tools of modern functional
|
||||||
|
programming, in such a way that those tools are easy to use and immensely
|
||||||
|
powerful; that is, Coconut does to functional programming what Python did to
|
||||||
|
imperative programming. And Coconut code runs the same on any Python version,
|
||||||
|
making the Python 2/3 split a thing of the past.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://coconut-lang.org/ ${HOMEPAGE}"
|
||||||
|
|
||||||
|
LICENCES="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
RESTRICT="test" # missing deps
|
||||||
|
|
||||||
|
# python setup.py egg_info
|
||||||
|
# cat coconut.egg-info/requires.txt
|
||||||
|
# we ignore upper bounds of:
|
||||||
|
# * cPyparsing
|
||||||
|
# * mypy
|
||||||
|
# * prompt_toolkit[python_abis:2.7]
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-python/Pygments[>=2.3.1][python_abis:*(-)?]
|
||||||
|
dev-python/prompt_toolkit[>=1.0][python_abis:*(-)?]
|
||||||
|
dev-python/cPyparsing[>=2.4.5.0.1.1][python_abis:*(-)?]
|
||||||
|
python_abis:2.7? (
|
||||||
|
dev-python/futures[>=3.3][python_abis:2.7]
|
||||||
|
dev-python/prompt_toolkit[>=1.0][python_abis:*(-)?]
|
||||||
|
)
|
||||||
|
suggestion:
|
||||||
|
dev-python/mypy[>=0.540] [[ description = [ coconut can run mypy on the compiled python code ] ]]
|
||||||
|
dev-python/psutil[>=5] [[ description = [ improves use of the --jobs flag ] ]]
|
||||||
|
dev-python/watchdog[>=0.9] [[ description = [ enables use of the --watch flag ] ]]
|
||||||
|
python_abis:2.7? (
|
||||||
|
dev-python/trollius[>=2.2] [[ description = [ enables use of the asyncio library on Python 2 versions by making use of trollius ] ]]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
prepare_one_multibuild() {
|
||||||
|
python_prepare_one_multibuild
|
||||||
|
|
||||||
|
# https://github.com/evhub/coconut/issues/527
|
||||||
|
edo iconv -c -f utf-8 -t ascii README.rst > "${TEMP}"/README.rst
|
||||||
|
edo $(exhost --tool-prefix)strings "${TEMP}"/README.rst > README.rst
|
||||||
|
}
|
||||||
|
|
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.1.exheres-0
Normal file
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.1.exheres-0
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
# 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 = [ different provider ]
|
||||||
|
resolution = uninstall-blocked-after
|
||||||
|
]]
|
||||||
|
!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[@]}"
|
||||||
|
}
|
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.2.exheres-0
Normal file
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.2.exheres-0
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
# 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 = [ different provider ]
|
||||||
|
resolution = uninstall-blocked-after
|
||||||
|
]]
|
||||||
|
!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[@]}"
|
||||||
|
}
|
134
packages/dev-libs/ucl/files/ucl-1.03-CFLAGS.patch
Normal file
134
packages/dev-libs/ucl/files/ucl-1.03-CFLAGS.patch
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
From: Nathan Phillip Brink <binki@gentoo.org>
|
||||||
|
Subject: Respect CCASFLAGS (which often defaults to CFLAGS). Fixes
|
||||||
|
compilation for portage-multilib users.
|
||||||
|
|
||||||
|
diff -r c090ed619e90 configure.ac
|
||||||
|
--- a/configure.ac Sun Jun 26 16:00:09 2011 -0400
|
||||||
|
+++ b/configure.ac Sun Jun 26 20:52:01 2011 -0400
|
||||||
|
@@ -47,14 +47,12 @@
|
||||||
|
AC_CANONICAL_TARGET
|
||||||
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
-if test -z "$ac_abs_top_srcdir"; then
|
||||||
|
- _AC_SRCPATHS(.)
|
||||||
|
-fi
|
||||||
|
if test -r .Conf.settings1; then
|
||||||
|
. ./.Conf.settings1
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_PROG_CC
|
||||||
|
+AM_PROG_AS
|
||||||
|
AC_PROG_CPP
|
||||||
|
mfx_PROG_CPPFLAGS
|
||||||
|
AC_C_CONST
|
||||||
|
@@ -84,13 +82,13 @@
|
||||||
|
if test "X$enable_asm" != Xno; then
|
||||||
|
mfx_compile_S='${CC-cc} -c conftest.S 1>&AS_MESSAGE_LOG_FD'
|
||||||
|
cat > conftest.S <<EOF
|
||||||
|
-#include "$ac_abs_top_srcdir/asm/i386/src_gas/crc_asm.S"
|
||||||
|
+#include "$srcdir/asm/i386/src_gas/crc_asm.S"
|
||||||
|
EOF
|
||||||
|
enable_asm=no
|
||||||
|
if AC_TRY_EVAL(mfx_compile_S); then
|
||||||
|
if AC_TRY_COMMAND([test -s conftest.$ac_objext]); then
|
||||||
|
enable_asm=yes
|
||||||
|
- UCL_ASM_VPATH=":$ac_abs_top_srcdir/asm/i386/src_gas"
|
||||||
|
+ UCL_ASM_VPATH=":\$(top_srcdir)/asm/i386/src_gas"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test "X$enable_asm" = Xno; then
|
||||||
|
@@ -160,11 +158,6 @@
|
||||||
|
AC_SUBST(UCL_CFLAGS)
|
||||||
|
AC_SUBST(UCL_EXTRA_CFLAGS)
|
||||||
|
|
||||||
|
-configure_CPPFLAGS=$CPPFLAGS
|
||||||
|
-configure_CFLAGS=$CFLAGS
|
||||||
|
-AC_SUBST(configure_CPPFLAGS)
|
||||||
|
-AC_SUBST(configure_CFLAGS)
|
||||||
|
-
|
||||||
|
AC_CONFIG_FILES([Makefile examples/Makefile include/Makefile include/ucl/Makefile src/Makefile])
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
|
diff -r c090ed619e90 src/Makefile.am
|
||||||
|
--- a/src/Makefile.am Sun Jun 26 16:00:09 2011 -0400
|
||||||
|
+++ b/src/Makefile.am Sun Jun 26 20:52:01 2011 -0400
|
||||||
|
@@ -4,11 +4,10 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
VPATH = @srcdir@@UCL_ASM_VPATH@
|
||||||
|
-SUFFIXES = .S
|
||||||
|
|
||||||
|
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
|
||||||
|
-CPPFLAGS = $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
|
||||||
|
-CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
|
||||||
|
+AM_CPPFLAGS = $(UCL_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
|
||||||
|
+AM_CFLAGS = $(UCL_CFLAGS) $(UCL_EXTRA_CFLAGS)
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libucl.la
|
||||||
|
|
||||||
|
@@ -16,51 +15,37 @@
|
||||||
|
|
||||||
|
libucl_la_SOURCES = \
|
||||||
|
alloc.c \
|
||||||
|
+ getbit.h \
|
||||||
|
n2b_99.c n2b_d.c n2b_ds.c n2b_to.c \
|
||||||
|
n2d_99.c n2d_d.c n2d_ds.c n2d_to.c \
|
||||||
|
n2e_99.c n2e_d.c n2e_ds.c n2e_to.c \
|
||||||
|
+ ucl_conf.h \
|
||||||
|
ucl_crc.c \
|
||||||
|
ucl_init.c \
|
||||||
|
- ucl_ptr.c \
|
||||||
|
+ ucl_ptr.c ucl_ptr.h \
|
||||||
|
ucl_str.c \
|
||||||
|
ucl_util.c
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
- getbit.h \
|
||||||
|
n2_99.ch \
|
||||||
|
- ucl_conf.h \
|
||||||
|
ucl_dll.ch \
|
||||||
|
ucl_mchw.ch \
|
||||||
|
- ucl_ptr.h \
|
||||||
|
ucl_swd.ch
|
||||||
|
|
||||||
|
-libucl_la_LIBADD = $(UCL_ASM_OBJECTS)
|
||||||
|
-libucl_la_DEPENDENCIES = $(libucl_la_LIBADD)
|
||||||
|
-
|
||||||
|
-
|
||||||
|
# /***********************************************************************
|
||||||
|
# // assembler support
|
||||||
|
# ************************************************************************/
|
||||||
|
|
||||||
|
if UCL_USE_ASM
|
||||||
|
-
|
||||||
|
-UCL_ASM_OBJECTS = \
|
||||||
|
- cpuid.lo crc_asm.lo crcs_asm.lo rdtsc.lo rdtsca.lo \
|
||||||
|
- n2b_d_f1.lo n2b_d_f2.lo n2b_d_f3.lo n2b_d_f4.lo n2b_d_f5.lo n2b_d_f6.lo \
|
||||||
|
- n2b_d_n1.lo n2b_d_n2.lo n2b_d_n3.lo n2b_d_n4.lo n2b_d_n5.lo n2b_d_n6.lo \
|
||||||
|
- n2b_d_s1.lo n2b_d_s2.lo n2b_d_s3.lo n2b_d_s4.lo n2b_d_s5.lo n2b_d_s6.lo \
|
||||||
|
- n2d_d_f1.lo n2d_d_f2.lo n2d_d_f3.lo n2d_d_f4.lo n2d_d_f5.lo n2d_d_f6.lo \
|
||||||
|
- n2d_d_n1.lo n2d_d_n2.lo n2d_d_n3.lo n2d_d_n4.lo n2d_d_n5.lo n2d_d_n6.lo \
|
||||||
|
- n2d_d_s1.lo n2d_d_s2.lo n2d_d_s3.lo n2d_d_s4.lo n2d_d_s5.lo n2d_d_s6.lo \
|
||||||
|
- n2e_d_f1.lo n2e_d_f2.lo n2e_d_f3.lo n2e_d_f4.lo n2e_d_f5.lo n2e_d_f6.lo \
|
||||||
|
- n2e_d_n1.lo n2e_d_n2.lo n2e_d_n3.lo n2e_d_n4.lo n2e_d_n5.lo n2e_d_n6.lo \
|
||||||
|
- n2e_d_s1.lo n2e_d_s2.lo n2e_d_s3.lo n2e_d_s4.lo n2e_d_s5.lo n2e_d_s6.lo
|
||||||
|
-
|
||||||
|
-.S.o:
|
||||||
|
- $(CC) -c $<
|
||||||
|
-
|
||||||
|
-.S.lo:
|
||||||
|
- $(LIBTOOL) --mode=compile $(CC) -c $<
|
||||||
|
-
|
||||||
|
+libucl_la_SOURCES += \
|
||||||
|
+ cpuid.S crc_asm.S crcs_asm.S rdtsc.S rdtsca.S \
|
||||||
|
+ n2b_d_f1.S n2b_d_f2.S n2b_d_f3.S n2b_d_f4.S n2b_d_f5.S n2b_d_f6.S \
|
||||||
|
+ n2b_d_n1.S n2b_d_n2.S n2b_d_n3.S n2b_d_n4.S n2b_d_n5.S n2b_d_n6.S \
|
||||||
|
+ n2b_d_s1.S n2b_d_s2.S n2b_d_s3.S n2b_d_s4.S n2b_d_s5.S n2b_d_s6.S \
|
||||||
|
+ n2d_d_f1.S n2d_d_f2.S n2d_d_f3.S n2d_d_f4.S n2d_d_f5.S n2d_d_f6.S \
|
||||||
|
+ n2d_d_n1.S n2d_d_n2.S n2d_d_n3.S n2d_d_n4.S n2d_d_n5.S n2d_d_n6.S \
|
||||||
|
+ n2d_d_s1.S n2d_d_s2.S n2d_d_s3.S n2d_d_s4.S n2d_d_s5.S n2d_d_s6.S \
|
||||||
|
+ n2e_d_f1.S n2e_d_f2.S n2e_d_f3.S n2e_d_f4.S n2e_d_f5.S n2e_d_f6.S \
|
||||||
|
+ n2e_d_n1.S n2e_d_n2.S n2e_d_n3.S n2e_d_n4.S n2e_d_n5.S n2e_d_n6.S \
|
||||||
|
+ n2e_d_s1.S n2e_d_s2.S n2e_d_s3.S n2e_d_s4.S n2e_d_s5.S n2e_d_s6.S
|
||||||
|
endif
|
||||||
|
-
|
173
packages/dev-libs/ucl/files/ucl-1.03-x32.patch
Normal file
173
packages/dev-libs/ucl/files/ucl-1.03-x32.patch
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
port ucl to the x32 ABI
|
||||||
|
|
||||||
|
https://bugs.gentoo.org/426334
|
||||||
|
|
||||||
|
--- a/acc/acc_arch.h
|
||||||
|
+++ b/acc/acc_arch.h
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
* ACC_ARCH_UNKNOWN [default]
|
||||||
|
* ACC_ARCH_ALPHA
|
||||||
|
* ACC_ARCH_AMD64 aka x86-64 or ia32e
|
||||||
|
+ * ACC_ARCH_X32 aka x86-32
|
||||||
|
* ACC_ARCH_C166
|
||||||
|
* ACC_ARCH_IA16 Intel Architecture (8088, 8086, 80186, 80286)
|
||||||
|
* ACC_ARCH_IA32 Intel Architecture (80386+)
|
||||||
|
@@ -42,8 +43,13 @@
|
||||||
|
# define ACC_ARCH_IA16 1
|
||||||
|
# define ACC_INFO_ARCH "ia16"
|
||||||
|
#elif defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64)
|
||||||
|
+# ifdef __ILP32__
|
||||||
|
+# define ACC_ARCH_X32 1
|
||||||
|
+# define ACC_INFO_ARCH "x32"
|
||||||
|
+# else
|
||||||
|
# define ACC_ARCH_AMD64 1
|
||||||
|
# define ACC_INFO_ARCH "amd64"
|
||||||
|
+# endif
|
||||||
|
#elif (UINT_MAX <= ACC_0xffffL) && defined(__AVR__)
|
||||||
|
# define ACC_ARCH_AVR 1
|
||||||
|
# define ACC_INFO_ARCH "avr"
|
||||||
|
@@ -92,7 +98,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA16 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA16 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
# define ACC_ENDIAN_LITTLE_ENDIAN 1
|
||||||
|
# define ACC_INFO_ENDIAN "little-endian"
|
||||||
|
#elif (ACC_ARCH_M68K)
|
||||||
|
--- a/acc/acc_chk.ch
|
||||||
|
+++ b/acc/acc_chk.ch
|
||||||
|
@@ -407,7 +407,7 @@
|
||||||
|
#if (ACC_ARCH_IA16)
|
||||||
|
ACCCHK_ASSERT(sizeof(size_t) == 2)
|
||||||
|
ACCCHK_ASSERT(sizeof(acc_intptr_t) == sizeof(void *))
|
||||||
|
-#elif (ACC_ARCH_IA32 || ACC_ARCH_M68K)
|
||||||
|
+#elif (ACC_ARCH_IA32 || ACC_ARCH_M68K || ACC_ARCH_X32)
|
||||||
|
ACCCHK_ASSERT(sizeof(size_t) == 4)
|
||||||
|
ACCCHK_ASSERT(sizeof(ptrdiff_t) == 4)
|
||||||
|
ACCCHK_ASSERT(sizeof(acc_intptr_t) == sizeof(void *))
|
||||||
|
--- a/acc/acc_lib.h
|
||||||
|
+++ b/acc/acc_lib.h
|
||||||
|
@@ -423,13 +423,13 @@ ACCLIB_EXTERN(void, acc_set_le64) (acc_hvoid_p, acc_uint64l_t);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* inline versions */
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
# define ACC_GET_LE16(p) (* (const unsigned short *) (p))
|
||||||
|
# define ACC_GET_LE32(p) (* (const acc_uint32e_t *) (p))
|
||||||
|
# define ACC_SET_LE16(p,v) (* (unsigned short *) (p) = (unsigned short) (v))
|
||||||
|
# define ACC_SET_LE32(p,v) (* (acc_uint32e_t *) (p) = (acc_uint32e_t) (v))
|
||||||
|
#endif
|
||||||
|
-#if (ACC_ARCH_AMD64)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_X32)
|
||||||
|
# define ACC_GET_LE64(p) (* (const acc_uint64l_t *) (p))
|
||||||
|
# define ACC_SET_LE64(p,v) (* (acc_uint64l_t *) (p) = (acc_uint64l_t) (v))
|
||||||
|
#endif
|
||||||
|
--- a/acc/acclib/bele.ch
|
||||||
|
+++ b/acc/acclib/bele.ch
|
||||||
|
@@ -71,7 +71,7 @@ ACCLIB_PUBLIC(void, acc_set_be32) (acc_hvoid_p p, acc_uint32l_t v)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(unsigned, acc_get_le16) (const acc_hvoid_p p)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
return (* (const unsigned short *) (p));
|
||||||
|
#else
|
||||||
|
const acc_hbyte_p b = (const acc_hbyte_p) p;
|
||||||
|
@@ -87,7 +87,7 @@ ACCLIB_PUBLIC(acc_uint32l_t, acc_get_le24) (const acc_hvoid_p p)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(acc_uint32l_t, acc_get_le32) (const acc_hvoid_p p)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
return (* (const acc_uint32e_t *) (p));
|
||||||
|
#else
|
||||||
|
const acc_hbyte_p b = (const acc_hbyte_p) p;
|
||||||
|
@@ -102,7 +102,7 @@ ACCLIB_PUBLIC(acc_uint32l_t, acc_get_le32) (const acc_hvoid_p p)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(void, acc_set_le16) (acc_hvoid_p p, unsigned v)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
(* (unsigned short *) (p) = (unsigned short) (v));
|
||||||
|
#else
|
||||||
|
acc_hbyte_p b = (acc_hbyte_p) p;
|
||||||
|
@@ -121,7 +121,7 @@ ACCLIB_PUBLIC(void, acc_set_le24) (acc_hvoid_p p, acc_uint32l_t v)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(void, acc_set_le32) (acc_hvoid_p p, acc_uint32l_t v)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
(* (acc_uint32e_t *) (p) = (acc_uint32e_t) (v));
|
||||||
|
#else
|
||||||
|
acc_hbyte_p b = (acc_hbyte_p) p;
|
||||||
|
@@ -191,7 +191,7 @@ ACCLIB_PUBLIC(void, acc_set_be64) (acc_hvoid_p p, acc_uint64l_t v)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(acc_uint64l_t, acc_get_le64) (const acc_hvoid_p p)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_X32)
|
||||||
|
return (* (const acc_uint64l_t *) (p));
|
||||||
|
#elif (ACC_ARCH_IA32)
|
||||||
|
const acc_uint32e_t* b = (const acc_uint32e_t*) p;
|
||||||
|
@@ -211,7 +211,7 @@ ACCLIB_PUBLIC(acc_uint64l_t, acc_get_le64) (const acc_hvoid_p p)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(void, acc_set_le64) (acc_hvoid_p p, acc_uint64l_t v)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_X32)
|
||||||
|
(* (acc_uint64l_t *) (p)) = v;
|
||||||
|
#elif (ACC_ARCH_IA32)
|
||||||
|
(((acc_uint32e_t *)(p))[0] = (acc_uint32e_t) (v >> 0));
|
||||||
|
--- a/acc/acclib/perfctr.ch
|
||||||
|
+++ b/acc/acclib/perfctr.ch
|
||||||
|
@@ -63,7 +63,7 @@ ACCLIB_PUBLIC(int, acc_perfctr_open) (acc_perfctr_handle_p h)
|
||||||
|
break; /* no working TSC available */
|
||||||
|
case PERFCTR_X86_AMD_K7:
|
||||||
|
#endif
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
case PERFCTR_X86_AMD_K8:
|
||||||
|
case PERFCTR_X86_AMD_K8C:
|
||||||
|
cc->tsc_on = 1; cc->nractrs = 2;
|
||||||
|
--- a/acc/acclib/rdtsc.ch
|
||||||
|
+++ b/acc/acclib/rdtsc.ch
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
#if defined(acc_int32e_t)
|
||||||
|
|
||||||
|
|
||||||
|
-#if ((ACC_ARCH_AMD64 || ACC_ARCH_IA32) && ACC_CC_GNUC)
|
||||||
|
+#if ((ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32) && ACC_CC_GNUC)
|
||||||
|
# if (ACC_CC_GNUC >= 0x020000ul)
|
||||||
|
# define __ACCLIB_RDTSC_REGS : : "r" (t) : "cc", "memory", "eax", "edx"
|
||||||
|
# else
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(int, acc_tsc_read) (acc_uint32e_t* t)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) && defined(__ACCLIB_RDTSC_REGS)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32) && defined(__ACCLIB_RDTSC_REGS)
|
||||||
|
__asm__ __volatile__(
|
||||||
|
"clc \n" ".byte 0x0f, 0x31\n"
|
||||||
|
"movl %%eax,(%0)\n" "movl %%edx,4(%0)\n"
|
||||||
|
@@ -73,7 +73,7 @@ ACCLIB_PUBLIC(int, acc_tsc_read) (acc_uint32e_t* t)
|
||||||
|
|
||||||
|
ACCLIB_PUBLIC(int, acc_tsc_read_add) (acc_uint32e_t* t)
|
||||||
|
{
|
||||||
|
-#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32) && defined(__ACCLIB_RDTSC_REGS)
|
||||||
|
+#if (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32) && defined(__ACCLIB_RDTSC_REGS)
|
||||||
|
__asm__ __volatile__(
|
||||||
|
"clc \n" ".byte 0x0f, 0x31\n"
|
||||||
|
"addl %%eax,(%0)\n" "adcl $0,%%edx\n" "addl %%edx,4(%0)\n"
|
||||||
|
--- a/src/ucl_conf.h
|
||||||
|
+++ b/src/ucl_conf.h
|
||||||
|
@@ -172,7 +172,7 @@
|
||||||
|
#undef UA_SET2
|
||||||
|
#undef UA_GET4
|
||||||
|
#undef UA_SET4
|
||||||
|
-#if 1 && (ACC_ARCH_AMD64 || ACC_ARCH_IA32)
|
||||||
|
+#if 1 && (ACC_ARCH_AMD64 || ACC_ARCH_IA32 || ACC_ARCH_X32)
|
||||||
|
# define UA_GET2(p) (* (const ucl_ushortp) (p))
|
||||||
|
# define UA_SET2(p) (* (ucl_ushortp) (p))
|
||||||
|
# define UA_GET4(p) (* (const acc_uint32e_t *) (p))
|
35
packages/dev-libs/ucl/ucl-1.03.exheres-0
Normal file
35
packages/dev-libs/ucl/ucl-1.03.exheres-0
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
||||||
|
|
||||||
|
SUMMARY="The UCL Compression Library"
|
||||||
|
HOMEPAGE="http://www.oberhumer.com/opensource/ucl/"
|
||||||
|
DOWNLOADS="http://www.oberhumer.com/opensource/ucl/download/${PNV}.tar.gz"
|
||||||
|
|
||||||
|
LICENCES="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/${PNV}-CFLAGS.patch
|
||||||
|
"${FILES}"/${PNV}-x32.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
edo sed -n -e '/^AC_DEFUN.*mfx_/,/^])#$/p' aclocal.m4 > acinclude.m4
|
||||||
|
edo sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
|
||||||
|
|
||||||
|
autotools_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --enable-shared CFLAGS="${CFLAGS} -std=c90"
|
||||||
|
}
|
||||||
|
|
35
packages/dev-lua/luv/luv-1.30.1_p1.exheres-0
Normal file
35
packages/dev-lua/luv/luv-1.30.1_p1.exheres-0
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
MY_PV=${PV/_p/-}
|
||||||
|
WORK=${WORKBASE}/${PN}-${MY_PV}
|
||||||
|
|
||||||
|
require cmake [ api=2 ]
|
||||||
|
|
||||||
|
SUMMARY="Bare libuv bindings for lua"
|
||||||
|
HOMEPAGE="https://github.com/luvit/luv"
|
||||||
|
DOWNLOADS="https://github.com/luvit/luv/releases/download/${MY_PV}/luv-${MY_PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENCES="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-lang/LuaJIT
|
||||||
|
dev-libs/libuv
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo"
|
||||||
|
|
||||||
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
|
-DBUILD_MODULE=OFF
|
||||||
|
-DBUILD_SHARED_LIBS=ON
|
||||||
|
-DLUA_BUILD_TYPE=System
|
||||||
|
-DWITH_LUA_ENGINE="LuaJIT"
|
||||||
|
-DWITH_SHARED_LIBUV=ON
|
||||||
|
)
|
||||||
|
|
35
packages/dev-lua/luv/luv-1.34.1_p0.exheres-0
Normal file
35
packages/dev-lua/luv/luv-1.34.1_p0.exheres-0
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
MY_PV=${PV/_p/-}
|
||||||
|
WORK=${WORKBASE}/${PN}-${MY_PV}
|
||||||
|
|
||||||
|
require cmake [ api=2 ]
|
||||||
|
|
||||||
|
SUMMARY="Bare libuv bindings for lua"
|
||||||
|
HOMEPAGE="https://github.com/luvit/luv"
|
||||||
|
DOWNLOADS="https://github.com/luvit/luv/releases/download/${MY_PV}/luv-${MY_PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENCES="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-lang/LuaJIT
|
||||||
|
dev-libs/libuv
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo"
|
||||||
|
|
||||||
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
|
-DBUILD_MODULE=OFF
|
||||||
|
-DBUILD_SHARED_LIBS=ON
|
||||||
|
-DLUA_BUILD_TYPE=System
|
||||||
|
-DWITH_LUA_ENGINE="LuaJIT"
|
||||||
|
-DWITH_SHARED_LIBUV=ON
|
||||||
|
)
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require pypi setup-py [ import=setuptools ]
|
||||||
|
|
||||||
|
SUMMARY="Cython implementation of PyParsing created for use in Coconut and Undebt"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
MY_PNV="${PN}-${PV/_p/.post}"
|
||||||
|
|
||||||
|
require setup-py [ import=setuptools work="${MY_PNV}" ]
|
||||||
|
require pypi
|
||||||
|
|
||||||
|
SUMMARY="Easily include Font Awesome icons in your python scripts"
|
||||||
|
|
||||||
|
LICENCES="Apache-2.0 OFL-1.1"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
prepare_one_multibuild() {
|
||||||
|
edo sed -i \
|
||||||
|
-e '/pypandoc/d' \
|
||||||
|
setup.py
|
||||||
|
|
||||||
|
setup-py_prepare_one_multibuild
|
||||||
|
}
|
||||||
|
|
@ -23,35 +23,29 @@ MYOPTIONS=""
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
dev-python/typed-ast[>=1.3.1&<1.4.0][python_abis:*(-)?]
|
dev-python/typed-ast[>=1.4.0&<1.5.0][python_abis:*(-)?]
|
||||||
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
|
dev-python/mypy_extensions[>=0.4.3&<0.5.0][python_abis:*(-)?]
|
||||||
python_abis:3.4? (
|
dev-python/typing-extensions[>=3.7.4][python_abis:*(-)?]
|
||||||
dev-python/typing[>=3.5.3][python_abis:3.4]
|
|
||||||
)
|
|
||||||
test:
|
test:
|
||||||
|
dev-python/attrs[>=18.0][python_abis:*(-)?]
|
||||||
|
dev-python/flake8[>=3.7][python_abis:*(-)?]
|
||||||
|
dev-python/lxml[>=4.2.4][python_abis:*(-)?]
|
||||||
|
dev-python/psutil[>=4.0][python_abis:*(-)?]
|
||||||
dev-python/py[>=1.5.2][python_abis:*(-)?]
|
dev-python/py[>=1.5.2][python_abis:*(-)?]
|
||||||
dev-python/pytest[>=3.0][python_abis:*(-)?]
|
dev-python/pytest[>=4.4][python_abis:*(-)?]
|
||||||
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
|
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
|
||||||
dev-python/pytest-xdist[>=1.18][python_abis:*(-)?]
|
dev-python/pytest-xdist[>=1.22][python_abis:*(-)?]
|
||||||
dev-python/virtualenv[python_abis:*(-)?]
|
dev-python/virtualenv[python_abis:*(-)?]
|
||||||
suggestion:
|
suggestion:
|
||||||
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?] [[
|
dev-python/psutil[>=4.0][python_abis:*(-)?] [[
|
||||||
description = [ Show memory stats in 'dmypy status -v' ] ]]
|
description = [ Show memory stats in 'dmypy status -v' ] ]]
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
# Require unpackaged: flake8-bugbear, flake8-pyi
|
# Require unpackaged: flake8-bugbear, flake8-pyi, pytest 4.4+
|
||||||
RESTRICT="test"
|
RESTRICT="test"
|
||||||
|
|
||||||
prepare_one_multibuild() {
|
|
||||||
edo sed -i \
|
|
||||||
-e "/target = /s|lib|$(exhost --target)/lib|" \
|
|
||||||
setup.py
|
|
||||||
|
|
||||||
setup-py_prepare_one_multibuild
|
|
||||||
}
|
|
||||||
|
|
||||||
test_one_multibuild() {
|
test_one_multibuild() {
|
||||||
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
|
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
|
||||||
}
|
}
|
@ -7,11 +7,9 @@ SUMMARY="Experimental type system extensions for programs checked with the mypy
|
|||||||
|
|
||||||
LICENCES="MIT"
|
LICENCES="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
|
||||||
python_abis:3.4? ( dev-python/typing[>=3.5.3][python_abis:3.4] )
|
|
||||||
"
|
"
|
||||||
|
|
@ -0,0 +1,26 @@
|
|||||||
|
From 8e0874b1be515abc8845e3ad41c4332f992e5687 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Julian Ospald <hasufell@posteo.de>
|
||||||
|
Date: Tue, 24 Dec 2019 22:17:28 +0100
|
||||||
|
Subject: [PATCH] Fix build with LibreSSL 2.7
|
||||||
|
Upstream: submitted, https://github.com/AGProjects/python-sipsimple/pull/8
|
||||||
|
|
||||||
|
---
|
||||||
|
deps/pjsip/third_party/zsrtp/include/openssl_compat.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/deps/pjsip/third_party/zsrtp/include/openssl_compat.h b/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
|
||||||
|
index 5b6e183e..aebbf996 100644
|
||||||
|
--- a/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
|
||||||
|
+++ b/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
|
||||||
|
#include <openssl/hmac.h>
|
||||||
|
|
||||||
|
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
|
||||||
|
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||||
|
static HMAC_CTX *HMAC_CTX_new(void)
|
||||||
|
{
|
||||||
|
HMAC_CTX *ctx = (HMAC_CTX*)OPENSSL_malloc(sizeof(HMAC_CTX));
|
||||||
|
--
|
||||||
|
2.24.1
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
Upstream: Submitted
|
||||||
|
Source: https://github.com/AGProjects/python-sipsimple/pull/10
|
||||||
|
|
||||||
|
From 052f7301a0c906c4117dff5453222f12e768bb49 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Briden <tom@decompile.me.uk>
|
||||||
|
Date: Thu, 23 Jul 2020 19:22:30 +0100
|
||||||
|
Subject: [PATCH] Fix multiple definition of `PJ_ATTR_MAY_ALIAS' with GCC-10
|
||||||
|
|
||||||
|
---
|
||||||
|
deps/pjsip/pjlib/include/pj/list.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/deps/pjsip/pjlib/include/pj/list.h b/deps/pjsip/pjlib/include/pj/list.h
|
||||||
|
index 880f58d4..50510fe3 100644
|
||||||
|
--- a/deps/pjsip/pjlib/include/pj/list.h
|
||||||
|
+++ b/deps/pjsip/pjlib/include/pj/list.h
|
||||||
|
@@ -71,7 +71,7 @@ PJ_BEGIN_DECL
|
||||||
|
* must initialize the 'value' member to an appropriate value (typically the
|
||||||
|
* owner itself).
|
||||||
|
*/
|
||||||
|
-struct pj_list
|
||||||
|
+extern struct pj_list
|
||||||
|
{
|
||||||
|
PJ_DECL_LIST_MEMBER(void);
|
||||||
|
} PJ_ATTR_MAY_ALIAS; /* may_alias avoids warning with gcc-4.4 -Wall -O2 */
|
@ -12,7 +12,6 @@ SLOT="0"
|
|||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS="
|
MYOPTIONS="
|
||||||
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||||
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
|
|
||||||
"
|
"
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
@ -23,12 +22,11 @@ DEPENDENCIES="
|
|||||||
dev-db/sqlite:3
|
dev-db/sqlite:3
|
||||||
dev-libs/icu:=
|
dev-libs/icu:=
|
||||||
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
|
dev-python/python-application[>=2.5.0][python_abis:*(-)?]
|
||||||
|
media/ffmpeg[h264]
|
||||||
media-libs/libvpx
|
media-libs/libvpx
|
||||||
media-libs/v4l-utils
|
media-libs/v4l-utils
|
||||||
sys-apps/util-linux
|
sys-apps/util-linux
|
||||||
sys-sound/alsa-lib
|
sys-sound/alsa-lib
|
||||||
providers:ffmpeg? ( media/ffmpeg[h264] )
|
|
||||||
providers:libav? ( media/libav[h264] )
|
|
||||||
providers:libressl? ( dev-libs/libressl:= )
|
providers:libressl? ( dev-libs/libressl:= )
|
||||||
providers:openssl? ( dev-libs/openssl )
|
providers:openssl? ( dev-libs/openssl )
|
||||||
run:
|
run:
|
||||||
@ -49,6 +47,8 @@ DEPENDENCIES="
|
|||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
"${FILES}"/${PNV}-fix-build.patch
|
"${FILES}"/${PNV}-fix-build.patch
|
||||||
|
"${FILES}"/0001-Fix-build-with-LibreSSL-2.7.patch
|
||||||
|
"${FILES}"/${PN}-gcc10-fix.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require pypi setup-py [ import=setuptools ]
|
|
||||||
|
|
||||||
SUMMARY="Pure-Python RSA implementation"
|
|
||||||
|
|
||||||
LICENCES="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="~amd64 ~armv7 ~armv8 ~x86"
|
|
||||||
MYOPTIONS=""
|
|
||||||
|
|
||||||
|
|
||||||
DEPENDENCIES="
|
|
||||||
build+run:
|
|
||||||
dev-python/pyasn1[python_abis:*(-)?]
|
|
||||||
"
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require typed-ast
|
|
||||||
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require typed-ast
|
|
||||||
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github [ user="python" project="typed_ast" ]
|
MY_PN="typed_ast"
|
||||||
require pypi
|
MY_PNV="${MY_PN}-${PV}"
|
||||||
require setup-py [ import=setuptools blacklist=2 ]
|
|
||||||
|
require github [ user="python" project="${MY_PN}" ]
|
||||||
|
require pypi [ pnv="${MY_PNV}" ]
|
||||||
|
require setup-py [ import=setuptools blacklist=2 work="${MY_PNV}" ]
|
||||||
|
|
||||||
SUMMARY="A fork of Python 2 and 3 ast modules with type comment support"
|
SUMMARY="A fork of Python 2 and 3 ast modules with type comment support"
|
||||||
DESCRIPTION="
|
DESCRIPTION="
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require github [ user="jquast" ]
|
|
||||||
require pypi setup-py [ import=setuptools test=pytest ]
|
|
||||||
|
|
||||||
SUMMARY="Measures number of Terminal column cells of wide-character codes"
|
|
||||||
|
|
||||||
LICENCES="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
MYOPTIONS=""
|
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cargo [ channel=stable ]
|
||||||
|
require github [ user=MitMaro tag="${PV}" ]
|
||||||
|
|
||||||
|
SUMMARY="Native cross platform full feature terminal based sequence editor for git interactive rebase"
|
||||||
|
HOMEPAGE="https://crates.io/crates/git-interactive-rebase-tool ${HOMEPAGE}"
|
||||||
|
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
44
packages/dev-util/github-cli/github-cli-1.0.0.exheres-0
Normal file
44
packages/dev-util/github-cli/github-cli-1.0.0.exheres-0
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require bash-completion zsh-completion
|
||||||
|
require github [ user='cli' pn='cli' tag="v${PV}" ]
|
||||||
|
|
||||||
|
SUMMARY="Github CLI"
|
||||||
|
|
||||||
|
LICENCES="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/go
|
||||||
|
run:
|
||||||
|
dev-scm/git
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export GOPATH="${WORK}"/.gopath
|
||||||
|
export GOBIN="${WORK}"/.bin
|
||||||
|
unset LDFLAGS
|
||||||
|
|
||||||
|
esandbox disable_net
|
||||||
|
emake
|
||||||
|
emake manpages
|
||||||
|
|
||||||
|
edo go run ./cmd/gh completion -s bash > gh.bash-completion
|
||||||
|
edo go run ./cmd/gh completion -s zsh > gh.zsh-completion
|
||||||
|
esandbox enable_net
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/gh
|
||||||
|
emagicdocs
|
||||||
|
|
||||||
|
doman share/man/man?/gh*.?
|
||||||
|
dobashcompletion gh.bash-completion
|
||||||
|
dozshcompletion gh.zsh-completion
|
||||||
|
}
|
21
packages/dev-util/gitui/gitui-0.7.0.exheres-0
Normal file
21
packages/dev-util/gitui/gitui-0.7.0.exheres-0
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cargo [ channel=stable ]
|
||||||
|
require github [ user="extrawurst" tag="v${PV}" ]
|
||||||
|
|
||||||
|
SUMMARY="Blazing fast terminal-ui for git written in rust"
|
||||||
|
HOMEPAGE="https://crates.io/crates/gitui ${HOMEPAGE}"
|
||||||
|
|
||||||
|
LICENCES="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-scm/libgit2
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
19
packages/dev-util/rusty-tags/rusty-tags-3.5.1.exheres-0
Normal file
19
packages/dev-util/rusty-tags/rusty-tags-3.5.1.exheres-0
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cargo [ channel=stable ]
|
||||||
|
require github [ user="dan-t" tag="v${PV}" ]
|
||||||
|
|
||||||
|
SUMMARY="Create ctags/etags for a cargo project"
|
||||||
|
HOMEPAGE="https://crates.io/crates/rusty-tags ${HOMEPAGE}"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
@ -2,38 +2,41 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require alternatives github [ user='universal-ctags' pn='ctags' ]
|
require alternatives github [ user='universal-ctags' pn='ctags' ]
|
||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
||||||
|
|
||||||
SUMMARY="Universal ctags"
|
SUMMARY="Universal ctags"
|
||||||
|
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS="json xml yaml"
|
MYOPTIONS="
|
||||||
|
json [[ description = [ Add support for JSON format as output ] ]]
|
||||||
|
seccomp [[ description = [ Add support for libseccomp library ] ]]
|
||||||
|
xml
|
||||||
|
yaml [[ description = [ Add support for YAML format as output ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
json? ( dev-libs/jansson )
|
json? ( dev-libs/jansson )
|
||||||
xml? ( dev-libs/libxml2:2.0 )
|
seccomp? ( sys-libs/libseccomp )
|
||||||
|
xml? ( dev-libs/libxml2:2.0[>=2.7.7] )
|
||||||
yaml? ( dev-libs/libyaml )
|
yaml? ( dev-libs/libyaml )
|
||||||
build:
|
build:
|
||||||
dev-python/docutils
|
dev-python/docutils
|
||||||
virtual/pkg-config
|
virtual/pkg-config
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# input-encoding-option and output-encoding-option fail as of 20-03-2020
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||||
'json'
|
'json'
|
||||||
|
'seccomp'
|
||||||
'xml'
|
'xml'
|
||||||
'yaml'
|
'yaml'
|
||||||
)
|
)
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# autogen.sh usually runs this
|
|
||||||
edo ./misc/dist-test-cases > makefiles/test-cases.mak
|
|
||||||
|
|
||||||
autotools_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
@ -1,100 +0,0 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require desktop-utils
|
|
||||||
|
|
||||||
SUMMARY="Faster Than Light: A spaceship simulation real-time roguelike-like game"
|
|
||||||
HP="http://www.ftlgame.com"
|
|
||||||
GOG_HP="https://www.gog.com/game/faster_than_light"
|
|
||||||
HOMEPAGE="${HP} ${GOG_HP}"
|
|
||||||
FTL_SH="gog_ftl_advanced_edition_2.0.0.2.sh"
|
|
||||||
FTL_TAR="FTL.${PV}.tar.gz"
|
|
||||||
DOWNLOADS="
|
|
||||||
gog? ( manual: ${FTL_SH} )
|
|
||||||
!gog? ( manual: ${FTL_TAR} )
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENCES="all-rights-reserved Boost-1.0 free-noncomm MIT FTL LGPL-2.1 ZLIB libpng"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="-* ~amd64 ~x86"
|
|
||||||
MYOPTIONS="
|
|
||||||
gog [[ description = [ Use the gog advanced edition version ] ]]
|
|
||||||
( platform: amd64 x86 )
|
|
||||||
"
|
|
||||||
RESTRICT="fetch"
|
|
||||||
|
|
||||||
DEPENDENCIES="
|
|
||||||
run:
|
|
||||||
media-libs/DevIL
|
|
||||||
media-libs/SDL:0[X]
|
|
||||||
media-libs/freetype:2
|
|
||||||
sys-libs/zlib
|
|
||||||
x11-dri/mesa
|
|
||||||
build:
|
|
||||||
virtual/unzip
|
|
||||||
"
|
|
||||||
|
|
||||||
WORK="${WORKBASE}"
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
local hp=${HP}
|
|
||||||
optionq gog && hp=${GOG_HP}
|
|
||||||
local file=${FTL_TAR}
|
|
||||||
optionq gog && file=${FTL_SH}
|
|
||||||
|
|
||||||
einfo "Please buy & download ${file} from:"
|
|
||||||
einfo " ${hp}"
|
|
||||||
einfo "and move it to ${FETCHEDDIR}"
|
|
||||||
einfo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
exdirectory --allow /opt
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if optionq gog ; then
|
|
||||||
unzip -qo "${FETCHEDDIR}/${FTL_SH}"
|
|
||||||
[[ $? -le 1 ]] || die "unpacking ${FTL_SH} failed!"
|
|
||||||
else
|
|
||||||
default
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local dir=/opt/${PN}
|
|
||||||
local arch=$(option platform:amd64 "amd64" "x86")
|
|
||||||
local datadir=${WORKBASE}/${PN}/data
|
|
||||||
optionq gog && datadir=${WORKBASE}/data/noarch/game/data
|
|
||||||
local htmldir=${WORKBASE}/${PN}
|
|
||||||
optionq gog && htmldir=${WORKBASE}/data/noarch/docs
|
|
||||||
|
|
||||||
insinto "${dir}"
|
|
||||||
doins -r "${datadir}"/resources
|
|
||||||
|
|
||||||
exeinto "${dir}"/bin
|
|
||||||
doexe "${datadir}"/${arch}/bin/${PN}
|
|
||||||
exeinto "${dir}"/lib
|
|
||||||
doexe "${datadir}"/${arch}/lib/*.so*
|
|
||||||
|
|
||||||
herebin ${PN} << EOF
|
|
||||||
#!/bin/sh
|
|
||||||
cd "/opt/FTL"
|
|
||||||
if [ "\${LD_LIBRARY_PATH+set}" = "set" ] ; then
|
|
||||||
export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:/opt/FTL/lib"
|
|
||||||
else
|
|
||||||
export LD_LIBRARY_PATH="/opt/FTL/lib"
|
|
||||||
fi
|
|
||||||
exec /opt/FTL/bin/FTL "\$@"
|
|
||||||
EOF
|
|
||||||
|
|
||||||
install_desktop_entry "Name=Faster Than Light" \
|
|
||||||
"Icon=/usr/share/pixmaps/FTL.bmp"
|
|
||||||
|
|
||||||
insinto /usr/share/pixmaps
|
|
||||||
newins "${datadir}"/resources/exe_icon.bmp FTL.bmp
|
|
||||||
|
|
||||||
insinto /usr/share/doc/${PNVR}/html
|
|
||||||
doins "${htmldir}"/${PN}_README.html
|
|
||||||
}
|
|
||||||
|
|
@ -7,7 +7,7 @@ SUMMARY="Faster Than Light: A spaceship simulation real-time roguelike-like game
|
|||||||
HP="http://www.ftlgame.com"
|
HP="http://www.ftlgame.com"
|
||||||
GOG_HP="https://www.gog.com/game/faster_than_light"
|
GOG_HP="https://www.gog.com/game/faster_than_light"
|
||||||
HOMEPAGE="${HP} ${GOG_HP}"
|
HOMEPAGE="${HP} ${GOG_HP}"
|
||||||
FTL_SH="ftl_advanced_edition_en_1_6_3_17917.sh"
|
FTL_SH="ftl_advanced_edition_1_6_12_2_35269.sh"
|
||||||
DOWNLOADS="manual: ${FTL_SH}"
|
DOWNLOADS="manual: ${FTL_SH}"
|
||||||
|
|
||||||
LICENCES="all-rights-reserved Boost-1.0 free-noncomm MIT FTL LGPL-2.1 ZLIB libpng"
|
LICENCES="all-rights-reserved Boost-1.0 free-noncomm MIT FTL LGPL-2.1 ZLIB libpng"
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require gog [ installer="stardew_valley_1_4_5_433754439_36068.sh" ]
|
||||||
|
require desktop-utils
|
||||||
|
|
||||||
|
SUMMARY="Stardew Valley is a farming simulation role-playing video game"
|
||||||
|
HOMEPAGE="https://www.gog.com/game/stardew_valley"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="-* ~amd64 ~x86"
|
||||||
|
MYOPTIONS="
|
||||||
|
( platform: amd64 x86 )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
x11-apps/xterm
|
||||||
|
x11-dri/mesa
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local arch=$(option platform:amd64 "x86_64" "x86")
|
||||||
|
local noarch=$(option platform:amd64 "x86" "x86_64")
|
||||||
|
local nolib=$(option platform:amd64 "lib" "lib64")
|
||||||
|
|
||||||
|
herebin ${PN} <<EOF
|
||||||
|
#!/bin/sh
|
||||||
|
cd "${GOG_INSTALL_DIR}/game"
|
||||||
|
export TERM=xterm
|
||||||
|
exec "./StardewValley.bin.${arch}" "\$@"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
install_desktop_entry "Name=Stardew Valley"
|
||||||
|
|
||||||
|
edo rm "${WORK}/game/StardewValley.bin.${noarch}"
|
||||||
|
edo rm -r "${WORK}/game/${nolib}"
|
||||||
|
|
||||||
|
insinto "${GOG_INSTALL_DIR}"
|
||||||
|
doins -r "${WORK}/game"
|
||||||
|
edo chmod +x "${IMAGE%/}${GOG_INSTALL_DIR}/game/StardewValley.bin.${arch}"
|
||||||
|
edo ln -sf mcs.bin.${arch} "${IMAGE%/}${GOG_INSTALL_DIR}"/game/mcs
|
||||||
|
}
|
||||||
|
|
@ -43,9 +43,6 @@ MV_FILES=(
|
|||||||
/usr/share/applications/openra-cnc.desktop
|
/usr/share/applications/openra-cnc.desktop
|
||||||
/usr/share/applications/openra-ra.desktop
|
/usr/share/applications/openra-ra.desktop
|
||||||
/usr/share/applications/openra-d2k.desktop
|
/usr/share/applications/openra-d2k.desktop
|
||||||
/usr/share/applications/openra-cnc-join-servers.desktop
|
|
||||||
/usr/share/applications/openra-ra-join-servers.desktop
|
|
||||||
/usr/share/applications/openra-d2k-join-servers.desktop
|
|
||||||
|
|
||||||
/usr/share/icons/hicolor/128x128/apps/openra-cnc.png
|
/usr/share/icons/hicolor/128x128/apps/openra-cnc.png
|
||||||
/usr/share/icons/hicolor/16x16/apps/openra-cnc.png
|
/usr/share/icons/hicolor/16x16/apps/openra-cnc.png
|
||||||
@ -73,7 +70,7 @@ openra-build_src_unpack() {
|
|||||||
|
|
||||||
edo cd "${WORK}"/thirdparty
|
edo cd "${WORK}"/thirdparty
|
||||||
edo sed -i \
|
edo sed -i \
|
||||||
-e 's|curl .*$|: |' \
|
-e 's|^[[:space:]]+curl .*$|: |' \
|
||||||
fetch-thirdparty-deps.sh
|
fetch-thirdparty-deps.sh
|
||||||
|
|
||||||
cat <<EOF > noget.sh
|
cat <<EOF > noget.sh
|
||||||
@ -141,7 +138,7 @@ openra-build_src_install() {
|
|||||||
local i
|
local i
|
||||||
for i in /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k} \
|
for i in /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k} \
|
||||||
/usr/$(exhost --target)/bin/openra-{ra,cnc,d2k}-server \
|
/usr/$(exhost --target)/bin/openra-{ra,cnc,d2k}-server \
|
||||||
/usr/share/mime/packages/openra.xml \
|
/usr/share/mime/packages/openra-{ra,cnc,d2k}.xml \
|
||||||
/usr/share/appdata/openra-{ra,cnc,d2k}.appdata.xml
|
/usr/share/appdata/openra-{ra,cnc,d2k}.appdata.xml
|
||||||
do
|
do
|
||||||
edo mv "${IMAGE%/}"${i} "${IMAGE%/}"${i}-${SLOT}
|
edo mv "${IMAGE%/}"${i} "${IMAGE%/}"${i}-${SLOT}
|
||||||
@ -163,7 +160,9 @@ openra-build_src_install() {
|
|||||||
/usr/share/appdata/openra-cnc.appdata.xml{,-${SLOT}} \
|
/usr/share/appdata/openra-cnc.appdata.xml{,-${SLOT}} \
|
||||||
/usr/share/appdata/openra-ra.appdata.xml{,-${SLOT}} \
|
/usr/share/appdata/openra-ra.appdata.xml{,-${SLOT}} \
|
||||||
/usr/share/appdata/openra-d2k.appdata.xml{,-${SLOT}} \
|
/usr/share/appdata/openra-d2k.appdata.xml{,-${SLOT}} \
|
||||||
/usr/share/mime/packages/openra.xml{,-${SLOT}}
|
/usr/share/mime/packages/openra-cnc.xml{,-${SLOT}} \
|
||||||
|
/usr/share/mime/packages/openra-ra.xml{,-${SLOT}} \
|
||||||
|
/usr/share/mime/packages/openra-d2k.xml{,-${SLOT}}
|
||||||
}
|
}
|
||||||
|
|
||||||
openra-build_pkg_postinst() {
|
openra-build_pkg_postinst() {
|
||||||
|
@ -1,74 +0,0 @@
|
|||||||
Source: Gentoo
|
|
||||||
Reason: fix build with mono-4
|
|
||||||
Upstream: just a simple backport of a series of more complicated fixes
|
|
||||||
|
|
||||||
diff -Naur pinta-1.6_orig/Pinta/Pinta.csproj pinta-1.6/Pinta/Pinta.csproj
|
|
||||||
--- pinta-1.6_orig/Pinta/Pinta.csproj 2015-03-01 23:07:57.000000000 +0100
|
|
||||||
+++ pinta-1.6/Pinta/Pinta.csproj 2015-12-12 15:02:28.796155090 +0100
|
|
||||||
@@ -80,7 +80,7 @@
|
|
||||||
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
|
|
||||||
<Package>gtk-sharp-2.0</Package>
|
|
||||||
</Reference>
|
|
||||||
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
|
|
||||||
<Package>gtk-sharp-2.0</Package>
|
|
||||||
diff -Naur pinta-1.6_orig/Pinta.Core/Pinta.Core.csproj pinta-1.6/Pinta.Core/Pinta.Core.csproj
|
|
||||||
--- pinta-1.6_orig/Pinta.Core/Pinta.Core.csproj 2015-03-01 23:07:57.000000000 +0100
|
|
||||||
+++ pinta-1.6/Pinta.Core/Pinta.Core.csproj 2015-12-12 15:02:28.798155090 +0100
|
|
||||||
@@ -55,7 +55,7 @@
|
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
diff -Naur pinta-1.6_orig/Pinta.Effects/Pinta.Effects.csproj pinta-1.6/Pinta.Effects/Pinta.Effects.csproj
|
|
||||||
--- pinta-1.6_orig/Pinta.Effects/Pinta.Effects.csproj 2015-03-01 23:07:57.000000000 +0100
|
|
||||||
+++ pinta-1.6/Pinta.Effects/Pinta.Effects.csproj 2015-12-12 15:02:28.797155090 +0100
|
|
||||||
@@ -58,7 +58,7 @@
|
|
||||||
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Core">
|
|
||||||
</Reference>
|
|
||||||
diff -Naur pinta-1.6_orig/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj pinta-1.6/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj
|
|
||||||
--- pinta-1.6_orig/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj 2015-03-01 23:07:57.000000000 +0100
|
|
||||||
+++ pinta-1.6/Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj 2015-12-12 15:02:28.797155090 +0100
|
|
||||||
@@ -54,7 +54,7 @@
|
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
diff -Naur pinta-1.6_orig/Pinta.Install.proj pinta-1.6/Pinta.Install.proj
|
|
||||||
--- pinta-1.6_orig/Pinta.Install.proj 2015-03-01 23:14:37.000000000 +0100
|
|
||||||
+++ pinta-1.6/Pinta.Install.proj 2015-12-12 15:05:20.974156635 +0100
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
|
||||||
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
|
||||||
|
|
||||||
<!-- Set some paths -->
|
|
||||||
<PropertyGroup>
|
|
||||||
diff -Naur pinta-1.6_orig/Pinta.Tools/Pinta.Tools.csproj pinta-1.6/Pinta.Tools/Pinta.Tools.csproj
|
|
||||||
--- pinta-1.6_orig/Pinta.Tools/Pinta.Tools.csproj 2015-03-01 23:07:57.000000000 +0100
|
|
||||||
+++ pinta-1.6/Pinta.Tools/Pinta.Tools.csproj 2015-12-12 15:02:28.795155090 +0100
|
|
||||||
@@ -54,7 +54,7 @@
|
|
||||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
- <Reference Include="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
+ <Reference Include="Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" />
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
@ -1,32 +0,0 @@
|
|||||||
From 2dfeb6f3fcec7d620a5a5a6f0d6d437c55bd3109 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Julian Ospald <hasufell@posteo.de>
|
|
||||||
Date: Sun, 5 Jun 2016 19:26:37 +0200
|
|
||||||
Subject: [PATCH] Use PKG_PROG_PKG_CONFIG macro to check for pkg-config
|
|
||||||
Upstream: submitted, https://github.com/PintaProject/Pinta/pull/120
|
|
||||||
|
|
||||||
Using AC_PATH_PROG isn't the standard way and breaks if
|
|
||||||
the distribution provides only prefixed (as in: <arch>-pkg-config)
|
|
||||||
versions.
|
|
||||||
---
|
|
||||||
configure.ac | 5 +----
|
|
||||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 18b7199..7eb3f93 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -7,10 +7,7 @@ YELP_HELP_INIT
|
|
||||||
AC_PROG_INSTALL
|
|
||||||
|
|
||||||
dnl pkg-config
|
|
||||||
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
||||||
-if test "x$PKG_CONFIG" = "xno"; then
|
|
||||||
- AC_MSG_ERROR([You need to install pkg-config])
|
|
||||||
-fi
|
|
||||||
+PKG_PROG_PKG_CONFIG([0.20])
|
|
||||||
|
|
||||||
AC_PATH_PROG(XBUILD, xbuild, no)
|
|
||||||
AC_PATH_PROG(MONO, mono, no)
|
|
||||||
--
|
|
||||||
2.8.3
|
|
||||||
|
|
@ -17,8 +17,3 @@ DEPENDENCIES="
|
|||||||
gnome-bindings/gtk-sharp:2
|
gnome-bindings/gtk-sharp:2
|
||||||
"
|
"
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
||||||
"${FILES}"/pinta-1.6-pkg-config.patch
|
|
||||||
"${FILES}"/pinta-1.6-mono-4.patch
|
|
||||||
)
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ]
|
||||||
require github [ user=PintaProject project=Pinta ]
|
require github [ user=PintaProject project=Pinta ]
|
||||||
require gtk-icon-cache freedesktop-desktop freedesktop-mime
|
require gtk-icon-cache freedesktop-desktop
|
||||||
|
|
||||||
export_exlib_phases src_prepare pkg_postinst pkg_postrm
|
export_exlib_phases src_prepare pkg_postinst pkg_postrm
|
||||||
|
|
||||||
@ -23,13 +23,11 @@ pinta_src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pinta_pkg_postinst() {
|
pinta_pkg_postinst() {
|
||||||
freedesktop-mime_pkg_postinst
|
|
||||||
freedesktop-desktop_pkg_postinst
|
freedesktop-desktop_pkg_postinst
|
||||||
gtk-icon-cache_pkg_postinst
|
gtk-icon-cache_pkg_postinst
|
||||||
}
|
}
|
||||||
|
|
||||||
pinta_pkg_postrm() {
|
pinta_pkg_postrm() {
|
||||||
freedesktop-mime_pkg_postrm
|
|
||||||
freedesktop-desktop_pkg_postrm
|
freedesktop-desktop_pkg_postrm
|
||||||
gtk-icon-cache_pkg_postrm
|
gtk-icon-cache_pkg_postrm
|
||||||
}
|
}
|
||||||
|
49
packages/media-libs/libsixel/libsixel-1.8.6.exheres-0
Normal file
49
packages/media-libs/libsixel/libsixel-1.8.6.exheres-0
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user="saitoha" release="v${PV}" suffix="tar.gz" ]
|
||||||
|
require bash-completion zsh-completion
|
||||||
|
|
||||||
|
SUMMARY="A lightweight, fast implementation of DEC SIXEL graphics codec"
|
||||||
|
|
||||||
|
LICENCES="MIT public-domain"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS="
|
||||||
|
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-libs/glib:2
|
||||||
|
media-libs/gd
|
||||||
|
media-libs/libpng:=
|
||||||
|
net-misc/curl
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/gdk-pixbuf:2.0
|
||||||
|
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||||
|
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
||||||
|
--disable-python
|
||||||
|
--with-bash-completion-dir=${BASHCOMPLETIONDIR}
|
||||||
|
--with-curl
|
||||||
|
--with-gd
|
||||||
|
--with-gdk-pixbuf2
|
||||||
|
--with-jpeg
|
||||||
|
--with-png
|
||||||
|
--with-zshcompletiondir=${ZSHCOMPLETIONDIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/sixel-${PV}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
emagicdocs
|
||||||
|
}
|
||||||
|
|
88
packages/net-im/discord-bin/discord-bin-0.0.11.exheres-0
Normal file
88
packages/net-im/discord-bin/discord-bin-0.0.11.exheres-0
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
# Copyright 2020 <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require freedesktop-mime freedesktop-desktop gtk-icon-cache
|
||||||
|
|
||||||
|
SUMMARY="All-in-one voice and text chat for gamers"
|
||||||
|
HOMEPAGE="https://discordapp.com"
|
||||||
|
DOWNLOADS="https://dl.discordapp.net/apps/linux/${PV}/discord-${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENCES="all-rights-reserved"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
dev-libs/atk
|
||||||
|
dev-libs/at-spi2-atk
|
||||||
|
dev-libs/at-spi2-core
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/nspr
|
||||||
|
dev-libs/nss
|
||||||
|
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/libxcb
|
||||||
|
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/libXScrnSaver
|
||||||
|
x11-libs/libXtst
|
||||||
|
x11-libs/pango
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/Discord
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
exdirectory --allow /opt
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e "s:/usr/share/discord/Discord:/opt/discord/Discord:g" \
|
||||||
|
discord.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/icons/hicolor/256x256/apps
|
||||||
|
doins discord.png
|
||||||
|
|
||||||
|
insinto /usr/share/applications
|
||||||
|
doins discord.desktop
|
||||||
|
|
||||||
|
insinto /opt/discord
|
||||||
|
doins -r .
|
||||||
|
|
||||||
|
mkdir -p "${IMAGE}/usr/$(exhost --target)/bin"
|
||||||
|
dosym ../../../opt/discord/Discord /usr/$(exhost --target)/bin/discord
|
||||||
|
chmod +x "${IMAGE}/usr/$(exhost --target)/bin/discord"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
freedesktop-desktop_pkg_postrm
|
||||||
|
freedesktop-mime_pkg_postrm
|
||||||
|
gtk-icon-cache_pkg_postrm
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
freedesktop-desktop_pkg_postinst
|
||||||
|
freedesktop-mime_pkg_postinst
|
||||||
|
gtk-icon-cache_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user="hoehermann" ]
|
||||||
|
|
||||||
|
SUMMARY="Pidgin/libpurple plugin for WhatsApp Web"
|
||||||
|
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/go
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-libs/glib:2
|
||||||
|
net-im/pidgin
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
edo sed -i -e \
|
||||||
|
"s/\$(GO) build/\$(GO) build -ldflags=\"-extar \/usr\/host\/bin\/$(exhost --target)-ar\"/" \
|
||||||
|
Makefile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export GOPATH="${WORK}"/.gopath
|
||||||
|
esandbox disable_net
|
||||||
|
default
|
||||||
|
esandbox enable_net
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user='Junker' ]
|
||||||
|
|
||||||
|
SUMMARY="HTTP File Upload plugin for libpurple (XMPP Protocol)"
|
||||||
|
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
net-im/pidgin
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# https://github.com/Junker/purple-xmpp-http-upload/pull/14
|
||||||
|
edo sed -i -e \
|
||||||
|
"s/pkg-config/$(exhost --tool-prefix)pkg-config/" \
|
||||||
|
makefile
|
||||||
|
export CFLAGS="${CFLAGS} -fPIC"
|
||||||
|
export LDFLAGS="${LDFLAGS} -ldl -lm -ljabber"
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user="majn" release="v${PV}" pnv="${PN}_${PV}.orig" suffix="tar.gz" ]
|
||||||
|
|
||||||
|
SUMMARY="Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers"
|
||||||
|
|
||||||
|
LICENCES="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/libgcrypt
|
||||||
|
media-libs/libpng:=
|
||||||
|
media-libs/libwebp:=
|
||||||
|
net-im/pidgin
|
||||||
|
sys-libs/zlib
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK="${WORKBASE}/${PN}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
edo rmdir "${IMAGE}"/etc/telegram-purple
|
||||||
|
edo rmdir "${IMAGE}"/etc
|
||||||
|
}
|
@ -6,6 +6,7 @@ require github [ user=haiwen tag="v${PV}" ]
|
|||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
|
|
||||||
SUMMARY="A simple C language RPC framework (including both server side & client side)"
|
SUMMARY="A simple C language RPC framework (including both server side & client side)"
|
||||||
|
DOWNLOADS="https://github.com/haiwen/libsearpc/archive/v3.2-latest.tar.gz -> ${PNV}.tar.gz"
|
||||||
|
|
||||||
LICENCES="Apache-2.0"
|
LICENCES="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -19,11 +20,14 @@ DEPENDENCIES="
|
|||||||
dev-libs/glib:2
|
dev-libs/glib:2
|
||||||
dev-libs/jansson
|
dev-libs/jansson
|
||||||
run:
|
run:
|
||||||
|
dev-python/future[python_abis:*(-)?]
|
||||||
dev-python/simplejson[python_abis:*(-)?]
|
dev-python/simplejson[python_abis:*(-)?]
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}/libsearpc-3.2-latest
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
edo sed -i -e "s/(DESTDIR)//" ${PN}.pc.in
|
edo sed -i -e "s/(DESTDIR)//" ${PN}.pc.in
|
35
packages/net-misc/remmina/files/fix-share-paths.patch
Normal file
35
packages/net-misc/remmina/files/fix-share-paths.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Upstream: yes https://gitlab.com/Remmina/Remmina/-/merge_requests/2108
|
||||||
|
|
||||||
|
commit db8cc0e3bb260c316832d4dfdb308641fcb100af
|
||||||
|
Author: Alexander Kapshuna <kapsh@kap.sh>
|
||||||
|
Date: Sat Aug 22 17:43:29 2020 +0300
|
||||||
|
|
||||||
|
Use previously defined DATADIR to install Kiosk files
|
||||||
|
|
||||||
|
diff --git a/data/desktop/CMakeLists.txt b/data/desktop/CMakeLists.txt
|
||||||
|
index 4f492ce8..eb586af3 100644
|
||||||
|
--- a/data/desktop/CMakeLists.txt
|
||||||
|
+++ b/data/desktop/CMakeLists.txt
|
||||||
|
@@ -154,19 +154,19 @@ if(WITH_KIOSK_SESSION)
|
||||||
|
message(STATUS "Kiosk desktop session files will be installed")
|
||||||
|
install(
|
||||||
|
FILES remmina-gnome-xsession.desktop
|
||||||
|
- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xsessions
|
||||||
|
+ DESTINATION ${REMMINA_DATADIR}/xsessions
|
||||||
|
RENAME remmina-gnome.desktop
|
||||||
|
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES remmina-gnome.desktop
|
||||||
|
- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
|
||||||
|
+ DESTINATION ${REMMINA_DATADIR}/applications
|
||||||
|
RENAME remmina-gnome.desktop
|
||||||
|
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES remmina-gnome.session
|
||||||
|
- DESTINATION ${CMAKE_INSTALL_PREFIX}/share/gnome-session/sessions
|
||||||
|
+ DESTINATION ${REMMINA_DATADIR}/gnome-session/sessions
|
||||||
|
RENAME remmina-gnome.session
|
||||||
|
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
|
||||||
|
)
|
@ -13,6 +13,7 @@ HOMEPAGE+=" http://remmina.org/"
|
|||||||
|
|
||||||
LICENCES="GPL-2"
|
LICENCES="GPL-2"
|
||||||
MYOPTIONS="
|
MYOPTIONS="
|
||||||
|
cups
|
||||||
ssh
|
ssh
|
||||||
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
|
||||||
"
|
"
|
||||||
@ -27,14 +28,18 @@ DEPENDENCIES="
|
|||||||
dev-libs/glib:2[>=2.30]
|
dev-libs/glib:2[>=2.30]
|
||||||
dev-libs/libgcrypt
|
dev-libs/libgcrypt
|
||||||
dev-libs/libsecret:1
|
dev-libs/libsecret:1
|
||||||
|
dev-libs/libsodium
|
||||||
gnome-desktop/libsoup:2.4
|
gnome-desktop/libsoup:2.4
|
||||||
net-libs/libvncserver
|
net-libs/libvncserver
|
||||||
net-remote/FreeRDP
|
net-remote/FreeRDP[>=2.0.0]
|
||||||
x11-libs/cairo
|
x11-libs/cairo
|
||||||
x11-libs/gdk-pixbuf:2.0
|
x11-libs/gdk-pixbuf:2.0
|
||||||
x11-libs/gtk+:3
|
x11-libs/gtk+:3
|
||||||
x11-libs/libX11
|
x11-libs/libX11
|
||||||
x11-libs/libxkbfile
|
x11-libs/libxkbfile
|
||||||
|
cups? (
|
||||||
|
net-print/cups
|
||||||
|
)
|
||||||
ssh? (
|
ssh? (
|
||||||
net-libs/libssh
|
net-libs/libssh
|
||||||
dev-libs/vte:2.91
|
dev-libs/vte:2.91
|
||||||
@ -45,6 +50,10 @@ DEPENDENCIES="
|
|||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}/fix-share-paths.patch"
|
||||||
|
)
|
||||||
|
|
||||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
# on
|
# on
|
||||||
-DWITH_FREERDP=ON
|
-DWITH_FREERDP=ON
|
||||||
@ -59,9 +68,11 @@ CMAKE_SRC_CONFIGURE_PARAMS=(
|
|||||||
-DWITH_AVAHI=OFF
|
-DWITH_AVAHI=OFF
|
||||||
-DWITH_SPICE=OFF
|
-DWITH_SPICE=OFF
|
||||||
-DWITH_TELEPATHY=OFF
|
-DWITH_TELEPATHY=OFF
|
||||||
|
-DWITH_WWW=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
||||||
|
"cups CUPS"
|
||||||
"ssh LIBSSH"
|
"ssh LIBSSH"
|
||||||
"ssh VTE"
|
"ssh VTE"
|
||||||
)
|
)
|
||||||
|
@ -29,6 +29,8 @@ DEPENDENCIES="
|
|||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
providers:libressl? ( dev-libs/libressl:= )
|
providers:libressl? ( dev-libs/libressl:= )
|
||||||
providers:openssl? ( dev-libs/openssl )
|
providers:openssl? ( dev-libs/openssl )
|
||||||
|
run:
|
||||||
|
dev-python/future[python_abis:*(-)?]
|
||||||
"
|
"
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
GITHUB_REVISION=596bb13f2bc323fc8e7783b8dcba627de4969e07
|
||||||
|
require trickle
|
||||||
|
|
||||||
|
PLATFORMS="~amd64 ~armv8 ~x86"
|
||||||
|
|
@ -1,30 +1,7 @@
|
|||||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require github [ user=mariusae ]
|
require trickle
|
||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
|
||||||
|
|
||||||
SUMMARY="Trickle is a userland bandwidth shaper for Unix-like systems"
|
|
||||||
DESCRIPTION="
|
|
||||||
Trickle is a voluntary, cooperative bandwidth shaper. trickle works entirely in userland and is cross platform compatible.
|
|
||||||
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/eriksen/eriksen.pdf
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENCES="BSD-3"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
|
||||||
|
|
||||||
DEPENDENCIES="
|
|
||||||
build+run:
|
|
||||||
dev-libs/libevent
|
|
||||||
"
|
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
|
||||||
|
|
||||||
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
||||||
"${FILES}"/fix-install.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
|
29
packages/net-misc/trickle/trickle.exlib
Normal file
29
packages/net-misc/trickle/trickle.exlib
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=mariusae ]
|
||||||
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ]
|
||||||
|
|
||||||
|
SUMMARY="Trickle is a userland bandwidth shaper for Unix-like systems"
|
||||||
|
DESCRIPTION="
|
||||||
|
Trickle is a voluntary, cooperative bandwidth shaper. trickle works entirely in userland and is cross platform compatible.
|
||||||
|
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/eriksen/eriksen.pdf
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENCES="BSD-3"
|
||||||
|
SLOT="0"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-libs/libevent:=
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/fix-install.patch
|
||||||
|
)
|
||||||
|
|
@ -31,8 +31,8 @@ DEPENDENCIES="
|
|||||||
dev-perl/Text-Tabs+Wrap
|
dev-perl/Text-Tabs+Wrap
|
||||||
dev-perl/libwww-perl
|
dev-perl/libwww-perl
|
||||||
gtk? (
|
gtk? (
|
||||||
|
dev-perl/Gtk3-Perl
|
||||||
dev-perl/File-ShareDir
|
dev-perl/File-ShareDir
|
||||||
dev-perl/Gtk2-Perl
|
|
||||||
x11-libs/gdk-pixbuf:2.0[X]
|
x11-libs/gdk-pixbuf:2.0[X]
|
||||||
)
|
)
|
||||||
suggestion:
|
suggestion:
|
||||||
@ -55,7 +55,7 @@ DEPENDENCIES="
|
|||||||
src_configure() {
|
src_configure() {
|
||||||
edo rm Makefile.PL
|
edo rm Makefile.PL
|
||||||
if option gtk ; then
|
if option gtk ; then
|
||||||
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk )
|
PERL_MODULE_SRC_CONFIGURE_PARAMS=( --gtk3 )
|
||||||
fi
|
fi
|
||||||
perl-module_src_configure
|
perl-module_src_configure
|
||||||
}
|
}
|
9
packages/sys-apps/lsd/lsd-0.16.0.exheres-0
Normal file
9
packages/sys-apps/lsd/lsd-0.16.0.exheres-0
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cargo [ channel=stable ]
|
||||||
|
require github [ user=Peltoche tag="${PV}" ]
|
||||||
|
require lsd
|
||||||
|
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
|
@ -3,17 +3,7 @@
|
|||||||
|
|
||||||
require github [ user=Peltoche tag="${PV}" ]
|
require github [ user=Peltoche tag="${PV}" ]
|
||||||
require cargo [ channel=stable ]
|
require cargo [ channel=stable ]
|
||||||
|
require lsd
|
||||||
|
|
||||||
SUMMARY="The next gen ls command"
|
|
||||||
HOMEPAGE="https://crates.io/crates/lsd ${HOMEPAGE}"
|
|
||||||
|
|
||||||
LICENCES="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
PLATFORMS="~amd64 ~x86"
|
||||||
MYOPTIONS=""
|
|
||||||
|
|
||||||
DEPENDENCIES="
|
|
||||||
"
|
|
||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
|
||||||
|
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require cargo [ channel=stable ]
|
require bash-completion zsh-completion
|
||||||
require github [ user=Peltoche tag="${PV}" ]
|
|
||||||
|
|
||||||
SUMMARY="The next gen ls command"
|
SUMMARY="The next gen ls command"
|
||||||
HOMEPAGE="https://crates.io/crates/lsd ${HOMEPAGE}"
|
HOMEPAGE="https://crates.io/crates/lsd ${HOMEPAGE}"
|
||||||
|
|
||||||
LICENCES="Apache-2.0"
|
LICENCES="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
MYOPTIONS=""
|
MYOPTIONS=""
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
@ -17,6 +15,20 @@ DEPENDENCIES="
|
|||||||
|
|
||||||
BUGS_TO="hasufell@posteo.de"
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
BASH_COMPLETIONS=( "${WORK}/completions/${PN}.bash" )
|
||||||
|
ZSH_COMPLETIONS=( "${WORK}/completions/_${PN}" )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
SHELL_COMPLETIONS_DIR="${WORK}/completions" \
|
||||||
|
cargo_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cargo_src_install
|
||||||
|
bash-completion_src_install
|
||||||
|
zsh-completion_src_install
|
||||||
|
}
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
local test_socket="unix:${TEMP}/test_socket_type.*/socket.tmp"
|
local test_socket="unix:${TEMP}/test_socket_type.*/socket.tmp"
|
||||||
esandbox allow_net --bind "${test_socket}"
|
esandbox allow_net --bind "${test_socket}"
|
@ -7,8 +7,8 @@ SUMMARY="TeamSpeak Client - Voice Communication Software"
|
|||||||
HOMEPAGE="http://www.teamspeak.com/"
|
HOMEPAGE="http://www.teamspeak.com/"
|
||||||
DOWNLOADS="
|
DOWNLOADS="
|
||||||
listed-only:
|
listed-only:
|
||||||
platform:amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
|
platform:amd64? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
|
||||||
platform:x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
|
platform:x86? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
|
||||||
"
|
"
|
||||||
|
|
||||||
LICENCES="teamspeak3"
|
LICENCES="teamspeak3"
|
||||||
@ -22,6 +22,7 @@ RESTRICT="mirror strip"
|
|||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
run:
|
run:
|
||||||
|
app-arch/quazip
|
||||||
dev-libs/glib:2
|
dev-libs/glib:2
|
||||||
media-libs/fontconfig
|
media-libs/fontconfig
|
||||||
media-libs/freetype
|
media-libs/freetype
|
81
packages/x11-apps/picom/picom-7.5.exheres-0
Normal file
81
packages/x11-apps/picom/picom-7.5.exheres-0
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# Copyright 2013, 2014 Lasse Brun <bruners@gmail.com>, 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=yshui tag=v${PV} ]
|
||||||
|
require meson gtk-icon-cache
|
||||||
|
|
||||||
|
SUMMARY="Picom is a X compositing manager, forked of compton"
|
||||||
|
LICENCES="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
dbus [[ description = [ Change VSync mode with D-Bus, needs testing ] ]]
|
||||||
|
libconfig [[ description = [ Enable config file support ] ]]
|
||||||
|
opengl [[ description = [ Opengl and VSync composition ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
app-doc/asciidoc
|
||||||
|
dev-libs/uthash
|
||||||
|
virtual/pkg-config
|
||||||
|
x11-proto/xorgproto
|
||||||
|
build+run:
|
||||||
|
dev-libs/libev
|
||||||
|
dev-libs/pcre[>=8.10]
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libxcb[>=1.9.2]
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/pixman:1
|
||||||
|
x11-utils/xcb-util-image
|
||||||
|
x11-utils/xcb-util-renderutil
|
||||||
|
dbus? ( sys-apps/dbus )
|
||||||
|
libconfig? (
|
||||||
|
dev-libs/libconfig[>=1.4]
|
||||||
|
x11-libs/libxdg-basedir
|
||||||
|
)
|
||||||
|
opengl? (
|
||||||
|
x11-dri/libdrm
|
||||||
|
x11-dri/mesa
|
||||||
|
)
|
||||||
|
run:
|
||||||
|
dev-lang/python:*[>3.5] [[ note = [ bin/compton-convgen.py ] ]]
|
||||||
|
x11-apps/xprop
|
||||||
|
x11-apps/xwininfo
|
||||||
|
"
|
||||||
|
|
||||||
|
DEFAULT_SRC_INSTALL_EXTRA_DOCS=(
|
||||||
|
"${PN}.sample.conf"
|
||||||
|
)
|
||||||
|
|
||||||
|
MESON_SRC_CONFIGURE_PARAMS=(
|
||||||
|
"-Dunittest=true"
|
||||||
|
"-Dbuild_docs=true" # with_docs in "next" branch
|
||||||
|
)
|
||||||
|
MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
|
||||||
|
"dbus"
|
||||||
|
"libconfig config_file"
|
||||||
|
"opengl"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
meson_src_prepare
|
||||||
|
# don't install compat symlink
|
||||||
|
# this script is also broken
|
||||||
|
echo "#!/bin/sh" > meson/install.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
option dbus && dodoc -r dbus-examples
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gtk-icon-cache_pkg_postinst
|
||||||
|
elog "Sample configuration/tools for ${PN} can be found in /usr/share/doc/${PNV}"
|
||||||
|
elog "${PN}.sample.conf - Sourced from XDG directories \$XDG_CONFIG_HOME/${PN}.conf \$HOME/.${PN}.conf"
|
||||||
|
option dbus &&
|
||||||
|
elog "dbus-examples - scripts to control ${PN} via dbus"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,84 @@
|
|||||||
|
From c116f39931e57713f485664717841f858dd6c8d9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Julian Ospald <hasufell@posteo.de>
|
||||||
|
Date: Tue, 24 May 2016 21:32:40 +0200
|
||||||
|
Subject: [PATCH] Use GNUInstallDirs
|
||||||
|
Upstream: no
|
||||||
|
|
||||||
|
This allows better control over the install destinations.
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 5f63cf1..689d2eb 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -5,6 +5,7 @@ SET (AUTHOR "David Gómez Espinosa" INTERNAL "Author")
|
||||||
|
SET (VERSION "3.7.0")
|
||||||
|
|
||||||
|
|
||||||
|
+INCLUDE (GNUInstallDirs)
|
||||||
|
INCLUDE (FindPkgConfig)
|
||||||
|
|
||||||
|
IF (NOT PKG_CONFIG_FOUND)
|
||||||
|
@@ -35,7 +36,8 @@ FIND_PROGRAM(POD2MAN pod2man)
|
||||||
|
MESSAGE ("pod2man executable is" ${POD2MAN})
|
||||||
|
|
||||||
|
ADD_DEFINITIONS (-DVERSION="${VERSION}")
|
||||||
|
-ADD_DEFINITIONS (-DDATADIR="${CMAKE_INSTALL_PREFIX}/share")
|
||||||
|
+ADD_DEFINITIONS (-DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
|
||||||
|
+ADD_DEFINITIONS (-DPIXMAPSDIR="${CMAKE_INSTALL_FULL_DATAROOTDIR}/pixmaps")
|
||||||
|
ADD_DEFINITIONS (-DBUILDTYPE="${CMAKE_BUILD_TYPE}")
|
||||||
|
|
||||||
|
IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
|
||||||
|
@@ -51,13 +53,13 @@ ADD_EXECUTABLE (sakura src/sakura.c)
|
||||||
|
|
||||||
|
ADD_SUBDIRECTORY (po)
|
||||||
|
|
||||||
|
-INSTALL (TARGETS sakura RUNTIME DESTINATION bin)
|
||||||
|
-INSTALL (FILES sakura.desktop DESTINATION share/applications)
|
||||||
|
-INSTALL (FILES terminal-tango.svg DESTINATION share/pixmaps)
|
||||||
|
+INSTALL (TARGETS sakura RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
+INSTALL (FILES sakura.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
|
||||||
|
+INSTALL (FILES terminal-tango.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pixmaps)
|
||||||
|
IF (POD2MAN)
|
||||||
|
- INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION share/man/man1)
|
||||||
|
+ INSTALL (FILES ${sakura_BINARY_DIR}/sakura.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||||
|
ENDIF (POD2MAN)
|
||||||
|
-INSTALL (FILES INSTALL DESTINATION share/doc/sakura)
|
||||||
|
+INSTALL (FILES INSTALL DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
||||||
|
|
||||||
|
FILE (GLOB MO_FILES po/*.mo)
|
||||||
|
|
||||||
|
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
|
||||||
|
index a710347..cfe380a 100644
|
||||||
|
--- a/po/CMakeLists.txt
|
||||||
|
+++ b/po/CMakeLists.txt
|
||||||
|
@@ -27,7 +27,7 @@ ELSE(NOT MSGFMT)
|
||||||
|
COMMAND ${MSGFMT} --check -o ${_moFile} ${_poFile}
|
||||||
|
DEPENDS ${_poFile})
|
||||||
|
INSTALL(FILES ${CMAKE_BINARY_DIR}/po/${_moFile}
|
||||||
|
- DESTINATION share/locale/${_lang}/LC_MESSAGES/
|
||||||
|
+ DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES/
|
||||||
|
RENAME ${catalogname}.mo)
|
||||||
|
ENDFOREACH(_poFile ${PO_FILES})
|
||||||
|
|
||||||
|
diff --git a/src/sakura.c b/src/sakura.c
|
||||||
|
index a0084c2..f1437fe 100644
|
||||||
|
--- a/src/sakura.c
|
||||||
|
+++ b/src/sakura.c
|
||||||
|
@@ -2243,7 +2243,7 @@ sakura_init()
|
||||||
|
if (option_icon) {
|
||||||
|
icon_path = g_strdup_printf("%s", option_icon);
|
||||||
|
} else {
|
||||||
|
- icon_path = g_strdup_printf(DATADIR "/pixmaps/%s", sakura.icon);
|
||||||
|
+ icon_path = g_strdup_printf(PIXMAPSDIR "/%s", sakura.icon);
|
||||||
|
}
|
||||||
|
gtk_window_set_icon_from_file(GTK_WINDOW(sakura.main_window), icon_path, &error);
|
||||||
|
g_free(icon_path); icon_path=NULL;
|
||||||
|
@@ -3405,7 +3405,7 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
|
/* Localization */
|
||||||
|
setlocale(LC_ALL, "");
|
||||||
|
- localedir=g_strdup_printf("%s/locale", DATADIR);
|
||||||
|
+ localedir=g_strdup_printf("%s", LOCALEDIR);
|
||||||
|
textdomain(GETTEXT_PACKAGE);
|
||||||
|
bindtextdomain(GETTEXT_PACKAGE, localedir);
|
||||||
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
25
packages/x11-apps/sakura/sakura-3.7.0.exheres-0
Normal file
25
packages/x11-apps/sakura/sakura-3.7.0.exheres-0
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 2013 Tod Jackson <tod.jackson@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# Which is based upon the exheres:
|
||||||
|
# Copyright 2012 Kevin Decherf <kevin@kdecherf.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require freedesktop-desktop launchpad [ suffix=tar.gz branch=trunk ] sakura
|
||||||
|
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/perl:* [[ note = [ For pod2man ] ]]
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
dev-libs/glib:2[>=2.40]
|
||||||
|
dev-libs/vte:2.91
|
||||||
|
x11-libs/gtk+:3[>=3.12]
|
||||||
|
x11-libs/libXft
|
||||||
|
"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES+=(
|
||||||
|
"${FILES}"/${PNV}-Use-GNUInstallDirs.patch
|
||||||
|
)
|
||||||
|
|
24
packages/x11-apps/sakura/sakura.exlib
Normal file
24
packages/x11-apps/sakura/sakura.exlib
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 2010 Julien Pivotto <roidelapluie@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cmake [ api=2 ]
|
||||||
|
|
||||||
|
SUMMARY="sakura is a vte-based terminal emulator."
|
||||||
|
DESCRIPTION="sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator with few
|
||||||
|
dependencies, so you don't need a full GNOME desktop installed to have a decent terminal emulator.
|
||||||
|
|
||||||
|
Current terminal emulators based on VTE are gnome-terminal, XFCE Terminal, TermIt and a small
|
||||||
|
sample program included in the vte sources. The differences between sakura and the last one are
|
||||||
|
that it uses a notebook to provide several terminals in one window and adds a contextual menu with
|
||||||
|
some basic options. No more no less."
|
||||||
|
HOMEPAGE="http://pleyades.net/david/projects/sakura"
|
||||||
|
|
||||||
|
LICENCES="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
REMOTE_IDS="freshmeat:sakura launchpad:sakura"
|
||||||
|
|
||||||
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
|
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PNVR}
|
||||||
|
)
|
||||||
|
|
10
packages/x11-misc/polybar/polybar-3.4.2.exheres-0
Normal file
10
packages/x11-misc/polybar/polybar-3.4.2.exheres-0
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Copyright 2019 Danilo Spinella <danyspin97@protonmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require polybar
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
|
||||||
|
WORK="${WORKBASE}/${PN}"
|
||||||
|
CMAKE_SOURCE=${WORK}
|
||||||
|
|
13
packages/x11-misc/polybar/polybar-scm.exheres-0
Normal file
13
packages/x11-misc/polybar/polybar-scm.exheres-0
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2018 Danilo Spinella <danyspin97@protonmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
SCM_REPOSITORY="https://github.com/polybar/${PN}"
|
||||||
|
SCM_i3ipcpp_REPOSITORY="https://github.com/polybar/i3ipcpp"
|
||||||
|
SCM_xpp_REPOSITORY="https://github.com/polybar/xpp"
|
||||||
|
SCM_SECONDARY_REPOSITORIES="i3ipcpp xpp"
|
||||||
|
SCM_EXTERNAL_REFS="lib/i3ipcpp:i3ipcpp lib/xpp:xpp"
|
||||||
|
|
||||||
|
require polybar
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
|
83
packages/x11-misc/polybar/polybar.exlib
Normal file
83
packages/x11-misc/polybar/polybar.exlib
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 2018 Danilo Spinella <danyspin97@protonmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user='polybar' release="${PV}" suffix=tar ] cmake [ api=2 ]
|
||||||
|
|
||||||
|
export_exlib_phases src_prepare
|
||||||
|
|
||||||
|
SUMMARY="A fast and easy-to-use status bar."
|
||||||
|
|
||||||
|
LICENCES="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
MYOPTIONS="
|
||||||
|
alsa
|
||||||
|
curl [[ description = [ Support for github module ] ]]
|
||||||
|
mpd
|
||||||
|
network
|
||||||
|
i3
|
||||||
|
pulseaudio
|
||||||
|
X
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
dev-lang/python:2.7
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-proto/xcb-proto
|
||||||
|
x11-utils/xcb-util-image
|
||||||
|
x11-utils/xcb-util-wm
|
||||||
|
alsa? (
|
||||||
|
sys-sound/alsa-lib
|
||||||
|
)
|
||||||
|
curl? (
|
||||||
|
net-misc/curl
|
||||||
|
)
|
||||||
|
mpd? (
|
||||||
|
media-sound/mpd
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
media-sound/pulseaudio
|
||||||
|
)
|
||||||
|
network? (
|
||||||
|
net-libs/libnl
|
||||||
|
)
|
||||||
|
X? (
|
||||||
|
x11-proto/xcb-proto[>=1.12]
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-utils/xcb-util-cursor
|
||||||
|
x11-utils/xcb-util-xrm
|
||||||
|
)
|
||||||
|
recommendation:
|
||||||
|
fonts/unifont
|
||||||
|
"
|
||||||
|
|
||||||
|
CMAKE_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||||
|
'alsa ALSA'
|
||||||
|
'curl CURL'
|
||||||
|
'i3 I3'
|
||||||
|
'mpd MPD'
|
||||||
|
'network NETWORK'
|
||||||
|
'pulseaudio PULSEAUDIO'
|
||||||
|
)
|
||||||
|
|
||||||
|
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
||||||
|
'network LIBNL'
|
||||||
|
)
|
||||||
|
|
||||||
|
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
||||||
|
'X XCOMPOSITE'
|
||||||
|
'X XCURSOR'
|
||||||
|
'X XRANDR'
|
||||||
|
'X XRANDR_MONITORS'
|
||||||
|
'X XKB'
|
||||||
|
'X XRM'
|
||||||
|
)
|
||||||
|
|
||||||
|
polybar_src_prepare() {
|
||||||
|
edo mkdir "${TEMP}"/fakebin
|
||||||
|
edo ln -s /usr/host/bin/python2 "${TEMP}"/fakebin/python
|
||||||
|
export PATH="${TEMP}/fakebin/:${PATH}"
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
@ -27,7 +27,7 @@ DEPENDENCIES="
|
|||||||
suggestion:
|
suggestion:
|
||||||
app-text/dvipng
|
app-text/dvipng
|
||||||
app-text/texlive-core
|
app-text/texlive-core
|
||||||
dev-libs/zeitgeist
|
dev-libs/zeitgeist:2.0
|
||||||
dev-scm/bzr
|
dev-scm/bzr
|
||||||
media-gfx/ImageMagick
|
media-gfx/ImageMagick
|
||||||
media-gfx/graphviz
|
media-gfx/graphviz
|
||||||
@ -36,12 +36,20 @@ DEPENDENCIES="
|
|||||||
sci-apps/gnuplot
|
sci-apps/gnuplot
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# Requires X server
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
WORK=${WORKBASE}/${PNV/_rc/-rc}
|
WORK=${WORKBASE}/${PNV/_rc/-rc}
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
unset DISPLAY # tries to access X socket
|
unset DISPLAY # tries to access X socket
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
PYTHONPATH="${PWD}/build/lib" \
|
||||||
|
edo ${PYTHON} test.py
|
||||||
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
freedesktop-desktop_pkg_postinst
|
freedesktop-desktop_pkg_postinst
|
||||||
gtk-icon-cache_pkg_postinst
|
gtk-icon-cache_pkg_postinst
|
Loading…
Reference in New Issue
Block a user