parent
c9bee0849b
commit
ef43ff546d
@ -1,3 +1 @@
|
||||
DIST gixy-0.1.3.tar.gz 31484 SHA256 bffb35c111807379eda3a4ea4da32587ad7368bc8fe7d5436dddb65037e39198 SHA512 d366b0a5198424127e37656bdf09edd3c6005c6e302f01a7787c649f9c8cf84084c02441beea11246592ee2dbbf6c87ab241ab627d0571f3511ffb2cc8855b7c WHIRLPOOL a624da9d0ba7ca040ad3f5b764174261bb4481e258fff2c75acdbf84150158a4032386c9209757860f03f27383561e72541323ddc46068cfdea89d491ea2f43d
|
||||
DIST gixy-0.1.4.tar.gz 31918 SHA256 b9f9c985b7edf93d549b13a582ce1b84458c5454542d7e1aac97af9f3251cd28 SHA512 28bbc4fa862e587ae6e65cae0284ab7c8f5b958838a079c77b45c70337288935419fad69dc5853914b700dd68e183d0ea54c83dbc2479220268b6a15b307c29e WHIRLPOOL 96edf33961f8f8160de4b5b1a800df7b9984718a60e27b2610204a40a5a6a2c240d5e548ce12c620744fbb63796aec9085bb3af4374513cfd26cdf008c9bdcf1
|
||||
DIST gixy-0.1.5.tar.gz 32594 SHA256 3607081531df4ee52758850632879796b9f294c93a8068022d044aa4f5a61423 SHA512 63c41a16f1a1d16664c660150bf1603b87d2a2b474db58bb13af79e123b372a666b94aa96ef081af89fb5608c7f9a43e03750afb80d52c212c06d3407c413e38 WHIRLPOOL 1a87ec527dd9014100d4e75ef69d3a981d37420acac7260ce82722bd5062d1c035142e0251cb2dfc125546decdae121e23451377846702264f0719948f6cc9ff
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx configuration static analyzer"
|
||||
HOMEPAGE="https://github.com/yandex/gixy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_prepare() {
|
||||
sed -i -e "/argparse/d" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx configuration static analyzer"
|
||||
HOMEPAGE="https://github.com/yandex/gixy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.8[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.1.0[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_prepare() {
|
||||
sed -i -e "/argparse/d" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST KeePass-2.35-Source.zip 4840873 SHA256 5faad9381af2f9d808d65ee3d880ff3bca9352c7ce886fea95d54f9169e863df SHA512 9f9bb0875c3261e004f655356e8302858afebb7d41a4e4619affaa5e8e5375ffe4fc2b251db10d1d18ef94e07d60dd9bd8812ecedcd5de4c4fbe641c6a37dede WHIRLPOOL db1d270ac5402021add60739ca4916d9dd81999c53b095d143a34a2886f47c354170e41fee63027be83866c541022c79c3c21111a501cd51bafb972e5fe277e2
|
||||
DIST KeePass-2.36-Source.zip 5063221 SHA256 de7e3e9d9bedab13e4d66b0ee941b2ebedaa08d8090f7cd78bd0fc019187d8c8 SHA512 16d51ed6bc437172765f69d1d67862afe7219a0898d13b4609198bbd7b5107620f1be418f5ea6ba23a5e3c7ca12d45ba3f0f3778c516eea6b2b953bc291cfe41 WHIRLPOOL 1d9fbf662757e09c4854010da9f6960fe4bf794eb694b37a9f63d813c1e1d1471257a66f01eac761fed5b06831f659cb81f11eba8858ee4e128cd578a19fcae8
|
||||
|
@ -1,45 +0,0 @@
|
||||
KeePass looks for some resources (XSL files) in the executable directory,
|
||||
however under UNIX system this not a good idea, so we look into the
|
||||
CommonApplicationData SpecialFolder, which usually maps to "/usr/share/".
|
||||
So the final search path should be "/usr/share/KeePass/XSL/".
|
||||
|
||||
diff --git a/KeePass/Forms/AboutForm.cs b/KeePass/Forms/AboutForm.cs
|
||||
index 8a04c87..6083c00 100644
|
||||
--- a/KeePass/Forms/AboutForm.cs
|
||||
+++ b/KeePass/Forms/AboutForm.cs
|
||||
@@ -31,9 +31,11 @@ using KeePass.UI;
|
||||
using KeePass.Resources;
|
||||
using KeePass.Util;
|
||||
using KeePass.DataExchange;
|
||||
+using KeePass.Native;
|
||||
|
||||
using KeePassLib;
|
||||
using KeePassLib.Utility;
|
||||
+using KeePassLib.Native;
|
||||
|
||||
namespace KeePass.Forms
|
||||
{
|
||||
@@ -92,8 +94,21 @@ namespace KeePass.Forms
|
||||
m_lvComponents.Items.Add(lvi);
|
||||
|
||||
lvi = new ListViewItem(KPRes.XslStylesheetsKdbx);
|
||||
- string strPath = WinUtil.GetExecutable();
|
||||
- strPath = UrlUtil.GetFileDirectory(strPath, true, false);
|
||||
+
|
||||
+ string strPath;
|
||||
+ if (NativeLib.IsUnix())
|
||||
+ {
|
||||
+ strPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
|
||||
+ strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
|
||||
+ strPath += PwDefs.ShortProductName.ToLower();
|
||||
+ strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ strPath = WinUtil.GetExecutable();
|
||||
+ strPath = UrlUtil.GetFileDirectory(strPath, true, false);
|
||||
+ }
|
||||
+
|
||||
strPath += AppDefs.XslFilesDir;
|
||||
strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
|
||||
bool bInstalled = File.Exists(strPath + AppDefs.XslFileHtmlLite);
|
@ -1,59 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
buildDir="$(pwd)"
|
||||
keePassRootDir="${buildDir}/.."
|
||||
|
||||
copyKeePassIcons()
|
||||
{
|
||||
cd "${buildDir}"
|
||||
cp -f ../Ext/Icons_04_CB/Finals2/plockb.ico ../KeePass/KeePass.ico
|
||||
cp -f ../Ext/Icons_04_CB/Finals2/plockb.ico ../KeePass/Resources/Images/KeePass.ico
|
||||
}
|
||||
|
||||
sanitizeKeePassProjectFiles()
|
||||
{
|
||||
cd "${keePassRootDir}/KeePass"
|
||||
|
||||
local keePassProjectFile="KeePass.csproj"
|
||||
local keePassProjectSolution="KeePass.sln"
|
||||
|
||||
sed -i 's!<SignAssembly>true</SignAssembly>!<SignAssembly>false</SignAssembly>!g' "${keePassProjectFile}"
|
||||
sed -i 's! ToolsVersion="3.5"!!g' "${keePassProjectFile}"
|
||||
sed -i '/sgen\.exe/d' "${keePassProjectFile}"
|
||||
|
||||
# Update solution .NET format to 11 (This targets Mono 4 rather than 3.5)
|
||||
cd "${keePassRootDir}"
|
||||
sed -i 's!Format Version 10.00!Format Version 11.00!g' "${keePassProjectSolution}"
|
||||
|
||||
cd "${buildDir}"
|
||||
}
|
||||
|
||||
sanitizeKeePassLibProjectFile()
|
||||
{
|
||||
cd "${keePassRootDir}/KeePassLib"
|
||||
|
||||
local keePassProjectLibFile="KeePassLib.csproj"
|
||||
sed -i 's!<SignAssembly>true</SignAssembly>!<SignAssembly>false</SignAssembly>!g' "${keePassProjectLibFile}"
|
||||
sed -i 's! ToolsVersion="3.5"!!g' "${keePassProjectLibFile}"
|
||||
|
||||
cd "${buildDir}"
|
||||
}
|
||||
|
||||
|
||||
sanitizeTrlUtilProjectFile()
|
||||
{
|
||||
cd "${keePassRootDir}/Translation/TrlUtil"
|
||||
|
||||
local trlUtilProjectFile="TrlUtil.csproj"
|
||||
sed -i 's! ToolsVersion="3.5"!!g' "${trlUtilProjectFile}"
|
||||
|
||||
cd "${buildDir}"
|
||||
}
|
||||
|
||||
# Start
|
||||
copyKeePassIcons
|
||||
|
||||
# Remove ToolsVersion 3.5 References so that newer Mono compilers can be used
|
||||
sanitizeKeePassProjectFiles
|
||||
sanitizeKeePassLibProjectFile
|
||||
sanitizeTrlUtilProjectFile
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils fdo-mime gnome2-utils multilib
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="http://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.20-xsl-path-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# New Mono Prep Script until keepass 2.36+ comes out.
|
||||
# This script has been upstreamed, still waiting for final confirmation.
|
||||
local newMonoPrepScript="${FILESDIR}/keepass-2.35-new-monoprep-script.sh"
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
cd Build || die
|
||||
cp -f "${newMonoPrepScript}" PrepMonoDev.sh
|
||||
source PrepMonoDev.sh || die
|
||||
cd ../ || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}/"
|
||||
exeinto "/usr/$(get_libdir)/${PN}/"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages/
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
_update_caches
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
_update_caches
|
||||
}
|
||||
|
||||
_update_caches() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST passwordsafe-1.01_beta.tar.gz 13984971 SHA256 dc1e7e012009309f57a8611adad9ec62fdafe5b326f66dd0cefe2b5988ee52aa SHA512 e7dbca0caf3942423280f6e1d61e46294a5dd9f78ac1b9047a6085a0dc52d9cfc35eb4b5eb1f56b08337235d2aaa97ea22f2d472ff1a021843034d2a49737abf WHIRLPOOL 65cca1a1622eea7d63ff53f0661fbbccb6eaa1adc78747df7eae04ce58c32b5326b2a56749919a3a0ffc001a9395c27412816eda0b69f621dba65964b16d47b9
|
||||
DIST passwordsafe-1.02.1_beta.tar.gz 14068085 SHA256 cd376032947c705fbbdbecb763eea760cc7ce2e1eb539df04bda3fad34ad9e27 SHA512 c83a0c757f9f74906ffaebf650fd3f422a29f838c7f5430b3d3e32852b35dd92dc413a1c920320af9812d7960f0648e8df8a9d145828f8669e824e9972038067 WHIRLPOOL b082cdc26167be832302df4a07d695bba8a581a588b7ee66f6549ab2642b35b85d5921a8381b5f21726b5d0f93fc88d6dc713ff6356f9e0f5d524aeb0d92390a
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils flag-o-matic wxwidgets cmake-utils
|
||||
|
||||
MY_PV="${PV/_beta/BETA}"
|
||||
DESCRIPTION="Password manager with wxGTK based frontend"
|
||||
HOMEPAGE="https://pwsafe.org/ https://github.com/pwsafe/pwsafe/"
|
||||
SRC_URI="https://github.com/pwsafe/pwsafe/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="minimal test yubikey +xml"
|
||||
|
||||
RDEPEND="xml? ( dev-libs/xerces-c )
|
||||
sys-apps/util-linux
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X]
|
||||
!minimal? ( !!app-misc/pwsafe )
|
||||
yubikey? ( sys-auth/ykpers )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
S=${WORKDIR}/pwsafe-${MY_PV}
|
||||
|
||||
pkg_pretend() {
|
||||
einfo "Checking for -std=c++11 support in compiler"
|
||||
test-flags-CXX -std=c++11 > /dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe
|
||||
# instead. Perform required changes in linking files
|
||||
sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die
|
||||
sed -i docs/pwsafe.1 \
|
||||
-e 's/PWSAFE/PASSWORDSAFE/' \
|
||||
-e "s/^.B pwsafe/.B ${PN}/" || die
|
||||
use test || sed -i -e '/find_package(GTest REQUIRED)/s/^/#/' \
|
||||
-e '/add_subdirectory (src\/test)/s/^/#/' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
need-wxwidgets unicode
|
||||
|
||||
local mycmakeargs=( $(usex yubikey '' '-DNO_YUBI=ON')
|
||||
$(usex xml '' '-DNO_XML=ON') )
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILD_DIR}" || die
|
||||
if use minimal; then
|
||||
newbin pwsafe ${PN}
|
||||
else
|
||||
dobin pwsafe
|
||||
dosym pwsafe /usr/bin/${PN}
|
||||
fi
|
||||
insinto /usr/share/locale
|
||||
doins -r src/ui/wxWidgets/I18N/mos/*
|
||||
|
||||
# The upstream Makefile builds this .zip file from html source material for
|
||||
# use by the package's internal help system. Must prevent
|
||||
# Portage from applying additional compression.
|
||||
docompress -x /usr/share/doc/${PN}/help
|
||||
insinto /usr/share/doc/${PN}/help
|
||||
doins help/*.zip
|
||||
|
||||
popd || die
|
||||
|
||||
newman docs/pwsafe.1 ${PN}.1
|
||||
|
||||
dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt}
|
||||
|
||||
insinto /usr/share/pwsafe/xml
|
||||
doins xml/*
|
||||
|
||||
newicon install/graphics/pwsafe.png ${PN}.png
|
||||
newmenu install/desktop/pwsafe.desktop ${PN}.desktop
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST certbot-0.14.1.tar.gz 851705 SHA256 7992fced742649e7b7668e4db7685de12248a4ffba66810cb336e9b6412e3567 SHA512 309e0e1d071960ae9a5cc4c9f965cc623b68d3d61f69282f21629514553a75af4d384d2c29fd3beee6eb8447c7b6651ce86c33c4f3916876fac7a91a08d2075d WHIRLPOOL f5a5be776f0a9bb9096a6e8dfa64942bd00583559cba64d3c1a5b991578bb8c7cac5076895e4291e1ec4c8fa767f026a90e0c1312c4f425ffcb5bf08bd0e9e40
|
||||
DIST certbot-0.15.0.tar.gz 942788 SHA256 87d306b1c013b472b8f548b38ccc476c125816435bb3b99e932fed09ac777296 SHA512 e884b34985a1128ce94d6b2be77af6ee86ded8b870e066f3f4bc22f78501f3f0a51060edcf75a11cd31dd525388adb8ccc4e2da0068b5b75be131d0fb0ca6844 WHIRLPOOL 01b172e8c7ac5d3678ee608b36d93f23943bf17f1e9c593cc1af3febcf0549b03961e69e537f099643dd9ee268497f76c2c18d8fa7a1d45753bc50e670375317
|
||||
DIST certbot-0.16.0.tar.gz 992700 SHA256 9abac759d7d72b520693ff806479e87609059a1546bb6ea26416267ebeedd25b SHA512 4cb6ec06c6ec71cd6886a716100f269de3922f17a582c8c20ec40327b65e1c16347a5b33d44131e56a7667233ebba88ff36a4e854beedd13e848897ba09a7e64 WHIRLPOOL 34dae0b20d472b4020986d0768ea6757c977fa4626666a9f81711007c051e76f9ad60f5a3bc77c768975e71a791f20e5ca2bb6f2fc41d809ebe2541129c975ef
|
||||
DIST letsencrypt-0.1.0.tar.gz 524821 SHA256 1c1ac7b41e5e0fc0e41a7ef159ac9147a4aafff54453d57b519eb05bf52ade14 SHA512 6a786290362741ac97dcb4b59bc4cba56f3e8b5193bbc10be19086d462f76e6124259c42bac36afe9eb818f4bb9edec34f8e2a02bd8c855e3b35404f4ee81f96 WHIRLPOOL cdc41a3466de54ab8ddfeedea9935205d78383028769dcfbc876be0c2ef80c2d14f5d0e4a9c56a751163718f5ababb07848822989a060de7031ea8ebdf6424a0
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S=${WORKDIR}/certbot-${PV}/acme
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/cryptography-0.8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.10[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND} dev-python/nose[${PYTHON_USEDEP}] )
|
||||
>=dev-python/setuptools-1.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests -w ${PN} || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST certbot-0.14.1.tar.gz 851705 SHA256 7992fced742649e7b7668e4db7685de12248a4ffba66810cb336e9b6412e3567 SHA512 309e0e1d071960ae9a5cc4c9f965cc623b68d3d61f69282f21629514553a75af4d384d2c29fd3beee6eb8447c7b6651ce86c33c4f3916876fac7a91a08d2075d WHIRLPOOL f5a5be776f0a9bb9096a6e8dfa64942bd00583559cba64d3c1a5b991578bb8c7cac5076895e4291e1ec4c8fa767f026a90e0c1312c4f425ffcb5bf08bd0e9e40
|
||||
DIST certbot-0.15.0.tar.gz 942788 SHA256 87d306b1c013b472b8f548b38ccc476c125816435bb3b99e932fed09ac777296 SHA512 e884b34985a1128ce94d6b2be77af6ee86ded8b870e066f3f4bc22f78501f3f0a51060edcf75a11cd31dd525388adb8ccc4e2da0068b5b75be131d0fb0ca6844 WHIRLPOOL 01b172e8c7ac5d3678ee608b36d93f23943bf17f1e9c593cc1af3febcf0549b03961e69e537f099643dd9ee268497f76c2c18d8fa7a1d45753bc50e670375317
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-apache}/${PN%-apache}/archive/v${PV}.tar.gz -> ${PN%-apache}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S=${WORKDIR}/${PN%-apache}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="~app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||
~app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
<=dev-python/python-augeas-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}] )
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST certbot-0.14.1.tar.gz 851705 SHA256 7992fced742649e7b7668e4db7685de12248a4ffba66810cb336e9b6412e3567 SHA512 309e0e1d071960ae9a5cc4c9f965cc623b68d3d61f69282f21629514553a75af4d384d2c29fd3beee6eb8447c7b6651ce86c33c4f3916876fac7a91a08d2075d WHIRLPOOL f5a5be776f0a9bb9096a6e8dfa64942bd00583559cba64d3c1a5b991578bb8c7cac5076895e4291e1ec4c8fa767f026a90e0c1312c4f425ffcb5bf08bd0e9e40
|
||||
DIST certbot-0.15.0.tar.gz 942788 SHA256 87d306b1c013b472b8f548b38ccc476c125816435bb3b99e932fed09ac777296 SHA512 e884b34985a1128ce94d6b2be77af6ee86ded8b870e066f3f4bc22f78501f3f0a51060edcf75a11cd31dd525388adb8ccc4e2da0068b5b75be131d0fb0ca6844 WHIRLPOOL 01b172e8c7ac5d3678ee608b36d93f23943bf17f1e9c593cc1af3febcf0549b03961e69e537f099643dd9ee268497f76c2c18d8fa7a1d45753bc50e670375317
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-nginx}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
S=${WORKDIR}/${PN%-nginx}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND=">=dev-python/setuptools-1.0[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${CDEPEND}
|
||||
~app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||
~app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}"
|
@ -1,2 +1 @@
|
||||
DIST certbot-0.14.1.tar.gz 851705 SHA256 7992fced742649e7b7668e4db7685de12248a4ffba66810cb336e9b6412e3567 SHA512 309e0e1d071960ae9a5cc4c9f965cc623b68d3d61f69282f21629514553a75af4d384d2c29fd3beee6eb8447c7b6651ce86c33c4f3916876fac7a91a08d2075d WHIRLPOOL f5a5be776f0a9bb9096a6e8dfa64942bd00583559cba64d3c1a5b991578bb8c7cac5076895e4291e1ec4c8fa767f026a90e0c1312c4f425ffcb5bf08bd0e9e40
|
||||
DIST certbot-0.15.0.tar.gz 942788 SHA256 87d306b1c013b472b8f548b38ccc476c125816435bb3b99e932fed09ac777296 SHA512 e884b34985a1128ce94d6b2be77af6ee86ded8b870e066f3f4bc22f78501f3f0a51060edcf75a11cd31dd525388adb8ccc4e2da0068b5b75be131d0fb0ca6844 WHIRLPOOL 01b172e8c7ac5d3678ee608b36d93f23943bf17f1e9c593cc1af3febcf0549b03961e69e537f099643dd9ee268497f76c2c18d8fa7a1d45753bc50e670375317
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND=">=dev-python/setuptools-1.0[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
~app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/parsedatetime-1.3[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/astroid-1.3.5[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pep8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pylint-1.4.2[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests -v ${PN} || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST EasyRSA-2.2.2.tgz 10492 SHA256 68da869085dde7c6a964e9c6104b86e4af91c4c592f8ec2a2f6cfc9d20808991 SHA512 b09bd1a71c1bfeb3c2ff63f10b7781badf6d2b4888d97d917565436435b85fb90eebf7727db293bdc44039f23c7f3c3c4e762a22bf7d6e9ed7642a2f07e1ffe4 WHIRLPOOL 27b7d761a317d8787526dbdc1878e62326e6ca13730ddf9b50fe918f010c23d1535dfa4f6bfb76bf26bd005942105a0e862359579faf7b6fe803ad7ca53d627e
|
||||
DIST EasyRSA-3.0.1.tgz 40960 SHA256 dbdaf5b9444b99e0c5221fd4bcf15384c62380c1b63cea23d42239414d7b2d4e SHA512 d20f646e33ec803444dfcd446553f1d6001227fedec93280c212b34cccee11b184599f1b2ae6a3ce9cf6c9ac52f2b840ebb645536df6ddf55382fa25c22df81f WHIRLPOOL 64d54af059e136409f4ad3488450cccc846e2b5d9dfb9e002dd466cf603b6677dc8f0b788471b73eebda918c5773673efc120e6a76dbf407a3e1605db14e62cd
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="EasyRSA-${PV}"
|
||||
|
||||
DESCRIPTION="Small RSA key management package, based on OpenSSL"
|
||||
HOMEPAGE="http://openvpn.net/"
|
||||
SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="libressl"
|
||||
|
||||
DEPEND="!libressl? ( >=dev-libs/openssl-0.9.6:0 )
|
||||
libressl? ( dev-libs/libressl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<net-vpn/openvpn-2.3"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PV}-pkcs11.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/share/easy-rsa
|
||||
doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf
|
||||
insinto /usr/share/easy-rsa
|
||||
doins vars openssl-*.cnf
|
||||
doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="EasyRSA-${PV}"
|
||||
|
||||
DESCRIPTION="Small RSA key management package, based on OpenSSL"
|
||||
HOMEPAGE="http://openvpn.net/"
|
||||
SRC_URI="https://github.com/OpenVPN/easy-rsa/releases/download/${PV}/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/openssl-0.9.6:0"
|
||||
RDEPEND="${DEPEND}
|
||||
!<net-vpn/openvpn-2.3"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PV}-pkcs11.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/share/easy-rsa
|
||||
doexe build-* clean-all inherit-inter list-crl pkitool revoke-full sign-req whichopensslcnf
|
||||
insinto /usr/share/easy-rsa
|
||||
doins vars openssl-*.cnf
|
||||
doenvd "${FILESDIR}/65easy-rsa" # config-protect easy-rsa
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
diff --git a/easy-rsa/2.0/openssl-0.9.8.cnf b/easy-rsa/2.0/openssl-0.9.8.cnf
|
||||
index 340b8af..89602a2 100755
|
||||
--- a/openssl-0.9.8.cnf
|
||||
+++ b/openssl-0.9.8.cnf
|
||||
@@ -283,8 +283,8 @@ authorityKeyIdentifier=keyid:always,issuer:always
|
||||
#pkcs11 = pkcs11_section
|
||||
|
||||
[ pkcs11_section ]
|
||||
-engine_id = pkcs11
|
||||
-dynamic_path = /usr/lib/engines/engine_pkcs11.so
|
||||
-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
|
||||
-PIN = $ENV::PKCS11_PIN
|
||||
-init = 0
|
||||
+#engine_id = pkcs11
|
||||
+#dynamic_path = /usr/lib/engines/engine_pkcs11.so
|
||||
+#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
|
||||
+#PIN = $ENV::PKCS11_PIN
|
||||
+#init = 0
|
||||
diff --git a/easy-rsa/2.0/openssl-1.0.0.cnf b/easy-rsa/2.0/openssl-1.0.0.cnf
|
||||
index fa258a5..527919d 100755
|
||||
--- a/openssl-1.0.0.cnf
|
||||
+++ b/openssl-1.0.0.cnf
|
||||
@@ -278,8 +278,8 @@ authorityKeyIdentifier=keyid:always,issuer:always
|
||||
#pkcs11 = pkcs11_section
|
||||
|
||||
[ pkcs11_section ]
|
||||
-engine_id = pkcs11
|
||||
-dynamic_path = /usr/lib/engines/engine_pkcs11.so
|
||||
-MODULE_PATH = $ENV::PKCS11_MODULE_PATH
|
||||
-PIN = $ENV::PKCS11_PIN
|
||||
-init = 0
|
||||
+#engine_id = pkcs11
|
||||
+#dynamic_path = /usr/lib/engines/engine_pkcs11.so
|
||||
+#MODULE_PATH = $ENV::PKCS11_MODULE_PATH
|
||||
+#PIN = $ENV::PKCS11_PIN
|
||||
+#init = 0
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1 @@
|
||||
DIST manuale-1.0.3.tar.gz 13407 SHA256 97a5108be4e603c43af4d9ac76305ef9d376964e94753702287c87b5c1d26a51 SHA512 b413b28908ee0a2b2c441580e7e2098dfe90945a77314cd30a7029b49cfdb33caadcb25b7a5a98ce5b6b8c1b031a272ba072fc6d85eabf96813b02b4267ea184 WHIRLPOOL aff7fe2c48e81c5a64799e82f2ed1e166fc168c0c0d697ad5b443ff06168e0b08bd06d7c52d7b5f9081b0d9db4da8147194adec3bf1f25b3287af89090f07b70
|
||||
DIST manuale-1.1.0.tar.gz 14015 SHA256 e39ec3109153b1cd171678fff130fd36a6bc8ac129d24be8283854945069c3de SHA512 b78d6468fba14738f0b33cb11817a61692bab2b18a3331b2696c6e1c070a202903be6d6f642da7dd35560b15ee5fe24afecebe51395bdacae59f04cc582b6b44 WHIRLPOOL 8b22942b6384c7bd9d09dc1540b7a6fb0b4ac7847cc7fa60778743908e8d930eede4a4f23e9a360e72534ca3402824978bd926defbbea085d33055f42273d6b4
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A fully manual Let's Encrypt client"
|
||||
HOMEPAGE="https://github.com/veeti/manuale"
|
||||
SRC_URI="https://github.com/veeti/manuale/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( README.md CHANGELOG.md)
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST ruby.eselect-20131227.bz2 1920 SHA256 b425962f9898ceb8bcdbb55d9648f3d98b82a916c4afa95b2fb1ddcd39cc3689 SHA512 9f13d4a6dc45923f88b145984f9c537846d4cb937b73c2be916792c70ff3c751f1e12b76f33686e35053bf6af1392e6c7e276f06dfb728e6a20f6335f739b784 WHIRLPOOL 38135af69952aff7cf874608365029947733733d33a3c586367ccf6fceb1bf2236781c9fe554a5654f720c19ef0fb0bd3dd5773a108386c6185a2fc2d94ac37b
|
||||
DIST ruby.eselect-20151229.xz 1900 SHA256 29d6ae00efc58c0a60b0b3d429b4933a059cd25063b9e6f07aa6113a9d2f2b81 SHA512 a11b0d0694278b231fa07aa0dc2f1cb252faed7a70c26f8ded51ee922ce0c50076f748f9acd38e02394ccdbeaf2722d2f53ed335cab539faa19d943548c2d89b WHIRLPOOL 227d279c95e15d741c8347ec9abf652680a528998c7800599db9c7bb31a16f97733b110baa96bcf94c6d4910288af36e62e400787f3a3f3ab6661b42198db1b2
|
||||
DIST ruby.eselect-20161226.xz 1900 SHA256 55e1c16e92748c2853620780fbd9db8a28a88cb5e2dd1bfe92d104be8b60397f SHA512 69cf17e42d9908fdfc9b08a3ca2c1f406a5968fc1c22663cc4b2388ad29d3bdb8aec4f0210ce9d5c118514aea81a4465a299347dd702f859ba8660fcb3882f17 WHIRLPOOL e09a8964e77cd8293ca3fac41cf6bd819004bd62f4cdec0eae35b331073b175bd4085631660bcead0e93510bc7ada051070d2316aad3de6bd17d8cb0156fd6e3
|
||||
DIST ruby.eselect-20170723.xz 1972 SHA256 c383871ce89a06c0fbaaa595a6746516556a17184146623abf3983402fbe342b SHA512 9c0614bc7e2ce9811466f257035d74622a96db8d44aa0908414fbac7d4142c34350257b08ace7371901e46cc0c9a38c3f2acae3caea4fb354ccc37b8c919b48f WHIRLPOOL 192c27a562536e848fa60e2ab1998c56308cf89655f86c887de4a9b58c2cf0efb7d8b8ec97f0018f865002d9d9b01d792d5cde6aeb8ca9feb8ec8d62480ce772
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Manages multiple Ruby versions"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~flameeyes/ruby-team/ruby.eselect-${PVR}.xz"
|
||||
SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
@ -1 +0,0 @@
|
||||
DIST anthy-9026.tar.gz 4064170 SHA256 1a4c2736b531dd088f1d8f22a67a87cfc29de23402c72e70d9e5bb160b448685 SHA512 00b99d5c2e2d91b21e86fc2fb3c46490f97aa20f2d91afb2ddbe59606c0b01da9199088a92119930d0f5b8e266f3314be3cceab3562b58684692090259bc2f79 WHIRLPOOL 6587d9914eede00ca541764a9ead6befd014f9c3bc72dc28e855bc1e50a4da0c616051d7e01c96e3d9ad6d34ab074017a64db41d8ee58d314a04ab2c3de74830
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit elisp-common eutils
|
||||
|
||||
IUSE="emacs"
|
||||
|
||||
MY_P="${P/-ss/}"
|
||||
|
||||
DESCRIPTION="Anthy -- free and secure Japanese input system"
|
||||
HOMEPAGE="http://anthy.sourceforge.jp/"
|
||||
SRC_URI="mirror://sourceforge.jp/anthy/25984/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="!app-i18n/anthy
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
src_unpack() {
|
||||
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
local cannadicdir=/var/lib/canna/dic/canna
|
||||
|
||||
if has_version 'app-dicts/canna-2ch'; then
|
||||
einfo "Adding nichan.ctd to anthy.dic."
|
||||
sed -i /placename/a"read ${cannadicdir}/nichan.ctd" \
|
||||
mkworddic/dict.args.in
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
local myconf
|
||||
|
||||
use emacs || myconf="EMACS=no"
|
||||
|
||||
econf ${myconf} || die
|
||||
emake || die
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
use emacs && elisp-site-file-install "${FILESDIR}"/50anthy-gentoo.el
|
||||
|
||||
dodoc AUTHORS DIARY NEWS README ChangeLog
|
||||
|
||||
docinto doc
|
||||
rm doc/Makefile*
|
||||
dodoc doc/*
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
|
||||
;;; anthy-ss site-lisp configuration
|
||||
|
||||
(set-language-info "Japanese" 'input-method "japanese-anthy")
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hattya@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Anthy is a free and secure Japanese kana-kanji server. This ebuild
|
||||
includes cannadic as a server-side dictionary, so you don't need any
|
||||
extra package to run it. You can use anthy with app-i18n/jmode (XIM),
|
||||
app-i18n/uim(XIM, GTK+ immodule) and emacs (to enable Anthy support
|
||||
for emacs, build this package with emacs USE flag).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge-jp">anthy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,5 +1,2 @@
|
||||
|
||||
;;; anthy site-lisp configuration
|
||||
|
||||
(set-language-info "Japanese" 'input-method "japanese-anthy")
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Naur anthy-9100h.orig/anthy/input.h anthy-9100h/anthy/input.h
|
||||
--- anthy-9100h.orig/anthy/input.h 2006-05-13 18:28:35.000000000 +0900
|
||||
+++ anthy-9100h/anthy/input.h 2011-01-12 23:36:39.629749518 +0900
|
||||
@@ -10,6 +10,8 @@
|
||||
#ifndef INPUT_H_INCLUDE
|
||||
#define INPUT_H_INCLUDE
|
||||
|
||||
+#include "anthy.h"
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
@ -0,0 +1,11 @@
|
||||
--- a/anthy/input.h
|
||||
+++ b/anthy/input.h
|
||||
@@ -10,6 +10,8 @@
|
||||
#ifndef INPUT_H_INCLUDE
|
||||
#define INPUT_H_INCLUDE
|
||||
|
||||
+#include "anthy.h"
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Canna Japanese kana-kanji frontend processor on console"
|
||||
HOMEPAGE="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/"
|
||||
SRC_URI="http://www.geocities.co.jp/SiliconValley-Bay/7584/${PN}/${P}.tar.gz
|
||||
unicode? ( http://hp.vector.co.jp/authors/VA020411/patches/${PN}_utf8.diff )"
|
||||
|
||||
LICENSE="canfep"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND="app-i18n/canna
|
||||
sys-libs/ncurses:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-posix-pty.patch
|
||||
"${FILESDIR}"/${PN}-termcap.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
use unicode && eapply "${DISTDIR}"/${PN}_utf8.diff
|
||||
sed -i 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' Makefile
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCXX)" \
|
||||
LIBS="-lcanna $(pkg-config --libs ncurses)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc 00{changes,readme}
|
||||
}
|
@ -1,38 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Canna Japanese kana-kanji frontend processor on console"
|
||||
HOMEPAGE="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/"
|
||||
SRC_URI="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/${P}.tar.gz
|
||||
unicode? ( http://hp.vector.co.jp/authors/VA020411/patches/canfep_utf8.diff )"
|
||||
SRC_URI="http://www.geocities.co.jp/SiliconValley-Bay/7584/${PN}/${P}.tar.gz
|
||||
unicode? ( http://hp.vector.co.jp/authors/VA020411/patches/${PN}_utf8.diff )"
|
||||
|
||||
LICENSE="canfep"
|
||||
SLOT="0"
|
||||
KEYWORDS="-alpha ~amd64 ppc ~sparc x86"
|
||||
IUSE="unicode"
|
||||
|
||||
DEPEND="app-i18n/canna
|
||||
sys-libs/ncurses"
|
||||
RDEPEND="app-i18n/canna"
|
||||
RDEPEND="app-i18n/canna
|
||||
sys-libs/ncurses:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
use unicode && epatch "${DISTDIR}"/canfep_utf8.diff
|
||||
sed -i "s:\$(CFLAGS):\$(CFLAGS) \$(LDFLAGS):" Makefile || die
|
||||
use unicode && eapply "${DISTDIR}"/${PN}_utf8.diff
|
||||
sed -i 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' Makefile
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCXX)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
LIBS="-lcanna -lncurses"
|
||||
LIBS="-lcanna $(pkg-config --libs ncurses)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin canfep
|
||||
dodoc 00changes 00readme
|
||||
dobin ${PN}
|
||||
dodoc 00{changes,readme}
|
||||
}
|
||||
|
@ -0,0 +1,67 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=212709
|
||||
|
||||
Author: OKUMURA N. Shin-ya <oku.ns@dream.com>
|
||||
|
||||
--- a/pty.C
|
||||
+++ b/pty.C
|
||||
@@ -257,6 +257,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#if defined(_POSIX_C_SOURCE)
|
||||
+ // BSD pty が開けないので、POSIX の方法を試す
|
||||
+ if ((master = posix_openpt(O_RDWR)) >= 0) {
|
||||
+ if (grantpt(master) == 0 && unlockpt(master) == 0) {
|
||||
+ // マスタデバイス名は固定
|
||||
+ strcpy(line, "/dev/ptmx");
|
||||
+ tcgetattr(0, &tt);
|
||||
+ tt.c_iflag &= ~ISTRIP;
|
||||
+ ioctl(0, TIOCGWINSZ, (char*) &win);
|
||||
+ return;
|
||||
+ }
|
||||
+ close(master);
|
||||
+ } else {
|
||||
+ perror("/dev/ptmx");
|
||||
+ }
|
||||
+#endif // _POSIX_C_SOURCE
|
||||
+
|
||||
printf("Out of pty's\n");
|
||||
fail();
|
||||
}
|
||||
@@ -265,12 +282,36 @@
|
||||
void
|
||||
Pty::getslave()
|
||||
{
|
||||
+#if defined(_POSIX_C_SOURCE)
|
||||
+ // マスタデバイスが POSIX 方式の場合
|
||||
+ if (strcmp(line, "/dev/ptmx") == 0) {
|
||||
+ char *slave_devname = ptsname(master);
|
||||
+ if (slave_devname == NULL) {
|
||||
+ perror("ptsname");
|
||||
+ fail();
|
||||
+ }
|
||||
+ slave = open(slave_devname, O_RDWR);
|
||||
+ if (slave < 0) {
|
||||
+ perror(slave_devname);
|
||||
+ fail();
|
||||
+ }
|
||||
+ strcpy(line, slave_devname);
|
||||
+ } else {
|
||||
+ line[strlen("/dev/")] = 't';
|
||||
+ slave = open(line, O_RDWR);
|
||||
+ if (slave < 0) {
|
||||
+ perror(line);
|
||||
+ fail();
|
||||
+ }
|
||||
+ }
|
||||
+#else // ! _POSIX_C_SOURCE
|
||||
line[strlen("/dev/")] = 't';
|
||||
slave = open(line, O_RDWR);
|
||||
if (slave < 0) {
|
||||
perror(line);
|
||||
fail();
|
||||
}
|
||||
+#endif // _POSIX_C_SOURCE
|
||||
tcsetattr(slave, TCSAFLUSH, &tt);
|
||||
if (!hs)
|
||||
win.ws_row--;
|
@ -0,0 +1,266 @@
|
||||
--- a/pty.C
|
||||
+++ b/pty.C
|
||||
@@ -4,9 +4,18 @@
|
||||
int Pty::child = 0;
|
||||
struct termios Pty::tt;
|
||||
int Pty::wfd = 0;
|
||||
+char Pty::buf[] = "";
|
||||
+char Pty::funcstr[] = "";
|
||||
int Pty::hs = 0;
|
||||
+char* Pty::so = 0;
|
||||
+char* Pty::se = 0;
|
||||
+char* Pty::us = 0;
|
||||
+char* Pty::ue = 0;
|
||||
+char* Pty::sc = 0;
|
||||
+char* Pty::rc = 0;
|
||||
char* Pty::ce = 0;
|
||||
char* Pty::ts = 0;
|
||||
+char* Pty::fs = 0;
|
||||
char* Pty::ds = 0;
|
||||
char Pty::endstr[] = "";
|
||||
char Pty::endmsg[] = "";
|
||||
@@ -14,88 +23,7 @@
|
||||
// コンストラクタだよん
|
||||
Pty::Pty(int ac, char** av, char* amsg, char* emsg)
|
||||
{
|
||||
- // 環境変数 TERM のエントリを取得
|
||||
- char buff[BUFSIZ];
|
||||
- char* term = getenv("TERM");
|
||||
- if (!term)
|
||||
- term = "vt100";
|
||||
- int ret = tgetent(buff, term);
|
||||
- if (ret != 1) {
|
||||
- tgetent(buff, "vt100");
|
||||
- putenv("TERM=vt100");
|
||||
- }
|
||||
-
|
||||
- // termcap から装飾用のエントリを取ってくる
|
||||
- char funcstr[BUFSIZ];
|
||||
- char* pt = funcstr;
|
||||
-
|
||||
- // スタンドアウト (反転)
|
||||
- so = tgetstr("so", &pt);
|
||||
- adjstr(so);
|
||||
- se = tgetstr("se", &pt);
|
||||
- adjstr(se);
|
||||
-
|
||||
- // アンダーライン (下線)
|
||||
- us = tgetstr("us", &pt);
|
||||
- adjstr(us);
|
||||
- ue = tgetstr("ue", &pt);
|
||||
- adjstr(ue);
|
||||
-
|
||||
- // カーソル位置の保存,保存した位置への復帰
|
||||
- sc = tgetstr("sc", &pt);
|
||||
- adjstr(sc);
|
||||
- rc = tgetstr("rc", &pt);
|
||||
- adjstr(rc);
|
||||
-
|
||||
- // カーソル位置から行の最後までを削除する
|
||||
- ce = tgetstr("ce", &pt);
|
||||
- adjstr(ce);
|
||||
-
|
||||
- // ステータスラインを持っているかどうか
|
||||
- hs = tgetflag("hs");
|
||||
-
|
||||
- // kon と jfbterm ではステータスラインを使わない
|
||||
- if (strcmp(term, "kon") == 0)
|
||||
- hs = 0;
|
||||
- if (strcmp(term, "jfbterm") == 0)
|
||||
- hs = 0;
|
||||
-
|
||||
- // ステータスラインへ移動,戻る
|
||||
- if (hs) {
|
||||
- ts = tgoto(tgetstr("ts", &pt), 0, 0);
|
||||
- adjstr(ts);
|
||||
- fs = tgetstr("fs", &pt);
|
||||
- adjstr(fs);
|
||||
- ds = tgetstr("ds", &pt);
|
||||
- adjstr(ds);
|
||||
- if (ds) {
|
||||
- strcat(endstr, ds);
|
||||
- strcat(endstr, ce);
|
||||
- }
|
||||
- }
|
||||
- else {
|
||||
- char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
|
||||
- adjstr(cs);
|
||||
- if (cs) {
|
||||
- write(1, ce, strlen(ce));
|
||||
- write(1, cs, strlen(cs));
|
||||
- }
|
||||
- char* cl = tgetstr("cl", &pt);
|
||||
- adjstr(cl);
|
||||
- if (cl) {
|
||||
- write(1, cl, strlen(cl));
|
||||
- strcat(endstr, cl);
|
||||
- }
|
||||
- ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
|
||||
- adjstr(ds);
|
||||
- if (ds) {
|
||||
- strcat(endstr, ds);
|
||||
- strcat(endstr, ce);
|
||||
- }
|
||||
- ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
|
||||
- adjstr(ts);
|
||||
- fs = rc;
|
||||
- }
|
||||
+ gettermcap();
|
||||
|
||||
// 開始と終了のメッセージ
|
||||
if (amsg && ac == 1)
|
||||
@@ -209,21 +137,75 @@
|
||||
done();
|
||||
}
|
||||
|
||||
-// termcap エントリからパディングを削除する
|
||||
void
|
||||
-Pty::adjstr(char* str)
|
||||
+Pty::gettermcap()
|
||||
{
|
||||
- char* sp = strdup(str);
|
||||
- char* p = sp;
|
||||
- while (*p != '\0') {
|
||||
- if (strncmp(p, "$<", 2) == 0) {
|
||||
- while (*p != '>')
|
||||
- p++;
|
||||
- *p = '\0';
|
||||
+ // 環境変数 TERM のエントリを取得
|
||||
+ char* term = getenv("TERM");
|
||||
+ if (!term)
|
||||
+ term = "vt100";
|
||||
+ int ret = tgetent(buf, term);
|
||||
+ if (ret != 1) {
|
||||
+ tgetent(buf, "vt100");
|
||||
+ putenv("TERM=vt100");
|
||||
+ }
|
||||
+
|
||||
+ // termcap から装飾用のエントリを取ってくる
|
||||
+ char* pt = funcstr;
|
||||
+
|
||||
+ // スタンドアウト (反転)
|
||||
+ so = tgetstr("so", &pt);
|
||||
+ se = tgetstr("se", &pt);
|
||||
+
|
||||
+ // アンダーライン (下線)
|
||||
+ us = tgetstr("us", &pt);
|
||||
+ ue = tgetstr("ue", &pt);
|
||||
+
|
||||
+ // カーソル位置の保存,保存した位置への復帰
|
||||
+ sc = tgetstr("sc", &pt);
|
||||
+ rc = tgetstr("rc", &pt);
|
||||
+
|
||||
+ // カーソル位置から行の最後までを削除する
|
||||
+ ce = tgetstr("ce", &pt);
|
||||
+
|
||||
+ // ステータスラインを持っているかどうか
|
||||
+ hs = tgetflag("hs");
|
||||
+
|
||||
+ // kon と jfbterm ではステータスラインを使わない
|
||||
+ if (strcmp(term, "kon") == 0)
|
||||
+ hs = 0;
|
||||
+ if (strcmp(term, "jfbterm") == 0)
|
||||
+ hs = 0;
|
||||
+
|
||||
+ // ステータスラインへ移動,戻る
|
||||
+ if (hs) {
|
||||
+ ts = tgoto(tgetstr("ts", &pt), 0, 0);
|
||||
+ fs = tgetstr("fs", &pt);
|
||||
+ ds = tgetstr("ds", &pt);
|
||||
+ if (ds) {
|
||||
+ strcat(endstr, ds);
|
||||
+ strcat(endstr, ce);
|
||||
}
|
||||
- *str++ = *p++;
|
||||
}
|
||||
- free(sp);
|
||||
+ else {
|
||||
+ char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
|
||||
+ if (cs) {
|
||||
+ write(1, ce, strlen(ce));
|
||||
+ write(1, cs, strlen(cs));
|
||||
+ }
|
||||
+ char* cl = tgetstr("cl", &pt);
|
||||
+ if (cl) {
|
||||
+ write(1, cl, strlen(cl));
|
||||
+ strcat(endstr, cl);
|
||||
+ }
|
||||
+ ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
|
||||
+ if (ds) {
|
||||
+ strcat(endstr, ds);
|
||||
+ strcat(endstr, ce);
|
||||
+ }
|
||||
+ ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
|
||||
+ fs = rc;
|
||||
+ }
|
||||
}
|
||||
|
||||
// マスタデバイスを取る
|
||||
@@ -327,34 +309,7 @@
|
||||
{
|
||||
signal(SIGWINCH, SIG_IGN);
|
||||
|
||||
- // ステータスラインが使えない場合は cs/ds/ts を取り直す
|
||||
- if (!hs) {
|
||||
- char buff[BUFSIZ];
|
||||
- char* term = getenv("TERM");
|
||||
- tgetent(buff, term);
|
||||
- char funcstr[BUFSIZ];
|
||||
- char* pt = funcstr;
|
||||
- char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
|
||||
- adjstr(cs);
|
||||
- if (cs) {
|
||||
- write(1, ce, strlen(ce));
|
||||
- write(1, cs, strlen(cs));
|
||||
- }
|
||||
- char* cl = tgetstr("cl", &pt);
|
||||
- adjstr(cl);
|
||||
- if (cl) {
|
||||
- write(1, cl, strlen(cl));
|
||||
- strcpy(endstr, cl);
|
||||
- }
|
||||
- ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
|
||||
- adjstr(ds);
|
||||
- if (ds) {
|
||||
- strcat(endstr, ds);
|
||||
- strcat(endstr, ce);
|
||||
- }
|
||||
- ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
|
||||
- adjstr(ts);
|
||||
- }
|
||||
+ gettermcap();
|
||||
|
||||
// ウィンドウのサイズを設定し直す (stty -a の 行数/桁数 等)
|
||||
struct winsize win;
|
||||
--- a/pty.H
|
||||
+++ b/pty.H
|
||||
@@ -50,18 +50,21 @@
|
||||
int rfd;
|
||||
static int wfd;
|
||||
private:
|
||||
- static void adjstr(char* str);
|
||||
+ static char buf[BUFSIZ];
|
||||
+ static char funcstr[BUFSIZ];
|
||||
+private:
|
||||
+ static void gettermcap();
|
||||
protected:
|
||||
static int hs;
|
||||
- char* so;
|
||||
- char* se;
|
||||
- char* us;
|
||||
- char* ue;
|
||||
- char* sc;
|
||||
- char* rc;
|
||||
+ static char* so;
|
||||
+ static char* se;
|
||||
+ static char* us;
|
||||
+ static char* ue;
|
||||
+ static char* sc;
|
||||
+ static char* rc;
|
||||
static char* ce;
|
||||
static char* ts;
|
||||
- char* fs;
|
||||
+ static char* fs;
|
||||
static char* ds;
|
||||
private:
|
||||
static void finish();
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,35 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-moduledir = ${libdir}/gtk-2.0/2.4.0/immodules
|
||||
+moduledir = ${libdir}/gtk-2.0/${GTK_BINARY_VERSION}/immodules
|
||||
## Makefile.am for gtk+/modules/input
|
||||
if PLATFORM_WIN32
|
||||
no_undefined = -no-undefined
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
SUBDIRS = po
|
||||
|
||||
-INCLUDES = @GTK_DEP_CFLAGS@ -I/usr/include/canna -DIM_LOCALEDIR=\"${datadir}/locale\"
|
||||
+INCLUDES = @GTK_DEP_CFLAGS@ -DIM_LOCALEDIR=\"${datadir}/locale\"
|
||||
|
||||
DEPS =
|
||||
|
||||
-LDADDS = @GTK_DEP_LIBS@ -lcanna
|
||||
+LDADDS = @GTK_DEP_LIBS@
|
||||
|
||||
EXTRA_DIST= \
|
||||
im-canna.spec \
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -21,8 +21,10 @@
|
||||
|
||||
GTK_DEP_CFLAGS=`pkg-config gtk+-2.0 --cflags`
|
||||
GTK_DEP_LIBS=`pkg-config gtk+-2.0 --libs`
|
||||
+GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version`
|
||||
AC_SUBST(GTK_DEP_CFLAGS)
|
||||
AC_SUBST(GTK_DEP_LIBS)
|
||||
+AC_SUBST(GTK_BINARY_VERSION)
|
||||
|
||||
LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
|
||||
LT_CURRENT=2
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools gnome2-utils ltprune
|
||||
|
||||
DESCRIPTION="Japanese Canna input method module for GTK+2"
|
||||
HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/"
|
||||
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-i18n/canna
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1 @@
|
||||
DIST im-chooser-1.6.2.tar.bz2 515776 SHA256 0df444df86a60ff2534eea58c51a5e8bcc343c13a6b3d87356d9c5da3e4867b1 SHA512 86ed483ccdeb045f2b96df443ffbccb4d66bd11dac215e52d10eabb983fbbcecc848b074f7771c76bab311db04ec982865f2cce27d6274144068361aa04f42b9 WHIRLPOOL 3280243d859cd53ddf5d3cd64c7acbbc74718e751c0ca756315a2a3966b7db9215cb5d174cc5bcf25c5ecee653cd6c6019ddbdf62b4906d470710e8455d7b2cf
|
||||
DIST im-chooser-1.7.0.tar.bz2 509630 SHA256 5b5f4eff3f57b2b85b679d2079d56db507342ba4db189b3881bd75bf42fe125c SHA512 2a01488062b5a4dc1e4cd0815dda5a6bcef205dc50ed75d58836c5b46e3f86be79aac70eb5d6753e5f569ccc05015dd6d8de59029e94dc407cc613160d3ac61c WHIRLPOOL f80472e6c373ae29425e4bf6988088b2917ec1ecf936ac996ed0ae540d4a79fb39c5313c1f09c141e26a83444130993e981c2654c5de0c123e0fb3dbdece6d57
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff --git a/libimchooseui/imchooseui.c b/libimchooseui/imchooseui.c
|
||||
index f135aff..dd5881a 100644
|
||||
--- a/libimchooseui/imchooseui.c
|
||||
+++ b/libimchooseui/imchooseui.c
|
||||
@@ -41,14 +41,14 @@ static void _imchoose_ui_switch_im_finish (GObject *source_object,
|
||||
GAsyncResult *res,
|
||||
gpointer user_data);
|
||||
|
||||
-typedef struct _IMChooseUIPrivate {
|
||||
+struct _IMChooseUIPrivate {
|
||||
IMSettingsClient *client;
|
||||
gchar *default_im;
|
||||
gchar *initial_im;
|
||||
gchar *current_im;
|
||||
guint note_type;
|
||||
gboolean clicked:1;
|
||||
-} IMChooseUIPrivate;
|
||||
+};
|
||||
enum {
|
||||
POS_ICON = 0,
|
||||
POS_LABEL,
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit gnome2 eutils
|
||||
|
||||
DESCRIPTION="Desktop Input Method configuration tool"
|
||||
HOMEPAGE="https://fedorahosted.org/im-chooser/"
|
||||
SRC_URI="https://fedorahosted.org/releases/i/m/im-chooser/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnome"
|
||||
|
||||
RDEPEND=">=app-i18n/imsettings-1.3.0
|
||||
>=dev-libs/glib-2.16:2
|
||||
>=x11-libs/gtk+-2.16:2
|
||||
gnome? ( >=gnome-base/gnome-control-center-2.29:2 )"
|
||||
# || (
|
||||
# (
|
||||
# >=dev-libs/glib:3
|
||||
# >=x11-libs/gtk+:3
|
||||
# gnome? ( gnome-base/gnome-control-center:3 )
|
||||
# )
|
||||
# (
|
||||
# >=dev-libs/glib-2.16:2
|
||||
# >=x11-libs/gtk+-2.16:2
|
||||
# gnome? ( >=gnome-base/gnome-control-center-2.29:2 )
|
||||
# )
|
||||
# )
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.1-imchooserui.patch
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools ltprune
|
||||
|
||||
DESCRIPTION="Desktop Input Method configuration tool"
|
||||
HOMEPAGE="https://pagure.io/im-chooser"
|
||||
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk2 xfce"
|
||||
|
||||
RDEPEND="app-i18n/imsettings
|
||||
virtual/libintl
|
||||
x11-libs/libSM
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
!gtk2? ( x11-libs/gtk+:3 )
|
||||
xfce? ( xfce-base/libxfce4util )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/autoconf-archive
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/PKG_CHECK_MODULES/s/\(gtk+-3\.0\)/$(usex !gtk2 '\1' _)/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(libxfce4util-1\.0\)/$(usex xfce '\1' _)/" \
|
||||
-e "/^GNOME_/d" \
|
||||
-e "/^CFLAGS/s/\$WARN_CFLAGS/-Wall -Wmissing-prototypes/" \
|
||||
configure.ac
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,13 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
IM Chooser is a GUI configuration tool for IMSettings to
|
||||
choose Input Method you want to use or disable it entirely
|
||||
on the desktop.
|
||||
</longdescription>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
IM Chooser is a GUI configuration tool for IMSettings to choose Input
|
||||
Method you want to use or disable it entirely on the desktop.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="gtk2">
|
||||
Build with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3
|
||||
</flag>
|
||||
<flag name="xfce">Enable support for XFCE panel</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,112 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-moduledir = ${libdir}/gtk-2.0/2.4.0/immodules
|
||||
+moduledir = ${libdir}/gtk-2.0/${GTK_BINARY_VERSION}/immodules
|
||||
## Makefile.am for gtk+/modules/input
|
||||
if PLATFORM_WIN32
|
||||
no_undefined = -no-undefined
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
SUBDIRS = po
|
||||
|
||||
-INCLUDES = @GTK_DEP_CFLAGS@ -I/usr/include/wnn -DIM_LOCALEDIR=\"${datadir}/locale\"
|
||||
+INCLUDES = @GTK_DEP_CFLAGS@ -DIM_LOCALEDIR=\"${datadir}/locale\"
|
||||
|
||||
DEPS =
|
||||
|
||||
-LDADDS = @GTK_DEP_LIBS@ -lcrypt
|
||||
+LDADDS = @GTK_DEP_LIBS@
|
||||
|
||||
EXTRA_DIST= \
|
||||
im-freewnn.spec
|
||||
@@ -38,7 +38,7 @@
|
||||
candwin.h \
|
||||
candwin.c
|
||||
|
||||
-im_freewnn_la_LIBADD = $(LDADDS) -lcrypt
|
||||
+im_freewnn_la_LIBADD = $(LDADDS)
|
||||
|
||||
module_LTLIBRARIES = \
|
||||
im-freewnn.la
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -21,8 +21,10 @@
|
||||
|
||||
GTK_DEP_CFLAGS=`pkg-config gtk+-2.0 --cflags`
|
||||
GTK_DEP_LIBS=`pkg-config gtk+-2.0 --libs`
|
||||
+GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version`
|
||||
AC_SUBST(GTK_DEP_CFLAGS)
|
||||
AC_SUBST(GTK_DEP_LIBS)
|
||||
+AC_SUBST(GTK_BINARY_VERSION)
|
||||
|
||||
LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
|
||||
LT_CURRENT=2
|
||||
@@ -48,11 +50,9 @@
|
||||
AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
|
||||
|
||||
dnl FreeWnn check
|
||||
-ldflags_backup="$LDFLAGS"
|
||||
-LDFLAGS="$LDFLAGS -lcrypt"
|
||||
AC_CHECK_HEADER(wnn/jlib.h,,)
|
||||
+AC_CHECK_LIB(crypt, crypt,,)
|
||||
AC_CHECK_LIB(wnn, jl_open_lang,,)
|
||||
-LDFLAGS="$ldflags_backup"
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
--- a/freewnn-modewin.h
|
||||
+++ b/freewnn-modewin.h
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
-#include <jllib.h>
|
||||
+#include <wnn/jllib.h>
|
||||
|
||||
#include "freewnn-register-win.h"
|
||||
#include "freewnn-config.h"
|
||||
--- a/freewnn-register-win.c
|
||||
+++ b/freewnn-register-win.c
|
||||
@@ -18,7 +18,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-#include <jllib.h>
|
||||
+#include <wnn/jllib.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
--- a/freewnn-register-win.h
|
||||
+++ b/freewnn-register-win.h
|
||||
@@ -22,7 +22,7 @@
|
||||
#define _FREEWNN_REGIST_WIN
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
-#include <jllib.h>
|
||||
+#include <wnn/jllib.h>
|
||||
|
||||
typedef struct _FreeWnnRegisterWin FreeWnnRegisterWin;
|
||||
|
||||
--- a/freewnn-utils.h
|
||||
+++ b/freewnn-utils.h
|
||||
@@ -18,7 +18,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
-#include <jllib.h>
|
||||
+#include <wnn/jllib.h>
|
||||
#include <glib.h>
|
||||
|
||||
w_char* char2wchar(unsigned char* str);
|
||||
--- a/im-freewnn.h
|
||||
+++ b/im-freewnn.h
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtk/gtkimmodule.h>
|
||||
-#include <jllib.h>
|
||||
+#include <wnn/jllib.h>
|
||||
|
||||
#include "freewnn-modewin.h"
|
||||
#include "freewnn-utils.h"
|
@ -0,0 +1,11 @@
|
||||
--- a/im-freewnn.c
|
||||
+++ b/im-freewnn.c
|
||||
@@ -236,7 +236,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- jl_set_env_wnnrc(wenv, "/etc/FreeWnn/ja/wnnenvrc", printConfirm, printError);
|
||||
+ jl_set_env_wnnrc(wenv, "@GENTOO_PORTAGE_EPREFIX@/usr/lib/wnn/ja_JP/wnnenvrc", printConfirm, printError);
|
||||
|
||||
cf->modewin = freewnn_modewin_new(cf->wnnbuf, &cf->functable);
|
||||
cf->candwin = candwin_new();
|
@ -1,20 +0,0 @@
|
||||
--- im-freewnn.c 2004-08-05 09:47:08.000000000 +0900
|
||||
+++ im-freewnn.c-wnnrc 2004-08-05 21:55:50.540038392 +0900
|
||||
@@ -53,7 +53,7 @@
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
-static const gchar* ideos = " 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\〜‖|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+−±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇∧∨¬⇒⇔∀∃∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬ʼn♯♭♪†‡¶◯ゎゐゑヮヰヱヴヵヶΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂";
|
||||
+static const gchar* ideos = " 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\??|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+?±×÷=≠<>≦≧∞∴♂♀°′″℃¥$??%#&*@§☆★○●◎◇∧∨?⇒⇔∀∃∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬ʼn♯♭♪†‡¶◯ゎゐゑヮヰヱヴヵヶΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂";
|
||||
|
||||
#ifdef BUFSIZ
|
||||
#undef BUFSIZ
|
||||
@@ -236,7 +236,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- jl_set_env_wnnrc(wenv, "/etc/FreeWnn/ja/wnnenvrc", printConfirm, printError);
|
||||
+ jl_set_env_wnnrc(wenv, "/usr/lib/wnn/ja_JP/wnnenvrc", printConfirm, printError);
|
||||
|
||||
cf->modewin = freewnn_modewin_new(cf->wnnbuf, &cf->functable);
|
||||
cf->candwin = candwin_new();
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools gnome2-utils ltprune prefix
|
||||
|
||||
DESCRIPTION="Japanese FreeWnn input method module for GTK+2"
|
||||
HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/"
|
||||
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-i18n/freewnn
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-gentoo.patch
|
||||
"${FILESDIR}"/${PN}-headers.patch
|
||||
"${FILESDIR}"/${PN}-wnnenvrc.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eprefixify ${PN}.c
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1 @@
|
||||
DIST imsettings-1.6.8.tar.bz2 593942 SHA256 2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba SHA512 a15a4824529b16f61653fdf3e149656c7a2ca1384579c755cec6650414499c3d24ac15178971d961f327c5fd8acd7892b9b4f9c60608166c281c11ab3f2b25b0 WHIRLPOOL c39cb54b9be8424dc1d9eceae12f793847585638f29a52282427c3c07ee1bd3e5ed9d67ff73727b055499c3963e106024eb9f164b32ebcf553b2dfccf1114a6d
|
||||
DIST imsettings-1.7.2.tar.bz2 595754 SHA256 41addf0458f760212b6b6100835066e16deb3a8a50eb005a0fc17fbac0a2ae66 SHA512 b28d67705d3d6a0ec95babaca616f750b73cdac5e01ed61e25a6527fd7f816a14654cd7233eca56d7427b9395e7ad75757b95cd7bd55c56bbdc145a3f8bfe1f0 WHIRLPOOL 018baea019f67bd19744facd981d5b6154de9ee19fa0565d9d7d11c6de02cfc1e3027424326700078eed979012e51b685abaaac0ae49a773bb9f088197ba6766
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Delivery framework for general Input Method configuration"
|
||||
HOMEPAGE="https://tagoh.bitbucket.org/imsettings/"
|
||||
SRC_URI="https://bitbucket.org/tagoh/imsettings/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc gconf gtk3 qt4 static-libs xfconf"
|
||||
|
||||
# X11 connections are required for test.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-libs/check-0.9.4
|
||||
>=dev-libs/glib-2.32
|
||||
sys-apps/dbus
|
||||
>=x11-libs/gtk+-2.12:2
|
||||
>=x11-libs/libgxim-0.5.0
|
||||
>=x11-libs/libnotify-0.7
|
||||
x11-libs/libX11
|
||||
gconf? ( gnome-base/gconf )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
qt4? ( dev-qt/qtcore:4 )
|
||||
xfconf? ( xfce-base/xfconf )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
MY_XINPUTSH="90-xinput"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
# Prevent automagic linking to libxfconf-0.
|
||||
if ! use gconf; then
|
||||
sed -i -e 's:gconf-2.0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use gtk3; then
|
||||
sed -i -e 's:gtk+-3.0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use qt4; then
|
||||
sed -i -e 's:use_qt="yes":use_qt="no":' configure || die
|
||||
fi
|
||||
if ! use xfconf; then
|
||||
sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-xinputsh="${MY_XINPUTSH}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
|
||||
fperms 0755 /usr/libexec/xinputinfo.sh
|
||||
fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then
|
||||
ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc"
|
||||
fi
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools ltprune xdg-utils
|
||||
|
||||
DESCRIPTION="Delivery framework for general Input Method configuration"
|
||||
HOMEPAGE="https://tagoh.bitbucket.io/imsettings"
|
||||
SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gconf gtk2 qt5 +introspection static-libs xfconf"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-apps/dbus
|
||||
virtual/libintl
|
||||
x11-libs/libX11
|
||||
x11-libs/libgxim
|
||||
x11-libs/libnotify
|
||||
gconf? ( gnome-base/gconf )
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
!gtk2? ( x11-libs/gtk+:3 )
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
xfconf? ( xfce-base/xfconf )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
sys-devel/autoconf-archive
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
MY_XINPUTSH="90-xinput"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/PKG_CHECK_MODULES/s/\(gconf-2\.0\)/$(usex gconf '\1' _)/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(gtk+-2\.0\)/$(usex gtk2 '\1' _)/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(gtk+-3\.0\)/$(usex !gtk2 '\1' _)/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(check\)/_/" \
|
||||
-e "/PKG_CHECK_MODULES/s/\(libxfconf-0\)/$(usex xfconf '\1' _)/" \
|
||||
-e "s/use_qt=\"yes\"/use_qt=\"$(usex qt5)\"/" \
|
||||
-e "/^GNOME_/d" \
|
||||
-e "/^CFLAGS/s/\$WARN_CFLAGS/-Wall -Wmissing-prototypes/" \
|
||||
configure.ac
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-xinputsh=${MY_XINPUTSH}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --modules
|
||||
|
||||
fperms 0755 /etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e "${EPREFIX}"/etc/X11/xinit/xinputrc ]]; then
|
||||
ln -sf xinput.d/xcompose.conf "${EPREFIX}"/etc/X11/xinit/xinputrc
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tp_smapi-0.41.tar.gz 38852 SHA256 6aef02b92d10360ac9be0db29ae390636be55017990063a092a285c70b54e666 SHA512 924a11cdf64bc151d069d4f61ca476cf006773291f363b21a80ce091f560a78c4828d2e522e646a5b133c58149a37cb5c2432a165e92e6980eb510b9488c728e WHIRLPOOL 10c74811148934a49b2d2b65cd65d366c58de03682c02d6b82694b4831634a25f2da9986b0493e28b372abf7ada692ee8ea85b2881b823b0cb7b35b73f348d6e
|
||||
DIST tp_smapi-0.42.tgz 39867 SHA256 7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27 SHA512 1004b7ef961a9908c2144b26ea60b6dddabd83d60c11421a03e3b810f5b635415ef52656d6980915512d68f809f7bc3d662328f25d111537bd7e175d252cf83b WHIRLPOOL 7d03aaf2bb4de3aabbc38fba62f126e6f2976ea1964d85da2fffbbcd63bb4c3884a152851cae116438b859c13d59fd4e41be126683f660f9b8322d7fc40ddc28
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
|
||||
HOMEPAGE="https://github.com/evgeni/tp_smapi/ http://tpctl.sourceforge.net/"
|
||||
SRC_URI="mirror://github/evgeni/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="hdaps"
|
||||
|
||||
RESTRICT="userpriv"
|
||||
|
||||
# We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
|
||||
# in dmi.h
|
||||
DEPEND="sys-apps/dmidecode"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_pretend() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
if kernel_is lt 2 6 19; then
|
||||
eerror
|
||||
eerror "${P} requires Linux kernel 2.6.19 or above."
|
||||
eerror
|
||||
die "Unsupported kernel version"
|
||||
fi
|
||||
|
||||
MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
|
||||
BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_OUT_DIR}"
|
||||
BUILD_TARGETS="default"
|
||||
|
||||
if use hdaps; then
|
||||
CONFIG_CHECK="~INPUT_UINPUT"
|
||||
WARNING_INPUT_UINPUT="Your kernel needs uinput for the hdaps module to perform better"
|
||||
linux-info_pkg_setup
|
||||
|
||||
MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
|
||||
BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
|
||||
|
||||
CONFIG_CHECK="~!SENSORS_HDAPS"
|
||||
ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# run again as pkg_pretend is not var safe
|
||||
pkg_pretend
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
dodoc CHANGES README
|
||||
newinitd "${FILESDIR}"/${PN}-0.40-initd smapi
|
||||
newconfd "${FILESDIR}"/${PN}-0.40-confd smapi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST pdfpc-3.1.1.tgz 199004 SHA256 ec5ffb9c2b55d1bac76172a6a13ed527ceed8cf0d659aca5e302f6a7185f00f2 SHA512 554203094b18fe11fd085414961de6644df3c258ad52d46ad171cfd6c2199028bcbaa9560bdaba63d83f858b467407cc276972b34f341cc25260db1d1358e88d WHIRLPOOL bddcba6a4285ea2b58dd01f76b7b050db630eaa97de5bba32a66f7f85563e6a99763a52e82286297f605dfa59d9ff918007baab297e587968ac1c83e3d69e8a8
|
||||
DIST pdfpc-4.0.6.tar.gz 82157 SHA256 42b6bd421e977a98cf00d688da7b392b8d8be423eb56ea7ca929c3c0334f8aa4 SHA512 289d37956da27d2da1ebf562a8557fd66b92143d777558103da5d70aaabee1f0d4ce69d7e193485d921156d7bc778de635faf18d6ec25a29651980ecd5c74b22 WHIRLPOOL 36caaca71d6df9c0b51bf61cab67c34af5af5097ff96ae5d994f93b0977d8bb2dc9676a9e7293faceb115c6753e4884fcd685878db9847c2cb85f31ac2c9fedc
|
||||
DIST pdfpc-4.0.7.tar.gz 83626 SHA256 25d5aa2cce344f1554f1f45a7c1f636576587cfd553d75d704e0c95ae3b2a503 SHA512 557e2a24e7aa4b0a7bc413517d6b274c7bad91f5e9d24ec139d0e62c490712081344448bfbedc82a90d28cd9b5910a6f51863aa44dc1c7a61ada6d154780444c WHIRLPOOL f5018d7ba64bea17923c9e3f2e5b6e7e3bc950ffea02a53c93d63057590f1538371fe6b11383d6fbfb4c32d04887f75d1e01f6b24c4b9fc43ac1aacf9be075cd
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
VALA_MIN_API_VERSION="0.26"
|
||||
VALA_MAX_API_VERSION="0.32" # fix sed line if you increase this
|
||||
|
||||
inherit vala cmake-utils
|
||||
|
||||
DESCRIPTION="Presenter console with multi-monitor support for PDF files"
|
||||
HOMEPAGE="http://pdfpc.github.io"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gstreamer"
|
||||
|
||||
RDEPEND="app-text/poppler:=[cairo]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgee:0.8
|
||||
gnome-base/librsvg
|
||||
gstreamer? ( media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0 )
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/valac-0.20/valac-0.32 valac-0.30 valac-0.28 valac-0.26/" cmake/vala/FindVala.cmake || die
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
local mycmakeargs=(
|
||||
-DSYSCONFDIR="${EPREFIX}/etc"
|
||||
-DMOVIES=$(usex gstreamer on off)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,10 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=6
|
||||
|
||||
VIM_SPELL_LANGUAGE="German"
|
||||
|
||||
inherit vim-spell
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~arm ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue