commit: 12a5d0c0507af6f8849658c9a4c036963b28d798 Author: stefson <herrtimson <AT> yahoo <DOT> de> AuthorDate: Sun Sep 3 14:41:10 2017 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Sun Sep 3 20:54:09 2017 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=12a5d0c0
net-p2p/transmission: in tree version works Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> net-p2p/transmission/Manifest | 8 - .../transmission-2.80-translations-path-fix.patch | 17 --- .../transmission-2.84-musl-missing-header.patch | 28 ---- .../transmission/files/transmission-daemon.confd.4 | 14 -- .../transmission/files/transmission-daemon.initd.9 | 73 ---------- net-p2p/transmission/metadata.xml | 16 -- net-p2p/transmission/transmission-2.84-r89.ebuild | 153 ------------------- net-p2p/transmission/transmission-2.84-r99.ebuild | 162 --------------------- 8 files changed, 471 deletions(-) diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest deleted file mode 100644 index 2533112..0000000 --- a/net-p2p/transmission/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX transmission-2.80-translations-path-fix.patch 718 SHA256 94951127429649d18af5d9f04f9a4c1f2c698266fc6ee17b43d83015e2218548 SHA512 e317b23918fd47d27af3bca4694f8a71d6adb5f65ac5f3b30faa2d636d4420e6a691eca912c7be70103364f7c279f1b4ec851a5d8c5a1ca3dee880b465327fda WHIRLPOOL fbbabafb81d7e72fbf01a1b64d1c4a6e5473c254b14ed94e71e77ea8447982af3200ce76466df99d6cf9648c35f4e58dff83fe2cfd1b67b678c4b69a42982541 -AUX transmission-2.84-musl-missing-header.patch 1196 SHA256 a95f806242c02a4e41c2b4b0a08e031e552182c388faa821030bee595437b14c SHA512 e1687ef2f38ce34053af37dbccdd8c33e6833ead1afb4a77ba2a913da1a41cf1643cce40d9199681d91e42ab8c886a55cf06852ccd6dd64914138c65d995a5de WHIRLPOOL 9f7bb07eb332b3b755d6e47ab2e1641c95324f556b63aabc952a77928bd48464fa66b6a048905db6c3f3da626dd4e7f0cd11956de9e1753668453ca89c777e6b -AUX transmission-daemon.confd.4 711 SHA256 249689688aad23d0d27ccdd08a0907fd85058d6a52ccd3467f756b07f5d059ee SHA512 dbc093fe00335bb207c28a4e810becc15e74b6f75e7579d561b160755d6b54bb23a45db39ee3480195a94a5e9bffdad692559d1b9662bba28119d18b713747a1 WHIRLPOOL c19f3a6d46ff5cf824e9f3d9df2ec4364c17d424a406b3922921e3385801b543f736ed7dd8e1b7f24cd81262e2ac162edd92d7b6b832909012ae4cd677d94c1d -AUX transmission-daemon.initd.9 2131 SHA256 ab1c267f3e3687ba0f5dfadd5ffa9edc6971ab0090fc47256e99fd1eb1da702a SHA512 d4c6ab2dbdf158b3005bfff6763b9c87b1c37813ef382021f3cbb5dbbc19032945d92205f69615ec584463b3aef637a93305f69c971e91624a786be065a82532 WHIRLPOOL d7c82e2d42bf0848cce279e0e5fc5f52c98d4cd62e0f7c0958fb374d3767cf9c6e94034c018448918f9942f86dd2873a13b5b57c871b63dc9a1fb1b7ff5bdfee -DIST transmission-2.84.tar.xz 3077836 SHA256 a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121ceaaaae87f5792cc6c29a3d WHIRLPOOL 375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342 -EBUILD transmission-2.84-r89.ebuild 4044 SHA256 4005df1c275ba8cd9dcca532bdafa3b7ef04dd7c9c1fc659e159fef82ef4b280 SHA512 1322aad544b6bd2e1b9733924b62467b1f934fb800e253406d14404593a6fcf0a0f225b475a0fb6a7b9efb4e8512a87d96e17dcb24aeccf2c9885b96937eb3c2 WHIRLPOOL 65f3032d862653863133b6b6d9894ee82559afe18c4137e4219617affe6362d3115d7c7d7704559dee6498a15f50f0fe1f8717cedf79b4dca4b78fc93a74d7af -EBUILD transmission-2.84-r99.ebuild 4385 SHA256 5088307b784988b4416f8cdc9d0ca77342ba2384a5922ed7457bc6b572b36ac2 SHA512 40155d1921f5853506a325808feee51583012cc1e6ff06b2105bb14c71b91ef71ce9460cc3275eeb42a9d509a7118f670b586fec92150bf43ad951810fe4cfc0 WHIRLPOOL 80aa39c761a87cd50af4c595899231bd7a5a60e8f67d9bedbf5faa77acb861bfd10fe0d210026e5ca734fd049589059078f2d87cdc8f92f8b7d083444020ca10 -MISC metadata.xml 670 SHA256 af52a8a2a0eefebe130d9c1b3a9b26f37eda22f47658c0c273e81d958dc9e519 SHA512 fd019672e7913836704edd9d67eca4ab420dcac27a817a0031ed5556c1c1ba0b25bfc74a35c18d3dde2de8ca735871978d96927bd0a65894021bef5ce66f59c2 WHIRLPOOL 900f910cea94c94000175a837d65b98b36d44ff09ae6920b67b3773104a83f7d5dd7d10231beffbb57807440efdab9acc0563dc4ab2caade87f52a5e5ba7fbbe diff --git a/net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch b/net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch deleted file mode 100644 index 4863801..0000000 --- a/net-p2p/transmission/files/transmission-2.80-translations-path-fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -This patch was adapted from -2.77-transmations-path-fix.patch for 2.80 - -Fix path for finding locale-specific files: -QCoreApplication::applicationDirPath() transforms to '/usr/bin' -and locale files are in '/usr/share/qt4/translations' - ---- qt/app.cc -+++ qt/app.cc -@@ -98,7 +98,7 @@ - installTranslator (&qtTranslator); - - // install the transmission translator -- appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QCoreApplication::applicationDirPath () + "/translations"); -+ appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QLibraryInfo::location(QLibraryInfo::TranslationsPath) ); - installTranslator (&appTranslator); - - Formatter::initUnits (); diff --git a/net-p2p/transmission/files/transmission-2.84-musl-missing-header.patch b/net-p2p/transmission/files/transmission-2.84-musl-missing-header.patch deleted file mode 100644 index 4b3d7ee..0000000 --- a/net-p2p/transmission/files/transmission-2.84-musl-missing-header.patch +++ /dev/null @@ -1,28 +0,0 @@ -libtransmission/transmission.h: add missing <sys/types.h> - -transmission.h and several files including it, like bitfield.c and fdlimits.h -make reference to ssize_t, off_t and other types defined in <sys/types.h> but -never include the header. By including <sys/types.h> in transmission.h, the -required type definitions are propagated to all files that need them. - -Not including <sys/types.h> on glibc and uClibc systems does not pose a problem -because of the way the headers stack in those C Standard Libraries, but on musl -excluding <sys/types.h> leads to compile time failure. - -For the POSIX specs, see - -http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html - -Signed-of-by: Anthony G. Basile <[email protected]> - -diff -Naur transmission-2.84.orig/libtransmission/transmission.h transmission-2.84/libtransmission/transmission.h ---- transmission-2.84.orig/libtransmission/transmission.h 2014-07-01 13:09:01.682910744 -0400 -+++ transmission-2.84/libtransmission/transmission.h 2015-07-19 03:11:07.379219181 -0400 -@@ -28,6 +28,7 @@ - - #include <inttypes.h> /* uintN_t */ - #include <time.h> /* time_t */ -+#include <sys/types.h> - - #ifdef WIN32 - #define __USE_MINGW_ANSI_STDIO 1 diff --git a/net-p2p/transmission/files/transmission-daemon.confd.4 b/net-p2p/transmission/files/transmission-daemon.confd.4 deleted file mode 100644 index 8f3b131..0000000 --- a/net-p2p/transmission/files/transmission-daemon.confd.4 +++ /dev/null @@ -1,14 +0,0 @@ -# This is the transmission-daemon configuration file. For other options and -# better explanation, take a look at transmission-daemon manual page Note: it's -# better to configure some settings (like username/password) in -# /var/lib/transmission/config/settings.json to avoid other users see it with `ps` - -TRANSMISSION_OPTIONS="--encryption-preferred" - -# Run daemon as another user (username or username:groupname) -# If you change this setting, chown -R /var/lib/transmission/config <and download directory, check web settings> -#runas_user=transmission - -# Location of logfile (should be writeable for runas_user user) -# Set logfile=syslog to use syslog for logging -#logfile=/var/log/transmission/transmission.log diff --git a/net-p2p/transmission/files/transmission-daemon.initd.9 b/net-p2p/transmission/files/transmission-daemon.initd.9 deleted file mode 100644 index a1d17d6..0000000 --- a/net-p2p/transmission/files/transmission-daemon.initd.9 +++ /dev/null @@ -1,73 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -extra_started_commands="reload" -description="Transmission is a fast, easy and free bittorrent client" -description_start="Start transmission-daemon server and web interface" -description_stop="Stop transmission-daemon server and web interface" -description_reload="Reload transmission-daemon settings" - -rundir=${rundir:-/var/run/transmission} -pidfile=${pidfile:-${rundir}/transmission.pid} -config_dir=${config_dir:-/var/lib/transmission/config} -download_dir=${download_dir:-/var/lib/transmission/downloads} -logfile=${logfile:-/var/log/transmission/transmission.log} -runas_user=${runas_user:-transmission:transmission} - -SSD_OPTIONS="" - -depend() { - need net -} - -check_config() { - if [ ! -d "${rundir}" ]; then - mkdir "${rundir}" - if [ -n "${runas_user}" ]; then - chown -R ${runas_user} "${rundir}" - fi - fi - - # In case no config directory option passed use default - if ! $(echo ${TRANSMISSION_OPTIONS} | grep -q -e '\B-g' -e '\B--config-dir'); then - TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --config-dir ${config_dir}" - # put download dir location on first run (and take it from config later) - if [ ! -f ${config_dir}/settings.json ]; then - TRANSMISSION_OPTIONS="${TRANSMISSION_OPTIONS} --download-dir ${download_dir}" - fi - fi - - if [ -n "${runas_user}" ]; then - if [ -f /etc/init.d/sysfs ]; then - SSD_OPTIONS="${SSD_OPTIONS} --user ${runas_user}" - else - SSD_OPTIONS="${SSD_OPTIONS} --chuid ${runas_user}" - fi - fi -} - -start() { - check_config - - ebegin "Starting transmission daemon" - start-stop-daemon --start --quiet --pidfile ${pidfile} ${SSD_OPTIONS} \ - --exec /usr/bin/transmission-daemon -- --pid-file ${pidfile} \ - $(test ${logfile} != "syslog" && echo --logfile ${logfile}) \ - ${TRANSMISSION_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping transmission daemon" - start-stop-daemon --stop --quiet --retry TERM/45/QUIT/15 --pidfile ${pidfile} - eend $? -} - -reload() { - ebegin "Reloading transmission configuration" - start-stop-daemon --signal HUP --pidfile ${pidfile} - eend $? -} - diff --git a/net-p2p/transmission/metadata.xml b/net-p2p/transmission/metadata.xml deleted file mode 100644 index aa8b895..0000000 --- a/net-p2p/transmission/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Mike Gilbert</name> - </maintainer> - <maintainer type="person"> - <email>[email protected]</email> - <name>Samuli Suominen</name> - </maintainer> - <use> - <flag name="lightweight">Optimize transmission for low-resource systems (smaller cache size, prefer unencrypted peer connections, etc.)</flag> - <flag name="xfs">Enable XFS filesystem capabilities by using <pkg>sys-fs/xfsprogs</pkg> headers (in building of fdlimit(.c))</flag> - </use> -</pkgmetadata> diff --git a/net-p2p/transmission/transmission-2.84-r89.ebuild b/net-p2p/transmission/transmission-2.84-r89.ebuild deleted file mode 100644 index 0a3a008..0000000 --- a/net-p2p/transmission/transmission-2.84-r89.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils fdo-mime gnome2-utils qt4-r2 systemd user - -DESCRIPTION="A Fast, Easy and Free BitTorrent client" -HOMEPAGE="http://www.transmissionbt.com/" -SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT=0 -IUSE="ayatana gtk lightweight systemd qt4 xfs" -KEYWORDS="amd64 ~arm ~mips ppc x86" - -RDEPEND=">=dev-libs/libevent-2.0.10:= - dev-libs/openssl:0= - net-libs/libnatpmp:= - >=net-libs/miniupnpc-1.7:= - >=net-misc/curl-7.16.3:=[ssl] - sys-libs/zlib:= - gtk? ( - >=dev-libs/dbus-glib-0.100:= - >=dev-libs/glib-2.32:2= - >=x11-libs/gtk+-3.4:3= - ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) - ) - systemd? ( sys-apps/systemd:= ) - qt4? ( - dev-qt/qtcore:4= - dev-qt/qtgui:4= - dev-qt/qtdbus:4= - )" -DEPEND="${RDEPEND} - >=dev-libs/glib-2.32 - dev-util/intltool - sys-devel/gettext - virtual/os-headers - virtual/pkgconfig - xfs? ( sys-fs/xfsprogs )" - -REQUIRED_USE="ayatana? ( gtk )" - -DOCS="AUTHORS NEWS qt/README.txt" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die - # Trick to avoid automagic dependency - use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } - # Pass our configuration dir to systemd unit file - sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${PN}-daemon.service || die - # http://trac.transmissionbt.com/ticket/4324 - sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die - # Fix for broken translations path - epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch - # http://trac.transmissionbt.com/ticket/5700 - sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die - # Missing header - epatch "${FILESDIR}"/${PN}-2.84-musl-missing-header.patch - - epatch_user - eautoreconf -} - -src_configure() { - export ac_cv_header_xfs_xfs_h=$(usex xfs) - - econf \ - --enable-external-natpmp \ - $(use_enable lightweight) \ - $(use_with systemd systemd-daemon) \ - $(use_with gtk) - - if use qt4; then - pushd qt >/dev/null - eqmake4 qtr.pro - popd >/dev/null - fi -} - -src_compile() { - emake - - if use qt4; then - pushd qt >/dev/null - emake - lrelease translations/*.ts - popd >/dev/null - fi -} - -src_install() { - default - - rm -f "${ED}"/usr/share/${PN}/web/LICENSE - - newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon - newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon - systemd_dounit daemon/${PN}-daemon.service - - keepdir /var/{lib/${PN}/{config,downloads},log/${PN}} - fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}} - - if use qt4; then - pushd qt >/dev/null - emake INSTALL_ROOT="${ED}"/usr install - - domenu ${PN}-qt.desktop - - local res - for res in 16 22 24 32 48 64 72 96 128 192 256; do - doicon -s ${res} icons/hicolor/${res}x${res}/${PN}-qt.png - done - doicon -s scalable icons/hicolor/scalable/${PN}-qt.svg - - insinto /usr/share/qt4/translations - doins translations/*.qm - popd >/dev/null - fi -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - - elog "If you use ${PN}-daemon, please, set 'rpc-username' and" - elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on" - elog "start) in settings.json file located at /var/lib/${PN}/config or" - elog "any other appropriate config directory." - elog - elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for" - elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" - elog " net.core.rmem_max = 4194304" - elog " net.core.wmem_max = 1048576" - elog "and run sysctl -p" -} - -pkg_postrm() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} diff --git a/net-p2p/transmission/transmission-2.84-r99.ebuild b/net-p2p/transmission/transmission-2.84-r99.ebuild deleted file mode 100644 index ef32c03..0000000 --- a/net-p2p/transmission/transmission-2.84-r99.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils fdo-mime gnome2-utils qmake-utils systemd user - -DESCRIPTION="A Fast, Easy and Free BitTorrent client" -HOMEPAGE="http://www.transmissionbt.com/" -SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT=0 -IUSE="ayatana gtk lightweight systemd qt4 qt5 xfs" -KEYWORDS="amd64 ~arm ~mips ppc x86" - -RDEPEND=">=dev-libs/libevent-2.0.10:= - dev-libs/openssl:0= - net-libs/libnatpmp:= - >=net-libs/miniupnpc-1.7:= - >=net-misc/curl-7.16.3:=[ssl] - sys-libs/zlib:= - gtk? ( - >=dev-libs/dbus-glib-0.100:= - >=dev-libs/glib-2.32:2= - >=x11-libs/gtk+-3.4:3= - ayatana? ( >=dev-libs/libappindicator-0.4.90:3= ) - ) - systemd? ( sys-apps/systemd:= ) - qt4? ( - dev-qt/qtcore:4= - dev-qt/qtgui:4= - dev-qt/qtdbus:4= - ) - qt5? ( - dev-qt/qtcore:5= - dev-qt/qtdbus:5= - dev-qt/qtgui:5= - dev-qt/qtnetwork:5= - dev-qt/qtwidgets:5= - )" -DEPEND="${RDEPEND} - >=dev-libs/glib-2.32 - dev-util/intltool - sys-devel/gettext - virtual/os-headers - virtual/pkgconfig - xfs? ( sys-fs/xfsprogs )" - -REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )" - -DOCS="AUTHORS NEWS qt/README.txt" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die - # Trick to avoid automagic dependency - use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=9999:' configure.ac || die; } - # Pass our configuration dir to systemd unit file - sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' daemon/${PN}-daemon.service || die - # http://trac.transmissionbt.com/ticket/4324 - sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' lib${PN}/Makefile.am || die - # Fix for broken translations path - epatch "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch - # http://trac.transmissionbt.com/ticket/5700 - sed -i -e '1iQMAKE_CXXFLAGS += -std=c++11' qt/qtr.pro || die - # Missing header - epatch "${FILESDIR}"/${PN}-2.84-musl-missing-header.patch - - epatch_user - eautoreconf -} - -src_configure() { - export ac_cv_header_xfs_xfs_h=$(usex xfs) - - econf \ - --enable-external-natpmp \ - $(use_enable lightweight) \ - $(use_with systemd systemd-daemon) \ - $(use_with gtk) - - if use qt4 || use qt5; then - pushd qt >/dev/null || die - use qt4 && eqmake4 qtr.pro - use qt5 && eqmake5 qtr.pro - popd >/dev/null || die - fi -} - -src_compile() { - emake - - if use qt4 || use qt5; then - use qt4 && local -x QT_SELECT=4 - use qt5 && local -x QT_SELECT=5 - emake -C qt - lrelease qt/translations/*.ts || die - fi -} - -src_install() { - default - - rm -f "${ED}"/usr/share/${PN}/web/LICENSE - - newinitd "${FILESDIR}"/${PN}-daemon.initd.9 ${PN}-daemon - newconfd "${FILESDIR}"/${PN}-daemon.confd.4 ${PN}-daemon - systemd_dounit daemon/${PN}-daemon.service - - keepdir /var/{lib/${PN}/{config,downloads},log/${PN}} - fowners -R ${PN}:${PN} /var/{lib/${PN}/{,config,downloads},log/${PN}} - - if use qt4 || use qt5; then - pushd qt >/dev/null || die - emake INSTALL_ROOT="${ED}"/usr install - - domenu ${PN}-qt.desktop - - local res - for res in 16 22 24 32 48 64 72 96 128 192 256; do - doicon -s ${res} icons/hicolor/${res}x${res}/${PN}-qt.png - done - doicon -s scalable icons/hicolor/scalable/${PN}-qt.svg - - use qt4 && insinto /usr/share/qt4/translations - use qt5 && insinto /usr/share/qt5/translations - doins translations/*.qm - popd >/dev/null || die - fi -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - - elog "If you use ${PN}-daemon, please, set 'rpc-username' and" - elog "'rpc-password' (in plain text, ${PN}-daemon will hash it on" - elog "start) in settings.json file located at /var/lib/${PN}/config or" - elog "any other appropriate config directory." - elog - elog "Since µTP is enabled by default, ${PN} needs large kernel buffers for" - elog "the UDP socket. You can append following lines into /etc/sysctl.conf:" - elog " net.core.rmem_max = 4194304" - elog " net.core.wmem_max = 1048576" - elog "and run sysctl -p" -} - -pkg_postrm() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -}
