parent
9f9ea9a0f9
commit
a300808956
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.4.3.ebuild,v 1.1 2013/12/29 09:15:08 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 readme.gentoo
|
||||
|
||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.cc/"
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/nose
|
||||
dev-vcs/git
|
||||
)"
|
||||
RDEPEND="
|
||||
dev-python/jinja
|
||||
dev-python/pyyaml
|
||||
dev-python/paramiko
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
|
||||
DOC_CONTENTS="You can define parameters through shell variables OR use config files
|
||||
Examples of config files installed in /usr/share/doc/${PF}/examples\n\n
|
||||
You have to create ansible hosts file!\n
|
||||
More info on http://ansible.cc/docs/gettingstarted.html"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
# Skip tests which need ssh access
|
||||
sed -i 's:$(NOSETESTS) -d -v:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
make tests || die "tests failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
# Hint: do not install example config files into /etc
|
||||
# let this choice to user
|
||||
|
||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST wxwidgets.eselect-1.4.bz2 2375 SHA256 630d2a79e3c1a124a124a81db1213e1c036a5c49a5bf06a328b164d997725386 SHA512 02cd876c040d2ea2589527530e7c570c94a1ca7cae867488ec5cf4509d21386d89cb128364aff80d64d0aa29e334209f02abb6e7baf890ff9bb0c22f606fc8fd WHIRLPOOL a3d0c88cba4634d1b390f912b3bc1750f2ef06cf2d5865c3a5c958538f7fc0c664edb59693340d5c7a1e3cb4e49737400a932c14841a77ec19bff07860d99514
|
||||
DIST wxwidgets.eselect-20131230.bz2 2228 SHA256 7c3c87931b6887cf1e6c486b17fb71fefcdf6fcf8089fe09d7f70ae17e3e0722 SHA512 0406cfbc5c39d2e65b22d0e8d70ea08ea9e348342d7bc1725dd8655fdedd883fd29e14263ad95737523d6285e081ef4558c4dec00c4a9ea9b9ef01ce537978e5 WHIRLPOOL 60a0ea44ddf1faab42a63f3717aa9d1234713eb40897025b7de8ad7f64f3a77c3399f084eb3a67e236b42963d7d793f0026ea17c10ffd3328fa109218a3deebe
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-wxwidgets/eselect-wxwidgets-20131230.ebuild,v 1.1 2013/12/30 08:21:04 dirtyepic Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
WXWRAP_VER=1.3
|
||||
|
||||
DESCRIPTION="Eselect module and wrappers for wxWidgets"
|
||||
HOMEPAGE="http://www.gentoo.org"
|
||||
SRC_URI="http://dev.gentoo.org/~dirtyepic/dist/wxwidgets.eselect-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${S}"/wxwidgets.eselect-${PV} wxwidgets.eselect
|
||||
|
||||
insinto /usr/share/aclocal
|
||||
newins "${FILESDIR}"/wxwin.m4-3.0 wxwin.m4
|
||||
|
||||
newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config
|
||||
newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc
|
||||
|
||||
keepdir /var/lib/wxwidgets
|
||||
keepdir /usr/share/bakefile/presets
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
|
||||
echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "This eselect module only controls the version of wxGTK used when"
|
||||
elog "building packages outside of portage. If you are not doing development"
|
||||
elog "with wxWidgets or bakefile you will never need to use it."
|
||||
echo
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1 +1,2 @@
|
||||
DIST hardening-wrapper_2.4.tar.gz 21082 SHA256 411248b1f89e512bd27f96cfaef2aac4fe5c50884ca0769ba94dd2b90bea5d5a SHA512 59366393821116493e204972009bc614a3aee61b15427ecf0a4bc23accea00e0891196b1250f6a3c30e9633ca54022f39ad83d49a213cd4c9aaa78e992647a07 WHIRLPOOL a2aef6b6b302a2b238953b53946865ab7864b36914d0f168073a958c8ae8041d75456283f806d99a124fd853bf775635c7bb4af0f74a5245f49b378eb28ee763
|
||||
DIST hardening-wrapper_2.5.tar.gz 21157 SHA256 9ae2cc44d9543476b5b8655b4699af5421218dce44ce0d4a89cf5d81ba12b9bf SHA512 e2c183736e9f1dd1b39ecde7d2bf2c22d4c87c69cb158d98bb527b8325d88ea86bceb6087633cc761e973a22d0cf97c6266464d117e408ed2aee2e67c8ab5565 WHIRLPOOL 652327876a29ad8a69529bcb85b1331a227348a1ca87c1e5cf69fbcea0ad7c57afdcb14536eebfc8668834a701ee80f8579b8851f596e41ee782e4c6dbf47cb9
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hardening-check/hardening-check-2.5.ebuild,v 1.1 2013/12/29 17:49:34 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_PN="hardening-wrapper"
|
||||
|
||||
DESCRIPTION="Report the hardening characterists of a set of binaries"
|
||||
HOMEPAGE="https://wiki.debian.org/Hardening"
|
||||
SRC_URI="mirror://debian/pool/main/h/${MY_PN}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
newbin ${PN}.sh ${PN}
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild,v 1.1 2013/12/27 20:06:46 mjo Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Downloads and installs third-party clamav signatures"
|
||||
HOMEPAGE="http://sourceforge.net/projects/unofficial-sigs"
|
||||
SRC_URI="mirror://sourceforge/unofficial-sigs/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# We need its user/group.
|
||||
DEPEND="app-antivirus/clamav"
|
||||
|
||||
# The script relies on either net-misc/socat, or Perl's
|
||||
# IO::Socket::UNIX. We already depend on Perl, and Gentoo's Perl ships
|
||||
# with IO::Socket::UNIX, so we can leave out net-misc/socat here.
|
||||
RDEPEND="${DEPEND}
|
||||
app-crypt/gnupg
|
||||
dev-lang/perl
|
||||
net-dns/bind-tools
|
||||
net-misc/curl"
|
||||
|
||||
src_prepare() {
|
||||
# First, fix the paths contained in the configuration file. Eventually
|
||||
# these should be moved under /run, but for now we keep them sync'ed
|
||||
# with the default clamd.conf.
|
||||
local pid_default="/var/run/clamd.pid"
|
||||
local pid_gentoo="/var/run/clamav/clamd.pid"
|
||||
|
||||
# clamd listens on a local socket by default. The clamd_socket
|
||||
# setting needs to be uncommented in the configuration file for it
|
||||
# to take effect.
|
||||
local socket_default="#clamd_socket=\"/var/run/clamd.socket\""
|
||||
local socket_gentoo="clamd_socket=\"/var/run/clamav/clamd.sock\""
|
||||
|
||||
sed -i -e '$a\pkg_mgr="emerge"' \
|
||||
-e "\$a\\pkg_rm=\"emerge -C ${PN}\"" \
|
||||
-e "s~${socket_default}~${socket_gentoo}~" \
|
||||
-e "s~${pid_default}~${pid_gentoo}~" \
|
||||
"${PN}.conf" \
|
||||
|| die "failed to update paths in the ${PN}.conf file"
|
||||
|
||||
# Now, change the script's working directory to point to
|
||||
# /var/lib/${PN}. We'll need to make this writable by the clamav
|
||||
# user during src_install.
|
||||
sed -i -e "s~/usr/unofficial-dbs~/var/lib/${PN}~" "${PN}.conf" \
|
||||
|| die "failed to update the work_dir variable in ${PN}.conf"
|
||||
|
||||
# Tell the script that it's been configured.
|
||||
local cfged_default='user_configuration_complete="no"'
|
||||
local cfged_gentoo='user_configuration_complete="yes"'
|
||||
sed -i "s/${cfged_default}/${cfged_gentoo}/" "${PN}.conf" \
|
||||
|| die "failed to set user configuration completed in ${PN}.conf"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${PN}.sh"
|
||||
|
||||
# We set the script's working directory to /var/lib/${PN} in
|
||||
# src_compile, so make sure that the permissions are set correctly
|
||||
# here. By default, it runs as clamav/clamav.
|
||||
diropts -m 0755 -o clamav -g clamav
|
||||
dodir "/var/lib/${PN}"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
doins "${PN}-logrotate"
|
||||
|
||||
insinto /etc
|
||||
doins "${PN}.conf"
|
||||
|
||||
doman "${PN}.8"
|
||||
dodoc CHANGELOG INSTALL README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ''
|
||||
elog "You will need to select databases in /etc/${PN}.conf."
|
||||
elog "For details, please see the ${PN}(8) manual page."
|
||||
elog ''
|
||||
elog 'An up-to-date description of the available Sanesecurity'
|
||||
elog 'databases is available at,'
|
||||
elog ''
|
||||
elog ' http://sanesecurity.com/usage/signatures/'
|
||||
elog ''
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<maintainer>
|
||||
<email>mjo@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST adflib-0.7.12.tar.bz2 135412 SHA256 41c4d0bd369f789a615118b9206905fcd07241d486cda6dece71384dbb42a1bb SHA512 d63846f0780bd57cae5ff667eb70f98a0ba3659cfd0b12b3ae2f29ac96631e522088f911b1ba6e5ee3b00620a28a802f14d93cdf8462e18a7e3f749915ab5af3 WHIRLPOOL 78399e5f9d4554bf46c1c40e0502fdc317173c36eec6196972babf9ba97a207cfd39ba3e992260528a927fe57869cbc6a875ed24e9f0797d33bd5b901b57211b
|
||||
DIST adflib.zip 254914 SHA256 d78dbc554e6bf0465ad3cf075968f5479b2a983fc1f29b482500b9f9eebb42df SHA512 fe8edf5247ba82e475f62f96fcb72d50bf80641e14e957c99694def98735eb327a67208e3460504a0d109c9497d6e81f0cd8ce07ddc73486adc9e7070a75074a WHIRLPOOL f071b5d4f6131f01db132015783f59fa680391a2fe0e8e9bc7fcb79c6b2e745ec26e1369b3e8b5e2b8ac7b8842afb2f42b4f85eab068abf10b13b8d1afbf1633
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unadf/unadf-0.7.12.ebuild,v 1.1 2013/12/29 00:26:30 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_PN="adflib"
|
||||
|
||||
DESCRIPTION="Extract files from Amiga adf disk images"
|
||||
SRC_URI="http://lclevy.free.fr/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
|
||||
HOMEPAGE="http://lclevy.free.fr/adflib/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc-macos ~sparc-solaris ~x86 ~x86-interix ~x86-linux ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mylvmbackup-0.11.tar.gz 33481 SHA256 9ea7d7707389ff8928dd9afdb7d1321c8c93886a52e98b3ff76500ffbb3eb9b5 SHA512 cb293b8c2ee0b8a7ac9f5d47ece6292a2c441e61da76117e2b41b616ddca16a808b102a062d467e677274857c3bdac3bb9be712c5db0eca4690ff705114177e0 WHIRLPOOL 4431400149ecd6f9fc71ef2eb3dc63541fa213b5e75781abbac1946a73b7b5c783aeb063dac4160addb0ee198c4d8442732f8126f6cb5810a544234bb1df606a
|
||||
DIST mylvmbackup-0.13.tar.gz 37121 SHA256 03855cc0da77e95c0d7917228a9ef4a262ca6c450cb0c0265fa6f90c9f154e1d SHA512 02c21f0c729ff1acf571356547c703f4db3336ffc2bfffec7508e83d43b4beda1ca8e06a407936b847d57dc33b8a1d80872c6827984f80b327770c6942b31c32 WHIRLPOOL bf222ca5883d28872761ff95baebd59d20479b7be04b08af08567424f079a564b98764c0752109c78141786a09765148e4d58234d4e9ed53204e9d8f0b2e5794
|
||||
DIST mylvmbackup-0.14.tar.gz 57338 SHA256 a979082f525f5b0b44bd09169938f2b5d8394fc403fc8b6a6e8b809d7c1a5724 SHA512 e61f0c4e24b5482b2f7f4213e810a32776d1b39f589e27c309a4940943f3a9519041e53cf85a089a94100e2cc81715a033682bbe071220d755c14211b4177bfa WHIRLPOOL 004f32793e69b2c34f940b5ef91302468cafce76618f5d6f460bcaa37d0203200ee707bece883b130adb7cc8aecfc5b2c3a389051020e7465d6ebf1be37b67e1
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/mylvmbackup/mylvmbackup-0.14.ebuild,v 1.1 2013/12/28 01:44:12 robbat2 Exp $
|
||||
|
||||
DESCRIPTION="mylvmbackup is a tool for quickly creating backups of MySQL server's data files using LVM snapshots"
|
||||
HOMEPAGE="http://lenzg.net/mylvmbackup/"
|
||||
SRC_URI="http://lenzg.net/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND="dev-perl/Config-IniFiles
|
||||
>=sys-fs/lvm2-2.02.06
|
||||
dev-perl/DBD-mysql
|
||||
virtual/mysql
|
||||
dev-perl/TimeDate"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
sed -i \
|
||||
-e '/^prefix/s,/usr/local,/usr,' \
|
||||
"${S}"/Makefile
|
||||
sed -i 's|mycnf=/etc/my.cnf|mycnf=/etc/mysql/my.cnf|' "${S}"/mylvmbackup.conf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" mandir="/usr/share/man" || die
|
||||
dodoc ChangeLog README TODO
|
||||
keepdir /var/tmp/${PN}/{backup,mnt}
|
||||
fperms 0700 /var/tmp/${PN}/
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
Makefile | 21 ++++++++++-----------
|
||||
1 files changed, 10 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index df50bde..a8da026 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -17,18 +17,18 @@
|
||||
|
||||
#makefile updated from patch by anestling
|
||||
|
||||
-CFLAGSANY = -g -O0 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN
|
||||
+CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN
|
||||
|
||||
LBITS := $(shell getconf LONG_BIT)
|
||||
ifeq ($(LBITS),64)
|
||||
- CFLAGS = $(CFLAGSANY) -Dx64_BIT
|
||||
+ CFLAGS += -Dx64_BIT
|
||||
else
|
||||
- CFLAGS = $(CFLAGSANY) -Dx86
|
||||
+ CFLAGS += -Dx86
|
||||
endif
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
-LDFLAGS = -lncurses -lpthread -lrt
|
||||
+LIBS = -lncurses -lpthread -lrt
|
||||
INCLUDEFLAGS =
|
||||
|
||||
OBJS = helper_functions
|
||||
@@ -36,15 +36,15 @@ OBJS = helper_functions
|
||||
BIN = i7z
|
||||
SRC = i7z.c helper_functions.c i7z_Single_Socket.c i7z_Dual_Socket.c
|
||||
|
||||
-sbindir = /usr/sbin
|
||||
+sbindir = $(DESTDIR)/usr/sbin
|
||||
|
||||
-all: clean message bin test_exist
|
||||
+all: bin
|
||||
|
||||
message:
|
||||
@echo "If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian)"
|
||||
|
||||
bin:
|
||||
- $(CC) $(CFLAGS) $(INCLUDEFLAGS) $(SRC) $(LDFLAGS) -o $(BIN)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEFLAGS) $(SRC) -o $(BIN) $(LIBS)
|
||||
|
||||
test_exist:
|
||||
@test -f i7z && echo 'Succeeded, now run sudo ./i7z' || echo 'Compilation failed'
|
||||
@@ -55,6 +55,5 @@ clean:
|
||||
distclean: clean
|
||||
rm -f *~ \#*
|
||||
|
||||
-install: all
|
||||
- install -m 755 $(BIN) $(sbindir)
|
||||
-
|
||||
+install:
|
||||
+ install -D -m 755 $(BIN) $(sbindir)/$(BIN)
|
@ -1,11 +0,0 @@
|
||||
--- pts-core/objects/pts_Graph/pts_Graph.php.old 2009-11-11 17:39:37.000000000 +0100
|
||||
+++ pts-core/objects/pts_Graph/pts_Graph.php 2009-12-30 12:46:27.816567436 +0100
|
||||
@@ -121,7 +121,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- $this->graph_font = $font_type;
|
||||
+ $this->graph_font = $default_font;
|
||||
}
|
||||
public function requestRenderer($renderer)
|
||||
{
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.am 2007-01-05 00:44:17.000000000 -0600
|
||||
+++ Makefile.am 2007-01-05 00:51:30.000000000 -0600
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
EXTRA_DIST = gringotts.spec.in gringotts.desktop.in $(gringottsdoc_DATA)
|
||||
|
||||
-Dsktpdir = $(datadir)/gnome/apps/Utilities
|
||||
+Dsktpdir = $(datadir)/applications
|
||||
Dsktp_in_files = gringotts.desktop.in
|
||||
Dsktp_DATA = $(Dsktp_in_files:.desktop.in=.desktop)
|
||||
|
@ -1,9 +0,0 @@
|
||||
--- src/Makefile.am 2007-01-05 01:35:49.000000000 -0600
|
||||
+++ src/Makefile.am 2007-01-05 01:35:58.000000000 -0600
|
||||
@@ -31,6 +31,5 @@
|
||||
gringotts_LDADD = @POPT@ @GTK2_LIBS@ @GDKPIX_LIBS@ @LIBGRG_LIBS@
|
||||
|
||||
install-exec-local:
|
||||
- strip $(DESTDIR)$(bindir)/gringotts
|
||||
chmod u+s $(DESTDIR)$(bindir)/gringotts
|
||||
|
@ -1,8 +1 @@
|
||||
DIST md5deep-3.4.tar.gz 247504 SHA256 913b2cbfa57e46392b0a3ed392a07889d283a7ef897a6340b25aea2831a173db SHA512 77407a449535511fc239331ca8ba86a0ea96f226be5969ec6b4909338b01660dcbdd0c345f12fc1ed5776dadb267a9543addf511fb10daa5d96585a69a23ce7d WHIRLPOOL f3c3ebbe5a5c336d89dc30b2762241ca5b122410b65d63315626bceec98447fe16bf9af41e1c9da61046de6b78d91765035d1cbfc5f902cb4325e9e7d158c411
|
||||
DIST md5deep-3.7.tar.gz 261441 SHA256 23e70b51dd118639d04ad6ed61579e0667a8df78e742f73eaaa6b820a4714b25 SHA512 dc619afa3d72d5cf573c71f73c676d6a45d5c168861962012e46066305c94900ad25ca0176196bb8dfdb343db1e03163ad0d208f03e03e2f8945d4a7e30be978 WHIRLPOOL 47f348808e0d29477437cd8e2923640980ce21bf30b80e4459cc32535dd553703b8290aea619067321d38f1efb464a5617e6a9d2ecc45863c75e522ddb8858d7
|
||||
DIST md5deep-3.9.1.tar.gz 259614 SHA256 95547dded54ecca057b1e6fa2d253f821ac427bb209c06bafc8eed3193ea54bd SHA512 f652c464917f471b0e12cd4a41a856994764d2b0cd5de05282a71a9619eeb723f690f08f37dc13269b1dde22ff5171f78f3e0bffda7e40e4f8e18b634ecfb41f WHIRLPOOL b067e113a616781298be157e84a912e47f06756a291fccac9fd2238129ff4504aebf850c4b75286abb1f73ee4da743137af29b541500aa7a8937a6c819b49d43
|
||||
DIST md5deep-3.9.tar.gz 259872 SHA256 2bc300761214b607bf27a1c5a8680a6741b82a5a3e85be47dc1e5dc3e8267d4d SHA512 78d445cfda147627929f0634fd838dde84d86f0dc058ab1a620f544239670900cecad60559e97aa6a2c99fe76a77897fd7c56ac7d867ba5decef8355dc0598e5 WHIRLPOOL 10a5f0354b4e6c52594c387f467338a3049124d96c89c33e697ffae94061440387fd91d9fe365200aa3df9fa28e8065ccb39644d04a929260f675a054a4463cb
|
||||
DIST md5deep-4.0.0.tar.gz 1408241 SHA256 53cf46fd322c412fb666002b77b216e9cf5ca3bccd2251aa69d7482d93b39014 SHA512 dcba04005f23c6426cc11d95610c93299a483640a61c2545280fa99fa584cb2e47031d0a2784a97f057f8dc0683fa3e482e7719b4df07bd0a6d2079a5a3fed34 WHIRLPOOL ab3686e7c9cbd951a2f8bbd5d3f634b8e6e808a2c35e5c75c69229a62fa93282555a2722596a7b73e04acacff8b147a3bee104df85563c53f30ff70d4444727b
|
||||
DIST md5deep-4.0.1.tar.gz 1409304 SHA256 79017543fa88c61700874cc7ed3c621069d2ac499d8d1aa145a2be9558e707de SHA512 2fae31fba3105006ee141f790bd711d245351df438d4d22765bcd66533d6f511946ad9a206e701a626fc97cf14262ae059d7de8a5b330d28fd477adee242d825 WHIRLPOOL a05dbfbcd27c112e0833c9af2a39f2a6c07b764e27dda0be454d03bbbe4feb72adf92debfc8c412cfd6ec5d98be381b0518ea96642a6de1d94827d593356a851
|
||||
DIST md5deep-4.2.tar.gz 1414221 SHA256 3ec13386cda92d60151e2517359a6d0774a89e9465758b511d827956c3c00aa3 SHA512 744934fbbc7dd39cbc2e8b7410eaa60e575337da1e95435507e87780b280d56e8bbda07e7f9c7e18fb6a784b41676cadbd1f56e8831fabbb50c2df624f8edcec WHIRLPOOL 80f6c891a7a5a9a337a2a2dbf0d99b00e5cfaf60bfdb716bcbad42015558670b12989c66df7c043d511ee652c22e996842013673f67905f63ad545771d48ab04
|
||||
DIST md5deep-4.3.tar.gz 1416180 SHA256 905bcf8bddf0e7e2650b280d5e7af8cb8cd41dad4f299751dfec397dcb4f8d54 SHA512 fe1240e6ae039b18d35a9de0cf15fb77eaac9d5505b6b550eb32858bf6d603f8186de06114d40325d5071640f46cec70795e9c192fa7b6ca9022a12c212a9b14 WHIRLPOOL 89fe1f5a5a9502660f823608b7fc5c752d3b71acbb210a4ce7c9349e02bbbc131b26df29f69cbae2ba234685cf0db38014d71f2b019f8189bd0e05e6c2b81e52
|
||||
|
@ -1,24 +0,0 @@
|
||||
--- trunk/src/md5.c 2012/01/05 22:57:35 577
|
||||
+++ trunk/src/md5.c 2012/07/02 12:34:09 644
|
||||
@@ -143,8 +143,19 @@
|
||||
byteReverse(ctx->in, 14);
|
||||
|
||||
/* Append length in bits and transform */
|
||||
- ((uint32_t *) ctx->in)[14] = ctx->bits[0];
|
||||
- ((uint32_t *) ctx->in)[15] = ctx->bits[1];
|
||||
+
|
||||
+ // the two lines below generated this error:
|
||||
+ // "md5.c:147:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]"
|
||||
+
|
||||
+ //((uint32_t *) ctx->in)[14] = ctx->bits[0];
|
||||
+ //((uint32_t *) ctx->in)[15] = ctx->bits[1];
|
||||
+
|
||||
+ // We will manually expand the cast into two statements to make
|
||||
+ // the compiler happy...
|
||||
+
|
||||
+ uint32_t *ctxin = (uint32_t *)ctx->in;
|
||||
+ ctxin[14] = ctx->bits[0];
|
||||
+ ctxin[15] = ctx->bits[1];
|
||||
|
||||
MD5Transform(ctx->buf, (uint32_t *) ctx->in);
|
||||
byteReverse((unsigned char *) ctx->buf, 4);
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.4.ebuild,v 1.6 2012/03/18 15:11:26 armin76 Exp $
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.7.ebuild,v 1.2 2012/03/18 15:11:26 armin76 Exp $
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.9.1.ebuild,v 1.7 2012/08/27 17:59:22 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
@ -1,14 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-3.9.ebuild,v 1.2 2012/03/18 15:11:26 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.0.0.ebuild,v 1.4 2012/08/27 17:59:22 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DOCS="AUTHORS ChangeLog FILEFORMAT NEWS README TODO"
|
@ -1,16 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.0.1.ebuild,v 1.7 2012/10/17 03:35:21 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DOCS="AUTHORS ChangeLog FILEFORMAT NEWS README TODO"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-4.2.ebuild,v 1.3 2012/10/05 18:05:05 tristan Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Expanded md5sum program with recursive and comparison options"
|
||||
HOMEPAGE="http://md5deep.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS="AUTHORS ChangeLog FILEFORMAT NEWS README TODO"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-strict-aliasing.patch
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
diff --git a/telnet/libtelnet/encrypt.c b/telnet/libtelnet/encrypt.c
|
||||
index f75317d..b8d6cdd 100644
|
||||
--- a/telnet/libtelnet/encrypt.c
|
||||
+++ b/telnet/libtelnet/encrypt.c
|
||||
@@ -757,6 +757,9 @@ static void encrypt_keyid(kp, keyid, len)
|
||||
int dir = kp->dir;
|
||||
register int ret = 0;
|
||||
|
||||
+ if (len > MAXKEYLEN)
|
||||
+ len = MAXKEYLEN;
|
||||
+
|
||||
if (!(ep = (*kp->getcrypt)(*kp->modep))) {
|
||||
if (len == 0)
|
||||
return;
|
@ -1,11 +0,0 @@
|
||||
diff -urN eblook-1.5.1.ORIG/configure.in eblook-1.5.1/configure.in
|
||||
--- eblook-1.5.1.ORIG/configure.in 2002-03-16 16:14:21.000000000 +0900
|
||||
+++ eblook-1.5.1/configure.in 2004-01-04 01:21:08.526699688 +0900
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
+AC_C_PROTOTYPES
|
||||
AC_TYPE_OFF_T
|
||||
AC_TYPE_SIZE_T
|
||||
if test $ac_cv_type_size_t = yes ; then
|
@ -1,67 +0,0 @@
|
||||
Pass -Teps instead of -Tps to graphviz dot.
|
||||
Supposed to work with graphviz version 2.20.0 and later.
|
||||
|
||||
2009-08-20 Martin von Gagern
|
||||
|
||||
References:
|
||||
http://bugs.gentoo.org/282150
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=592516
|
||||
|
||||
Index: doxygen-1.5.8/src/dot.cpp
|
||||
===================================================================
|
||||
--- doxygen-1.5.8.orig/src/dot.cpp
|
||||
+++ doxygen-1.5.8/src/dot.cpp
|
||||
@@ -1887,7 +1887,7 @@ QCString DotClassGraph::writeGraph(QText
|
||||
else if (format==EPS) // run dot to create a .eps image
|
||||
{
|
||||
DotRunner dotRun(baseName+".dot");
|
||||
- dotRun.addJob("ps",baseName+".eps");
|
||||
+ dotRun.addJob("eps",baseName+".eps");
|
||||
if (!dotRun.run())
|
||||
{
|
||||
QDir::setCurrent(oldDir);
|
||||
@@ -2221,7 +2221,7 @@ QCString DotInclDepGraph::writeGraph(QTe
|
||||
{
|
||||
// run dot to create a .eps image
|
||||
DotRunner dotRun(baseName+".dot");
|
||||
- dotRun.addJob("ps",baseName+".eps");
|
||||
+ dotRun.addJob("eps",baseName+".eps");
|
||||
if (!dotRun.run())
|
||||
{
|
||||
QDir::setCurrent(oldDir);
|
||||
@@ -2515,7 +2515,7 @@ QCString DotCallGraph::writeGraph(QTextS
|
||||
{
|
||||
// run dot to create a .eps image
|
||||
DotRunner dotRun(baseName+".dot");
|
||||
- dotRun.addJob("ps",baseName+".eps");
|
||||
+ dotRun.addJob("eps",baseName+".eps");
|
||||
if (!dotRun.run())
|
||||
{
|
||||
QDir::setCurrent(oldDir);
|
||||
@@ -2657,7 +2657,7 @@ QCString DotDirDeps::writeGraph(QTextStr
|
||||
{
|
||||
// run dot to create a .eps image
|
||||
DotRunner dotRun(baseName+".dot");
|
||||
- dotRun.addJob("ps",baseName+".eps");
|
||||
+ dotRun.addJob("eps",baseName+".eps");
|
||||
if (!dotRun.run())
|
||||
{
|
||||
QDir::setCurrent(oldDir);
|
||||
@@ -2824,7 +2824,7 @@ void writeDotGraphFromFile(const char *i
|
||||
if (format==BITMAP)
|
||||
dotRun.addJob(imgExt,imgName);
|
||||
else // format==EPS
|
||||
- dotRun.addJob("ps",QCString(outFile)+".eps");
|
||||
+ dotRun.addJob("eps",QCString(outFile)+".eps");
|
||||
if (!dotRun.run())
|
||||
{
|
||||
QDir::setCurrent(oldDir);
|
||||
@@ -3185,7 +3185,7 @@ QCString DotGroupCollaboration::writeGra
|
||||
else if (format==EPS)
|
||||
{
|
||||
DotRunner dotRun(baseName+".dot");
|
||||
- dotRun.addJob("ps",baseName+".eps");
|
||||
+ dotRun.addJob("eps",baseName+".eps");
|
||||
if (!dotRun.run())
|
||||
{
|
||||
QDir::setCurrent(oldDir);
|
@ -1,3 +1,2 @@
|
||||
DIST pms-5-prebuilt.tar.xz 540244 SHA256 c93ce6902db323ab7ec613ad90a6dca2beda2dd2cebcc3e8ace83c1faeb6a1c7 SHA512 64baadd65f1751783032065832d2a18242967f1853d9b6ce0565a5477c021cfad3c06d9c3cfeb83ca9a64bbb052ec67c174bfd27036945ff762fe4bbf8c28451 WHIRLPOOL 9369c7604fdf0aadb7666f1fc08f041b064896d6359dd76779dc3af842fef14d81aed07301ec52eac11462664d16faed0e3fd50a0b96702822c59538917f5f78
|
||||
DIST pms-5.pdf 469297 SHA256 5a169f77da166e80a652385c895a2d646c47b8f39cb4ff3d5881376428293685 SHA512 2da12cc8aec3c34c6b67e6efab53457e98a9259cca12e34229c5dd830d663e57ebf1c4d9b611cee3c2c776b9f05bf6e5dcae01af99f72c1712eb2e5e970bf2fc WHIRLPOOL 2743e5ab89bc786728deeafad840718d99efb4291c91aa0de0427a7461d3da6de56da47956ce4abc012021296861f912730776cec07ddd2dd804b772d0427ae9
|
||||
DIST pms-5.tar.xz 50284 SHA256 a3b7702298adc4481584ed03f2d49e9fa7ea58638d8e8e9bf36fca832b2fbc87 SHA512 560bdda40d4d1628e97b65bb354c349e3ac52edd1e337427adb0db61e99b40d214459a5046f4b505edfabc3914e2d585ef0453b13057a25fe138b8a5ebd6292e WHIRLPOOL 373d333f1c060faacbfbd398ae3be3a0143c0ee618b093867313e4182bce7f15609445d2fc6b109f6f02fe597fe8f6cf687673029569e27fa7ed3411f4932013
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-5.ebuild,v 1.4 2013/02/07 21:34:12 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Gentoo Package Manager Specification"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.pdf"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~x86-netbsd ~ppc-openbsd ~x64-openbsd ~x86-openbsd ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newdoc "${DISTDIR}"/${P}.pdf pms.pdf
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
--- src/tab.c 2006-08-27 14:29:01.000000000 -0500
|
||||
+++ src/tab.c 2006-08-27 14:33:10.000000000 -0500
|
||||
@@ -759,17 +759,21 @@
|
||||
}
|
||||
gtk_scintilla_get_text(GTK_SCINTILLA(editor->scintilla), text_length+1, buffer);
|
||||
lines = g_strsplit(buffer, "\n", 10);
|
||||
- if (lines[0][0] == '#' && lines[0][1] == '!' && strstr(lines[0], "php") != NULL) {
|
||||
- is_php = TRUE;
|
||||
- }
|
||||
- else {
|
||||
- for (i = 0; lines[i+1] != NULL; i++) {
|
||||
- if (strstr (lines[i], "<?php") != NULL) {
|
||||
- is_php = TRUE;
|
||||
- break;
|
||||
+
|
||||
+ if (lines[0] != NULL) {
|
||||
+ if (lines[0][0] == '#' && lines[0][1] == '!' && strstr(lines[0], "php") != NULL) {
|
||||
+ is_php = TRUE;
|
||||
+ }
|
||||
+ else {
|
||||
+ for (i = 0; lines[i+1] != NULL; i++) {
|
||||
+ if (strstr (lines[i], "<?php") != NULL) {
|
||||
+ is_php = TRUE;
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
g_strfreev(lines);
|
||||
}
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Should be fixed in upstream trunk, then next upstream
|
||||
# release shouldn't need this. For more info:
|
||||
# https://bugs.launchpad.net/ubuntu/+source/gphpedit/+bug/46487
|
||||
--- gphpedit-0.9.91.orig/src/find_replace.c
|
||||
+++ gphpedit-0.9.91/src/find_replace.c
|
||||
@@ -478,7 +478,10 @@
|
||||
|
||||
replace_all_dialog = gnome_ok_dialog(message->str);
|
||||
gnome_dialog_run_and_close(GNOME_DIALOG(replace_all_dialog));
|
||||
- g_free(replace_all_dialog);
|
||||
+ // Comment the line bellow as suggested at
|
||||
+ // http://www.gphpedit.org/bugs/bug_view.php?id=132 to avoid from
|
||||
+ // a crash after searching & replacing.
|
||||
+ //g_free(replace_all_dialog);
|
||||
|
||||
gtk_scintilla_goto_pos(GTK_SCINTILLA(main_window.current_editor->scintilla), start_pos);
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
" Default configuration file for Vim
|
||||
" Written by Aron Griffis <agriffis@gentoo.org>
|
||||
" Modified by Ryan Phillips <rphillips@gentoo.org>
|
||||
" Added Redhat's vimrc info by Seemant Kulleen <seemant@gentoo.org>
|
||||
|
||||
" The following are some sensible defaults for Vim for most users.
|
||||
" We attempt to change as little as possible from Vim's defaults,
|
||||
" deviating only where it makes sense
|
||||
set nocompatible " Use Vim defaults (much better!)
|
||||
set bs=2 " Allow backspacing over everything in insert mode
|
||||
set ai " Always set auto-indenting on
|
||||
"set backup " Keep a backup file
|
||||
set viminfo='20,\"50 " read/write a .viminfo file -- limit to only 50
|
||||
set history=50 " keep 50 lines of command history
|
||||
set ruler " Show the cursor position all the time
|
||||
|
||||
|
||||
" Added to default to high security within Gentoo. Fixes bug #14088
|
||||
set modelines=0
|
||||
|
||||
if v:lang =~ "^ko"
|
||||
set fileencodings=euc-kr
|
||||
set guifontset=-*-*-medium-r-normal--16-*-*-*-*-*-*-*
|
||||
elseif v:lang =~ "^ja_JP"
|
||||
set fileencodings=euc-jp
|
||||
set guifontset=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*
|
||||
elseif v:lang =~ "^zh_TW"
|
||||
set fileencodings=big5
|
||||
set guifontset=-sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1,-taipei-fixed-medium-r-normal--16-150-75-75-c-160-big5-0
|
||||
elseif v:lang =~ "^zh_CN"
|
||||
set fileencodings=gb2312
|
||||
set guifontset=*-r-*
|
||||
endif
|
||||
if v:lang =~ "utf8$" || v:lang =~ "UTF-8$"
|
||||
set fileencodings=utf-8,latin1
|
||||
endif
|
||||
|
||||
" Only do this part when compiled with support for autocommands
|
||||
if has("autocmd")
|
||||
" In text files, always limit the width of text to 78 characters
|
||||
autocmd BufRead *.txt set tw=78
|
||||
" When editing a file, always jump to the last cursor position
|
||||
autocmd BufReadPost *
|
||||
\ if line("'\"") > 0 && line ("'\"") <= line("$") |
|
||||
\ exe "normal g'\"" |
|
||||
\ endif
|
||||
endif
|
||||
|
||||
" Don't use Ex mode, use Q for formatting
|
||||
map Q gq
|
||||
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
" Also switch on highlighting the last used search pattern.
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
set hlsearch
|
||||
endif
|
||||
|
||||
if &term=="xterm"
|
||||
set t_RV= " don't check terminal version
|
||||
set t_Co=8
|
||||
set t_Sb=^[4%dm
|
||||
set t_Sf=^[3%dm
|
||||
endif
|
||||
|
||||
if has("autocmd")
|
||||
|
||||
" Gentoo-specific settings for ebuilds. These are the federally-mandated
|
||||
" required tab settings. See the following for more information:
|
||||
" http://www.gentoo.org/doc/en/xml/gentoo-howto.xml
|
||||
augroup gentoo
|
||||
au!
|
||||
au BufRead,BufNewFile *.ebuild set tabstop=4 shiftwidth=4 noexpandtab
|
||||
augroup END
|
||||
|
||||
endif " has("autocmd")
|
||||
|
||||
" some extra commands for HTML editing
|
||||
nmap ,mh wbgueyei<<ESC>ea></<ESC>pa><ESC>bba
|
||||
nmap ,h1 _i<h1><ESC>A</h1><ESC>
|
||||
nmap ,h2 _i<h2><ESC>A</h2><ESC>
|
||||
nmap ,h3 _i<h3><ESC>A</h3><ESC>
|
||||
nmap ,h4 _i<h4><ESC>A</h4><ESC>
|
||||
nmap ,h5 _i<h5><ESC>A</h5><ESC>
|
||||
nmap ,h6 _i<h6><ESC>A</h6><ESC>
|
||||
nmap ,hb wbi<b><ESC>ea</b><ESC>bb
|
||||
nmap ,he wbi<em><ESC>ea</em><ESC>bb
|
||||
nmap ,hi wbi<i><ESC>ea</i><ESC>bb
|
||||
nmap ,hu wbi<u><ESC>ea</i><ESC>bb
|
||||
nmap ,hs wbi<strong><ESC>ea</strong><ESC>bb
|
||||
nmap ,ht wbi<tt><ESC>ea</tt><ESC>bb
|
||||
nmap ,hx wbF<df>f<df>
|
||||
|
@ -1,2 +1 @@
|
||||
DIST autoconf-2.68.tar.bz2 1381988 SHA256 c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e571454332c8 SHA512 77f42d7a3825a398531ab52bf05936720788167f7d04f884a2acb7745edb60a706799451ff983f1048bc929cd38972ab29530a5e4ed6f686ff1700e0281a7e84 WHIRLPOOL 9edc133292a40e024f9f18e40942717342b540056f2fe4b361c4a514ec908d8e04210e714cf6cdb5752673f6fb5cc4ba6e9d624b96f9ef12b4b9e9838e1498a6
|
||||
DIST autoconf-2.69.tar.xz 1214744 SHA256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b WHIRLPOOL 9d806d685b9951acb15ab837b08437a6632f0907f105057e84ba3e0d99539371c32153333f459f04fb537cbb96a80e4418937e937381aec677b319ad667f7918
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/autoconf-mode/autoconf-mode-2.68.ebuild,v 1.6 2012/05/09 01:47:22 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs major modes for editing autoconf and autotest input"
|
||||
HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
|
||||
SRC_URI="mirror://gnu/autoconf/autoconf-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
S="${WORKDIR}/autoconf-${PV}/lib/emacs"
|
@ -1,4 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'doctest-mode "doctest-mode"
|
||||
"Editing mode for Python Doctest examples." t)
|
||||
(add-to-list 'auto-mode-alist '("\\.doctest$" . doctest-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.doctest\\'" . doctest-mode))
|
||||
|
@ -1 +1,2 @@
|
||||
DIST highline-7.2.1.el.bz2 8420 SHA256 ea770f016b9b12e6140a45e5acb40f232ce64643531634bcedc0656e99eb5632 SHA512 42fce3fee78210d38846ace3f350f1e4f26afae2485445766b871ad70b1b2b65164d1b8c733f69268202fcf6ce0489ff716c58c1aec944df5af2fa3ef823a4f5 WHIRLPOOL 91419f0493f286bfb7f4dbb76f992240e8a5f2ce754578d2e5519516f5c7466a865b945e29e29b5417e42696398e6dfc36c460c9bd0d37f0ed96c82569a27b1c
|
||||
DIST highline-7.2.2.el.xz 8600 SHA256 0deac0160e5adea004f865848899bbdf7b22950d91e0cf5f4e081d26cd5203e2 SHA512 353fc034a823d0892c6266fbc48a22e2650c379f904f9a0be78bd2f11e5ac8333cf6070fa7ebc2225c57cc6a85f49c6db9322e31e33f87e481aa117b1290be87 WHIRLPOOL 465f7e688140588c1b24d282b65026a7281a311684111e76f96b7fda813595e6f9bdef4c6c0db399d08f28904e5bcb8a1f01035877996bfac1144e079187a44a
|
||||
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "highline-autoloads" nil t)
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/highline/highline-7.2.2.ebuild,v 1.1 2013/12/29 14:06:44 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Minor mode to highlight current line in buffer"
|
||||
HOMEPAGE="http://www.emacswiki.org/emacs/HighlineMode"
|
||||
# taken from: http://www.emacswiki.org/emacs/download/${PN}.el
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp-compile *.el
|
||||
elisp-make-autoload-file
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'jasmin-mode "jasmin"
|
||||
"Major mode for editing Jasmin Java bytecode assembler files." t)
|
||||
(add-to-list 'auto-mode-alist '("\\.j\\'" . jasmin-mode))
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/jasmin/jasmin-1.2-r2.ebuild,v 1.1 2013/12/29 14:22:35 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Emacs major mode for editing Jasmin Java bytecode assembler files"
|
||||
HOMEPAGE="http://www.neilvandyke.org/jasmin-emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~s390 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20131008-r8.ebuild,v 1.1 2013/12/30 08:37:02 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT
|
||||
public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP
|
||||
Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff
|
||||
openssl tcp_wrappers_license"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="abi_x86_32"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!<app-emulation/emul-linux-x86-medialibs-10.2
|
||||
abi_x86_32? (
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)]
|
||||
>=dev-libs/udis86-1.7-r2[abi_x86_32(-)]
|
||||
>=virtual/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=sys-devel/llvm-3.3-r1[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)]
|
||||
>=media-libs/libjpeg-turbo-1.3.0-r2:0[abi_x86_32(-)]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=virtual/libusb-0-r1:0[abi_x86_32(-)]
|
||||
>=virtual/libusb-1-r1:1[abi_x86_32(-)]
|
||||
|| (
|
||||
>=virtual/udev-206-r1[abi_x86_32(-)]
|
||||
~virtual/udev-204[abi_x86_32(-)] )
|
||||
>=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)]
|
||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
||||
>=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)]
|
||||
>=media-libs/lcms-2.5-r1:2[abi_x86_32(-)]
|
||||
>=app-text/libpaper-1.1.24-r2[abi_x86_32(-)]
|
||||
>=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)]
|
||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
||||
>=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)]
|
||||
>=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libpcre-8.33-r1[abi_x86_32(-)]
|
||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
||||
>=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
|
||||
>=sys-libs/gdbm-1.10-r1[abi_x86_32(-)]
|
||||
>=dev-libs/json-c-0.11-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)]
|
||||
>=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)]
|
||||
>=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/glibc-2.15" # bug 340613
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
src_prepare() {
|
||||
export ALLOWED="(${S}/lib32/security/pam_filter/upperLOWER|${S}/etc/env.d|${S}/lib32/security/pam_ldap.so)"
|
||||
emul-linux-x86_src_prepare
|
||||
rm -rf "${S}/etc/env.d/binutils/" \
|
||||
"${S}/usr/i686-pc-linux-gnu/lib" \
|
||||
"${S}/usr/lib32/engines/" \
|
||||
"${S}/usr/lib32/openldap/" || die
|
||||
|
||||
ln -s ../share/terminfo "${S}/usr/lib32/terminfo" || die
|
||||
|
||||
# Remove migrated stuff.
|
||||
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native")
|
||||
}
|
@ -0,0 +1,229 @@
|
||||
lib32/libz.so.1
|
||||
lib32/libz.so.1.2.7
|
||||
usr/lib32/libz.so
|
||||
usr/lib32/pkgconfig/zlib.pc
|
||||
usr/lib32/libminizip.so
|
||||
usr/lib32/libminizip.so.1
|
||||
usr/lib32/libminizip.so.1.0.0
|
||||
usr/lib32/pkgconfig/minizip.pc
|
||||
lib32/libbz2.so.1
|
||||
lib32/libbz2.so.1.0
|
||||
lib32/libbz2.so.1.0.6
|
||||
usr/lib32/libbz2.so
|
||||
usr/lib32/libpng.so
|
||||
usr/lib32/pkgconfig/libpng.pc
|
||||
usr/lib32/libudis86.so
|
||||
usr/lib32/libudis86.so.0
|
||||
usr/lib32/libudis86.so.0.0.0
|
||||
usr/lib32/libffi-3.0.11/include/ffi.h
|
||||
usr/lib32/libffi-3.0.11/include/ffitarget.h
|
||||
usr/lib32/libffi.so
|
||||
usr/lib32/libffi.so.6
|
||||
usr/lib32/libffi.so.6.0.0
|
||||
usr/lib32/pkgconfig/libffi.pc
|
||||
usr/lib32/llvm/BugpointPasses.so
|
||||
usr/lib32/llvm/LLVMHello.so
|
||||
usr/lib32/llvm/libLLVM-3.1.so
|
||||
usr/lib32/llvm/libLTO.so
|
||||
usr/lib32/llvm/libprofile_rt.so
|
||||
usr/lib32/libpng12.so.0
|
||||
usr/lib32/pkgconfig/libpng15.pc
|
||||
usr/lib32/libjpeg.so
|
||||
usr/lib32/libturbojpeg.so
|
||||
usr/lib32/libturbojpeg.so.0*
|
||||
usr/lib32/libraw1394.so
|
||||
usr/lib32/libraw1394.so.11
|
||||
usr/lib32/libraw1394.so.11.0.1
|
||||
usr/lib32/pkgconfig/libraw1394.pc
|
||||
usr/lib32/libavc1394.so
|
||||
usr/lib32/libavc1394.so.0
|
||||
usr/lib32/libavc1394.so.0.3.0
|
||||
usr/lib32/pkgconfig/libavc1394.pc
|
||||
usr/lib32/librom1394.so
|
||||
usr/lib32/librom1394.so.0
|
||||
usr/lib32/librom1394.so.0.3.0
|
||||
usr/lib32/libjpeg.so.62
|
||||
usr/lib32/libexpat.so
|
||||
usr/lib32/libexpat.so.1
|
||||
usr/lib32/libexpat.so.1.6.0
|
||||
usr/lib32/libexpatu.so
|
||||
usr/lib32/libexpatu.so.1
|
||||
usr/lib32/libexpatu.so.1.6.0
|
||||
usr/lib32/libexpatw.so
|
||||
usr/lib32/libexpatw.so.1
|
||||
usr/lib32/libexpatw.so.1.6.0
|
||||
usr/lib32/pkgconfig/expat.pc
|
||||
usr/lib32/pkgconfig/expatu.pc
|
||||
usr/lib32/pkgconfig/expatw.pc
|
||||
usr/lib32/libusb-0.1.so.4*
|
||||
usr/lib32/libusb-1.0.so
|
||||
usr/lib32/libusb-1.0.so.0
|
||||
usr/lib32/libusb-1.0.so.0.1.0
|
||||
usr/lib32/libusb.so
|
||||
usr/lib32/pkgconfig/libusb-1.0.pc
|
||||
usr/lib32/pkgconfig/libusb.pc
|
||||
lib32/libudev.so.1*
|
||||
usr/lib32/libudev.so
|
||||
usr/lib32/pkgconfig/libudev.pc
|
||||
lib32/libsystemd-daemon.so.0.0.7
|
||||
lib32/libsystemd-daemon.so.0
|
||||
usr/lib32/libsystemd-daemon.so
|
||||
usr/lib32/pkgconfig/libsystemd-daemon.pc
|
||||
usr/lib32/libtiff.so
|
||||
usr/lib32/libtiff.so.5*
|
||||
usr/lib32/libtiffxx.so
|
||||
usr/lib32/libtiffxx.so.5*
|
||||
usr/lib32/pkgconfig/libtiff-4.pc
|
||||
lib32/libattr.so.1
|
||||
lib32/libattr.so.1.1.0
|
||||
usr/lib32/libattr.so
|
||||
usr/lib32/glib-2.0/include/glibconfig.h
|
||||
usr/lib32/libglib-2.0.so
|
||||
usr/lib32/libglib-2.0.so.0
|
||||
usr/lib32/libglib-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/glib-2.0.pc
|
||||
usr/lib32/libgmodule-2.0.so
|
||||
usr/lib32/libgmodule-2.0.so.0
|
||||
usr/lib32/libgmodule-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gmodule-2.0.pc
|
||||
usr/lib32/libgio-2.0.so
|
||||
usr/lib32/libgio-2.0.so.0
|
||||
usr/lib32/libgio-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gio-2.0.pc
|
||||
usr/lib32/libgobject-2.0.so
|
||||
usr/lib32/libgobject-2.0.so.0
|
||||
usr/lib32/libgobject-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gobject-2.0.pc
|
||||
usr/lib32/libgthread-2.0.so
|
||||
usr/lib32/libgthread-2.0.so.0
|
||||
usr/lib32/libgthread-2.0.so.0.3200.4
|
||||
usr/lib32/pkgconfig/gthread-2.0.pc
|
||||
usr/lib32/pkgconfig/gio-unix-2.0.pc
|
||||
usr/lib32/pkgconfig/gmodule-export-2.0.pc
|
||||
usr/lib32/pkgconfig/gmodule-no-export-2.0.pc
|
||||
usr/lib32/liblcms2.so
|
||||
usr/lib32/liblcms2.so.2
|
||||
usr/lib32/liblcms2.so.2.0.3
|
||||
usr/lib32/pkgconfig/lcms2.pc
|
||||
usr/lib32/libpaper.so
|
||||
usr/lib32/libpaper.so.1
|
||||
usr/lib32/libpaper.so.1.1.2
|
||||
usr/lib32/libtiff.so.3
|
||||
usr/lib32/libtiff.so.4
|
||||
usr/lib32/libtiffxx.so.3
|
||||
usr/lib32/libtiffxx.so.4
|
||||
usr/lib32/elfutils/libebl_alpha-0.149.so
|
||||
usr/lib32/elfutils/libebl_alpha.so
|
||||
usr/lib32/elfutils/libebl_arm-0.149.so
|
||||
usr/lib32/elfutils/libebl_arm.so
|
||||
usr/lib32/elfutils/libebl_i386-0.149.so
|
||||
usr/lib32/elfutils/libebl_i386.so
|
||||
usr/lib32/elfutils/libebl_ia64-0.149.so
|
||||
usr/lib32/elfutils/libebl_ia64.so
|
||||
usr/lib32/elfutils/libebl_ppc-0.149.so
|
||||
usr/lib32/elfutils/libebl_ppc.so
|
||||
usr/lib32/elfutils/libebl_ppc64-0.149.so
|
||||
usr/lib32/elfutils/libebl_ppc64.so
|
||||
usr/lib32/elfutils/libebl_s390-0.149.so
|
||||
usr/lib32/elfutils/libebl_s390.so
|
||||
usr/lib32/elfutils/libebl_sh-0.149.so
|
||||
usr/lib32/elfutils/libebl_sh.so
|
||||
usr/lib32/elfutils/libebl_sparc-0.149.so
|
||||
usr/lib32/elfutils/libebl_sparc.so
|
||||
usr/lib32/elfutils/libebl_x86_64-0.149.so
|
||||
usr/lib32/elfutils/libebl_x86_64.so
|
||||
usr/lib32/libelf-0.149.so
|
||||
usr/lib32/libelf.so
|
||||
usr/lib32/libelf.so.1
|
||||
usr/lib32/libasm-0.149.so
|
||||
usr/lib32/libasm.so
|
||||
usr/lib32/libasm.so.1
|
||||
usr/lib32/libdw-0.149.so
|
||||
usr/lib32/libdw.so
|
||||
usr/lib32/libdw.so.1
|
||||
lib32/libss.so.2
|
||||
lib32/libss.so.2.0
|
||||
usr/lib32/libss.so
|
||||
usr/lib32/pkgconfig/ss.pc
|
||||
lib32/libcom_err.so.2
|
||||
lib32/libcom_err.so.2.1
|
||||
usr/lib32/libcom_err.so
|
||||
usr/lib32/pkgconfig/com_err.pc
|
||||
usr/lib32/libcurses.so
|
||||
usr/lib32/libform.so
|
||||
usr/lib32/libform.so.5
|
||||
usr/lib32/libform.so.5.9
|
||||
usr/lib32/libformw.so
|
||||
usr/lib32/libformw.so.5
|
||||
usr/lib32/libformw.so.5.9
|
||||
usr/lib32/libmenu.so
|
||||
usr/lib32/libmenu.so.5
|
||||
usr/lib32/libmenu.so.5.9
|
||||
usr/lib32/libmenuw.so
|
||||
usr/lib32/libmenuw.so.5
|
||||
usr/lib32/libmenuw.so.5.9
|
||||
lib32/libncurses.so.5
|
||||
lib32/libncurses.so.5.9
|
||||
lib32/libncursesw.so.5
|
||||
lib32/libncursesw.so.5.9
|
||||
usr/lib32/libncurses.so
|
||||
usr/lib32/libncursesw.so
|
||||
usr/lib32/libpanel.so
|
||||
usr/lib32/libpanel.so.5
|
||||
usr/lib32/libpanel.so.5.9
|
||||
usr/lib32/libpanelw.so
|
||||
usr/lib32/libpanelw.so.5
|
||||
usr/lib32/libpanelw.so.5.9
|
||||
usr/lib32/pkgconfig/form.pc
|
||||
usr/lib32/pkgconfig/formw.pc
|
||||
usr/lib32/pkgconfig/ncurses++.pc
|
||||
usr/lib32/pkgconfig/ncurses++w.pc
|
||||
usr/lib32/pkgconfig/menuw.pc
|
||||
usr/lib32/pkgconfig/menu.pc
|
||||
usr/lib32/pkgconfig/ncurses.pc
|
||||
usr/lib32/pkgconfig/ncursesw.pc
|
||||
usr/lib32/pkgconfig/panel.pc
|
||||
usr/lib32/pkgconfig/panelw.pc
|
||||
usr/lib32/terminfo
|
||||
lib32/libgpm.so.1
|
||||
lib32/libgpm.so.1.20.0
|
||||
usr/lib32/libgpm.so
|
||||
usr/lib32/libgmp.so*
|
||||
usr/lib32/libgmpxx.so*
|
||||
lib32/libpcre.so.1
|
||||
lib32/libpcre.so.1.2.1
|
||||
usr/lib32/libpcre.so
|
||||
usr/lib32/libpcrecpp.so
|
||||
usr/lib32/libpcrecpp.so.0
|
||||
usr/lib32/libpcrecpp.so.0.0.0
|
||||
usr/lib32/libpcreposix.so
|
||||
usr/lib32/libpcreposix.so.0
|
||||
usr/lib32/libpcreposix.so.0.0.2
|
||||
usr/lib32/pkgconfig/libpcre.pc
|
||||
usr/lib32/pkgconfig/libpcrecpp.pc
|
||||
usr/lib32/pkgconfig/libpcreposix.pc
|
||||
usr/lib32/dbus-1.0/include/dbus/dbus-arch-deps.h
|
||||
usr/lib32/libdbus-1.so
|
||||
usr/lib32/libdbus-1.so.3
|
||||
usr/lib32/libdbus-1.so.3.7.4
|
||||
usr/lib32/pkgconfig/dbus-1.pc
|
||||
lib32/libwrap.so
|
||||
lib32/libwrap.so.0
|
||||
lib32/libwrap.so.0.7.6
|
||||
usr/lib32/libwrap.so
|
||||
usr/lib32/libgdbm.so
|
||||
usr/lib32/libgdbm.so.3
|
||||
usr/lib32/libgdbm.so.3.0.0
|
||||
usr/lib32/libgdbm_compat.so
|
||||
usr/lib32/libgdbm_compat.so.3
|
||||
usr/lib32/libgdbm_compat.so.3.0.0
|
||||
usr/lib32/libjson.so
|
||||
usr/lib32/libjson.so.0
|
||||
usr/lib32/libjson.so.0.0.1
|
||||
usr/lib32/pkgconfig/json.pc
|
||||
usr/lib32/perl5/5.12.4/i686-linux/auto/GDBM_File/GDBM_File.so
|
||||
usr/lib32/perl5/5.12.4/i686-linux/auto/NDBM_File/NDBM_File.so
|
||||
usr/lib32/python2.7/lib-dynload/dbm.so
|
||||
usr/lib32/python3.2/lib-dynload/_dbm.cpython-32.so
|
||||
usr/lib32/python2.7/lib-dynload/gdbm.so
|
||||
usr/lib32/python3.2/lib-dynload/_gdbm.cpython-32.so
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-sdl/emul-linux-x86-sdl-20131008-r1.ebuild,v 1.1 2013/12/30 07:45:42 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="LGPL-2 LGPL-2.1 ZLIB"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="abi_x86_32"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="~app-emulation/emul-linux-x86-xlibs-${PV}
|
||||
~app-emulation/emul-linux-x86-baselibs-${PV}
|
||||
~app-emulation/emul-linux-x86-soundlibs-${PV}
|
||||
~app-emulation/emul-linux-x86-medialibs-${PV}
|
||||
abi_x86_32? (
|
||||
>=media-libs/openal-1.15.1-r1[abi_x86_32(-)]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
emul-linux-x86_src_prepare
|
||||
|
||||
# Remove migrated stuff.
|
||||
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native")
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
usr/lib32/libopenal.so
|
||||
usr/lib32/libopenal.so.1
|
||||
usr/lib32/libopenal.so.1.15.1
|
||||
usr/lib32/pkgconfig/openal.pc
|
@ -0,0 +1,426 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.2.0-r1.ebuild,v 1.1 2013/12/29 01:11:36 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
BACKPORTS=36378d1a
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit eutils user autotools linux-info systemd readme.gentoo
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt"
|
||||
|
||||
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
|
||||
you don't need any extra software. For more complex network modes
|
||||
including but not limited to NATed network, you can enable the
|
||||
'virt-network' USE flag.\n\n
|
||||
If you are using dnsmasq on your system, you will have
|
||||
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
|
||||
bind-interfaces\n
|
||||
interface or except-interface\n\n
|
||||
Otherwise you might have issues with your existing DNS server."
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~USER_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
|
||||
|
||||
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r13" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF} \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
newinitd "${FILESDIR}/virtlockd.init" virtlockd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
dodir /etc/sysctl.d
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.0_p3-r1.ebuild,v 1.1 2013/10/14 18:57:04 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGS="cs de en es fa he it ru uk pl pt af"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
# Upstream names the package PV-rX. We need to fix that to
|
||||
# PV_pX so we can use portage revisions.
|
||||
MY_PV="${PV/_p/-r}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+=" linguas_${x}"
|
||||
done
|
||||
|
||||
CDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication
|
||||
dev-qt/qtsql:4[sqlite]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-util/cmake"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
sys-fs/fuseiso
|
||||
kde? ( kde-base/kdesu )
|
||||
gnome? ( x11-libs/gksu )
|
||||
dbus? ( dev-qt/qtdbus:4 )"
|
||||
|
||||
DOCS="README AUTHORS ChangeLog"
|
||||
|
||||
PATCHES=( ${FILESDIR}/${PN}-qtsingleapp.patch )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs="${mycmakeargs} \
|
||||
-DWITH_SYSTEM_SINGLEAPP=ON \
|
||||
$(cmake-utils_use debug DEBUG) \
|
||||
$(cmake-utils_use_with icoutils ICOUTILS) \
|
||||
$(cmake-utils_use_with wineappdb WINEAPPDB) \
|
||||
$(cmake-utils_use_with dbus DBUS)"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.1.ebuild,v 1.1 2013/11/16 11:29:23 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGS="cs de en es fa he it ru uk pl pt af"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
# Upstream names the package PV-rX. We need to fix that to
|
||||
# PV_pX so we can use portage revisions.
|
||||
MY_PV="${PV/_p/-r}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+=" linguas_${x}"
|
||||
done
|
||||
|
||||
CDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication
|
||||
dev-qt/qtsql:4[sqlite]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-util/cmake"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
sys-fs/fuseiso
|
||||
kde? ( kde-base/kdesu )
|
||||
gnome? ( x11-libs/gksu )
|
||||
dbus? ( dev-qt/qtdbus:4 )"
|
||||
|
||||
DOCS="README AUTHORS ChangeLog"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs="${mycmakeargs} \
|
||||
-DWITH_SYSTEM_SINGLEAPP=ON \
|
||||
$(cmake-utils_use debug DEBUG) \
|
||||
$(cmake-utils_use_with icoutils ICOUTILS) \
|
||||
$(cmake-utils_use_with wineappdb WINEAPPDB) \
|
||||
$(cmake-utils_use_with dbus DBUS)"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.1_p1.ebuild,v 1.1 2013/12/01 12:26:07 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGS="cs de en es fa he it ru uk pl pt af"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
# Upstream names the package PV-rX. We need to fix that to
|
||||
# PV_pX so we can use portage revisions.
|
||||
MY_PV="${PV/_p/-r}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+=" linguas_${x}"
|
||||
done
|
||||
|
||||
CDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication
|
||||
dev-qt/qtsql:4[sqlite]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-util/cmake"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
sys-fs/fuseiso
|
||||
kde? ( kde-base/kdesu )
|
||||
gnome? ( x11-libs/gksu )
|
||||
dbus? ( dev-qt/qtdbus:4 )"
|
||||
|
||||
DOCS="README AUTHORS ChangeLog"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs="${mycmakeargs} \
|
||||
-DWITH_SYSTEM_SINGLEAPP=ON \
|
||||
$(cmake-utils_use debug DEBUG) \
|
||||
$(cmake-utils_use_with icoutils ICOUTILS) \
|
||||
$(cmake-utils_use_with wineappdb WINEAPPDB) \
|
||||
$(cmake-utils_use_with dbus DBUS)"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.1_p2-r1.ebuild,v 1.1 2013/12/28 00:07:53 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="af cs de en es fa he it ru uk pl pt"
|
||||
|
||||
inherit cmake-utils l10n
|
||||
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
|
||||
# Upstream names the package PV-rX. We change that to
|
||||
# PV_pX so we can use portage revisions.
|
||||
MY_PV=${PV/_p/-r}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+dbus debug +icoutils +wineappdb"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
dbus? ( dev-qt/qtdbus:4 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
sys-fs/fuseiso
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=(README AUTHORS ChangeLog)
|
||||
|
||||
remove_from_LINGUAS() {
|
||||
sed -i -e "/SET\s*(\s*LINGUAS / s: ${1}_\w\w::" \
|
||||
src/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
l10n_for_each_disabled_locale_do remove_from_LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DQT5=OFF
|
||||
-DWITH_SYSTEM_SINGLEAPP=ON
|
||||
$(cmake-utils_use debug)
|
||||
$(cmake-utils_use_with dbus)
|
||||
$(cmake-utils_use_with icoutils)
|
||||
$(cmake-utils_use_with wineappdb)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.1_p2.ebuild,v 1.1 2013/12/17 21:31:52 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGS="cs de en es fa he it ru uk pl pt af"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
# Upstream names the package PV-rX. We need to fix that to
|
||||
# PV_pX so we can use portage revisions.
|
||||
MY_PV="${PV/_p/-r}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${MY_PV}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+=" linguas_${x}"
|
||||
done
|
||||
|
||||
CDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsingleapplication
|
||||
dev-qt/qtsql:4[sqlite]"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-util/cmake"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
sys-fs/fuseiso
|
||||
kde? ( kde-base/kdesu )
|
||||
gnome? ( x11-libs/gksu )
|
||||
dbus? ( dev-qt/qtdbus:4 )"
|
||||
|
||||
DOCS="README AUTHORS ChangeLog"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs="${mycmakeargs} \
|
||||
-DWITH_SYSTEM_SINGLEAPP=ON \
|
||||
$(cmake-utils_use debug DEBUG) \
|
||||
$(cmake-utils_use_with icoutils ICOUTILS) \
|
||||
$(cmake-utils_use_with wineappdb WINEAPPDB) \
|
||||
$(cmake-utils_use_with dbus DBUS)"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- vmnet-only/userif.c 2012-06-09 04:26:32.000000000 -0400
|
||||
+++ vmnet-only.new/userif.c 2012-10-22 12:14:34.275953107 -0400
|
||||
@@ -956,7 +956,7 @@ VNetUserIfSetUplinkState(VNetPort *port,
|
||||
"failed (%d)\n", userIf->port.id, retval));
|
||||
}
|
||||
|
||||
- LOG(0, (KERN_NOTICE "userif-%d: sent link %s event.",
|
||||
+ LOG(0, (KERN_NOTICE "userif-%d: sent link %s event.\n",
|
||||
userIf->port.id, linkUp?"up":"down"));
|
||||
|
||||
return retval;
|
@ -0,0 +1,134 @@
|
||||
From eea7a170ba329a825644956ac390bb63c1a4e667 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?=
|
||||
<czchen@gmail.com>
|
||||
Date: Sun, 15 Dec 2013 12:22:05 +0800
|
||||
Subject: [PATCH] Skip key event when input purpose is password
|
||||
|
||||
---
|
||||
src/IBusChewingEngine-input-events.c | 16 ++++++++++++++++
|
||||
src/IBusChewingEngine.gob | 15 +++++++++++++++
|
||||
2 files changed, 31 insertions(+)
|
||||
|
||||
diff --git a/src/IBusChewingEngine-input-events.c b/src/IBusChewingEngine-input-events.c
|
||||
index 974cf75..ef78c4c 100644
|
||||
--- a/src/IBusChewingEngine-input-events.c
|
||||
+++ b/src/IBusChewingEngine-input-events.c
|
||||
@@ -29,6 +29,7 @@ gboolean ibus_chewing_engine_process_key_event(IBusEngine *engine,
|
||||
gboolean result=TRUE;
|
||||
|
||||
IBusChewingEngine *self=IBUS_CHEWING_ENGINE(engine);
|
||||
+ if (ibus_chewing_engine_is_password(self)) return FALSE;
|
||||
guint kSym=ibus_chewing_engine_keycode_to_keysym(self,keysym, keycode, modifiers);
|
||||
|
||||
if (modifiers & IBUS_RELEASE_MASK){
|
||||
@@ -282,6 +283,7 @@ void ibus_chewing_engine_handle_Default(IBusChewingEngine *self, guint keyval, g
|
||||
void ibus_chewing_engine_candidate_clicked(IBusEngine *engine, guint index, guint button, guint state){
|
||||
G_DEBUG_MSG(2,"***[I2] candidate_clicked(-, %u, %u, %u) ... proceed.", index, button, state);
|
||||
IBusChewingEngine *self=IBUS_CHEWING_ENGINE(engine);
|
||||
+ if (ibus_chewing_engine_is_password(self)) return;
|
||||
if (index >= chewing_get_candPerPage(self->context) || index <0) {
|
||||
G_DEBUG_MSG(3,"[I3] candidate_clicked() index out of ranged");
|
||||
return;
|
||||
@@ -329,3 +331,17 @@ void ibus_chewing_engine_property_activate(IBusEngine *engine, const gchar *pro
|
||||
if (needRefresh)
|
||||
self_refresh_property(self,prop_name);
|
||||
}
|
||||
+
|
||||
+#if IBUS_CHECK_VERSION(1, 5, 4)
|
||||
+void ibus_chewing_engine_set_content_type(IBusEngine *engine, guint purpose, guint hints){
|
||||
+ G_DEBUG_MSG(5,"[I5] set_content_type(%d, %d)", purpose, hints);
|
||||
+
|
||||
+ Self *self=SELF(engine);
|
||||
+ if (purpose == IBUS_INPUT_PURPOSE_PASSWORD ||
|
||||
+ purpose == IBUS_INPUT_PURPOSE_PIN) {
|
||||
+ ibus_chewing_engine_set_status_flag(self, ENGINE_STATUS_IS_PASSWORD);
|
||||
+ } else {
|
||||
+ ibus_chewing_engine_clear_status_flag(self, ENGINE_STATUS_IS_PASSWORD);
|
||||
+ }
|
||||
+}
|
||||
+#endif
|
||||
diff --git a/src/IBusChewingEngine.gob b/src/IBusChewingEngine.gob
|
||||
index 8bb742a..68986ad 100644
|
||||
--- a/src/IBusChewingEngine.gob
|
||||
+++ b/src/IBusChewingEngine.gob
|
||||
@@ -110,6 +110,7 @@ enum CHEWING_FLAG{
|
||||
* @SHOW_CANDIDATE: Whether the candidate selection should be shown. Important for Plain Zhuyin.
|
||||
* @NEED_COMMIT: There's Something to commit.
|
||||
* @FORCE_COMMIT: The engine should commit
|
||||
+ * @IS_PASSWORD: Current input is password.
|
||||
*
|
||||
* Engine status show the current states of engine,
|
||||
* Thus this will change quite often.
|
||||
@@ -124,6 +125,7 @@ enum ENGINE_STATUS{
|
||||
SHOW_CANDIDATE= 0x8,
|
||||
NEED_COMMIT= 0x10,
|
||||
FORCE_COMMIT= 0x20,
|
||||
+ IS_PASSWORD= 0x40,
|
||||
} Engine:Status;
|
||||
|
||||
%h{
|
||||
@@ -152,6 +154,7 @@ void ibus_chewing_engine_handle_Default(IBusChewingEngine *self, guint keyval, g
|
||||
gboolean ibus_chewing_engine_process_key_event(IBusEngine *engine, guint keysym, guint keycode, guint modifiers);
|
||||
void ibus_chewing_engine_candidate_clicked(IBusEngine *engine, guint index, guint button, guint state);
|
||||
void ibus_chewing_engine_property_activate(IBusEngine *engine, const gchar *prop_name, guint prop_state);
|
||||
+void ibus_chewing_engine_set_content_type(IBusEngine *engine, guint purpose, guint hints);
|
||||
|
||||
%}
|
||||
|
||||
@@ -268,6 +271,9 @@ class IBus:Chewing:Engine from IBus:Engine{
|
||||
ibus_engine_class->property_activate= ibus_chewing_engine_property_activate;
|
||||
ibus_engine_class->process_key_event = ibus_chewing_engine_process_key_event;
|
||||
ibus_engine_class->candidate_clicked = ibus_chewing_engine_candidate_clicked;
|
||||
+#if IBUS_CHECK_VERSION(1, 5, 4)
|
||||
+ ibus_engine_class->set_content_type = ibus_chewing_engine_set_content_type;
|
||||
+#endif
|
||||
}
|
||||
|
||||
private void load_setting(self){
|
||||
@@ -633,6 +639,11 @@ class IBus:Chewing:Engine from IBus:Engine{
|
||||
}
|
||||
}
|
||||
|
||||
+ protected gboolean is_password(self){
|
||||
+ G_DEBUG_MSG(5, "[I5] is_password = %d", self->chewingFlags & ENGINE_STATUS_IS_PASSWORD);
|
||||
+ return !!(self->_priv->statusFlags & ENGINE_STATUS_IS_PASSWORD);
|
||||
+ }
|
||||
+
|
||||
/**
|
||||
* refresh_property_list:
|
||||
* @self: this instances.
|
||||
@@ -952,6 +963,7 @@ class IBus:Chewing:Engine from IBus:Engine{
|
||||
override (IBus:Engine) void
|
||||
page_up(IBus:Engine *engine){
|
||||
Self *self=SELF(engine);
|
||||
+ if (self_is_password(self)) return;
|
||||
chewing_handle_PageUp(self->context);
|
||||
self_update(self);
|
||||
}
|
||||
@@ -960,6 +972,7 @@ class IBus:Chewing:Engine from IBus:Engine{
|
||||
override (IBus:Engine) void
|
||||
page_down(IBus:Engine *engine){
|
||||
Self *self=SELF(engine);
|
||||
+ if (self_is_password(self)) return;
|
||||
chewing_handle_PageDown(self->context);
|
||||
self_update(self);
|
||||
}
|
||||
@@ -967,6 +980,7 @@ class IBus:Chewing:Engine from IBus:Engine{
|
||||
override (IBus:Engine) void
|
||||
cursor_up(IBus:Engine *engine){
|
||||
Self *self=SELF(engine);
|
||||
+ if (self_is_password(self)) return;
|
||||
chewing_handle_Up(self->context);
|
||||
self_update(self);
|
||||
}
|
||||
@@ -974,6 +988,7 @@ class IBus:Chewing:Engine from IBus:Engine{
|
||||
override (IBus:Engine) void
|
||||
cursor_down(IBus:Engine *engine){
|
||||
Self *self=SELF(engine);
|
||||
+ if (self_is_password(self)) return;
|
||||
chewing_handle_Down(self->context);
|
||||
self_update(self);
|
||||
}
|
||||
--
|
||||
1.8.5.1
|
||||
|
@ -0,0 +1,227 @@
|
||||
From f1accaa9a18bd4a1c7234b40e16ad9889c25a461 Mon Sep 17 00:00:00 2001
|
||||
From: Peng Wu <alexepico@gmail.com>
|
||||
Date: Wed, 6 Nov 2013 13:16:14 +0800
|
||||
Subject: [PATCH] support setContentType method
|
||||
|
||||
---
|
||||
src/PYBopomofoEngine.cc | 22 ++++++++++++++++++++++
|
||||
src/PYBopomofoEngine.h | 7 +++++++
|
||||
src/PYEngine.cc | 21 +++++++++++++++++++++
|
||||
src/PYEngine.h | 3 +++
|
||||
src/PYPinyinEngine.cc | 22 ++++++++++++++++++++++
|
||||
src/PYPinyinEngine.h | 7 +++++++
|
||||
6 files changed, 82 insertions(+)
|
||||
|
||||
diff --git a/src/PYBopomofoEngine.cc b/src/PYBopomofoEngine.cc
|
||||
index 581c4cf..4dfbc2c 100644
|
||||
--- a/src/PYBopomofoEngine.cc
|
||||
+++ b/src/PYBopomofoEngine.cc
|
||||
@@ -42,6 +42,10 @@ BopomofoEngine::BopomofoEngine (IBusEngine *engine)
|
||||
{
|
||||
gint i;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ m_input_purpose = IBUS_INPUT_PURPOSE_FREE_FORM;
|
||||
+#endif
|
||||
+
|
||||
/* create editors */
|
||||
m_editors[MODE_INIT].reset (new BopomofoEditor (m_props, BopomofoConfig::instance ()));
|
||||
m_editors[MODE_PUNCT].reset (new PunctEditor (m_props, BopomofoConfig::instance ()));
|
||||
@@ -72,6 +76,11 @@ BopomofoEngine::processKeyEvent (guint keyval, guint keycode, guint modifiers)
|
||||
{
|
||||
gboolean retval = FALSE;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ if (IBUS_INPUT_PURPOSE_PASSWORD == m_input_purpose)
|
||||
+ return retval;
|
||||
+#endif
|
||||
+
|
||||
/* check Shift + Release hotkey,
|
||||
* and then ignore other Release key event */
|
||||
if (modifiers & IBUS_RELEASE_MASK) {
|
||||
@@ -139,9 +148,22 @@ BopomofoEngine::focusIn (void)
|
||||
void
|
||||
BopomofoEngine::focusOut (void)
|
||||
{
|
||||
+
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ m_input_purpose = IBUS_INPUT_PURPOSE_FREE_FORM;
|
||||
+#endif
|
||||
+
|
||||
reset ();
|
||||
}
|
||||
|
||||
+#if IBUS_CHECK_VERSION(1, 5, 4)
|
||||
+void
|
||||
+BopomofoEngine::setContentType (guint purpose, guint hints)
|
||||
+{
|
||||
+ m_input_purpose = (IBusInputPurpose) purpose;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
void
|
||||
BopomofoEngine::reset (void)
|
||||
{
|
||||
diff --git a/src/PYBopomofoEngine.h b/src/PYBopomofoEngine.h
|
||||
index ce41ce8..14b6780 100644
|
||||
--- a/src/PYBopomofoEngine.h
|
||||
+++ b/src/PYBopomofoEngine.h
|
||||
@@ -36,6 +36,9 @@ public:
|
||||
gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers);
|
||||
void focusIn (void);
|
||||
void focusOut (void);
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ void setContentType (guint purpose, guint hints);
|
||||
+#endif
|
||||
void reset (void);
|
||||
void enable (void);
|
||||
void disable (void);
|
||||
@@ -59,6 +62,10 @@ private:
|
||||
private:
|
||||
PinyinProperties m_props;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ IBusInputPurpose m_input_purpose;
|
||||
+#endif
|
||||
+
|
||||
guint m_prev_pressed_key;
|
||||
|
||||
enum {
|
||||
diff --git a/src/PYEngine.cc b/src/PYEngine.cc
|
||||
index d9fa04a..da047b2 100644
|
||||
--- a/src/PYEngine.cc
|
||||
+++ b/src/PYEngine.cc
|
||||
@@ -67,6 +67,12 @@ static gboolean ibus_pinyin_engine_process_key_event
|
||||
guint modifiers);
|
||||
static void ibus_pinyin_engine_focus_in (IBusEngine *engine);
|
||||
static void ibus_pinyin_engine_focus_out (IBusEngine *engine);
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+static void ibus_pinyin_engine_set_content_type
|
||||
+ (IBusEngine *engine,
|
||||
+ guint purpose,
|
||||
+ guint hints);
|
||||
+#endif
|
||||
static void ibus_pinyin_engine_reset (IBusEngine *engine);
|
||||
static void ibus_pinyin_engine_enable (IBusEngine *engine);
|
||||
static void ibus_pinyin_engine_disable (IBusEngine *engine);
|
||||
@@ -123,6 +129,10 @@ ibus_pinyin_engine_class_init (IBusPinyinEngineClass *klass)
|
||||
engine_class->focus_in = ibus_pinyin_engine_focus_in;
|
||||
engine_class->focus_out = ibus_pinyin_engine_focus_out;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ engine_class->set_content_type = ibus_pinyin_engine_set_content_type;
|
||||
+#endif
|
||||
+
|
||||
engine_class->page_up = ibus_pinyin_engine_page_up;
|
||||
engine_class->page_down = ibus_pinyin_engine_page_down;
|
||||
|
||||
@@ -182,6 +192,17 @@ ibus_pinyin_engine_process_key_event (IBusEngine *engine,
|
||||
return pinyin->engine->processKeyEvent (keyval, keycode, modifiers);
|
||||
}
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+static void
|
||||
+ibus_pinyin_engine_set_content_type (IBusEngine *engine,
|
||||
+ guint purpose,
|
||||
+ guint hints)
|
||||
+{
|
||||
+ IBusPinyinEngine *pinyin = (IBusPinyinEngine *) engine;
|
||||
+ return pinyin->engine->setContentType (purpose, hints);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
static void
|
||||
ibus_pinyin_engine_property_activate (IBusEngine *engine,
|
||||
const gchar *prop_name,
|
||||
diff --git a/src/PYEngine.h b/src/PYEngine.h
|
||||
index b74e6e8..22e1b79 100644
|
||||
--- a/src/PYEngine.h
|
||||
+++ b/src/PYEngine.h
|
||||
@@ -44,6 +44,9 @@ public:
|
||||
virtual gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers) = 0;
|
||||
virtual void focusIn (void) = 0;
|
||||
virtual void focusOut (void) = 0;
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ virtual void setContentType (guint purpose, guint hints) = 0;
|
||||
+#endif
|
||||
virtual void reset (void) = 0;
|
||||
virtual void enable (void) = 0;
|
||||
virtual void disable (void) = 0;
|
||||
diff --git a/src/PYPinyinEngine.cc b/src/PYPinyinEngine.cc
|
||||
index 7aea261..570187b 100644
|
||||
--- a/src/PYPinyinEngine.cc
|
||||
+++ b/src/PYPinyinEngine.cc
|
||||
@@ -45,6 +45,10 @@ PinyinEngine::PinyinEngine (IBusEngine *engine)
|
||||
{
|
||||
gint i;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ m_input_purpose = IBUS_INPUT_PURPOSE_FREE_FORM;
|
||||
+#endif
|
||||
+
|
||||
if (PinyinConfig::instance ().doublePinyin ())
|
||||
m_editors[MODE_INIT].reset (new DoublePinyinEditor (m_props, PinyinConfig::instance ()));
|
||||
else
|
||||
@@ -82,6 +86,11 @@ PinyinEngine::processKeyEvent (guint keyval, guint keycode, guint modifiers)
|
||||
{
|
||||
gboolean retval = FALSE;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ if (IBUS_INPUT_PURPOSE_PASSWORD == m_input_purpose)
|
||||
+ return retval;
|
||||
+#endif
|
||||
+
|
||||
/* check Shift + Release hotkey,
|
||||
* and then ignore other Release key event */
|
||||
if (modifiers & IBUS_RELEASE_MASK) {
|
||||
@@ -195,9 +204,22 @@ PinyinEngine::focusIn (void)
|
||||
void
|
||||
PinyinEngine::focusOut (void)
|
||||
{
|
||||
+
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ m_input_purpose = IBUS_INPUT_PURPOSE_FREE_FORM;
|
||||
+#endif
|
||||
+
|
||||
reset ();
|
||||
}
|
||||
|
||||
+#if IBUS_CHECK_VERSION(1, 5, 4)
|
||||
+void
|
||||
+PinyinEngine::setContentType (guint purpose, guint hints)
|
||||
+{
|
||||
+ m_input_purpose = (IBusInputPurpose) purpose;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
void
|
||||
PinyinEngine::reset (void)
|
||||
{
|
||||
diff --git a/src/PYPinyinEngine.h b/src/PYPinyinEngine.h
|
||||
index fcce73e..de50269 100644
|
||||
--- a/src/PYPinyinEngine.h
|
||||
+++ b/src/PYPinyinEngine.h
|
||||
@@ -35,6 +35,9 @@ public:
|
||||
gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers);
|
||||
void focusIn (void);
|
||||
void focusOut (void);
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ void setContentType (guint purpose, guint hints);
|
||||
+#endif
|
||||
void reset (void);
|
||||
void enable (void);
|
||||
void disable (void);
|
||||
@@ -58,6 +61,10 @@ private:
|
||||
private:
|
||||
PinyinProperties m_props;
|
||||
|
||||
+#if IBUS_CHECK_VERSION (1, 5, 4)
|
||||
+ IBusInputPurpose m_input_purpose;
|
||||
+#endif
|
||||
+
|
||||
guint m_prev_pressed_key;
|
||||
|
||||
enum {
|
||||
--
|
||||
1.8.3.1
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9110.519.ebuild,v 1.1 2013/12/28 04:13:26 robbat2 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit user
|
||||
|
||||
MAJ_PV=${PV:0:6}
|
||||
MIN_PV=${PV:7:9}
|
||||
|
||||
DESCRIPTION="distributed.net client"
|
||||
HOMEPAGE="http://www.distributed.net"
|
||||
SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
|
||||
#SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
|
||||
#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
|
||||
#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
|
||||
SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
|
||||
|
||||
LICENSE="distributed.net"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86" # ppc,amd64 not available for this version
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="net-dns/bind-tools"
|
||||
|
||||
QA_PRESTRIPPED="opt/distributed.net/dnetc"
|
||||
|
||||
S=${WORKDIR}/dnetc
|
||||
|
||||
src_prepare() {
|
||||
binname=""
|
||||
if use amd64; then
|
||||
binname=dnetc${MIN_PV}-linux-amd64
|
||||
elif use x86; then
|
||||
binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
|
||||
elif use ppc; then
|
||||
binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
|
||||
fi
|
||||
[[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
|
||||
mv "${binname}" dnetc || die "$binname binary is missing"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/distributed.net
|
||||
doexe dnetc
|
||||
|
||||
doman dnetc.1
|
||||
dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
|
||||
|
||||
newinitd "${FILESDIR}"/dnetc.initd dnetc
|
||||
newconfd "${FILESDIR}"/dnetc.confd dnetc
|
||||
|
||||
keepdir /var/spool/dnetc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
|
||||
einfo "flushing old buffers"
|
||||
source /etc/conf.d/dnetc
|
||||
|
||||
if [ -e /opt/distributed.net/dnetc.ini ]; then
|
||||
# use ini file
|
||||
/opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
|
||||
elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
|
||||
# email adress from config
|
||||
/opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
|
||||
fi
|
||||
|
||||
einfo "removing old buffer files"
|
||||
rm -f /opt/distributed.net/buff*
|
||||
fi
|
||||
|
||||
enewgroup dnetc
|
||||
enewuser dnetc -1 -1 /opt/distributed.net dnetc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown -Rf dnetc:dnetc /opt/distributed.net
|
||||
chmod 0555 /opt/distributed.net/dnetc
|
||||
|
||||
elog "To run distributed.net client in the background at boot:"
|
||||
elog " rc-update add dnetc default"
|
||||
elog ""
|
||||
elog "Either configure your email address in /etc/conf.d/dnetc"
|
||||
elog "or create the configuration file /opt/distributed.net/dnetc.ini"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [ -d /opt/distributed.net ]; then
|
||||
elog "All files has not been removed from /opt/distributed.net"
|
||||
fi
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/dnetc/dnetc-2.9110.519b.ebuild,v 1.1 2013/12/28 04:13:26 robbat2 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit user
|
||||
|
||||
MAJ_PV=${PV:0:6}
|
||||
MIN_PV=${PV:7:9}
|
||||
|
||||
DESCRIPTION="distributed.net client"
|
||||
HOMEPAGE="http://www.distributed.net"
|
||||
#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
|
||||
SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
|
||||
#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
|
||||
#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
|
||||
SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
|
||||
|
||||
LICENSE="distributed.net"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64" # ppc,x86 not available for this version
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="net-dns/bind-tools"
|
||||
|
||||
QA_PREBUILT="opt/distributed.net/dnetc"
|
||||
|
||||
getS() {
|
||||
case $ARCH in
|
||||
amd64) suffix=amd64 ;;
|
||||
x86) suffix=x86-elf-uclibc ;;
|
||||
ppc) suffix=ppc-elf-uclibc ;;
|
||||
esac
|
||||
echo dnetc${MIN_PV:0:3}-linux-${suffix}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
export S="${WORKDIR}/$(getS)"
|
||||
cd "${S}"
|
||||
[[ -x dnetc ]] || die "Name of dnetc directory/binary for this platform undefined"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export S="${WORKDIR}/$(getS)"
|
||||
cd "${S}"
|
||||
exeinto /opt/distributed.net
|
||||
doexe dnetc
|
||||
|
||||
doman dnetc.1
|
||||
dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
|
||||
|
||||
newinitd "${FILESDIR}"/dnetc.initd dnetc
|
||||
newconfd "${FILESDIR}"/dnetc.confd dnetc
|
||||
|
||||
keepdir /var/spool/dnetc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
|
||||
einfo "flushing old buffers"
|
||||
source /etc/conf.d/dnetc
|
||||
|
||||
if [ -e /opt/distributed.net/dnetc.ini ]; then
|
||||
# use ini file
|
||||
/opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
|
||||
elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
|
||||
# email adress from config
|
||||
/opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
|
||||
fi
|
||||
|
||||
einfo "removing old buffer files"
|
||||
rm -f /opt/distributed.net/buff*
|
||||
fi
|
||||
|
||||
enewgroup dnetc
|
||||
enewuser dnetc -1 -1 /opt/distributed.net dnetc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown -Rf dnetc:dnetc /opt/distributed.net
|
||||
chmod 0555 /opt/distributed.net/dnetc
|
||||
|
||||
elog "To run distributed.net client in the background at boot:"
|
||||
elog " rc-update add dnetc default"
|
||||
elog ""
|
||||
elog "Either configure your email address in /etc/conf.d/dnetc"
|
||||
elog "or create the configuration file /opt/distributed.net/dnetc.ini"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [ -d /opt/distributed.net ]; then
|
||||
elog "All files has not been removed from /opt/distributed.net"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST OOoFBTools-2.12.7z 4012473 SHA256 bdcb639a9a7145b31887e5ac52843f6caa94207d208b29b757a16b55b506aee4 SHA512 1a367d206f70e842ab8e45993c918e1d4790dacea59399695192897bb39d398d2a37e25eaadaa466c06097650dc92046163416609d053f59dc5d184149b58659 WHIRLPOOL 0166bdb9123fd1a6c5050c93ed9d6f82ae371a6d32aecb45fb3696cbc80060bf0067ee5919ceda6ca62bbe3230ed3e0da2066bcda185abdb1ac31b21580cda39
|
||||
DIST OOoFBTools-2.25.7z 4544135 SHA256 2d2be661595247b18588ecd5a005e7ca587c7dd4b61b9deff81dfdbe867409fd SHA512 97d9144c9fcd94492ef487c9543b60d06c50a92fbeae6e368ef8d892907fd87194c41015957b8432490d1ceb92b2fcf8b22a2d44e1263fb82c6f07685722c669 WHIRLPOOL 329ef5c86ef718af11d1659e38b6d403c7b9259ed4bb2dc99ed121ab6c1799deee6f9014951a8eaeab5203f6a187e321e37de6824fe155c91aa117c803a8688c
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-officeext/ooofbtools/ooofbtools-2.25.ebuild,v 1.1 2013/12/29 10:06:02 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="OOoFBTools"
|
||||
|
||||
OFFICE_EXTENSIONS=(
|
||||
"${MY_PN}.oxt"
|
||||
)
|
||||
|
||||
inherit office-ext-r1
|
||||
|
||||
DESCRIPTION="Extension for converting and processing eBooks in FictionBook2 format with validator extension"
|
||||
HOMEPAGE="http://www.fbtools.org/"
|
||||
SRC_URI="http://www.fbtools.org/project-updates/${PN}-225/${MY_PN}-${PV}.7z"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
DOCS=( ChangeLog* )
|
||||
|
||||
OFFICE_EXTENSIONS_LOCATION="${S}"
|
@ -0,0 +1,11 @@
|
||||
--- libetonyek-0.0.3/src/lib/KEYEnum.h 2013-12-06 09:40:36.000000000 +0100
|
||||
+++ libetonyek-0.0.3/src/lib/KEYEnum.h 2013-12-15 06:21:26.372083749 +0100
|
||||
@@ -33,7 +33,7 @@
|
||||
KEY_CAPITALIZATION_NONE,
|
||||
KEY_CAPITALIZATION_ALL_CAPS,
|
||||
KEY_CAPITALIZATION_SMALL_CAPS,
|
||||
- KEY_CAPITALIZATION_TITLE,
|
||||
+ KEY_CAPITALIZATION_TITLE
|
||||
};
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
--- libetonyek-0.0.3/src/lib/KEY2ParserUtils.cpp 2013-12-01 21:44:51.000000000 +0100
|
||||
+++ libetonyek-0.0.3/src/lib/KEY2ParserUtils.cpp 2013-12-15 06:53:07.474721349 +0100
|
||||
@@ -125,7 +125,7 @@
|
||||
return KEYSize(size.second, size.first);
|
||||
}
|
||||
|
||||
-bool KEY2ParserUtils::bool_cast(const char *const value)
|
||||
+bool KEY2ParserUtils::bool_cast(const char *value)
|
||||
{
|
||||
KEY2Tokenizer tok;
|
||||
switch (tok(value))
|
||||
@@ -142,6 +142,16 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
+double KEY2ParserUtils::double_cast(const char *value)
|
||||
+{
|
||||
+ return lexical_cast<double, const char *>(value);
|
||||
+}
|
||||
+
|
||||
+int KEY2ParserUtils::int_cast(const char *value)
|
||||
+{
|
||||
+ return lexical_cast<int, const char *>(value);
|
||||
+}
|
||||
+
|
||||
double KEY2ParserUtils::deg2rad(double value)
|
||||
{
|
||||
// normalize range
|
||||
--- libetonyek-0.0.3/src/lib/KEY2ParserUtils.h 2013-10-30 22:04:38.000000000 +0100
|
||||
+++ libetonyek-0.0.3/src/lib/KEY2ParserUtils.h 2013-12-15 06:50:40.296884951 +0100
|
||||
@@ -81,6 +81,8 @@
|
||||
* @returns the boolean value of the string
|
||||
*/
|
||||
static bool bool_cast(const char *value);
|
||||
+ static double double_cast(const char *value);
|
||||
+ static int int_cast(const char *value);
|
||||
|
||||
static double deg2rad(double value);
|
||||
|
||||
--- libetonyek-0.0.3/src/lib/KEY2StyleParser.cpp 2013-12-06 10:36:13.000000000 +0100
|
||||
+++ libetonyek-0.0.3/src/lib/KEY2StyleParser.cpp 2013-12-15 06:53:45.353451061 +0100
|
||||
@@ -62,12 +62,12 @@
|
||||
|
||||
optional<double> readDouble(const KEYXMLReader &reader)
|
||||
{
|
||||
- return readNumber<double>(reader, KEY2Token::f, &lexical_cast<double, const char *>);
|
||||
+ return readNumber<double>(reader, KEY2Token::f, &KEY2ParserUtils::double_cast);
|
||||
}
|
||||
|
||||
optional<int> readInt(const KEYXMLReader &reader)
|
||||
{
|
||||
- return readNumber<int>(reader, KEY2Token::i, &lexical_cast<int, const char *>);
|
||||
+ return readNumber<int>(reader, KEY2Token::i, &KEY2ParserUtils::double_cast);
|
||||
}
|
||||
|
||||
optional<KEYColor> readColor(const KEYXMLReader &reader)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue