parent
e5e39466ff
commit
c5529ffe4b
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="Group for www-servers/automx2"
|
||||||
|
ACCT_GROUP_ID=437
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>gentoo@seichter.de</email>
|
||||||
|
<name>Ralph Seichter</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>blueness@gentoo.org</email>
|
||||||
|
<name>Anthony G. Basile</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="Stubby program group (from net-dns/getdns)"
|
||||||
|
ACCT_GROUP_ID=476
|
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="User for www-servers/automx2"
|
||||||
|
|
||||||
|
ACCT_USER_ID=437
|
||||||
|
ACCT_USER_GROUPS=( automx2 )
|
||||||
|
ACCT_USER_HOME="/var/lib/automx2"
|
||||||
|
|
||||||
|
acct-user_add_deps
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>gentoo@seichter.de</email>
|
||||||
|
<name>Ralph Seichter</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>blueness@gentoo.org</email>
|
||||||
|
<name>Anthony G. Basile</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="Stubby program user (from net-dns/getdns)"
|
||||||
|
ACCT_USER_ID=476
|
||||||
|
ACCT_USER_GROUPS=( stubby )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
Binary file not shown.
@ -1,406 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
|
||||||
EGIT_BRANCH="emacs-26"
|
|
||||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
|
||||||
S="${EGIT_CHECKOUT_DIR}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
|
||||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
# FULL_VERSION keeps the full version number, which is needed in
|
|
||||||
# order to determine some path information correctly for copy/move
|
|
||||||
# operations later on
|
|
||||||
FULL_VERSION="${PV%%_*}"
|
|
||||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
|
||||||
SLOT="26"
|
|
||||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
|
||||||
REQUIRED_USE="?? ( aqua X )"
|
|
||||||
|
|
||||||
RDEPEND="sys-libs/ncurses:0=
|
|
||||||
>=app-eselect/eselect-emacs-1.16
|
|
||||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
games? ( acct-group/gamestat )
|
|
||||||
gpm? ( sys-libs/gpm )
|
|
||||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
|
||||||
mailutils? ( net-mail/mailutils[clients] )
|
|
||||||
!mailutils? ( net-libs/liblockfile )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
ssl? ( net-libs/gnutls:0= )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
zlib? ( sys-libs/zlib )
|
|
||||||
X? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-misc/xbitmaps
|
|
||||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
|
||||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
|
||||||
gif? ( media-libs/giflib:0= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
png? ( >=media-libs/libpng-1.4:0= )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.0 )
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
xpm? ( x11-libs/libXpm )
|
|
||||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
|
||||||
xft? (
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
x11-libs/libXft
|
|
||||||
x11-libs/libXrender
|
|
||||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
|
||||||
m17n-lib? (
|
|
||||||
>=dev-libs/libotf-0.9.4
|
|
||||||
>=dev-libs/m17n-lib-1.5.1
|
|
||||||
)
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
gtk2? ( x11-libs/gtk+:2 )
|
|
||||||
!gtk2? (
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
xwidgets? (
|
|
||||||
net-libs/webkit-gtk:4=
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
!gtk? (
|
|
||||||
motif? (
|
|
||||||
>=x11-libs/motif-2.3:0
|
|
||||||
x11-libs/libXpm
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!motif? (
|
|
||||||
Xaw3d? (
|
|
||||||
x11-libs/libXaw3d
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!Xaw3d? ( athena? (
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXmu
|
|
||||||
x11-libs/libXt
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
X? ( x11-base/xorg-proto )"
|
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
gzip-el? ( app-arch/gzip )"
|
|
||||||
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
BDEPEND="${BDEPEND}
|
|
||||||
sys-apps/texinfo"
|
|
||||||
fi
|
|
||||||
|
|
||||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
|
||||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if [[ ${PV##*.} = 9999 ]]; then
|
|
||||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
|
||||||
configure.ac)
|
|
||||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
|
||||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
|
||||||
einfo "Commit: ${EGIT_VERSION}"
|
|
||||||
einfo "Emacs version number: ${FULL_VERSION}"
|
|
||||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
|
||||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Fix filename reference in redirected man page
|
|
||||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
|
||||||
|
|
||||||
AT_M4DIR=m4 eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
strip-flags
|
|
||||||
filter-flags -pie #526948
|
|
||||||
|
|
||||||
if use sh; then
|
|
||||||
replace-flags "-O[1-9]" -O0 #262359
|
|
||||||
elif use ia64; then
|
|
||||||
replace-flags "-O[2-9]" -O1 #325373
|
|
||||||
else
|
|
||||||
replace-flags "-O[3-9]" -O2
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use alsa; then
|
|
||||||
use sound || ewarn \
|
|
||||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
|
||||||
myconf+=" --with-sound=alsa"
|
|
||||||
else
|
|
||||||
myconf+=" --with-sound=$(usex sound oss)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use X; then
|
|
||||||
myconf+=" --with-x --without-ns"
|
|
||||||
myconf+=" $(use_with gconf)"
|
|
||||||
myconf+=" $(use_with gsettings)"
|
|
||||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
|
||||||
myconf+=" $(use_with gif)"
|
|
||||||
myconf+=" $(use_with jpeg)"
|
|
||||||
myconf+=" $(use_with png)"
|
|
||||||
myconf+=" $(use_with svg rsvg)"
|
|
||||||
myconf+=" $(use_with tiff)"
|
|
||||||
myconf+=" $(use_with xpm)"
|
|
||||||
myconf+=" $(use_with imagemagick)"
|
|
||||||
|
|
||||||
if use xft; then
|
|
||||||
myconf+=" --with-xft"
|
|
||||||
myconf+=" $(use_with cairo)"
|
|
||||||
myconf+=" $(use_with m17n-lib libotf)"
|
|
||||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
|
||||||
else
|
|
||||||
myconf+=" --without-xft"
|
|
||||||
myconf+=" --without-cairo"
|
|
||||||
myconf+=" --without-libotf --without-m17n-flt"
|
|
||||||
use cairo && ewarn \
|
|
||||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
|
||||||
use m17n-lib && ewarn \
|
|
||||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
|
||||||
fi
|
|
||||||
|
|
||||||
local f line
|
|
||||||
if use gtk; then
|
|
||||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
|
||||||
while read line; do ewarn "${line}"; done <<-EOF
|
|
||||||
Your version of GTK+ will have problems with closing open
|
|
||||||
displays. This is no problem if you just use one display, but
|
|
||||||
if you use more than one and close one of them Emacs may crash.
|
|
||||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
|
||||||
If you intend to use more than one display, then it is strongly
|
|
||||||
recommended that you compile Emacs with the Athena/Lucid or the
|
|
||||||
Motif toolkit instead.
|
|
||||||
EOF
|
|
||||||
if use gtk2; then
|
|
||||||
myconf+=" --with-x-toolkit=gtk2 --without-xwidgets"
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk2\" is set."
|
|
||||||
else
|
|
||||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
|
||||||
fi
|
|
||||||
for f in motif Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
|
||||||
done
|
|
||||||
elif use motif; then
|
|
||||||
einfo "Configuring to build with Motif toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=motif"
|
|
||||||
for f in Xaw3d athena; do
|
|
||||||
use ${f} && ewarn \
|
|
||||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
|
||||||
done
|
|
||||||
elif use athena || use Xaw3d; then
|
|
||||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
|
||||||
else
|
|
||||||
einfo "Configuring to build with no toolkit"
|
|
||||||
myconf+=" --with-x-toolkit=no"
|
|
||||||
fi
|
|
||||||
if ! use gtk; then
|
|
||||||
use gtk2 && ewarn \
|
|
||||||
"USE flag \"gtk2\" has no effect if \"gtk\" is not set."
|
|
||||||
use xwidgets && ewarn \
|
|
||||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
|
||||||
fi
|
|
||||||
elif use aqua; then
|
|
||||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
|
||||||
myconf+=" --with-ns --disable-ns-self-contained"
|
|
||||||
myconf+=" --without-x"
|
|
||||||
else
|
|
||||||
myconf+=" --without-x --without-ns"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--program-suffix="-${EMACS_SUFFIX}" \
|
|
||||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
|
||||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
|
||||||
--localstatedir="${EPREFIX}"/var \
|
|
||||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
|
||||||
--without-compress-install \
|
|
||||||
--without-hesiod \
|
|
||||||
--without-pop \
|
|
||||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
|
||||||
$(use_enable acl) \
|
|
||||||
$(use_with dbus) \
|
|
||||||
$(use_with dynamic-loading modules) \
|
|
||||||
$(use_with games gameuser ":gamestat") \
|
|
||||||
$(use_with gpm) \
|
|
||||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
|
||||||
$(use_with lcms lcms2) \
|
|
||||||
$(use_with libxml2 xml2) \
|
|
||||||
$(use_with mailutils) \
|
|
||||||
$(use_with selinux) \
|
|
||||||
$(use_with ssl gnutls) \
|
|
||||||
$(use_with systemd libsystemd) \
|
|
||||||
$(use_with threads) \
|
|
||||||
$(use_with wide-int) \
|
|
||||||
$(use_with zlib) \
|
|
||||||
${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Disable sandbox when dumping. For the unbelievers, see bug #131505
|
|
||||||
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
|
||||||
|
|
||||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
|
||||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
|
||||||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die
|
|
||||||
|
|
||||||
# move info dir to avoid collisions with the dir file generated by portage
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die
|
|
||||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
|
||||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
|
||||||
|
|
||||||
# avoid collision between slots, see bug #169033 e.g.
|
|
||||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
|
||||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
|
||||||
rm -rf "${ED}/usr/$(get_libdir)"
|
|
||||||
rm -rf "${ED}"/var
|
|
||||||
|
|
||||||
# remove unused <version>/site-lisp dir
|
|
||||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
|
||||||
|
|
||||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
|
||||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
|
||||||
|
|
||||||
if use systemd; then
|
|
||||||
insinto /usr/lib/systemd/user
|
|
||||||
sed -e "/^##/d" \
|
|
||||||
-e "/^ExecStart/s,emacs,${EPREFIX}/usr/bin/${EMACS_SUFFIX}," \
|
|
||||||
-e "/^ExecStop/s,emacsclient,${EPREFIX}/usr/bin/&-${EMACS_SUFFIX}," \
|
|
||||||
etc/emacs.service | newins - ${EMACS_SUFFIX}.service
|
|
||||||
assert
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use gzip-el; then
|
|
||||||
# compress .el files when a corresponding .elc exists
|
|
||||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
|
||||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
|
||||||
assert "gzip .el failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local cdir
|
|
||||||
if use source; then
|
|
||||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
|
||||||
insinto "${cdir}"
|
|
||||||
# This is not meant to install all the source -- just the
|
|
||||||
# C source you might find via find-function
|
|
||||||
doins src/*.{c,h,m}
|
|
||||||
elif has installsources ${FEATURES}; then
|
|
||||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
|
||||||
X
|
|
||||||
;;; ${PN}-${SLOT} site-lisp configuration
|
|
||||||
X
|
|
||||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
|
||||||
Y (setq find-function-C-source-directory
|
|
||||||
Y "${EPREFIX}${cdir}")
|
|
||||||
X (let ((path (getenv "INFOPATH"))
|
|
||||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
|
||||||
X (re "\\\\\`${EPREFIX}/usr/share\\\\>"))
|
|
||||||
X (and path
|
|
||||||
X ;; move Emacs Info dir before anything else in /usr/share
|
|
||||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
|
||||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
|
||||||
X (setq q (cdr q)))
|
|
||||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
|
||||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
|
||||||
EOF
|
|
||||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
|
||||||
|
|
||||||
dodoc README BUGS CONTRIBUTE
|
|
||||||
|
|
||||||
if use aqua; then
|
|
||||||
dodir /Applications/Gentoo
|
|
||||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
|
||||||
mv nextstep/Emacs.app \
|
|
||||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
|
||||||
through the Emacs eselect module, which also redirects man and info
|
|
||||||
pages. Therefore, several Emacs versions can be installed at the
|
|
||||||
same time. \"man emacs.eselect\" for details.
|
|
||||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
|
||||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
|
||||||
all byte-compiled elisp files of the installed Emacs packages."
|
|
||||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
|
||||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
|
||||||
machine would satisfy basic Emacs requirements under X11.
|
|
||||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
|
||||||
for how to enable anti-aliased fonts."
|
|
||||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
|
||||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
|
||||||
it into /Applications by yourself."
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# move Info dir file to correct name
|
|
||||||
if [[ -d ${ED}/usr/share/info ]]; then
|
|
||||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elisp-site-regen
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
|
|
||||||
if use livecd; then
|
|
||||||
# force an update of the emacs symlink for the livecd/dvd,
|
|
||||||
# because some microemacs packages set it with USE=livecd
|
|
||||||
eselect emacs update
|
|
||||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
|
||||||
# refresh symlinks in case any installed files have changed
|
|
||||||
eselect emacs set ${EMACS_SUFFIX}
|
|
||||||
else
|
|
||||||
eselect emacs update ifunset
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
elisp-site-regen
|
|
||||||
eselect emacs update ifunset
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST datovka-4.11.1.tar.xz 2583660 BLAKE2B 2d62e79c5be9d20e79d19bba43ce3d7fa8dd0b80e8bee6e63d04e63f6c878b84185b869fed1fc601f97350b499aa60041585693081e78bad5e0bc7e272aabcea SHA512 b36211b8830beb1f3a01b399303a1f2f87c77418975b007dac4b55613bdf54205eda0e7bac44d6c68e1102842eaa4231baaa46c31b99d5b6b145597f6a1366f9
|
DIST datovka-4.11.1.tar.xz 2583660 BLAKE2B 2d62e79c5be9d20e79d19bba43ce3d7fa8dd0b80e8bee6e63d04e63f6c878b84185b869fed1fc601f97350b499aa60041585693081e78bad5e0bc7e272aabcea SHA512 b36211b8830beb1f3a01b399303a1f2f87c77418975b007dac4b55613bdf54205eda0e7bac44d6c68e1102842eaa4231baaa46c31b99d5b6b145597f6a1366f9
|
||||||
DIST datovka-4.13.1.tar.xz 2749936 BLAKE2B 7f713837e40ea9de170d5a009179ef89eafc4191d7fbdedf547c6d3ba3fbd273c279e381876f48f457e5b9abf01fa4830adb0eaa2077768ce43f5718e00f125b SHA512 94623c0befe9096396083162a1fb26ac53510a47e5305c4bdea65bc65e3af096847508ba2028d0089f39a0812700506818759e2e22c354fecf96a117745aefce
|
DIST datovka-4.13.1.tar.xz 2749936 BLAKE2B 7f713837e40ea9de170d5a009179ef89eafc4191d7fbdedf547c6d3ba3fbd273c279e381876f48f457e5b9abf01fa4830adb0eaa2077768ce43f5718e00f125b SHA512 94623c0befe9096396083162a1fb26ac53510a47e5305c4bdea65bc65e3af096847508ba2028d0089f39a0812700506818759e2e22c354fecf96a117745aefce
|
||||||
|
DIST datovka-4.14.1.tar.xz 2798160 BLAKE2B 03f205840c81c12229d470c90c256d686728cc9c91feeb818af4c2ca914964b480003d9217302566eb902d4163b7035341ffbf0d1c7b3f524b7ae14eb45ab015 SHA512 0581680aef0165adc9c94a0b1270d3f4991a5ca3418996d9d8014541d5140aecb7f50d55cc057caafc28873713689d6c361a769dada86f48390f33ae093b46ea
|
||||||
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit qmake-utils xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="GUI to access the Czech data box e-government system"
|
||||||
|
HOMEPAGE="https://www.datovka.cz/"
|
||||||
|
SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
# minimum Qt version required
|
||||||
|
QT_PV="5.3.2:5"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/openssl-1.0.2:0=
|
||||||
|
>=dev-qt/qtcore-${QT_PV}
|
||||||
|
>=dev-qt/qtgui-${QT_PV}
|
||||||
|
>=dev-qt/qtnetwork-${QT_PV}
|
||||||
|
>=dev-qt/qtprintsupport-${QT_PV}
|
||||||
|
>=dev-qt/qtsql-${QT_PV}[sqlite]
|
||||||
|
>=dev-qt/qtsvg-${QT_PV}
|
||||||
|
>=dev-qt/qtwidgets-${QT_PV}
|
||||||
|
>=net-libs/libisds-0.11
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
>=dev-qt/linguist-tools-${QT_PV}
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog README )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
lrelease datovka.pro || die
|
||||||
|
eqmake5 PREFIX="/usr" DISABLE_VERSION_NOTIFICATION=1 TEXT_FILES_INST_DIR="/usr/share/${PN}/"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake install INSTALL_ROOT="${D}"
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST evince-3.30.2.tar.xz 2288868 BLAKE2B dd0423b7ec51daf897bfbc45afb298f9ee23b28ada3dfe5d5d2808b4515bdc7077a7e0ae46541876bb2fbfd8aa9ec44abc7aabcb3cb10b6e52912f0ac1358eeb SHA512 dfffcf15547d0720bd2379054d7b9bee02f8bea7113562162cbab62d77cf84c04f70dcc87a3e6b1ba62db38783df8f481d801854d8f0767f60e9cfabd9efc646
|
|
||||||
DIST evince-3.32.0.tar.xz 2564236 BLAKE2B 203bc6ff6b8b2a3d30ebd30f7f9be6269ded5044521da7d2732cb759db8e8ebd2d565c2ad04908e11ec1f726ec70dd2931c58c9b31951a7b3d3165c61042c87f SHA512 565298a200d9ae2f6b4cb53c3cba0d0d0e4cfbef60e4145bfb9c82a5682947ceb2371e52c27179cd69a238cd387bcfd744d3c55df814b6347f07781aec3ea658
|
|
||||||
DIST evince-3.32.1.tar.xz 2567868 BLAKE2B 8fec9ce1981fb2c5fc60c4b653f462f07f0341ebe64a5615f1e1a123533f8053c6f76a02d05da9245b4263c24df1cdd2e28aa89486b8c802a2aa14cf04faf13b SHA512 29028fedde9aff85e53a5059f63df007e1bac7d662a91fe01e1bb8c48349d5674afe3ce37f9c495e4b208fd476b22f4ecaf749c6d7c3362a03b05703400ece05
|
DIST evince-3.32.1.tar.xz 2567868 BLAKE2B 8fec9ce1981fb2c5fc60c4b653f462f07f0341ebe64a5615f1e1a123533f8053c6f76a02d05da9245b4263c24df1cdd2e28aa89486b8c802a2aa14cf04faf13b SHA512 29028fedde9aff85e53a5059f63df007e1bac7d662a91fe01e1bb8c48349d5674afe3ce37f9c495e4b208fd476b22f4ecaf749c6d7c3362a03b05703400ece05
|
||||||
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
GNOME2_EAUTORECONF="yes"
|
|
||||||
|
|
||||||
inherit gnome2 systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Simple document viewer for GNOME"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
|
||||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
|
||||||
SLOT="0/evd3.4-evv3.3"
|
|
||||||
IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin postscript spell t1lib tiff xps"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
|
||||||
|
|
||||||
# atk used in libview
|
|
||||||
# bundles unarr
|
|
||||||
COMMON_DEPEND="
|
|
||||||
dev-libs/atk
|
|
||||||
>=dev-libs/glib-2.36:2[dbus]
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
sys-libs/zlib:=
|
|
||||||
>=x11-libs/gdk-pixbuf-2.36.5:2
|
|
||||||
>=x11-libs/gtk+-3.16.0:3[introspection?]
|
|
||||||
gnome-base/gsettings-desktop-schemas
|
|
||||||
>=x11-libs/cairo-1.10:=
|
|
||||||
>=app-text/poppler-0.33[cairo]
|
|
||||||
>=app-arch/libarchive-3.2.0
|
|
||||||
djvu? ( >=app-text/djvu-3.5.22:= )
|
|
||||||
dvi? (
|
|
||||||
virtual/tex-base
|
|
||||||
dev-libs/kpathsea:=
|
|
||||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
media-libs/gst-plugins-good:1.0 )
|
|
||||||
gnome? ( gnome-base/gnome-desktop:3= )
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
|
||||||
nautilus? ( >=gnome-base/nautilus-2.91.4 )
|
|
||||||
postscript? ( >=app-text/libspectre-0.2:= )
|
|
||||||
spell? ( >=app-text/gspell-1.6.0:= )
|
|
||||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
|
||||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
gnome-base/gvfs
|
|
||||||
gnome-base/librsvg
|
|
||||||
|| (
|
|
||||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
|
||||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.3
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
dev-util/glib-utils
|
|
||||||
>=dev-util/gtk-doc-am-1.13
|
|
||||||
>=dev-util/intltool-0.35
|
|
||||||
dev-util/itstool
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
app-text/yelp-tools
|
|
||||||
"
|
|
||||||
# eautoreconf needs:
|
|
||||||
# app-text/yelp-tools
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PV}-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
gnome2_src_prepare
|
|
||||||
|
|
||||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=29942
|
|
||||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
|
||||||
-i configure || die "sed failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
--enable-pdf \
|
|
||||||
--enable-comics \
|
|
||||||
--enable-thumbnailer \
|
|
||||||
--with-platform=gnome \
|
|
||||||
--enable-dbus \
|
|
||||||
$(use_enable djvu) \
|
|
||||||
$(use_enable dvi) \
|
|
||||||
$(use_enable gstreamer multimedia) \
|
|
||||||
$(use_enable gnome libgnome-desktop) \
|
|
||||||
$(use_with gnome-keyring keyring) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable nautilus) \
|
|
||||||
$(use_enable nsplugin browser-plugin) \
|
|
||||||
$(use_enable postscript ps) \
|
|
||||||
$(use_with spell gspell) \
|
|
||||||
$(use_enable t1lib) \
|
|
||||||
$(use_enable tiff) \
|
|
||||||
$(use_enable xps) \
|
|
||||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
|
||||||
--with-systemduserunitdir="$(systemd_get_userunitdir)"
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
GNOME2_EAUTORECONF="yes"
|
|
||||||
|
|
||||||
inherit gnome2 systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Simple document viewer for GNOME"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
|
||||||
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
|
||||||
SLOT="0/evd3.4-evv3.3"
|
|
||||||
IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin postscript spell t1lib tiff xps"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
|
||||||
|
|
||||||
# atk used in libview
|
|
||||||
# bundles unarr
|
|
||||||
COMMON_DEPEND="
|
|
||||||
dev-libs/atk
|
|
||||||
>=dev-libs/glib-2.36:2[dbus]
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
sys-libs/zlib:=
|
|
||||||
>=x11-libs/gdk-pixbuf-2.36.5:2
|
|
||||||
>=x11-libs/gtk+-3.22.0:3[introspection?]
|
|
||||||
gnome-base/gsettings-desktop-schemas
|
|
||||||
>=x11-libs/cairo-1.10:=
|
|
||||||
>=app-text/poppler-0.33[cairo]
|
|
||||||
>=app-arch/libarchive-3.2.0
|
|
||||||
djvu? ( >=app-text/djvu-3.5.22:= )
|
|
||||||
dvi? (
|
|
||||||
virtual/tex-base
|
|
||||||
dev-libs/kpathsea:=
|
|
||||||
t1lib? ( >=media-libs/t1lib-5:= ) )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
media-libs/gst-plugins-good:1.0 )
|
|
||||||
gnome? ( gnome-base/gnome-desktop:3= )
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
|
||||||
nautilus? ( >=gnome-base/nautilus-2.91.4 )
|
|
||||||
postscript? ( >=app-text/libspectre-0.2:= )
|
|
||||||
spell? ( >=app-text/gspell-1.6.0:= )
|
|
||||||
tiff? ( >=media-libs/tiff-3.6:0= )
|
|
||||||
xps? ( >=app-text/libgxps-0.2.1:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
gnome-base/gvfs
|
|
||||||
gnome-base/librsvg
|
|
||||||
|| (
|
|
||||||
>=x11-themes/adwaita-icon-theme-2.17.1
|
|
||||||
>=x11-themes/hicolor-icon-theme-0.10 )
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.3
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
dev-util/glib-utils
|
|
||||||
>=dev-util/gtk-doc-am-1.13
|
|
||||||
>=dev-util/intltool-0.35
|
|
||||||
dev-util/itstool
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
app-text/yelp-tools
|
|
||||||
"
|
|
||||||
# eautoreconf needs:
|
|
||||||
# app-text/yelp-tools
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/3.30.2-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
gnome2_src_prepare
|
|
||||||
|
|
||||||
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=29942
|
|
||||||
sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
|
|
||||||
-i configure || die "sed failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
--enable-pdf \
|
|
||||||
--enable-comics \
|
|
||||||
--enable-thumbnailer \
|
|
||||||
--with-platform=gnome \
|
|
||||||
--enable-dbus \
|
|
||||||
$(use_enable djvu) \
|
|
||||||
$(use_enable dvi) \
|
|
||||||
$(use_enable gstreamer multimedia) \
|
|
||||||
$(use_enable gnome libgnome-desktop) \
|
|
||||||
$(use_with gnome-keyring keyring) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable nautilus) \
|
|
||||||
$(use_enable nsplugin browser-plugin) \
|
|
||||||
$(use_enable postscript ps) \
|
|
||||||
$(use_with spell gspell) \
|
|
||||||
$(use_enable t1lib) \
|
|
||||||
$(use_enable tiff) \
|
|
||||||
$(use_enable xps) \
|
|
||||||
BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
|
|
||||||
--with-systemduserunitdir="$(systemd_get_userunitdir)"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,259 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic multilib multilib-minimal autotools pam java-pkg-opt-2 db-use systemd
|
||||||
|
|
||||||
|
SASLAUTHD_CONF_VER="2.1.26"
|
||||||
|
|
||||||
|
DESCRIPTION="The Cyrus SASL (Simple Authentication and Security Layer)"
|
||||||
|
HOMEPAGE="https://www.cyrusimap.org/sasl/"
|
||||||
|
#SRC_URI="ftp://ftp.cyrusimap.org/cyrus-sasl/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/cyrusimap/${PN}/releases/download/${P}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-with-attribution"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="authdaemond berkdb gdbm kerberos ldapdb libressl openldap mysql pam postgres sample selinux sqlite srp ssl static-libs urandom"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
net-mail/mailbase
|
||||||
|
authdaemond? ( || ( net-mail/courier-imap mail-mta/courier ) )
|
||||||
|
berkdb? ( >=sys-libs/db-4.8.30-r1:=[${MULTILIB_USEDEP}] )
|
||||||
|
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
|
||||||
|
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
||||||
|
mysql? ( dev-db/mysql-connector-c:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pam? ( >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}] )
|
||||||
|
postgres? ( dev-db/postgresql:* )
|
||||||
|
sqlite? ( >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
|
||||||
|
)
|
||||||
|
java? ( >=virtual/jdk-1.6:= )"
|
||||||
|
|
||||||
|
REQUIRED_USE="ldapdb? ( openldap )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${CDEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-sasl )"
|
||||||
|
|
||||||
|
DEPEND="${CDEPEND}"
|
||||||
|
|
||||||
|
MULTILIB_WRAPPED_HEADERS=(
|
||||||
|
/usr/include/sasl/md5global.h
|
||||||
|
)
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-avoid_pic_overwrite.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-autotools_fixes.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-as_needed.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.25-auxprop.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-gss_c_nt_hostbased_service.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.26-missing-size_t.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-doc_build_fix.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-memmem.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.1.27-CVE-2019-19906.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
java-pkg-opt-2_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Get rid of the -R switch (runpath_switch for Sun)
|
||||||
|
# >=gcc-4.6 errors out with unknown option
|
||||||
|
sed -i -e '/LIB_SQLITE.*-R/s/ -R[^"]*//' \
|
||||||
|
configure.ac || die
|
||||||
|
|
||||||
|
# Use plugindir for sasldir
|
||||||
|
sed -i '/^sasldir =/s:=.*:= $(plugindir):' \
|
||||||
|
"${S}"/plugins/Makefile.{am,in} || die "sed failed"
|
||||||
|
|
||||||
|
# #486740 #468556
|
||||||
|
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \
|
||||||
|
-e 's:AC_CONFIG_MACRO_DIR:AC_CONFIG_MACRO_DIRS:g' \
|
||||||
|
configure.ac || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
|
# getpassphrase is defined in /usr/include/stdlib.h
|
||||||
|
append-cppflags -DHAVE_GETPASSPHRASE
|
||||||
|
else
|
||||||
|
# this horrendously breaks things on Solaris
|
||||||
|
append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED
|
||||||
|
fi
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
# Java support.
|
||||||
|
multilib_is_native_abi && use java && export JAVAC="${JAVAC} ${JAVACFLAGS}"
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--enable-login
|
||||||
|
--enable-ntlm
|
||||||
|
--enable-auth-sasldb
|
||||||
|
--disable-cmulocal
|
||||||
|
--disable-krb4
|
||||||
|
--disable-macos-framework
|
||||||
|
--enable-otp
|
||||||
|
--without-sqlite
|
||||||
|
--with-saslauthd="${EPREFIX}"/run/saslauthd
|
||||||
|
--with-pwcheck="${EPREFIX}"/run/saslauthd
|
||||||
|
--with-configdir="${EPREFIX}"/etc/sasl2
|
||||||
|
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sasl2
|
||||||
|
--with-dbpath="${EPREFIX}"/etc/sasl2/sasldb2
|
||||||
|
--with-sphinx-build=no
|
||||||
|
$(use_with ssl openssl)
|
||||||
|
$(use_with pam)
|
||||||
|
$(use_with openldap ldap)
|
||||||
|
$(use_enable ldapdb)
|
||||||
|
$(multilib_native_use_enable sample)
|
||||||
|
$(use_enable kerberos gssapi)
|
||||||
|
$(multilib_native_use_enable java)
|
||||||
|
$(multilib_native_use_with mysql mysql "${EPREFIX}"/usr)
|
||||||
|
$(multilib_native_use_with postgres pgsql "${EPREFIX}"/usr/$(get_libdir)/postgresql)
|
||||||
|
$(use_with sqlite sqlite3 "${EPREFIX}"/usr/$(get_libdir))
|
||||||
|
$(use_enable srp)
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
|
||||||
|
# Add authdaemond support (bug #56523).
|
||||||
|
$(usex authdaemond --with-authdaemond="${EPREFIX}"/var/lib/courier/authdaemon/socket '')
|
||||||
|
|
||||||
|
# Fix for bug #59634.
|
||||||
|
$(usex ssl '' --without-des)
|
||||||
|
|
||||||
|
# Use /dev/urandom instead of /dev/random (bug #46038).
|
||||||
|
$(usex urandom --with-devrandom=/dev/urandom '')
|
||||||
|
)
|
||||||
|
|
||||||
|
if use sqlite || { multilib_is_native_abi && { use mysql || use postgres; }; } ; then
|
||||||
|
myeconfargs+=( --enable-sql )
|
||||||
|
else
|
||||||
|
myeconfargs+=( --disable-sql )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Default to GDBM if both 'gdbm' and 'berkdb' are present.
|
||||||
|
if use gdbm ; then
|
||||||
|
einfo "Building with GNU DB as database backend for your SASLdb"
|
||||||
|
myeconfargs+=( --with-dblib=gdbm )
|
||||||
|
elif use berkdb ; then
|
||||||
|
einfo "Building with BerkeleyDB as database backend for your SASLdb"
|
||||||
|
myeconfargs+=(
|
||||||
|
--with-dblib=berkeley
|
||||||
|
--with-bdb-incdir="$(db_includedir)"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
einfo "Building without SASLdb support"
|
||||||
|
myeconfargs+=( --with-dblib=none )
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake
|
||||||
|
|
||||||
|
# Default location for java classes breaks OpenOffice (bug #60769).
|
||||||
|
# Thanks to axxo@gentoo.org for the solution.
|
||||||
|
if multilib_is_native_abi && use java ; then
|
||||||
|
jar -cvf ${PN}.jar -C java $(find java -name "*.class")
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if multilib_is_native_abi; then
|
||||||
|
if use sample ; then
|
||||||
|
docinto sample
|
||||||
|
dodoc "${S}"/sample/*.c
|
||||||
|
exeinto /usr/share/doc/${P}/sample
|
||||||
|
doexe sample/client sample/server
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Default location for java classes breaks OpenOffice (bug #60769).
|
||||||
|
if use java; then
|
||||||
|
java-pkg_dojar ${PN}.jar
|
||||||
|
java-pkg_regso "${ED}/usr/$(get_libdir)/libjavasasl$(get_libname)"
|
||||||
|
# hackish, don't wanna dig through makefile
|
||||||
|
rm -rf "${ED}/usr/$(get_libdir)/java" || die
|
||||||
|
docinto "java"
|
||||||
|
dodoc "${S}/java/README" "${FILESDIR}/java.README.gentoo" "${S}"/java/doc/*
|
||||||
|
dodir "/usr/share/doc/${PF}/java/Test"
|
||||||
|
insinto "/usr/share/doc/${PF}/java/Test"
|
||||||
|
doins "${S}"/java/Test/*.java
|
||||||
|
fi
|
||||||
|
|
||||||
|
dosbin saslauthd/testsaslauthd
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
doman man/*
|
||||||
|
|
||||||
|
keepdir /etc/sasl2
|
||||||
|
|
||||||
|
# Reset docinto to default value (#674296)
|
||||||
|
docinto
|
||||||
|
dodoc AUTHORS ChangeLog doc/legacy/TODO
|
||||||
|
newdoc pwcheck/README README.pwcheck
|
||||||
|
|
||||||
|
newdoc docsrc/sasl/release-notes/$(ver_cut 1-2)/index.rst release-notes
|
||||||
|
edos2unix "${ED}/usr/share/doc/${PF}/release-notes"
|
||||||
|
|
||||||
|
docinto html
|
||||||
|
dodoc doc/html/*.html
|
||||||
|
|
||||||
|
newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/pwcheck.rc6" pwcheck
|
||||||
|
systemd_dounit "${FILESDIR}/pwcheck.service"
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/saslauthd2.rc7" saslauthd
|
||||||
|
newconfd "${FILESDIR}/saslauthd-${SASLAUTHD_CONF_VER}.conf" saslauthd
|
||||||
|
systemd_dounit "${FILESDIR}/saslauthd.service"
|
||||||
|
systemd_dotmpfilesd "${FILESDIR}/${PN}.conf"
|
||||||
|
|
||||||
|
# The get_modname bit is important: do not remove the .la files on
|
||||||
|
# platforms where the lib isn't called .so for cyrus searches the .la to
|
||||||
|
# figure out what the name is supposed to be instead
|
||||||
|
if ! use static-libs && [[ $(get_modname) == .so ]] ; then
|
||||||
|
find "${ED}" -name "*.la" -delete || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst () {
|
||||||
|
# Generate an empty sasldb2 with correct permissions.
|
||||||
|
if ( use berkdb || use gdbm ) && [[ ! -f "${EROOT}/etc/sasl2/sasldb2" ]] ; then
|
||||||
|
einfo "Generating an empty sasldb2 with correct permissions ..."
|
||||||
|
echo "p" | "${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -p login \
|
||||||
|
|| die "Failed to generate sasldb2"
|
||||||
|
"${EROOT}/usr/sbin/saslpasswd2" -f "${EROOT}/etc/sasl2/sasldb2" -d login \
|
||||||
|
|| die "Failed to delete temp user"
|
||||||
|
chown root:mail "${EROOT}/etc/sasl2/sasldb2" \
|
||||||
|
|| die "Failed to chown ${EROOT}/etc/sasl2/sasldb2"
|
||||||
|
chmod 0640 "${EROOT}/etc/sasl2/sasldb2" \
|
||||||
|
|| die "Failed to chmod ${EROOT}/etc/sasl2/sasldb2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use authdaemond ; then
|
||||||
|
elog "You need to add a user running a service using Courier's"
|
||||||
|
elog "authdaemon to the 'mail' group. For example, do:"
|
||||||
|
elog " gpasswd -a postfix mail"
|
||||||
|
elog "to add the 'postfix' user to the 'mail' group."
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "pwcheck and saslauthd home directories have moved to:"
|
||||||
|
elog " /run/saslauthd, using tmpfiles.d"
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
Description: CVE-2019-19906: Off-by-one in _sasl_add_string function
|
||||||
|
Origin: vendor
|
||||||
|
Bug: https://github.com/cyrusimap/cyrus-sasl/issues/587
|
||||||
|
Bug-Debian: https://bugs.debian.org/947043
|
||||||
|
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2019-19906
|
||||||
|
Author: Stephan Zeisberg <stephan@srlabs.de>
|
||||||
|
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
|
||||||
|
Last-Update: 2019-12-19
|
||||||
|
|
||||||
|
--- a/lib/common.c
|
||||||
|
+++ b/lib/common.c
|
||||||
|
@@ -190,7 +190,7 @@ int _sasl_add_string(char **out, size_t
|
||||||
|
|
||||||
|
if (add==NULL) add = "(null)";
|
||||||
|
|
||||||
|
- addlen=strlen(add); /* only compute once */
|
||||||
|
+ addlen=strlen(add)+1; /* only compute once */
|
||||||
|
if (_buf_alloc(out, alloclen, (*outlen)+addlen)!=SASL_OK)
|
||||||
|
return SASL_NOMEM;
|
||||||
|
|
@ -1,2 +1 @@
|
|||||||
DIST jsonrpc-glib-3.30.1.tar.xz 41516 BLAKE2B c0b73c06682fd0a1bca2fb000d7909460c496e73364c24905e1a4c88cce64252ac024825ab89650ee0b3b5de1cd1686fc7a231ffb5b0bb7e1c66262eafce026f SHA512 f1ae34faf9b3902b45b01bfafc87fd8d30051bbb11cf247cf8af9dc2bae8b2f3c93564a17a9f047dbb61240662a0ffbc2c2b764f8e254305c7aee1b32fd8a86b
|
|
||||||
DIST jsonrpc-glib-3.32.0.tar.xz 41552 BLAKE2B cea89237cbd622e951b0b4eca02e0aba0f3a9a3dd0db74baa0534ad49671834bf3daab5243d0be6f4e68ed5f441820fb8af1c5f59f7f5a7657280d1c55e5d104 SHA512 c6c52d36d3f8f736bc07c50174ca4a50e3cde6b23928751f260b4482e15cda9726b8279228653e4fde114111592131f344f3c7cf820edcc680fb0b32f9089ea5
|
DIST jsonrpc-glib-3.32.0.tar.xz 41552 BLAKE2B cea89237cbd622e951b0b4eca02e0aba0f3a9a3dd0db74baa0534ad49671834bf3daab5243d0be6f4e68ed5f441820fb8af1c5f59f7f5a7657280d1c55e5d104 SHA512 c6c52d36d3f8f736bc07c50174ca4a50e3cde6b23928751f260b4482e15cda9726b8279228653e4fde114111592131f344f3c7cf820edcc680fb0b32f9089ea5
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit gnome.org meson xdg vala
|
|
||||||
|
|
||||||
DESCRIPTION="JSON-RPC library for GLib"
|
|
||||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/jsonrpc-glib"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0/1"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
IUSE="gtk-doc +introspection test vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/json-glib[introspection?]
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
virtual/pkgconfig
|
|
||||||
gtk-doc? ( dev-util/gtk-doc )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
xdg_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
-Denable_profiling=false # -pg passing
|
|
||||||
$(meson_use introspection with_introspection)
|
|
||||||
$(meson_use vala with_vapi)
|
|
||||||
$(meson_use gtk-doc enable_gtk_doc)
|
|
||||||
$(meson_use test enable_tests)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST libdazzle-3.30.2.tar.xz 432192 BLAKE2B 4c31b74b0a5c972b5c86bbacf50862a0c2db5c9ed1e67124671e2ece75d72de4c3605c6ecc81bde10cf2566ae06cbd7f14fccaff5d154c1bd9e53a9f8b2dc2eb SHA512 591c3bb9dd65ae02e6234a1599497dce78d843ee6ca47e8d50656b9f98bab91c7b89424c23eb387184bdb28132e1fbe11ee7c01d4a7f0598bcef92739aa8bff6
|
|
||||||
DIST libdazzle-3.32.3.tar.xz 439492 BLAKE2B 7a8cf5a4ad29ca11b489553785e66d49a2ba7998f6791bb392ca37740441ff0e72f59ced192dc681ab20da79cb9183621a7d73baf57c9f045ae917fc993d1205 SHA512 e82d5f04706ec2003db27ece490255264828334d1e1c2076485660539664fd382c1289b9d8d4a6cc2dc31c65db270207e7d51105ffd1cadb7c384cd91199ceaa
|
DIST libdazzle-3.32.3.tar.xz 439492 BLAKE2B 7a8cf5a4ad29ca11b489553785e66d49a2ba7998f6791bb392ca37740441ff0e72f59ced192dc681ab20da79cb9183621a7d73baf57c9f045ae917fc993d1205 SHA512 e82d5f04706ec2003db27ece490255264828334d1e1c2076485660539664fd382c1289b9d8d4a6cc2dc31c65db270207e7d51105ffd1cadb7c384cd91199ceaa
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit gnome.org meson xdg vala virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Experimental new features for GTK+ and GLib"
|
|
||||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/libdazzle"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86"
|
|
||||||
|
|
||||||
IUSE="gtk-doc +introspection test vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.56.0:2
|
|
||||||
>=x11-libs/gtk+-3.24.0:3[introspection?]
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
"
|
|
||||||
# libxml2 required for glib-compile-resources; glib-utils for glib-mkenums
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
dev-util/glib-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
gtk-doc? ( dev-util/gtk-doc )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PV}-leak-fix.patch # from libdazzle-3-30 branch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
xdg_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
-Denable_tracing=false # extra trace debugging that would make things slower
|
|
||||||
-Denable_profiling=false # -pg passing
|
|
||||||
# -Denable_rdtscp=false # TODO: CPU_FLAGS_X86 for it?
|
|
||||||
-Denable_tools=true # /usr/bin/dazzle-list-counters
|
|
||||||
$(meson_use introspection with_introspection)
|
|
||||||
$(meson_use vala with_vapi)
|
|
||||||
$(meson_use gtk-doc enable_gtk_doc)
|
|
||||||
$(meson_use test enable_tests)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx meson_src_test
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST libgnome-games-support-1.4.3.tar.xz 345824 BLAKE2B 7969d4470b5c7ba266e3d77071ff7b8b02a1bf407ec74bb0ad1cbe81af7e30e54d3af507f206b07ee1352be4e180dfd62ca6411f07bdbffeb5b18e2f921c7666 SHA512 01a2594d9f95987c99db92c8cc8c212b149619618d15f4128df7eb24d68b64e01f2e77c79b7b07cf81581493ae84215a5d4019ae67585188c04d90827381fc33
|
|
||||||
DIST libgnome-games-support-1.4.4.tar.xz 336708 BLAKE2B ecd21376ce8d83a0a8c0f65992ba4d39d54b3b97d90df8adab0d5c5714d0c9841711a21dc611c94a8141313ff991c3a8787f7e27492c149a7f76e25d8a2fa8d6 SHA512 2b2c77210103610cb91554f870d634bc8d06f0886eef5166bf9909c1975a87d960005640d48e3e917f74c7553e3ae07d473ba06c6c5d6582313c50a390ec6168
|
DIST libgnome-games-support-1.4.4.tar.xz 336708 BLAKE2B ecd21376ce8d83a0a8c0f65992ba4d39d54b3b97d90df8adab0d5c5714d0c9841711a21dc611c94a8141313ff991c3a8787f7e27492c149a7f76e25d8a2fa8d6 SHA512 2b2c77210103610cb91554f870d634bc8d06f0886eef5166bf9909c1975a87d960005640d48e3e917f74c7553e3ae07d473ba06c6c5d6582313c50a390ec6168
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit gnome2
|
|
||||||
|
|
||||||
DESCRIPTION="Library for code common to Gnome games"
|
|
||||||
HOMEPAGE="https://git.gnome.org/browse/libgnome-games-support/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-3+"
|
|
||||||
SLOT="1/3"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/libgee:0.8=
|
|
||||||
>=dev-libs/glib-2.40:2
|
|
||||||
>=x11-libs/gtk+-3.19.2:3
|
|
||||||
"
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
VALAC=$(type -P true)
|
|
||||||
}
|
|
@ -1,5 +1 @@
|
|||||||
DIST libgweather-3.24.1.tar.xz 3350680 BLAKE2B 9265cb3c280446d5f380f62b60efb5578a7a401e3291d12e3824d8e7eacc582761226b0aaebb0439318bd48b9ad5429a1b6d89eb0220a82650c43be8aa337e2d SHA512 564464d7a18a8e0320871ea418b1163163941c950c5acea5ee65a087e44c4d81e019e2e3e4cb6751989f823cbb7c5691713d3dcef72aeaf6ff264e61b6f7b4b4
|
|
||||||
DIST libgweather-3.26.2.tar.xz 3409528 BLAKE2B 1c5cdc7125aac8df95e97db8fa1d63bcb06865e70691621bc3a1c0ece2e602862cef9a2a5daa2ebbc5fa7eaefa32bf89507f1eef8fa4eeff294d43132e83fab4 SHA512 75b936f93814005b4317dcb51777036f589f343526428d9a74de96aac1badd4fe81c117184e2bff84a7a3078d6f2a2000e7b63f1e1d80f839b3513cc470fb25b
|
|
||||||
DIST libgweather-3.28.3.tar.xz 2711240 BLAKE2B 9e55c32485401fa31e5ca5a824f239c373e41c2ef3a1d4442ba4512f102edadaa3452bdc4f4a445ea34e5e24cda23fbf6e1363da5bd49f70018b387f7450cf15 SHA512 7eb98f15b624090ba0959f4ee47c1a2317504a381829cebb949f4104ea9b5c2847a98f95de60a35c5bf1094e500041c53e1afdb265dd2f237bc49db8acbfd6f2
|
|
||||||
DIST libgweather-3.32.1.tar.xz 2713696 BLAKE2B 496aa07c517ad570ebf54041b8ae14ec5eb5a923a113e1adcf23e5ac9a515ccb5c2dbeb29c923f0abcfc213409ddafbb1747c5ed5a6129bd4ac40b4e0fd687d6 SHA512 f5ae94436fa3cceee84ff80f14296f11ab27727e3881689dd71126de158f7d0015b462163cb2b47cf30add5a4c97c89c6473c1ed0515fcaac0dde2daffdf7108
|
|
||||||
DIST libgweather-3.32.2.tar.xz 2716144 BLAKE2B 56bf66edde8293758f49c1ca14b47fb725f72a0202e95e6e1d1832c179fd9414d527827be5cb7daa17627abfbd1ac16d8d09dbdbbdcb24d62cc62c25a220c156 SHA512 61543e5eaf8c04605a91a6f47811b3a0ed2b04c2f50eae9b8d08a4e24904db4731748fa27a0863d2cdab5fde776ec55abe9fd9fb2a72c7bd546665d59957cb4d
|
DIST libgweather-3.32.2.tar.xz 2716144 BLAKE2B 56bf66edde8293758f49c1ca14b47fb725f72a0202e95e6e1d1832c179fd9414d527827be5cb7daa17627abfbd1ac16d8d09dbdbbdcb24d62cc62c25a220c156 SHA512 61543e5eaf8c04605a91a6f47811b3a0ed2b04c2f50eae9b8d08a4e24904db4731748fa27a0863d2cdab5fde776ec55abe9fd9fb2a72c7bd546665d59957cb4d
|
||||||
|
@ -1,107 +0,0 @@
|
|||||||
From b7df88319847f3155bd0e2ea994cf66c01fc1732 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mart Raudsepp <leio@gentoo.org>
|
|
||||||
Date: Sat, 23 Feb 2019 12:21:01 +0200
|
|
||||||
Subject: [PATCH] build: Provide introspection option and don't build manual
|
|
||||||
tests
|
|
||||||
|
|
||||||
---
|
|
||||||
libgweather/meson.build | 21 ++++++++++++++-------
|
|
||||||
meson.build | 4 ++++
|
|
||||||
meson_options.txt | 2 ++
|
|
||||||
3 files changed, 20 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/libgweather/meson.build b/libgweather/meson.build
|
|
||||||
index 4d907b9..9ede9d0 100644
|
|
||||||
--- a/libgweather/meson.build
|
|
||||||
+++ b/libgweather/meson.build
|
|
||||||
@@ -65,6 +65,15 @@ lib_libgweather = shared_library('gweather-3',
|
|
||||||
install: true,
|
|
||||||
)
|
|
||||||
|
|
||||||
+libgweather_dep = declare_dependency(
|
|
||||||
+ sources: [gweather_enum_types[1]],
|
|
||||||
+ dependencies: deps_libgweather,
|
|
||||||
+ link_with: lib_libgweather,
|
|
||||||
+ include_directories: root_inc,
|
|
||||||
+)
|
|
||||||
+
|
|
||||||
+if get_option('introspection')
|
|
||||||
+
|
|
||||||
gweather_gir = gnome.generate_gir(lib_libgweather,
|
|
||||||
sources: introspection_sources,
|
|
||||||
dependencies: deps_libgweather,
|
|
||||||
@@ -79,13 +88,6 @@ gweather_gir = gnome.generate_gir(lib_libgweather,
|
|
||||||
install: true,
|
|
||||||
)
|
|
||||||
|
|
||||||
-libgweather_dep = declare_dependency(
|
|
||||||
- sources: [gweather_enum_types[1], gweather_gir],
|
|
||||||
- dependencies: deps_libgweather,
|
|
||||||
- link_with: lib_libgweather,
|
|
||||||
- include_directories: root_inc,
|
|
||||||
-)
|
|
||||||
-
|
|
||||||
if enable_vala
|
|
||||||
gnome.generate_vapi('gweather-3.0',
|
|
||||||
sources: gweather_gir[0],
|
|
||||||
@@ -94,9 +96,11 @@ if enable_vala
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
endif
|
|
||||||
+endif
|
|
||||||
|
|
||||||
test_cargs = ['-DTEST_SRCDIR="@0@/"'.format(meson.current_source_dir())]
|
|
||||||
|
|
||||||
+if false
|
|
||||||
executable('test_locations',
|
|
||||||
['test_locations.c'],
|
|
||||||
c_args: test_cargs,
|
|
||||||
@@ -107,6 +111,7 @@ executable('test_locations_utc',
|
|
||||||
c_args: test_cargs,
|
|
||||||
dependencies: libgweather_dep,
|
|
||||||
install: false)
|
|
||||||
+endif
|
|
||||||
|
|
||||||
exe = executable('test_libgweather',
|
|
||||||
['test_libgweather.c'],
|
|
||||||
@@ -115,6 +120,7 @@ exe = executable('test_libgweather',
|
|
||||||
install: false)
|
|
||||||
test('test_named_timezones', exe)
|
|
||||||
|
|
||||||
+if false
|
|
||||||
executable('test_metar',
|
|
||||||
['test_metar.c', gweather_c_sources],
|
|
||||||
c_args: test_cargs,
|
|
||||||
@@ -125,3 +131,4 @@ executable('test_sun_moon',
|
|
||||||
c_args: test_cargs,
|
|
||||||
dependencies: libgweather_dep,
|
|
||||||
install: false)
|
|
||||||
+endif
|
|
||||||
diff --git a/meson.build b/meson.build
|
|
||||||
index 5b30864..2e9fa08 100644
|
|
||||||
--- a/meson.build
|
|
||||||
+++ b/meson.build
|
|
||||||
@@ -108,6 +108,10 @@ else
|
|
||||||
enable_vala = enable_vala != 'false'
|
|
||||||
endif
|
|
||||||
|
|
||||||
+if enable_vala and not get_option('introspection')
|
|
||||||
+ error('Vala bindings require introspection support')
|
|
||||||
+endif
|
|
||||||
+
|
|
||||||
root_inc = include_directories('.')
|
|
||||||
|
|
||||||
subdir('libgweather')
|
|
||||||
diff --git a/meson_options.txt b/meson_options.txt
|
|
||||||
index 19b2c6a..bf4c517 100644
|
|
||||||
--- a/meson_options.txt
|
|
||||||
+++ b/meson_options.txt
|
|
||||||
@@ -8,3 +8,5 @@ option('enable_vala', type: 'combo', choices : ['true', 'false', 'auto'], value
|
|
||||||
description: 'Install vala bindings')
|
|
||||||
option('gtk_doc', type: 'boolean', value: false,
|
|
||||||
description: 'Whether to generate the API reference')
|
|
||||||
+option('introspection', type: 'boolean', value: true,
|
|
||||||
+ description: 'generate GObject Introspection data')
|
|
||||||
--
|
|
||||||
2.17.0
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
|
|
||||||
inherit gnome2 vala
|
|
||||||
|
|
||||||
DESCRIPTION="Library to access weather information from online services"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix)
|
|
||||||
|
|
||||||
IUSE="glade +introspection vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=x11-libs/gtk+-3.13.5:3[introspection?]
|
|
||||||
>=dev-libs/glib-2.35.1:2
|
|
||||||
>=net-libs/libsoup-2.44:2.4
|
|
||||||
>=dev-libs/libxml2-2.6.0:2
|
|
||||||
sci-geosciences/geocode-glib
|
|
||||||
>=sys-libs/timezone-data-2010k
|
|
||||||
|
|
||||||
glade? ( >=dev-util/glade-3.16:3.10 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!<gnome-base/gnome-applets-2.22.0
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
dev-util/glib-utils
|
|
||||||
>=dev-util/gtk-doc-am-1.11
|
|
||||||
>=dev-util/intltool-0.50
|
|
||||||
>=sys-devel/gettext-0.18
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable glade glade-catalog) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable vala)
|
|
||||||
}
|
|
@ -1,54 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
|
|
||||||
inherit gnome2 vala
|
|
||||||
|
|
||||||
DESCRIPTION="Library to access weather information from online services"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="2/3-6" # subslot = 3-(libgweather-3 soname suffix)
|
|
||||||
|
|
||||||
IUSE="glade +introspection vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=x11-libs/gtk+-3.13.5:3[introspection?]
|
|
||||||
>=dev-libs/glib-2.35.1:2
|
|
||||||
>=net-libs/libsoup-2.44:2.4
|
|
||||||
>=dev-libs/libxml2-2.6.0:2
|
|
||||||
sci-geosciences/geocode-glib
|
|
||||||
>=sys-libs/timezone-data-2010k
|
|
||||||
|
|
||||||
glade? ( >=dev-util/glade-3.16:3.10 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!<gnome-base/gnome-applets-2.22.0
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
dev-util/glib-utils
|
|
||||||
>=dev-util/gtk-doc-am-1.11
|
|
||||||
>=dev-util/intltool-0.50
|
|
||||||
>=sys-devel/gettext-0.18
|
|
||||||
virtual/pkgconfig
|
|
||||||
vala? ( $(vala_depend) )
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use vala && vala_src_prepare
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
$(use_enable glade glade-catalog) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable vala)
|
|
||||||
}
|
|
@ -1,67 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
|
|
||||||
inherit gnome.org gnome2-utils meson vala xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Location and timezone database and weather-lookup library"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="2/3-15" # subslot = 3-(libgweather-3 soname suffix)
|
|
||||||
|
|
||||||
IUSE="glade gtk-doc +introspection +vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.35.1:2
|
|
||||||
>=x11-libs/gtk+-3.13.5:3[introspection?]
|
|
||||||
>=net-libs/libsoup-2.44:2.4
|
|
||||||
>=dev-libs/libxml2-2.6.0:2
|
|
||||||
sci-geosciences/geocode-glib
|
|
||||||
>=sys-libs/timezone-data-2010k
|
|
||||||
|
|
||||||
glade? ( >=dev-util/glade-3.16:3.10 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-util/glib-utils
|
|
||||||
gtk-doc? ( >=dev-util/gtk-doc-1.11
|
|
||||||
app-text/docbook-xml-dtd:4.3 )
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
$(vala_depend)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PV}-meson-tweaks.patch # Provide introspection optionality and don't build tests that aren't ran automatically
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
vala_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_use glade glade_catalog)
|
|
||||||
$(meson_use vala enable_vala)
|
|
||||||
$(meson_use gtk-doc gtk_doc)
|
|
||||||
$(meson_use introspection)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
VALA_USE_DEPEND="vapigen"
|
|
||||||
|
|
||||||
inherit gnome.org gnome2-utils meson vala xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Location and timezone database and weather-lookup library"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/LibGWeather"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="2/3-15" # subslot = 3-(libgweather-3 soname suffix)
|
|
||||||
|
|
||||||
IUSE="glade gtk-doc +introspection +vala"
|
|
||||||
REQUIRED_USE="vala? ( introspection )"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.35.1:2
|
|
||||||
>=x11-libs/gtk+-3.13.5:3[introspection?]
|
|
||||||
>=net-libs/libsoup-2.44:2.4
|
|
||||||
>=dev-libs/libxml2-2.6.0:2
|
|
||||||
sci-geosciences/geocode-glib
|
|
||||||
>=sys-libs/timezone-data-2010k
|
|
||||||
|
|
||||||
glade? ( >=dev-util/glade-3.16:3.10 )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/glib-utils
|
|
||||||
gtk-doc? ( >=dev-util/gtk-doc-1.11
|
|
||||||
app-text/docbook-xml-dtd:4.3 )
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
$(vala_depend)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PV}-meson-tweaks.patch # Provide introspection optionality and don't build tests that aren't ran automatically
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
vala_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_use glade glade_catalog)
|
|
||||||
$(meson_use vala enable_vala)
|
|
||||||
$(meson_use gtk-doc gtk_doc)
|
|
||||||
$(meson_use introspection)
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST pyatspi-2.30.0.tar.xz 310672 BLAKE2B 76d51e6ce2f39305bcda8f706b5207738d3a2c0fd7480efb77c4dab8baf8ed6eb71263375ff0c16be0087e47f7f6b5eab99c6fc8992b83bdea6e64c92c381043 SHA512 a7af81bb55dff45d1bceced645f6aeb1adc1fa2a2b61fc39d9e97b6659e474636e5ac1af9923588311e651fee57b5e31a62ea5b2977b341eda43a5a736bf27ed
|
|
||||||
DIST pyatspi-2.32.1.tar.xz 310896 BLAKE2B acf4a0211015daf5a19a796de9e267637ae77b2f79f0c6af20bfa5eb5a0fa0d4a62cf23524348299daebd515cccb7a4a1c18226e8c04356ea6439840613242a7 SHA512 6cdddc4275770a4f89e66355e18518f5cbf1ceeee1f27298be1fb5bb8b67676eeeb81ce7f4fbb5ad617573f574e5fd5858d363c77a0e5727d637ae7275429b03
|
DIST pyatspi-2.32.1.tar.xz 310896 BLAKE2B acf4a0211015daf5a19a796de9e267637ae77b2f79f0c6af20bfa5eb5a0fa0d4a62cf23524348299daebd515cccb7a4a1c18226e8c04356ea6439840613242a7 SHA512 6cdddc4275770a4f89e66355e18518f5cbf1ceeee1f27298be1fb5bb8b67676eeeb81ce7f4fbb5ad617573f574e5fd5858d363c77a0e5727d637ae7275429b03
|
||||||
DIST pyatspi-2.34.0.tar.xz 314060 BLAKE2B 1d2c390c6f110a37e9553b1f1aeba75fa0585beabddb2d6db54aa8fddc671b844e7c670c7fdf9696e3833c8f9619dc8a2ecc364019f14703647e7996033c7dd7 SHA512 61b157f067e23b7a964cf8268f556ad059982f448e436ecb25c96915ecb53918c6ab7b29bfb4e7b85e25e6038e27678fbd3d0bfb61d14a038ab5eaeee1f682b4
|
DIST pyatspi-2.34.0.tar.xz 314060 BLAKE2B 1d2c390c6f110a37e9553b1f1aeba75fa0585beabddb2d6db54aa8fddc671b844e7c670c7fdf9696e3833c8f9619dc8a2ecc364019f14703647e7996033c7dd7 SHA512 61b157f067e23b7a964cf8268f556ad059982f448e436ecb25c96915ecb53918c6ab7b29bfb4e7b85e25e6038e27678fbd3d0bfb61d14a038ab5eaeee1f682b4
|
||||||
|
@ -1,57 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
|
||||||
|
|
||||||
inherit gnome2 python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python binding to at-spi library"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
|
||||||
|
|
||||||
# Note: only some of the tests are GPL-licensed, everything else is LGPL
|
|
||||||
LICENSE="LGPL-2 GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86"
|
|
||||||
|
|
||||||
IUSE="" # test
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=dev-libs/atk-2.11.2
|
|
||||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygobject-2.90.1:3[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
>=sys-apps/dbus-1
|
|
||||||
>=app-accessibility/at-spi2-core-2.20.2[introspection]
|
|
||||||
!<gnome-extra/at-spi-1.32.0-r1
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=689957
|
|
||||||
"${FILESDIR}/${PN}-2.6.0-examples-python3.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
gnome2_src_prepare
|
|
||||||
python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
python_foreach_impl run_in_build_dir gnome2_src_configure --disable-tests
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl run_in_build_dir gnome2_src_install
|
|
||||||
|
|
||||||
docinto examples
|
|
||||||
dodoc examples/*.py
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST guile-json-0.6.0.tar.gz 99122 BLAKE2B d8b9aebae47b7ed1d89153e82eedbe7b2e0200cbe802c1ce5f43a6149a3f1df08326c1945da97a0a466a8b23fa941d52b16c07ef86c20301548bac00149e8c63 SHA512 90ab2a428669b5c2163e9b6b13e6f7fd7452e95d996f3cea44c3fd7bbf35e2d3759416e63a74b2193ba161f8022e845c0f058c3d20e89c18116660427a503d2e
|
DIST guile-json-0.6.0.tar.gz 99122 BLAKE2B d8b9aebae47b7ed1d89153e82eedbe7b2e0200cbe802c1ce5f43a6149a3f1df08326c1945da97a0a466a8b23fa941d52b16c07ef86c20301548bac00149e8c63 SHA512 90ab2a428669b5c2163e9b6b13e6f7fd7452e95d996f3cea44c3fd7bbf35e2d3759416e63a74b2193ba161f8022e845c0f058c3d20e89c18116660427a503d2e
|
||||||
|
DIST guile-json-3.2.0.tar.gz 120917 BLAKE2B 2c1e897bb4c09b32ddd04d8617372501329fbfa64f117718aacb2c3be9ee2db694ad44e577b0fb81abd8067f64de38650f76a652605bbbad1fba3c5a02bcb383 SHA512 f1670d792d742313d346cae642d524fa64aff51bfcb29a20c0a197f5b730c8accc1fb9e4d40ff01a5a6f97488d4c39eaa31c4863e663b09c01fd3544457a2b73
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="JSON module for Guile"
|
||||||
|
HOMEPAGE="https://savannah.nongnu.org/projects/guile-json/"
|
||||||
|
SRC_URI="http://download.savannah.nongnu.org/releases/guile-json/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=dev-scheme/guile-2.0.0"
|
||||||
|
DEPEND="${RDEPEND}"
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST sysprof-3.30.2.tar.xz 393420 BLAKE2B 5e86a78c231d2d2c601198e066c463d8bec95ab1ae6d0f6678e6e80305b8a6d53c604ce54d9fc2a473e4679695cef709f0e1a9514f1091719f33a58b92c896eb SHA512 70c49f7c20742aad82c8d9b1e303d06ca5fd2d27a6868872d28affea22278d381bf3eb0d181cbd1bfa490bda2878c52748ac29273e9e608452e9bf4f29fd9e2a
|
|
||||||
DIST sysprof-3.32.0.tar.xz 296052 BLAKE2B f409c64d40bd3451037e601683f270ff93ea2a60a2c104d22edc6bad5ff3f5c974f80137776b6329dae932852fa0871f2b7b9960a282147ddef5402ad840d9ef SHA512 7b9d84ac241d376a5e545082b1224e7db96af26ae0ee297d5f0b2d45abc4676e23009dbd560085e5d4879378a8dd79eefb4449df3961fbfd09238bd2056061d0
|
DIST sysprof-3.32.0.tar.xz 296052 BLAKE2B f409c64d40bd3451037e601683f270ff93ea2a60a2c104d22edc6bad5ff3f5c974f80137776b6329dae932852fa0871f2b7b9960a282147ddef5402ad840d9ef SHA512 7b9d84ac241d376a5e545082b1224e7db96af26ae0ee297d5f0b2d45abc4676e23009dbd560085e5d4879378a8dd79eefb4449df3961fbfd09238bd2056061d0
|
||||||
|
@ -1,73 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit gnome.org gnome2-utils meson systemd xdg
|
|
||||||
|
|
||||||
DESCRIPTION="System-wide Linux Profiler"
|
|
||||||
HOMEPAGE="http://sysprof.com/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="elogind gtk systemd"
|
|
||||||
REQUIRED_USE="?? ( elogind systemd )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.44:2
|
|
||||||
sys-auth/polkit
|
|
||||||
gtk? ( >=x11-libs/gtk+-3.22.0:3 )
|
|
||||||
elogind? ( >=sys-auth/elogind-239.3 )
|
|
||||||
systemd? ( >=sys-apps/systemd-222:0= )
|
|
||||||
"
|
|
||||||
# libxml2 required for glib-compile-resources; appstream-glib for appdata.xml developer_name tag translation
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-libs/appstream-glib
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
dev-util/itstool
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
>=sys-kernel/linux-headers-2.6.32
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PV}-elogind.patch )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# -Dwith_sysprofd=host currently unavailable from ebuild
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_use gtk enable_gtk)
|
|
||||||
-Dwith_sysprofd=$(usex systemd bundled $(usex elogind bundled none))
|
|
||||||
-Dsystemdunitdir=$(systemd_get_systemunitdir)
|
|
||||||
# -Ddebugdir
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
|
|
||||||
elog "On many systems, especially amd64, it is typical that with a modern"
|
|
||||||
elog "toolchain -fomit-frame-pointer for gcc is the default, because"
|
|
||||||
elog "debugging is still possible thanks to gcc4/gdb location list feature."
|
|
||||||
elog "However sysprof is not able to construct call trees if frame pointers"
|
|
||||||
elog "are not present. Therefore -fno-omit-frame-pointer CFLAGS is suggested"
|
|
||||||
elog "for the libraries and applications involved in the profiling. That"
|
|
||||||
elog "means a CPU register is used for the frame pointer instead of other"
|
|
||||||
elog "purposes, which means a very minimal performance loss when there is"
|
|
||||||
elog "register pressure."
|
|
||||||
if ! use systemd && ! use elogind; then
|
|
||||||
elog ""
|
|
||||||
elog "Without systemd or elogind, sysprof may not function when launched as a"
|
|
||||||
elog "regular user, thus suboptimal running from root account may be necessary."
|
|
||||||
if use gtk; then
|
|
||||||
elog "Under wayland, that limits the recording usage to sysprof-cli utility."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>polynomial-c@gentoo.org</email>
|
|
||||||
<name>Lars Wendler</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST dconf-editor-3.30.2.tar.xz 447060 BLAKE2B 4cd8ab7200afaa402d6915a94be12b32a58fdf11ed77d4b833e3734b94de99bf7182d3564d1e0b42935d4364b2c973c296d773de402942af8e66f4ccbe6026be SHA512 c9fe4393e9c75ad19c56670a50199493a32ed55f3135ada599aef5efb4582320a23648da1906ce1a1b64918987fd3684f00bfc749a21a6fd2806066d760418c8
|
|
||||||
DIST dconf-editor-3.34.2.tar.xz 560308 BLAKE2B 9172a4dd77765d067228c6652b004bd6811c71a83bb4191a71ef70181a5e0aa1c3bca6d655c76eb032793eb5c39364ece23337fa86d1a6e31e59391a3554933e SHA512 6c2d89d2d62a768b669ca49e0298bddf4f4151358f0fc0314431c7f926df2323ac3b61540f2a3c95c7b5a88e4e2f08dae4d00f601506c9610a0edee4b00ba499
|
DIST dconf-editor-3.34.2.tar.xz 560308 BLAKE2B 9172a4dd77765d067228c6652b004bd6811c71a83bb4191a71ef70181a5e0aa1c3bca6d655c76eb032793eb5c39364ece23337fa86d1a6e31e59391a3554933e SHA512 6c2d89d2d62a768b669ca49e0298bddf4f4151358f0fc0314431c7f926df2323ac3b61540f2a3c95c7b5a88e4e2f08dae4d00f601506c9610a0edee4b00ba499
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
VALA_MIN_API_VERSION="0.40"
|
|
||||||
VALA_MAX_API_VERSION="0.42"
|
|
||||||
|
|
||||||
inherit gnome.org gnome2-utils meson vala xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Graphical tool for editing the dconf configuration database"
|
|
||||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/dconf-editor"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~x86-linux"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=gnome-base/dconf-0.26.1
|
|
||||||
>=dev-libs/glib-2.55.1:2
|
|
||||||
>=x11-libs/gtk+-3.22.27:3
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
$(vala_depend)
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
vala_src_prepare
|
|
||||||
xdg_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST gdm-3.30.3.tar.xz 1261224 BLAKE2B 338f946a24d2a7e4b3cf34ac6accff01f8e7ce5032ee4ce79a96b1a755693e09788c6225e45de9a91ae4afea595a0562511104a467e561ec179c3ad61810468f SHA512 17aed5bf7d27b07553703873cda28a711d6135497d36e4c241bcf1ab3552b31007cc241dab394dccf8a4f1daccf7d55ba39edf91f4b22bdea5c2aa1ea17404b8
|
|
||||||
DIST gdm-3.32.0.tar.xz 1262344 BLAKE2B bbc580f788fe2ce8783f044eb8109ce0086b1bb078bafaeb6efd833689848ef6570bb0fd0e6e260a388e7c1a6d3cdccb36264a640151e9b6e5d81ca9c35f3be3 SHA512 88016d0f800030a561e0360c63fdcb8499a605126f99a5a9f89606e086d7a934afc091843b2acd9091c1c643e7468ee31ae9a5b6264ae38064618ad577ef7ac0
|
DIST gdm-3.32.0.tar.xz 1262344 BLAKE2B bbc580f788fe2ce8783f044eb8109ce0086b1bb078bafaeb6efd833689848ef6570bb0fd0e6e260a388e7c1a6d3cdccb36264a640151e9b6e5d81ca9c35f3be3 SHA512 88016d0f800030a561e0360c63fdcb8499a605126f99a5a9f89606e086d7a934afc091843b2acd9091c1c643e7468ee31ae9a5b6264ae38064618ad577ef7ac0
|
||||||
DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
|
DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
From a26ed5502622c22daa175861fa9d651a32131cf5 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
|
|
||||||
Date: Sat, 16 Feb 2019 08:47:45 +0100
|
|
||||||
Subject: [PATCH 1/2] pam-exherbo: drop legacy pam_systemd argument
|
|
||||||
|
|
||||||
kill-session-processes=1 is long gone
|
|
||||||
|
|
||||||
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
|
|
||||||
(cherry picked from commit 13e6666b1e1000d757ac5621a83105110f55e3e3)
|
|
||||||
---
|
|
||||||
data/pam-exherbo/gdm-launch-environment.pam | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/data/pam-exherbo/gdm-launch-environment.pam b/data/pam-exherbo/gdm-launch-environment.pam
|
|
||||||
index 8c13b3bc..51a8e003 100644
|
|
||||||
--- a/data/pam-exherbo/gdm-launch-environment.pam
|
|
||||||
+++ b/data/pam-exherbo/gdm-launch-environment.pam
|
|
||||||
@@ -8,7 +8,7 @@ auth required pam_permit.so
|
|
||||||
|
|
||||||
password required pam_deny.so
|
|
||||||
|
|
||||||
--session optional pam_systemd.so kill-session-processes=1
|
|
||||||
+-session optional pam_systemd.so
|
|
||||||
session optional pam_keyinit.so force revoke
|
|
||||||
session required pam_succeed_if.so audit quiet_success user = gdm
|
|
||||||
session required pam_permit.so
|
|
||||||
--
|
|
||||||
2.17.0
|
|
||||||
|
|
@ -1,247 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
GNOME2_EAUTORECONF="yes"
|
|
||||||
|
|
||||||
inherit eutils gnome2 pam readme.gentoo-r1 systemd udev user
|
|
||||||
|
|
||||||
DESCRIPTION="GNOME Display Manager for managing graphical display servers and user logins"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/GDM"
|
|
||||||
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz )
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-2+
|
|
||||||
branding? ( CC-BY-SA-4.0 )
|
|
||||||
"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="accessibility audit bluetooth-sound branding elogind fprint +introspection ipv6 plymouth selinux smartcard systemd tcpd test wayland xinerama"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="^^ ( elogind systemd )"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh x86"
|
|
||||||
|
|
||||||
# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686
|
|
||||||
# nspr used by smartcard extension
|
|
||||||
# dconf, dbus and g-s-d are needed at install time for dconf update
|
|
||||||
# We need either systemd or >=openrc-0.12 to restart gdm properly, bug #463784
|
|
||||||
COMMON_DEPEND="
|
|
||||||
app-text/iso-codes
|
|
||||||
>=dev-libs/glib-2.44:2
|
|
||||||
dev-libs/libgudev
|
|
||||||
>=x11-libs/gtk+-2.91.1:3
|
|
||||||
>=gnome-base/dconf-0.20
|
|
||||||
>=gnome-base/gnome-settings-daemon-3.1.4
|
|
||||||
gnome-base/gsettings-desktop-schemas
|
|
||||||
>=media-libs/fontconfig-2.5.0:1.0
|
|
||||||
>=media-libs/libcanberra-0.4[gtk3]
|
|
||||||
sys-apps/dbus
|
|
||||||
>=sys-apps/accountsservice-0.6.35
|
|
||||||
|
|
||||||
x11-base/xorg-server
|
|
||||||
x11-libs/libXau
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXdmcp
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libxcb
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r3
|
|
||||||
|
|
||||||
sys-libs/pam
|
|
||||||
elogind? ( >=sys-auth/elogind-239.3[pam] )
|
|
||||||
systemd? ( >=sys-apps/systemd-186:0=[pam] )
|
|
||||||
|
|
||||||
sys-auth/pambase[elogind?,systemd?]
|
|
||||||
|
|
||||||
audit? ( sys-process/audit )
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
|
|
||||||
plymouth? ( sys-boot/plymouth )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
"
|
|
||||||
# XXX: These deps are from session and desktop files in data/ directory
|
|
||||||
# fprintd is used via dbus by gdm-fingerprint-extension
|
|
||||||
# gnome-session-3.6 needed to avoid freezing with orca
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
>=gnome-base/gnome-session-3.6
|
|
||||||
>=gnome-base/gnome-shell-3.1.90
|
|
||||||
x11-apps/xhost
|
|
||||||
|
|
||||||
accessibility? (
|
|
||||||
>=app-accessibility/orca-3.10
|
|
||||||
gnome-extra/mousetweaks )
|
|
||||||
fprint? (
|
|
||||||
sys-auth/fprintd
|
|
||||||
sys-auth/pam_fprint )
|
|
||||||
|
|
||||||
!gnome-extra/fast-user-switch-applet
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.1.2
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
dev-util/glib-utils
|
|
||||||
dev-util/itstool
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
x11-base/xorg-proto
|
|
||||||
test? ( >=dev-libs/check-0.9.4 )
|
|
||||||
app-text/yelp-tools
|
|
||||||
" # yelp-tools needed for eautoreconf to not lose help docs (m4_ifdeffed YELP_HELP_INIT call and setup)
|
|
||||||
|
|
||||||
DOC_CONTENTS="
|
|
||||||
To make GDM start at boot with systemd, run:\n
|
|
||||||
# systemctl enable gdm.service\n
|
|
||||||
\n
|
|
||||||
To make GDM start at boot with OpenRC, edit /etc/conf.d to have
|
|
||||||
DISPLAYMANAGER=\"gdm\" and enable the xdm service:\n
|
|
||||||
# rc-update add xdm
|
|
||||||
\n
|
|
||||||
For passwordless login to unlock your keyring, you need to install
|
|
||||||
sys-auth/pambase with USE=gnome-keyring and set an empty password
|
|
||||||
on your keyring. Use app-crypt/seahorse for that.\n
|
|
||||||
\n
|
|
||||||
You may need to install app-crypt/coolkey and sys-auth/pam_pkcs11
|
|
||||||
for smartcard support
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup gdm
|
|
||||||
enewgroup video # Just in case it hasn't been created yet
|
|
||||||
enewuser gdm -1 -1 /var/lib/gdm gdm,video
|
|
||||||
|
|
||||||
# For compatibility with certain versions of nvidia-drivers, etc., need to
|
|
||||||
# ensure that gdm user is in the video group
|
|
||||||
if ! egetent group video | grep -q gdm; then
|
|
||||||
# FIXME XXX: is this at all portable, ldap-safe, etc.?
|
|
||||||
# XXX: egetent does not have a 1-argument form, so we can't use it to
|
|
||||||
# get the list of gdm's groups
|
|
||||||
local g=$(groups gdm)
|
|
||||||
elog "Adding user gdm to video group"
|
|
||||||
usermod -G video,${g// /,} gdm || die "Adding user gdm to video group failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# ssh-agent handling must be done at xinitrc.d, bug #220603
|
|
||||||
eapply "${FILESDIR}/${PN}-2.32.0-xinitrc-ssh-agent.patch"
|
|
||||||
|
|
||||||
# Gentoo does not have a fingerprint-auth pam stack
|
|
||||||
eapply "${FILESDIR}/${PN}-3.8.4-fingerprint-auth.patch"
|
|
||||||
|
|
||||||
# Drop legacy argument to pam_systemd.so, included in 3.32
|
|
||||||
eapply "${FILESDIR}/${PV}-pam-drop-legacy-arg.patch"
|
|
||||||
# Support pam_elogind.so in gdm-launch-environment.pam
|
|
||||||
eapply "${FILESDIR}/pam-elogind.patch"
|
|
||||||
|
|
||||||
# Wait 10 seconds for a DRM master with systemd. Workaround for gdm not waiting for CanGraphical=yes property on the seat. Bug #613222
|
|
||||||
eapply "${FILESDIR}/gdm-CanGraphical-wait.patch" # needs eautoreconf
|
|
||||||
|
|
||||||
# Show logo when branding is enabled
|
|
||||||
use branding && eapply "${FILESDIR}/${PN}-3.30.3-logo.patch"
|
|
||||||
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# PAM is the only auth scheme supported
|
|
||||||
# even though configure lists shadow and crypt
|
|
||||||
# they don't have any corresponding code.
|
|
||||||
# --with-at-spi-registryd-directory= needs to be passed explicitly because
|
|
||||||
# of https://bugzilla.gnome.org/show_bug.cgi?id=607643#c4
|
|
||||||
# Xevie is obsolete, bug #482304
|
|
||||||
|
|
||||||
# --with-initial-vt=7 conflicts with plymouth, bug #453392
|
|
||||||
# gdm-3.30 now reaps (stops) the login screen when the login VT isn't active, which
|
|
||||||
# saves on memory. However this means if we don't start on VT1, gdm doesn't start up
|
|
||||||
# before user manually goes to VT7. Thus as-is we can not keep gdm away from VT1,
|
|
||||||
# so lets try always having it in VT1 and see if that is an issue for people before
|
|
||||||
# hacking up workarounds for the initial start case.
|
|
||||||
# ! use plymouth && myconf="${myconf} --with-initial-vt=7"
|
|
||||||
local myconf=(
|
|
||||||
--enable-gdm-xsession
|
|
||||||
--enable-user-display-server
|
|
||||||
--with-run-dir=/run/gdm
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
--disable-static
|
|
||||||
--with-xdmcp=yes
|
|
||||||
--enable-authentication-scheme=pam
|
|
||||||
--with-default-pam-config=exherbo
|
|
||||||
--with-pam-mod-dir=$(getpam_mod_dir)
|
|
||||||
--with-udevdir=$(get_udevdir)
|
|
||||||
--with-at-spi-registryd-directory="${EPREFIX}"/usr/libexec
|
|
||||||
--without-xevie
|
|
||||||
$(use_enable systemd systemd-journal)
|
|
||||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
|
||||||
$(use_with audit libaudit)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_with plymouth)
|
|
||||||
$(use_with selinux)
|
|
||||||
$(use_with tcpd tcp-wrappers)
|
|
||||||
$(use_enable wayland wayland-support)
|
|
||||||
$(use_with xinerama)
|
|
||||||
)
|
|
||||||
|
|
||||||
if use elogind; then
|
|
||||||
myconf+=(
|
|
||||||
--with-initial-vt=7 # TODO: Revisit together with startDM.sh and other xinit talks; also ignores plymouth possibility
|
|
||||||
SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null`
|
|
||||||
SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null`
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
gnome2_src_configure "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
|
|
||||||
if ! use accessibility ; then
|
|
||||||
rm "${ED}"/usr/share/gdm/greeter/autostart/orca-autostart.desktop || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
exeinto /etc/X11/xinit/xinitrc.d
|
|
||||||
newexe "${FILESDIR}/49-keychain-r1" 49-keychain
|
|
||||||
newexe "${FILESDIR}/50-ssh-agent-r1" 50-ssh-agent
|
|
||||||
|
|
||||||
# gdm user's home directory
|
|
||||||
keepdir /var/lib/gdm
|
|
||||||
fowners gdm:gdm /var/lib/gdm
|
|
||||||
|
|
||||||
if ! use bluetooth-sound ; then
|
|
||||||
# Workaround https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/10
|
|
||||||
# bug #679526
|
|
||||||
insinto /var/lib/gdm/.config/pulse
|
|
||||||
doins "${FILESDIR}"/default.pa
|
|
||||||
fi
|
|
||||||
|
|
||||||
# install XDG_DATA_DIRS gdm changes
|
|
||||||
echo 'XDG_DATA_DIRS="/usr/share/gdm"' > 99xdg-gdm
|
|
||||||
doenvd 99xdg-gdm
|
|
||||||
|
|
||||||
use branding && newicon "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" gentoo-gdm.svg
|
|
||||||
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_pkg_postinst
|
|
||||||
local d ret
|
|
||||||
|
|
||||||
# bug #669146; gdm may crash if /var/lib/gdm subdirs are not owned by gdm:gdm
|
|
||||||
ret=0
|
|
||||||
ebegin "Fixing "${EROOT}"var/lib/gdm ownership"
|
|
||||||
chown --no-dereference gdm:gdm "${EROOT}var/lib/gdm" || ret=1
|
|
||||||
for d in "${EROOT}var/lib/gdm/"{.cache,.color,.config,.dbus,.local}; do
|
|
||||||
[[ ! -e "${d}" ]] || chown --no-dereference -R gdm:gdm "${d}" || ret=1
|
|
||||||
done
|
|
||||||
eend ${ret}
|
|
||||||
|
|
||||||
systemd_reenable gdm.service
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Sub-meta package for the core libraries of GNOME 3"
|
|
||||||
HOMEPAGE="https://www.gnome.org/"
|
|
||||||
LICENSE="metapackage"
|
|
||||||
SLOT="3.0"
|
|
||||||
IUSE="cups python"
|
|
||||||
|
|
||||||
# when unmasking for an arch
|
|
||||||
# double check none of the deps are still masked !
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
|
|
||||||
|
|
||||||
# Note to developers:
|
|
||||||
# This is a wrapper for the core libraries used by GNOME 3
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.58.1:2
|
|
||||||
>=x11-libs/gdk-pixbuf-2.38.0:2
|
|
||||||
>=x11-libs/pango-1.42.4
|
|
||||||
>=x11-libs/gtk+-3.24.1:3[cups?]
|
|
||||||
>=dev-libs/atk-2.30.0
|
|
||||||
>=gnome-base/librsvg-2.40.20
|
|
||||||
>=gnome-base/gnome-desktop-${PV}:3
|
|
||||||
>=x11-libs/startup-notification-0.12
|
|
||||||
|
|
||||||
>=gnome-base/gvfs-1.38.1
|
|
||||||
>=gnome-base/dconf-0.30.1
|
|
||||||
|
|
||||||
>=media-libs/gstreamer-1.14.4:1.0
|
|
||||||
>=media-libs/gst-plugins-base-1.14.4:1.0
|
|
||||||
>=media-libs/gst-plugins-good-1.14.4:1.0
|
|
||||||
|
|
||||||
python? ( >=dev-python/pygobject-3.30.1:3 )
|
|
||||||
"
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
# >=x11-libs/libwnck-3.24.1:3 - not used by core packages anymore
|
|
||||||
# librsvg kept back on non-rust version; should move on at some point for non-exotic arches.
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
@ -1,5 +1,3 @@
|
|||||||
DIST gnome-desktop-2.32.1.tar.bz2 1633847 BLAKE2B 9c69504b0f904fe04bdaa2e2fd3c6fbdd0cdd67033bae6e21377cce2deb68f05ed85bc735547c036923978ebdb8952c262676a01a33f8d7acffb0b964f97366a SHA512 b8084d08366dab661a7ee369cd03ba62beddbdfa9a36b988b7d13d207b33d6916f7fa8691717fba7b6a70d8276779e35360b1dc385e6ec876f30ea7b8b373c28
|
DIST gnome-desktop-2.32.1.tar.bz2 1633847 BLAKE2B 9c69504b0f904fe04bdaa2e2fd3c6fbdd0cdd67033bae6e21377cce2deb68f05ed85bc735547c036923978ebdb8952c262676a01a33f8d7acffb0b964f97366a SHA512 b8084d08366dab661a7ee369cd03ba62beddbdfa9a36b988b7d13d207b33d6916f7fa8691717fba7b6a70d8276779e35360b1dc385e6ec876f30ea7b8b373c28
|
||||||
DIST gnome-desktop-3.30.2.3-patchset.tar.xz 3568 BLAKE2B 20d13d7e396d7cddcfb6f761815df7ce6a2d910be5e9588eac519ade536848cfc09d1aca0e4478f97177b8ee26f8049da21542d502b427973991b47c7097bbe3 SHA512 8b9eab01e79e3d67dec51ed07a086f04df1890e638a0c1696742cf5e3b6a42dccbd514fc3cfd3610791c4905346847af83e813845ad14e0b57b790fedd0ae8e0
|
|
||||||
DIST gnome-desktop-3.30.2.3.tar.xz 1164500 BLAKE2B e78256bc3319ea9794b4666c82eb466a0c884fd43c3c776fd08aaf789905893ff93acec35a1fb6903c0049b3a169afe5b43a71ac1e93e8c63c013682c3316fa8 SHA512 36303de8fa70e65c40aeb7862156fa404b965d1724171ec5bb0a00cb1049efbfba79cdcff76278f53e4e27199f1ef9dcb574b0f465b0f4e04bb46c50d516ad0f
|
|
||||||
DIST gnome-desktop-3.32.2-patchset.tar.xz 7404 BLAKE2B ecc821d3338957d0a123d625607d727019d9500915a76ff6d10d3000e1fc1e51fc7c0382374752582aef641d005cd73d39148466b08c53dc1ce9872e73a21215 SHA512 0471f0a6d9213ea60e867bd4f381575f6a94fa0fde57cc1a360e2d4ef98c11f2f973d3d95347db8f24aacb2249ba84ffc4e35e05bb595d9d3b6debe561ed88da
|
DIST gnome-desktop-3.32.2-patchset.tar.xz 7404 BLAKE2B ecc821d3338957d0a123d625607d727019d9500915a76ff6d10d3000e1fc1e51fc7c0382374752582aef641d005cd73d39148466b08c53dc1ce9872e73a21215 SHA512 0471f0a6d9213ea60e867bd4f381575f6a94fa0fde57cc1a360e2d4ef98c11f2f973d3d95347db8f24aacb2249ba84ffc4e35e05bb595d9d3b6debe561ed88da
|
||||||
DIST gnome-desktop-3.32.2.tar.xz 709128 BLAKE2B f0335d1ad583f0b000c47826cd4b6eb24624862b22b00e9d42759ed1cfcf3dba6f091dd85504c9c8da8b9789bf78cf53d284942ba6e2d3c630db028b4a0a69c6 SHA512 7dfa5c3e4b77637cc40e6244eb8ce8cb314cf92d865b64e36c5dffa8a699e91c81bd359f0a89a725c064eafec965d2b9d119aa05f1de103cd836a4bff9119a99
|
DIST gnome-desktop-3.32.2.tar.xz 709128 BLAKE2B f0335d1ad583f0b000c47826cd4b6eb24624862b22b00e9d42759ed1cfcf3dba6f091dd85504c9c8da8b9789bf78cf53d284942ba6e2d3c630db028b4a0a69c6 SHA512 7dfa5c3e4b77637cc40e6244eb8ce8cb314cf92d865b64e36c5dffa8a699e91c81bd359f0a89a725c064eafec965d2b9d119aa05f1de103cd836a4bff9119a99
|
||||||
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
GNOME2_EAUTORECONF="yes"
|
|
||||||
inherit gnome2 virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Library with common API for various GNOME modules"
|
|
||||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/"
|
|
||||||
SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
|
|
||||||
SLOT="3/17" # subslot = libgnome-desktop-3 soname version
|
|
||||||
IUSE="debug +introspection seccomp udev"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
# cairo[X] needed for gnome-bg
|
|
||||||
COMMON_DEPEND="
|
|
||||||
app-text/iso-codes
|
|
||||||
>=dev-libs/glib-2.53.0:2
|
|
||||||
>=x11-libs/gdk-pixbuf-2.36.5:2[introspection?]
|
|
||||||
>=x11-libs/gtk+-3.3.6:3[X,introspection?]
|
|
||||||
x11-libs/cairo:=[X]
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-misc/xkeyboard-config
|
|
||||||
>=gnome-base/gsettings-desktop-schemas-3.27.0
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
|
|
||||||
seccomp? ( sys-libs/libseccomp )
|
|
||||||
udev? (
|
|
||||||
sys-apps/hwids
|
|
||||||
virtual/libudev:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!<gnome-base/gnome-desktop-2.32.1-r1:2[doc]
|
|
||||||
seccomp? ( sys-apps/bubblewrap )
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.1.2
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
>=dev-util/gtk-doc-am-1.14
|
|
||||||
dev-util/itstool
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
x11-base/xorg-proto
|
|
||||||
virtual/pkgconfig
|
|
||||||
media-libs/fontconfig
|
|
||||||
app-text/yelp-tools
|
|
||||||
sys-devel/autoconf-archive
|
|
||||||
" # yelp-tools and autoconf-archive for eautoreconf
|
|
||||||
# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xorg-proto
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${WORKDIR}"/patches/ # Requires eautoreconf. https://gitlab.gnome.org/Community/gentoo/gnome-desktop/compare/3.30.2.3...gentoo-3.30.2.3
|
|
||||||
)
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
gnome2_src_configure \
|
|
||||||
--disable-static \
|
|
||||||
--with-gnome-distributor=Gentoo \
|
|
||||||
--enable-desktop-docs \
|
|
||||||
$(usex debug --enable-debug=yes ' ') \
|
|
||||||
$(use_enable debug debug-tools) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable udev)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx emake check
|
|
||||||
}
|
|
@ -1,74 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Sub-meta package for the applications of GNOME 3"
|
|
||||||
HOMEPAGE="https://www.gnome.org/"
|
|
||||||
LICENSE="metapackage"
|
|
||||||
SLOT="3.0"
|
|
||||||
IUSE="+games share +shotwell +tracker"
|
|
||||||
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
|
|
||||||
# Note to developers:
|
|
||||||
# This is a wrapper for the extra apps integrated with GNOME 3
|
|
||||||
# Keep pkg order within a USE flag as upstream releng versions file
|
|
||||||
# TODO: Should we keep these here: gnome-dictionary, gucharmap, sound-juicer, vinagre, vino; replace gucharmap with gnome-characters?
|
|
||||||
# gnome-documents removed for now, as it didn't find a good place upstream and is getting dropped from default sets for distros for 3.30 (and for 3.26 it required newer tracker than we had at the time)
|
|
||||||
RDEPEND="
|
|
||||||
>=gnome-base/gnome-core-libs-${PV}
|
|
||||||
|
|
||||||
>=sys-apps/baobab-3.30.0
|
|
||||||
>=media-video/cheese-3.30.0
|
|
||||||
>=www-client/epiphany-${PV}
|
|
||||||
>=app-arch/file-roller-3.30.1
|
|
||||||
>=gnome-extra/gnome-calculator-3.30.1
|
|
||||||
>=gnome-extra/gnome-calendar-3.30.0
|
|
||||||
>=gnome-extra/gnome-characters-3.30.0
|
|
||||||
>=sys-apps/gnome-disk-utility-${PV}
|
|
||||||
>=media-gfx/gnome-font-viewer-3.30.0
|
|
||||||
>=media-gfx/gnome-screenshot-3.30.0
|
|
||||||
>=gnome-extra/gnome-system-monitor-3.30.0
|
|
||||||
>=gnome-extra/gnome-weather-3.26.0
|
|
||||||
>=gnome-extra/gucharmap-11.0.3:2.90
|
|
||||||
>=gnome-extra/sushi-3.30.0
|
|
||||||
>=media-sound/sound-juicer-3.24.0
|
|
||||||
>=net-misc/vino-3.22.0
|
|
||||||
|
|
||||||
>=gnome-base/dconf-editor-${PV}
|
|
||||||
>=app-dicts/gnome-dictionary-3.26.1
|
|
||||||
>=mail-client/evolution-${PV}
|
|
||||||
>=gnome-extra/gnome-tweaks-${PV}
|
|
||||||
>=gnome-extra/nautilus-sendto-3.8.6
|
|
||||||
>=net-misc/vinagre-3.22.0
|
|
||||||
|
|
||||||
games? (
|
|
||||||
>=games-puzzle/five-or-more-3.30.0
|
|
||||||
>=games-board/four-in-a-row-3.28.0
|
|
||||||
>=games-board/gnome-chess-3.30.1
|
|
||||||
>=games-puzzle/gnome-klotski-3.22.3
|
|
||||||
>=games-board/gnome-mahjongg-3.22.0
|
|
||||||
>=games-board/gnome-mines-3.30.1.1
|
|
||||||
>=games-arcade/gnome-nibbles-3.24.1
|
|
||||||
>=games-arcade/gnome-robots-3.22.3
|
|
||||||
>=games-puzzle/gnome-sudoku-3.30.0
|
|
||||||
>=games-puzzle/gnome-taquin-3.30.0
|
|
||||||
>=games-puzzle/gnome-tetravex-3.22.0
|
|
||||||
>=games-puzzle/hitori-3.22.4
|
|
||||||
>=games-board/iagno-3.30.0
|
|
||||||
>=games-puzzle/lightsoff-3.30.0
|
|
||||||
>=games-puzzle/quadrapassel-3.22.0
|
|
||||||
>=games-puzzle/swell-foop-3.30.0
|
|
||||||
>=games-board/tali-3.22.0
|
|
||||||
)
|
|
||||||
share? ( >=gnome-extra/gnome-user-share-3.28.0 )
|
|
||||||
shotwell? ( >=media-gfx/shotwell-0.30.1 )
|
|
||||||
tracker? (
|
|
||||||
>=app-misc/tracker-2.1.5
|
|
||||||
>=app-misc/tracker-miners-2.1.5
|
|
||||||
>=media-gfx/gnome-photos-3.30.1
|
|
||||||
>=media-sound/gnome-music-3.30.2 )
|
|
||||||
"
|
|
||||||
DEPEND=""
|
|
||||||
S=${WORKDIR}
|
|
@ -1,2 +1 @@
|
|||||||
DIST gnome-session-3.30.1.tar.xz 485996 BLAKE2B 6882aa9f6004dc6da5070a484d92450bd1e8f61885492edf11260d9834fcae700f113a8ddeb1d905171432400ad9e94fba99ed6eaa49f08efd2d0ec2dffd9c5a SHA512 b6bc98da0245cdefa7e462b1f4e2c9198ee0da1f15a426d377331f79aec2f637bef27b093780c77f7ffbe7eb62c6829acdbd9f9e25cac5a4f6ed0da6ab96359a
|
|
||||||
DIST gnome-session-3.32.0.tar.xz 485916 BLAKE2B f9c36fbc56adb5c18b674be31ebfc0236f4a0e125d82fb1ddf8277d599eada2b57bbb06d9e538dc3b101d942472628fe80e10f57be1cbf326ff7acc24cd445f2 SHA512 53d5f84ba8ddbac5cfe0e4e3115c76008a3571779cad62a5fe064a409a507497a9ab93a46d6ba7ee4238ac0efb2f2c1379647855ac8058a945350c88400daf34
|
DIST gnome-session-3.32.0.tar.xz 485916 BLAKE2B f9c36fbc56adb5c18b674be31ebfc0236f4a0e125d82fb1ddf8277d599eada2b57bbb06d9e538dc3b101d942472628fe80e10f57be1cbf326ff7acc24cd445f2 SHA512 53d5f84ba8ddbac5cfe0e4e3115c76008a3571779cad62a5fe064a409a507497a9ab93a46d6ba7ee4238ac0efb2f2c1379647855ac8058a945350c88400daf34
|
||||||
|
@ -1,129 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit gnome.org gnome2-utils meson xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Gnome session manager"
|
|
||||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-session"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
IUSE="consolekit doc elogind systemd"
|
|
||||||
# There is a null backend available, thus ?? not ^^
|
|
||||||
# consolekit can be enabled alone, or together with a logind provider; in latter case CK is used as fallback
|
|
||||||
REQUIRED_USE="?? ( elogind systemd )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=dev-libs/glib-2.46.0:2
|
|
||||||
>=x11-libs/gtk+-3.18.0:3
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
>=gnome-base/gnome-desktop-3.18:3=
|
|
||||||
>=dev-libs/json-glib-0.10
|
|
||||||
media-libs/mesa[egl,gles2,X(+)]
|
|
||||||
media-libs/libepoxy
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
|
|
||||||
systemd? ( >=sys-apps/systemd-183:0= )
|
|
||||||
elogind? ( >=sys-auth/elogind-239.4 )
|
|
||||||
consolekit? ( >=dev-libs/dbus-glib-0.76 )
|
|
||||||
"
|
|
||||||
|
|
||||||
# Pure-runtime deps from the session files should *NOT* be added here
|
|
||||||
# Otherwise, things like gdm pull in gnome-shell.
|
|
||||||
# gnome-settings-daemon is assumed to be >=3.27.90, but this is about
|
|
||||||
# removed components, so no need to strictly require it (older just
|
|
||||||
# won't have those daemons loaded by gnome-session).
|
|
||||||
# x11-misc/xdg-user-dirs{,-gtk} are needed to create the various XDG_*_DIRs, and
|
|
||||||
# create .config/user-dirs.dirs which is read by glib to get G_USER_DIRECTORY_*
|
|
||||||
# xdg-user-dirs-update is run during login (see 10-user-dirs-update-gnome below).
|
|
||||||
# sys-apps/dbus[X] is needed for session management.
|
|
||||||
# Our 90-xcursor-theme-gnome reads a setting from gsettings-desktop-schemas.
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
>=gnome-base/gnome-settings-daemon-3.23.2
|
|
||||||
>=gnome-base/gsettings-desktop-schemas-0.1.7
|
|
||||||
sys-apps/dbus[X]
|
|
||||||
consolekit? ( sys-auth/consolekit )
|
|
||||||
|
|
||||||
x11-misc/xdg-user-dirs
|
|
||||||
x11-misc/xdg-user-dirs-gtk
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
x11-libs/xtrans
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( app-text/xmlto
|
|
||||||
app-text/docbook-xml-dtd:4.1.2 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PV}-elogind-support.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
# Install USE=doc in $PF if enabled
|
|
||||||
sed -i -e "s:meson\.project_name(), 'dbus':'${PF}', 'dbus':" doc/dbus/meson.build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
-Ddeprecation_flags=false
|
|
||||||
$(meson_use elogind)
|
|
||||||
-Dsession_selector=true # gnome-custom-session
|
|
||||||
$(meson_use systemd)
|
|
||||||
$(meson_use systemd systemd_journal)
|
|
||||||
$(meson_use consolekit)
|
|
||||||
$(meson_use doc docbook)
|
|
||||||
-Dman=true
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
meson_src_install
|
|
||||||
|
|
||||||
dodir /etc/X11/Sessions
|
|
||||||
exeinto /etc/X11/Sessions
|
|
||||||
doexe "${FILESDIR}/Gnome"
|
|
||||||
|
|
||||||
insinto /usr/share/applications
|
|
||||||
newins "${FILESDIR}/defaults.list-r4" gnome-mimeapps.list
|
|
||||||
|
|
||||||
dodir /etc/X11/xinit/xinitrc.d/
|
|
||||||
exeinto /etc/X11/xinit/xinitrc.d/
|
|
||||||
newexe "${FILESDIR}/15-xdg-data-gnome-r1" 15-xdg-data-gnome
|
|
||||||
|
|
||||||
# This should be done here as discussed in bug #270852
|
|
||||||
newexe "${FILESDIR}/10-user-dirs-update-gnome-r1" 10-user-dirs-update-gnome
|
|
||||||
|
|
||||||
# Set XCURSOR_THEME from current dconf setting instead of installing
|
|
||||||
# default cursor symlink globally and affecting other DEs (bug #543488)
|
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=711703
|
|
||||||
newexe "${FILESDIR}/90-xcursor-theme-gnome" 90-xcursor-theme-gnome
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
|
|
||||||
if ! has_version gnome-base/gdm && ! has_version x11-misc/sddm; then
|
|
||||||
ewarn "If you use a custom .xinitrc for your X session,"
|
|
||||||
ewarn "make sure that the commands in the xinitrc.d scripts are run."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use systemd && ! use elogind && ! use consolekit; then
|
|
||||||
ewarn "You are building without systemd, elogind and/or consolekit support."
|
|
||||||
ewarn "gnome-session won't be able to correctly track and manage your session."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
@ -1,4 +1,2 @@
|
|||||||
DIST gnome-settings-daemon-3.30.2-patchset.tar.xz 20132 BLAKE2B b8f2573e806ee5aedcc1476de3550cdc39933c869d64c9d13e463cdf27fa7695e69e57612738fa5438988eda78ae998808508c94fbf841ec037eb1f103921458 SHA512 7318029f4145379b05f7a95686917b4ea7623fd0059559930072350db12170d6083d75c170578516bcede5282da677013086c343abe779b9d1696bd882b7e34d
|
|
||||||
DIST gnome-settings-daemon-3.30.2.tar.xz 1376776 BLAKE2B a7cf276c5a802b7d9a6f738048b5bc34d97f79723c6f4cfb4f29ac3ed0f43e307cbdd6793e8d8115f51981ee576737d75c58531dcd5d0779d9f3670b68523a60 SHA512 517cb6bab3da10d5d47ab9c9690da3fa23e64d023d01b7cc101441f6b65639f3b6c8d0a0d19da80b22924b3dbe6430b2573fb861060f02fda248b24f00be5d84
|
|
||||||
DIST gnome-settings-daemon-3.32.1-patchset.tar.xz 9840 BLAKE2B 0b0249b6335fc64c111cfd4c221b408460105bd544527ca29a32b2ceb82d39c1ca8c9813916cde9afdac1cf146c1286ed937dadb07eb0263b5ab3ada2a95e0aa SHA512 175f4d0200b88b696b73fc7e7b10065b3e6f046e48955408cc438499fdc6464483420b4801dbb77b5ae819cb52a131e2594a628b9731eaa167b802b5b2cbe855
|
DIST gnome-settings-daemon-3.32.1-patchset.tar.xz 9840 BLAKE2B 0b0249b6335fc64c111cfd4c221b408460105bd544527ca29a32b2ceb82d39c1ca8c9813916cde9afdac1cf146c1286ed937dadb07eb0263b5ab3ada2a95e0aa SHA512 175f4d0200b88b696b73fc7e7b10065b3e6f046e48955408cc438499fdc6464483420b4801dbb77b5ae819cb52a131e2594a628b9731eaa167b802b5b2cbe855
|
||||||
DIST gnome-settings-daemon-3.32.1.tar.xz 1372968 BLAKE2B ba0596d9f2019f2ecff32b70c03d962dd7966c282d1fb0ea94c38fc895b7ef788d9dd179a037b74a319ca520811e985465578a725bf14d1eff92846f188445ea SHA512 8d6aca1041cbd50d7dda67dc711269a51c4a5148d55dc63969f47c21bf309126f5d5cb13c1e6fa9e6498fbb30dc70fa7a049fead7d32c6a20d550da0ce8828c3
|
DIST gnome-settings-daemon-3.32.1.tar.xz 1372968 BLAKE2B ba0596d9f2019f2ecff32b70c03d962dd7966c282d1fb0ea94c38fc895b7ef788d9dd179a037b74a319ca520811e985465578a725bf14d1eff92846f188445ea SHA512 8d6aca1041cbd50d7dda67dc711269a51c4a5148d55dc63969f47c21bf309126f5d5cb13c1e6fa9e6498fbb30dc70fa7a049fead7d32c6a20d550da0ce8828c3
|
||||||
|
@ -1,137 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python{3_5,3_6,3_7} )
|
|
||||||
|
|
||||||
inherit gnome.org gnome2-utils python-any-r1 meson udev virtualx xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Gnome Settings Daemon"
|
|
||||||
HOMEPAGE="https://git.gnome.org/browse/gnome-settings-daemon"
|
|
||||||
SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ LGPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+colord +cups debug elogind input_devices_wacom networkmanager smartcard systemd test +udev wayland"
|
|
||||||
REQUIRED_USE="
|
|
||||||
^^ ( elogind systemd )
|
|
||||||
input_devices_wacom? ( udev )
|
|
||||||
wayland? ( udev )
|
|
||||||
"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
|
|
||||||
# >=polkit-0.114 for ITS translation rules of .policy files
|
|
||||||
COMMON_DEPEND="
|
|
||||||
>=sci-geosciences/geocode-glib-3.10
|
|
||||||
>=dev-libs/glib-2.53.0:2
|
|
||||||
>=gnome-base/gnome-desktop-3.11.1:3=
|
|
||||||
>=gnome-base/gsettings-desktop-schemas-3.27.90
|
|
||||||
>=x11-libs/gtk+-3.15.3:3[X,wayland?]
|
|
||||||
>=dev-libs/libgweather-3.9.5:2=
|
|
||||||
colord? (
|
|
||||||
>=x11-misc/colord-1.0.2:=
|
|
||||||
>=media-libs/lcms-2.2:2 )
|
|
||||||
media-libs/libcanberra[gtk3]
|
|
||||||
>=app-misc/geoclue-2.3.1:2.0
|
|
||||||
>=x11-libs/libnotify-0.7.3
|
|
||||||
>=media-sound/pulseaudio-2[glib]
|
|
||||||
>=sys-auth/polkit-0.114
|
|
||||||
>=sys-power/upower-0.99:=
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXtst
|
|
||||||
udev? ( dev-libs/libgudev:= )
|
|
||||||
wayland? ( dev-libs/wayland )
|
|
||||||
input_devices_wacom? ( >=dev-libs/libwacom-0.7
|
|
||||||
>=x11-libs/pango-1.20.0
|
|
||||||
x11-libs/gdk-pixbuf:2 )
|
|
||||||
smartcard? ( >=dev-libs/nss-3.11.2 )
|
|
||||||
cups? ( >=net-print/cups-1.4[dbus] )
|
|
||||||
networkmanager? ( >=net-misc/networkmanager-1.0 )
|
|
||||||
media-libs/alsa-lib
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXext
|
|
||||||
media-libs/fontconfig
|
|
||||||
"
|
|
||||||
# logind needed for power and session management, bug #464944
|
|
||||||
# gnome-session-3.27.90 and gdm-3.27.9 adapt to A11yKeyboard component removal (moved to shell dealing with it)
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
gnome-base/dconf
|
|
||||||
elogind? ( sys-auth/elogind )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
!<gnome-base/gnome-session-3.27.90
|
|
||||||
!<gnome-base/gdm-3.27.90
|
|
||||||
"
|
|
||||||
# rfkill requires linux/rfkill.h, thus linux-headers dep, not os-headers. If this package wants to work on other kernels, we need to make rfkill conditional instead
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
sys-kernel/linux-headers
|
|
||||||
dev-util/glib-utils
|
|
||||||
dev-util/gdbus-codegen
|
|
||||||
x11-base/xorg-proto
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
test? (
|
|
||||||
$(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
|
|
||||||
$(python_gen_any_dep 'dev-python/dbusmock[${PYTHON_USEDEP}]')
|
|
||||||
gnome-base/gnome-session )
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
# Tests go a bit better in 3.26, but still fail some for me; revisit with 3.30+ (incompatible build system python needs until then as well)
|
|
||||||
#RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Translation updates from gnome-3-30 branch
|
|
||||||
# Allow disabling udev and networkmanager on Linux
|
|
||||||
# Make colord and wacom optional
|
|
||||||
"${WORKDIR}"/patches/
|
|
||||||
)
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
if use test; then
|
|
||||||
has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" &&
|
|
||||||
has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
#-Dnssdb_dir # TODO: Is the default /etc/pki/nssdb path correct for our nss?
|
|
||||||
-Dudev_dir="$(get_udevdir)"
|
|
||||||
-Dalsa=true
|
|
||||||
$(meson_use udev gudev)
|
|
||||||
$(meson_use colord)
|
|
||||||
$(meson_use cups)
|
|
||||||
$(meson_use networkmanager network_manager)
|
|
||||||
-Drfkill=true
|
|
||||||
$(meson_use smartcard)
|
|
||||||
$(meson_use input_devices_wacom wacom)
|
|
||||||
$(meson_use wayland)
|
|
||||||
-Dexperimental_suspend_then_hibernate=false
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
meson_src_install
|
|
||||||
# Don't auto-suspend by default on AC power
|
|
||||||
insinto /usr/share/glib-2.0/schemas
|
|
||||||
doins "${FILESDIR}"/org.gnome.settings-daemon.plugins.power.gschema.override
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx meson_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
@ -1,6 +1,4 @@
|
|||||||
DIST gnome-shell-3.26.2-patchset.tar.xz 55492 BLAKE2B 745b8549f7480b004f4df9b81508c94c9224f77a5a503f45dfda20105e9c305f8cae6ae5e420e597cea9f98899933bb19efd8cf0e9811dc35d0844a3c2920143 SHA512 93a730082e84807c23f4b7e390c2d0fb02d3666fc32241de02b3534cc271b160bd9a6a6a2e908ed5bdde91cef383c1e400b0f7cbf04ac104f7f9758218e635ed
|
DIST gnome-shell-3.26.2-patchset.tar.xz 55492 BLAKE2B 745b8549f7480b004f4df9b81508c94c9224f77a5a503f45dfda20105e9c305f8cae6ae5e420e597cea9f98899933bb19efd8cf0e9811dc35d0844a3c2920143 SHA512 93a730082e84807c23f4b7e390c2d0fb02d3666fc32241de02b3534cc271b160bd9a6a6a2e908ed5bdde91cef383c1e400b0f7cbf04ac104f7f9758218e635ed
|
||||||
DIST gnome-shell-3.26.2.tar.xz 1405580 BLAKE2B ccbb8ad374931335fdc6e752a7feedcba4fe2b61112404b62bc9711b1736216d46fd6e85c6f06439cae50af86a174359d7df0e111e8db6ffed567e91b4292b14 SHA512 0e13bc7abff2367d24ea748cd69a1879ff14a6755ef27d17cf20cef61bc6d15bf6e9d18362142a2d6462689f64eada833f9bba21ebaac3a33765a5be0ae48d3a
|
DIST gnome-shell-3.26.2.tar.xz 1405580 BLAKE2B ccbb8ad374931335fdc6e752a7feedcba4fe2b61112404b62bc9711b1736216d46fd6e85c6f06439cae50af86a174359d7df0e111e8db6ffed567e91b4292b14 SHA512 0e13bc7abff2367d24ea748cd69a1879ff14a6755ef27d17cf20cef61bc6d15bf6e9d18362142a2d6462689f64eada833f9bba21ebaac3a33765a5be0ae48d3a
|
||||||
DIST gnome-shell-3.30.2-r2-patchset.tar.xz 41852 BLAKE2B f854a42b0ba0be8019487edfc1a0e73d11d406537ffe288d1a5d81e9a512b8fb02e6af466fbe4d0d0e8644aa6f57cad1d381b5e873223749c88d1dccdae72b9e SHA512 c0c935206048c961e70f319b67133dcf0f5253c2283aefd6283db910950f8cd645888f6a6b7bbbfc620a023e0b5ae85394e5f5ce0fb2ff120b18ab7640f9859e
|
|
||||||
DIST gnome-shell-3.30.2.tar.xz 1439556 BLAKE2B 547ccf5571ea431d15c6430619640bd497a381191cad56bbf1a5c9992c5df47eb48527cc2749ea4d417cbe5fd7cc2acb44915ee35d3d89cd386541f19d743877 SHA512 5cdf2b9a4dc9dbcc75d76020a01b953ae3922d5820b692d1bc1cf62daf1f00d04b95d6ec076920563f555115c4f4ad11a019e4523a353ef4dd2189a5240239c6
|
|
||||||
DIST gnome-shell-3.32.2-patchset.tar.xz 23540 BLAKE2B 363989a630faa7538ccbf9765a1ccc5995fb4584b00a603ef11e48fee970a6d9791ed1fa92e2344e56cd8c282c9a22779cb8e50e7ec6637e0efda1ccc36579a4 SHA512 e854ba9fd864101009528d94cb310be10495db225380c353b76cd61b082a88f1f89035a0708cd386d1738001cf9949b4a8b8b8d7b1d2675068e01fecb35738c7
|
DIST gnome-shell-3.32.2-patchset.tar.xz 23540 BLAKE2B 363989a630faa7538ccbf9765a1ccc5995fb4584b00a603ef11e48fee970a6d9791ed1fa92e2344e56cd8c282c9a22779cb8e50e7ec6637e0efda1ccc36579a4 SHA512 e854ba9fd864101009528d94cb310be10495db225380c353b76cd61b082a88f1f89035a0708cd386d1738001cf9949b4a8b8b8d7b1d2675068e01fecb35738c7
|
||||||
DIST gnome-shell-3.32.2.tar.xz 1454372 BLAKE2B 9da7e17d4e47e187fa2285c6cf942cc8dc955e388179d2ad1fe8036c2908e217fc47d8b1515fc3cf6973e2083de8c350b55912782b9adbcf1b6cc37c7a3a9ae2 SHA512 7d8b25aa75149f096033a8b44d7f6f8d17ddadfcd8f5bb1915652423fe9d9db14902e674508f16fe5c6e7cbe956cde8349ec779c24c46f32b0a346755876bc46
|
DIST gnome-shell-3.32.2.tar.xz 1454372 BLAKE2B 9da7e17d4e47e187fa2285c6cf942cc8dc955e388179d2ad1fe8036c2908e217fc47d8b1515fc3cf6973e2083de8c350b55912782b9adbcf1b6cc37c7a3a9ae2 SHA512 7d8b25aa75149f096033a8b44d7f6f8d17ddadfcd8f5bb1915652423fe9d9db14902e674508f16fe5c6e7cbe956cde8349ec779c24c46f32b0a346755876bc46
|
||||||
|
@ -1,188 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
|
||||||
|
|
||||||
inherit gnome.org gnome2-utils meson pax-utils python-single-r1 virtualx xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
|
|
||||||
SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${PF}-patchset.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ LGPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager nsplugin systemd telepathy"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
|
||||||
?? ( elogind systemd )"
|
|
||||||
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
|
|
||||||
|
|
||||||
# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h>
|
|
||||||
# FIXME:
|
|
||||||
# * gstreamer support is currently automagic
|
|
||||||
DEPEND="
|
|
||||||
>=dev-libs/libcroco-0.6.8:0.6
|
|
||||||
>=gnome-extra/evolution-data-server-3.17.2:=
|
|
||||||
>=app-crypt/gcr-3.7.5[introspection]
|
|
||||||
>=gnome-base/gnome-desktop-3.7.90:3=[introspection]
|
|
||||||
>=dev-libs/glib-2.57.2:2
|
|
||||||
>=dev-libs/gobject-introspection-1.49.1:=
|
|
||||||
>=dev-libs/gjs-1.54.0
|
|
||||||
>=x11-libs/gtk+-3.15.0:3[introspection]
|
|
||||||
nsplugin? ( >=dev-libs/json-glib-0.13.2 )
|
|
||||||
>=x11-wm/mutter-3.30.1:0/3[introspection]
|
|
||||||
>=sys-auth/polkit-0.100[introspection]
|
|
||||||
>=gnome-base/gsettings-desktop-schemas-3.27.90
|
|
||||||
>=x11-libs/startup-notification-0.11
|
|
||||||
>=app-i18n/ibus-1.5.2
|
|
||||||
bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
|
|
||||||
>=media-libs/gstreamer-0.11.92:1.0
|
|
||||||
networkmanager? (
|
|
||||||
>=net-misc/networkmanager-1.10.4:=[introspection]
|
|
||||||
>=app-crypt/libsecret-0.18
|
|
||||||
dev-libs/dbus-glib )
|
|
||||||
systemd? ( >=sys-apps/systemd-31 )
|
|
||||||
elogind? ( >=sys-auth/elogind-237 )
|
|
||||||
|
|
||||||
>=app-accessibility/at-spi2-atk-2.5.3
|
|
||||||
media-libs/libcanberra[gtk3]
|
|
||||||
x11-libs/gdk-pixbuf:2[introspection]
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
x11-libs/libX11
|
|
||||||
|
|
||||||
>=media-sound/pulseaudio-2[glib]
|
|
||||||
>=dev-libs/atk-2[introspection]
|
|
||||||
dev-libs/libical:=
|
|
||||||
>=x11-libs/libXfixes-5.0
|
|
||||||
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
||||||
media-libs/mesa[X(+)]
|
|
||||||
"
|
|
||||||
# Runtime-only deps are probably incomplete and approximate.
|
|
||||||
# Introspection deps generated using:
|
|
||||||
# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
|
|
||||||
# Each block:
|
|
||||||
# 1. Introspection stuff needed via imports.gi.*
|
|
||||||
# 2. gnome-session needed for shutdown/reboot/inhibitors/etc
|
|
||||||
# 3. Control shell settings
|
|
||||||
# 4. logind interface needed for suspending support
|
|
||||||
# 5. xdg-utils needed for xdg-open, used by extension tool
|
|
||||||
# 6. adwaita-icon-theme needed for various icons & arrows (3.26 for new video-joined-displays-symbolic and co icons; review for 3.28+)
|
|
||||||
# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c # TODO: Review
|
|
||||||
# 8. IBus is needed for nls integration
|
|
||||||
# 9. Optional telepathy chat integration
|
|
||||||
# 10. Cantarell font used in gnome-shell global CSS (if removing this for some reason, make sure it's pulled in somehow for non-meta users still too)
|
|
||||||
# 11. TODO: semi-optional webkit-gtk[introspection] for captive portal helper
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=sys-apps/accountsservice-0.6.14[introspection]
|
|
||||||
app-accessibility/at-spi2-core:2[introspection]
|
|
||||||
app-misc/geoclue[introspection]
|
|
||||||
>=dev-libs/libgweather-3.26:2[introspection]
|
|
||||||
>=sys-power/upower-0.99:=[introspection]
|
|
||||||
x11-libs/pango[introspection]
|
|
||||||
gnome-base/librsvg:2[introspection]
|
|
||||||
|
|
||||||
>=gnome-base/gnome-session-2.91.91
|
|
||||||
>=gnome-base/gnome-settings-daemon-3.8.3
|
|
||||||
|
|
||||||
x11-misc/xdg-utils
|
|
||||||
|
|
||||||
>=x11-themes/adwaita-icon-theme-3.26
|
|
||||||
|
|
||||||
networkmanager? (
|
|
||||||
net-misc/mobile-broadband-provider-info
|
|
||||||
sys-libs/timezone-data )
|
|
||||||
ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] )
|
|
||||||
telepathy? (
|
|
||||||
>=net-im/telepathy-logger-0.2.4[introspection]
|
|
||||||
>=net-libs/telepathy-glib-0.19[introspection] )
|
|
||||||
media-fonts/cantarell
|
|
||||||
"
|
|
||||||
# avoid circular dependency, see bug #546134
|
|
||||||
PDEPEND="
|
|
||||||
>=gnome-base/gdm-3.5[introspection]
|
|
||||||
>=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?]
|
|
||||||
browser-extension? ( gnome-extra/chrome-gnome-shell )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-lang/sassc
|
|
||||||
dev-libs/libxslt
|
|
||||||
>=dev-util/gdbus-codegen-2.45.3
|
|
||||||
dev-util/glib-utils
|
|
||||||
gtk-doc? ( >=dev-util/gtk-doc-1.17 )
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Patches from gnome-3-30 branch on top of 3.30.2
|
|
||||||
# Fix automagic gnome-bluetooth dep, bug #398145
|
|
||||||
"${WORKDIR}"/patches/
|
|
||||||
# Change favorites defaults, bug #479918
|
|
||||||
"${FILESDIR}"/3.28.3-defaults.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
xdg_src_prepare
|
|
||||||
# We want nsplugins in /usr/$(get_libdir)/nsbrowser/plugins not .../mozilla/plugins
|
|
||||||
sed -e 's/mozilla/nsbrowser/' -i meson.build || die
|
|
||||||
# Hack in correct python shebang
|
|
||||||
sed -e "s:python\.path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local emesonargs=(
|
|
||||||
$(meson_use bluetooth)
|
|
||||||
$(meson_use nsplugin browser_plugin)
|
|
||||||
$(meson_use gtk-doc gtk_doc)
|
|
||||||
-Dman=true
|
|
||||||
$(meson_use networkmanager)
|
|
||||||
$(meson_use systemd) # this controls journald integration only as of 3.26.2 (structured logging and having gnome-shell launched apps use its own identifier instead of gnome-session)
|
|
||||||
# suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary
|
|
||||||
)
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
meson_src_install
|
|
||||||
|
|
||||||
# Required for gnome-shell on hardened/PaX, bug #398941; FIXME: Is this still relevant?
|
|
||||||
pax-mark m "${ED}/usr/bin/gnome-shell"{,-extension-prefs}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
virtx meson_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_pkg_postinst
|
|
||||||
gnome2_schemas_update
|
|
||||||
|
|
||||||
if ! has_version 'media-libs/gst-plugins-good:1.0' || \
|
|
||||||
! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
|
|
||||||
ewarn "To make use of GNOME Shell's built-in screen recording utility,"
|
|
||||||
ewarn "you need to either install media-libs/gst-plugins-good:1.0"
|
|
||||||
ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
|
|
||||||
ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! has_version "media-libs/mesa[llvm]"; then
|
|
||||||
elog "llvmpipe is used as fallback when no 3D acceleration"
|
|
||||||
elog "is available. You will need to enable llvm USE for"
|
|
||||||
elog "media-libs/mesa if you do not have hardware 3D setup."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://bugs.gentoo.org/show_bug.cgi?id=563084
|
|
||||||
# TODO: Is this still the case after various fixed in 3.28 for detecting non-working KMS for wayland (to fall back to X)?
|
|
||||||
if has_version "x11-drivers/nvidia-drivers[-kms]"; then
|
|
||||||
ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
|
|
||||||
ewarn "otherwise Gnome will fail to start"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_pkg_postrm
|
|
||||||
gnome2_schemas_update
|
|
||||||
}
|
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DESCRIPTION="Meta package for GNOME 3, merge this package to install"
|
|
||||||
HOMEPAGE="https://www.gnome.org/"
|
|
||||||
|
|
||||||
LICENSE="metapackage"
|
|
||||||
SLOT="2.0" # Cannot be installed at the same time as gnome-2
|
|
||||||
|
|
||||||
# when unmasking for an arch
|
|
||||||
# double check none of the deps are still masked !
|
|
||||||
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
|
|
||||||
|
|
||||||
IUSE="accessibility +bluetooth +classic cups +extras"
|
|
||||||
|
|
||||||
S=${WORKDIR}
|
|
||||||
|
|
||||||
# TODO: check accessibility completeness
|
|
||||||
RDEPEND="
|
|
||||||
>=gnome-base/gnome-core-libs-${PV}[cups?]
|
|
||||||
>=gnome-base/gnome-core-apps-${PV}[cups?,bluetooth?]
|
|
||||||
|
|
||||||
>=gnome-base/gdm-3.30.1
|
|
||||||
|
|
||||||
>=x11-wm/mutter-${PV}
|
|
||||||
>=gnome-base/gnome-shell-${PV}[bluetooth?]
|
|
||||||
>=media-fonts/cantarell-0.111
|
|
||||||
|
|
||||||
>=x11-themes/gnome-backgrounds-3.30.0
|
|
||||||
x11-themes/sound-theme-freedesktop
|
|
||||||
|
|
||||||
accessibility? (
|
|
||||||
>=app-accessibility/at-spi2-atk-2.30.0
|
|
||||||
>=app-accessibility/at-spi2-core-2.30.0
|
|
||||||
>=app-accessibility/orca-3.30.1
|
|
||||||
>=gnome-extra/mousetweaks-3.12.0 )
|
|
||||||
classic? ( >=gnome-extra/gnome-shell-extensions-3.30.1 )
|
|
||||||
extras? ( >=gnome-base/gnome-extra-apps-${PV} )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
PDEPEND=">=gnome-base/gvfs-1.38.1[udisks]"
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# Remember people where to find our project information
|
|
||||||
elog "Please remember to look at https://wiki.gentoo.org/wiki/Project:GNOME"
|
|
||||||
elog "for information about the project and documentation."
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST nautilus-3.30.5.tar.xz 3254344 BLAKE2B 64da158ee661fc259a14f890bf6ad343f720245df6b9475ff047993570ea4e7234723eb242f057bc85b7ea95d38a99b5c2f5d546e982a3e3e32b7fc75cabb786 SHA512 e38a8bb380460d902e4ec6219d0e147a4245e790b18fb18ab9474ec2ae002a971243c6b09b8fec267e65c7ecc7bb1217191c4f5cb9547b3b9d5b0793068103cf
|
|
||||||
DIST nautilus-3.32.3.tar.xz 3197820 BLAKE2B 28140210a855fe62faba4f0833067a81c4d8f71c0cc870ba4fdcc016754b01df003e45f636836f67cced8515aba8c8fb7922de788a14bfe0f0cc4518010aed5f SHA512 f19710f02bd91edb2d2f6cb8f46be6bebea3edfed14a07612444d5990533bafd032b604d65533727eb377b574d6bd4c82dbe11894d85ad254ee1473b683c4392
|
DIST nautilus-3.32.3.tar.xz 3197820 BLAKE2B 28140210a855fe62faba4f0833067a81c4d8f71c0cc870ba4fdcc016754b01df003e45f636836f67cced8515aba8c8fb7922de788a14bfe0f0cc4518010aed5f SHA512 f19710f02bd91edb2d2f6cb8f46be6bebea3edfed14a07612444d5990533bafd032b604d65533727eb377b574d6bd4c82dbe11894d85ad254ee1473b683c4392
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
From 83949ed5800ec99953f5ee8d2bf8b90a69daa850 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
|
||||||
Date: Sat, 13 Apr 2019 13:57:36 -0500
|
|
||||||
Subject: [PATCH] thumbnailer: fix incomplete TIOCSTI filtering
|
|
||||||
|
|
||||||
Fixes #112
|
|
||||||
|
|
||||||
See also: https://github.com/flatpak/flatpak/issues/2782
|
|
||||||
---
|
|
||||||
libgnome-desktop/gnome-desktop-thumbnail-script.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
leio: Adjusted to apply to nautilus copy
|
|
||||||
|
|
||||||
diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c b/libgnome-desktop/gnome-desktop-thumbnail-script.c
|
|
||||||
index 9468b51c..3b3d1ea9 100644
|
|
||||||
--- a/src/gnome-desktop/gnome-desktop-thumbnail-script.c
|
|
||||||
+++ b/src/gnome-desktop/gnome-desktop-thumbnail-script.c
|
|
||||||
@@ -343,7 +343,7 @@ setup_seccomp (GPtrArray *argv_array,
|
|
||||||
{SCMP_SYS (clone), &SCMP_A0 (SCMP_CMP_MASKED_EQ, CLONE_NEWUSER, CLONE_NEWUSER)},
|
|
||||||
|
|
||||||
/* Don't allow faking input to the controlling tty (CVE-2017-5226) */
|
|
||||||
- {SCMP_SYS (ioctl), &SCMP_A1(SCMP_CMP_EQ, (int)TIOCSTI)},
|
|
||||||
+ {SCMP_SYS (ioctl), &SCMP_A1(SCMP_CMP_MASKED_EQ, 0xFFFFFFFFu, (int)TIOCSTI)},
|
|
||||||
};
|
|
||||||
|
|
||||||
struct
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
From 3b0fd7dd26fa5af0b310650b2974d800ace80802 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mart Raudsepp <leio@gentoo.org>
|
|
||||||
Date: Fri, 15 Feb 2019 21:34:34 +0200
|
|
||||||
Subject: [PATCH 2/2] meson.build: Add 32-bit sparc to seccomp unsupported list
|
|
||||||
|
|
||||||
32-bit sparc doesn't support seccomp either.
|
|
||||||
|
|
||||||
(cherry picked from commit 44b49e6ca02add9592abac03a8578b9eea1a5088)
|
|
||||||
---
|
|
||||||
meson.build | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/meson.build b/meson.build
|
|
||||||
index 50479f5f0..91915b31a 100644
|
|
||||||
--- a/meson.build
|
|
||||||
+++ b/meson.build
|
|
||||||
@@ -72,6 +72,7 @@ unsupported_cpus = [
|
|
||||||
'parisc',
|
|
||||||
'parisc64',
|
|
||||||
'sh4',
|
|
||||||
+ 'sparc',
|
|
||||||
'sparc64',
|
|
||||||
]
|
|
||||||
system_supports_seccomp = host_system == 'linux'
|
|
||||||
--
|
|
||||||
2.17.0
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue