parent
fd4a62a7a1
commit
dde9b5fed1
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-maven/eselect-maven-0.1.ebuild,v 1.6 2010/01/01 19:21:01 fauli Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
DESCRIPTION="Manages Maven symlinks"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.10
|
||||
!<dev-java/maven-bin-2.0.10-r1:2.1"
|
||||
PDEPEND="
|
||||
|| (
|
||||
dev-java/maven-bin:2.2
|
||||
dev-java/maven-bin:2.1
|
||||
dev-java/maven-bin:2.0
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins "${FILESDIR}/maven.eselect" || die "doins failed"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-maven/eselect-maven-0.2.ebuild,v 1.4 2010/06/01 13:14:47 josejx Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Manages Maven symlinks"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.8
|
||||
!<dev-java/maven-bin-2.0.10-r1:2.1"
|
||||
PDEPEND="
|
||||
|| (
|
||||
dev-java/maven-bin:2.2
|
||||
dev-java/maven-bin:2.1
|
||||
dev-java/maven-bin:2.0
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}/maven-${PV}.eselect" maven.eselect \
|
||||
|| die "newins failed"
|
||||
}
|
@ -1,187 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id: maven.eselect,v 1.1 2009/05/12 19:08:17 ali_bush Exp $
|
||||
|
||||
DESCRIPTION="Manage Maven targets"
|
||||
MAINTAINER="jieryn@gmail.com"
|
||||
VERSION="0.1"
|
||||
|
||||
MVN="${ROOT}/usr/bin/mvn"
|
||||
|
||||
# find a list of mvn symlink targets, best first.
|
||||
find_targets() {
|
||||
for f in $(ls -r "${MVN}"-[0-9]* 2> /dev/null) ; do
|
||||
if [[ -f "${f}" ]] ; then
|
||||
echo $(basename "${f}")
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# get a named or numbered target.
|
||||
find_target() {
|
||||
local target=${1}
|
||||
|
||||
if is_number "${target}" && [[ ${target} -ge 1 ]] ; then
|
||||
targets=( $(find_targets ) )
|
||||
[[ -z "${targets}" ]] && die -q "No targets found!"
|
||||
target=${targets[$(( ${target} - 1 ))]}
|
||||
fi
|
||||
|
||||
if [[ "${target}" = mvn-[0-9]* ]] && [[ -f "${ROOT}/usr/bin/${target}" ]] ; then
|
||||
echo ${target}
|
||||
else
|
||||
die -q "Target \"${1}\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
# try to remove the mvn symlink.
|
||||
remove_symlink() {
|
||||
rm "${MVN}" &>/dev/null
|
||||
}
|
||||
|
||||
# determine the current target.
|
||||
get_target() {
|
||||
local canonicalised=$(canonicalise "${MVN}")
|
||||
echo $(basename "${canonicalised}")
|
||||
}
|
||||
|
||||
# set the Maven symlink.
|
||||
set_symlink() {
|
||||
local target=$(find_target "${1}")
|
||||
remove_symlink
|
||||
ln -s "${ROOT}/usr/bin/${target}" "${MVN}" || \
|
||||
die "Couldn't set ${target} symlink."
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show current Maven target"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
if [[ ${#} -gt 0 ]]; then
|
||||
die -q "No parameters allowed."
|
||||
fi
|
||||
|
||||
if [[ -L "${MVN}" ]] ; then
|
||||
get_target
|
||||
return 0
|
||||
elif [[ -e "${MVN}" ]] ; then
|
||||
echo "(not a symlink)" >&2
|
||||
return 1
|
||||
else
|
||||
echo "(unset)" >&2
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available Maven targets"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
if [[ ${#} -gt 0 ]]; then
|
||||
die -q "Usage error: no parameters allowed."
|
||||
fi
|
||||
|
||||
local i targets
|
||||
targets=( $(find_targets) )
|
||||
|
||||
if [[ -n ${targets[@]} ]] ; then
|
||||
local canonicalised basename
|
||||
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
canonicalised=$(canonicalise "${MVN}")
|
||||
basename=$(basename "${canonicalised}")
|
||||
|
||||
if [[ "${targets[${i}]}" = "${basename}" ]] ; then
|
||||
targets[${i}]="${targets[${i}]} $(highlight '*')"
|
||||
fi
|
||||
done
|
||||
|
||||
write_list_start "Available Maven targets:"
|
||||
write_numbered_list "${targets[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new Maven target"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target name or number (from 'list' action)"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ $# -gt 1 ]]; then
|
||||
die -q "Too many parameters. Expected only one."
|
||||
fi
|
||||
|
||||
local target=${1}
|
||||
|
||||
if [[ -z "${target}" ]] ; then
|
||||
die -q "You didn't give me a target name or number."
|
||||
elif [[ -L "${MVN}" ]] ; then
|
||||
if ! remove_symlink ; then
|
||||
die -q "Can't remove existing Maven provider."
|
||||
elif ! set_symlink "${1}" ; then
|
||||
die -q "Can't set new Maven provider."
|
||||
fi
|
||||
elif [[ -e "${MVN}" ]] ; then
|
||||
write_warning_msg "Can't set a new Maven provider. There's a file in the way at ${MVN}. You can try removing it manually, and then re-running this command."
|
||||
else
|
||||
set_symlink "${target}" || die -q "Wasn't able to set a new provider."
|
||||
fi
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Set the Maven target to the latest if the current target is invalid or if the given target is the latest"
|
||||
}
|
||||
|
||||
describe_update_options() {
|
||||
echo "target (optional) : Target name (from 'list' action)"
|
||||
}
|
||||
|
||||
describe_update_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
if [[ $# -gt 1 ]] ; then
|
||||
die -q "Too many parameters. Expected only one."
|
||||
fi
|
||||
|
||||
# For pkg_postrm
|
||||
if [[ ! $(find_targets) ]]; then
|
||||
remove_symlink
|
||||
return
|
||||
fi
|
||||
|
||||
local canonicalised=$(canonicalise "${MVN}")
|
||||
|
||||
if [[ ! -L "${MVN}" ]] || [[ ! -f "${canonicalised}" ]] ; then
|
||||
do_set 1
|
||||
elif [[ -n "${1}" ]] ; then
|
||||
# Check whether target name is valid.
|
||||
find_target "${1}" > /dev/null
|
||||
|
||||
if [[ "${1}" == "$(find_target 1)" ]] ; then
|
||||
do_set 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# vim: set ft=eselect :
|
@ -1,6 +1,2 @@
|
||||
DIST deja-dup-22.1.tar.xz 777248 SHA256 44cb8fcd45799a369c8da2717792a87e3e183eeca1b07fa8f2aac8664f00ca5e SHA512 52d99c3ee66beca49a5c43bd7026b03347f8311e74c32ff2d98a1594dd0cf4b5cea8011a7e6561e54ae04b6e812149dc6c29982a15db3078cdef548b44e9cb31 WHIRLPOOL a57aebb975c9a5cc05e6f1a390cc910e328f01fae9f18d91d76b4d8cb274036d759ecd8aadee2309b23378622f439ef2b5ddc5629e5b42b1174f55d59feff9bf
|
||||
DIST deja-dup-24.0.tar.xz 865076 SHA256 4506871cb9858ea8ef56ef62cc20613a189c123070c123293b533bdfae333673 SHA512 01f9980e24272e89c7813fd75ca1493725940bb8d71f823fdc18ae46d9dcb76fb5a867c5cf1335ca35a65962e46a9e4c0bdf41d93427bbcb3c30e750337d4a70 WHIRLPOOL b2bcbe15e613656f8d834e875b6c52dbd870306d7629b7f0e359bc2e691b854b11df4cb6756b3e683b2814a005efb69b86f8f9737b437e4f616ac6c02d5d9dcc
|
||||
DIST deja-dup-25.1.1.tar.xz 844116 SHA256 6541545c14ac76e8d2b5b7d4a58a39bbe52586cf094db7f883263f65a341eaee SHA512 53226a850fcefda759c0948fe42fef62467e4479213326f1cc2922986cf56b0a07364dbe5ca2a69dfc9235f193124ba9d49a1eb7724f5986a16d9dfececde6ed WHIRLPOOL 8427f4084a44b69b7fce6bf1a64ab01369d88e482e9559f7e3ba924d8a22967b13265da1dba02eb70674cb11ff57790ab215c050de43977a07423f201b328bba
|
||||
DIST deja-dup-25.3.tar.xz 850884 SHA256 b521db7144b155d1924ce31c305761b06aeec1a68245b847b938b6ee789a9c4f SHA512 6ef439cfcdbe38715ac3d99c379d0b2daf18271a1d9c6454ad261546358a24bdddfaba438a9ad9456362a9a666ad9457b89120e4d825965947e3a11e50cee850 WHIRLPOOL 64b38d77dd2c0558d58cc0681b1a6b13c921d1c8c04447fa333e7fc7edb2ac4befe032df059ad72bf5311b8fc856050ba74b45b49729fa979be32b5de7adb2db
|
||||
DIST deja-dup-25.5.tar.xz 819672 SHA256 1cef00409375085430555ba1b6f083c29dfd1c0070076ca4bb994e3a7e11b2ff SHA512 08906e8790b8b3221eaae15510df892e8ae274f9fadc5eb2439280e9336e3d8e0f81dfceb72fa137bf58888b9f996b84852ae0271b9518162280701361748a3f WHIRLPOOL e9546c7c1d2e1d4c393a0475262cc879fff262d1f08b6325b3659638f581f0782872a70cf31bb4c007e1703c6ea8a43725ee8a5bee833192c632bb744825d7ed
|
||||
DIST deja-dup-26.0.tar.xz 820956 SHA256 5fa546ce781183d6041148583cf1c7d6590cec8c1cf0edd6d0db503fc8b8002b SHA512 cdfd681e554d4be7cdef2e000c7e4111cbc51c3274cc3e1c35a3b34bb52550494bd6b81f1dce051cd62fbd683d855f29059cce015bc69fe69c33bb69a3ef03cc WHIRLPOOL 51f52bf138c99ad1e2dd796e6944af546fd51926a8cd0c25588a0f00ed929426c633b6f3f96d037fff4c5355461219ea0221365256db3d8500338cc9e38d9b8e
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-24.0.ebuild,v 1.1 2012/10/28 17:36:59 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/24/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
app-backup/duplicity
|
||||
dev-libs/dbus-glib
|
||||
gnome-base/gnome-keyring
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-lang/vala:0.16
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
export VALAC=$(type -p valac-0.16)
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
domenu data/deja-dup.desktop
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-25.1.1.ebuild,v 1.2 2013/02/05 07:40:57 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
VALA_MIN_API_VERSION="0.16"
|
||||
|
||||
inherit eutils gnome2 vala
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/26/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/libsecret[vala]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
app-backup/duplicity
|
||||
dev-libs/dbus-glib
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
$(vala_depend)
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-desktop.patch )
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
|
||||
epatch ${PATCHES[@]}
|
||||
|
||||
vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-25.3.ebuild,v 1.2 2013/02/05 07:40:57 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
VALA_MIN_API_VERSION="0.16"
|
||||
|
||||
inherit eutils gnome2 vala
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/26/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/libsecret[vala]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
app-backup/duplicity
|
||||
dev-libs/dbus-glib
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
$(vala_depend)
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
|
||||
vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-25.5.ebuild,v 1.2 2013/02/05 07:40:57 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
VALA_MIN_API_VERSION="0.16"
|
||||
|
||||
inherit eutils gnome2 vala
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/26/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/libsecret[vala]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
>=app-backup/duplicity-0.6.21
|
||||
dev-libs/dbus-glib
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
$(vala_depend)
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
|
||||
vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.19-r2.ebuild,v 1.1 2013/04/07 18:18:37 alonbl Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="adns bzip2 doc ldap nls mta readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.4
|
||||
>=dev-libs/libgpg-error-1.7
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=dev-libs/pth-1.3.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
ldap? ( net-nds/openldap )"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4[static-libs]
|
||||
>=dev-libs/libgpg-error-1.7[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
>=net-misc/curl-7.10[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
bzip2? ( app-arch/bzip2[static-libs] )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
mta? ( virtual/mta )
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.17-gpgsm-gencert.patch
|
||||
epatch -l "${FILESDIR}/${P}-support-sc-key-3072.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=" --enable-scdaemon $(use_enable usb ccid-driver)"
|
||||
else
|
||||
myconf+=" --disable-scdaemon"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
${myconf} \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable !elibc_SunOS symcryptrun) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable mta mailto) \
|
||||
$(use_enable ldap) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm -r "${ED}usr/share/gnupg/help"*
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
if use ldap; then
|
||||
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
|
||||
fi
|
||||
echo ".so man1/gpg2.1" > "${ED}usr/share/man/man1/gpg.1"
|
||||
echo ".so man1/gpgv2.1" > "${ED}usr/share/man/man1/gpgv.1"
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >>"${ED}etc/env.d/30gnupg"
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
--- rc/ftyperc 2006-07-20 16:35:56.000000000 +0100
|
||||
+++ rc/ftyperc.gentoo 2013-04-05 15:05:11.000000000 +0100
|
||||
@@ -709,3 +709,40 @@
|
||||
*jpicorc.in
|
||||
-syntax joerc
|
||||
|
||||
+ Gentoo files
|
||||
+*.ebuild
|
||||
+-autoindent
|
||||
+-syntax sh
|
||||
+-pound_comment
|
||||
+-text_delimiters do=done:if=elif=else=fi:case=esac
|
||||
+-smarthome
|
||||
+-smartbacks
|
||||
+-indentc 9
|
||||
+-istep 1
|
||||
+-tab 4
|
||||
+
|
||||
+*.eclass
|
||||
+-autoindent
|
||||
+-syntax sh
|
||||
+-pound_comment
|
||||
+-text_delimiters do=done:if=elif=else=fi:case=esac
|
||||
+-smarthome
|
||||
+-smartbacks
|
||||
+-indentc 9
|
||||
+-istep 1
|
||||
+-tab 4
|
||||
+
|
||||
+*/etc/portage/*
|
||||
+-syntax conf
|
||||
+
|
||||
+*/make.conf
|
||||
+-syntax sh
|
||||
+
|
||||
+*/etc/conf.d/*
|
||||
+-syntax conf
|
||||
+
|
||||
+*/etc/env.d/*
|
||||
+-syntax conf
|
||||
+
|
||||
+*/usr/portage/profiles/*
|
||||
+-syntax conf
|
@ -0,0 +1,43 @@
|
||||
--- rc/ftyperc 2008-10-31 01:42:29.000000000 +0000
|
||||
+++ rc/ftyperc.gentoo 2013-04-05 15:04:49.000000000 +0100
|
||||
@@ -753,3 +753,40 @@
|
||||
*jpicorc.in
|
||||
-syntax joerc
|
||||
|
||||
+ Gentoo files
|
||||
+*.ebuild
|
||||
+-autoindent
|
||||
+-syntax sh
|
||||
+-pound_comment
|
||||
+-text_delimiters do=done:if=elif=else=fi:case=esac
|
||||
+-smarthome
|
||||
+-smartbacks
|
||||
+-indentc 9
|
||||
+-istep 1
|
||||
+-tab 4
|
||||
+
|
||||
+*.eclass
|
||||
+-autoindent
|
||||
+-syntax sh
|
||||
+-pound_comment
|
||||
+-text_delimiters do=done:if=elif=else=fi:case=esac
|
||||
+-smarthome
|
||||
+-smartbacks
|
||||
+-indentc 9
|
||||
+-istep 1
|
||||
+-tab 4
|
||||
+
|
||||
+*/etc/portage/*
|
||||
+-syntax conf
|
||||
+
|
||||
+*/make.conf
|
||||
+-syntax sh
|
||||
+
|
||||
+*/etc/conf.d/*
|
||||
+-syntax conf
|
||||
+
|
||||
+*/etc/env.d/*
|
||||
+-syntax conf
|
||||
+
|
||||
+*/usr/portage/profiles/*
|
||||
+-syntax conf
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.5-r1.ebuild,v 1.1 2013/04/06 14:40:39 tomk Exp $
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
|
||||
HOMEPAGE="http://sourceforge.net/projects/joe-editor/"
|
||||
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="xterm"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2"
|
||||
RDEPEND="xterm? ( >=x11-terms/xterm-239 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-ftyperc.patch"
|
||||
|
||||
cd "${S}"/rc
|
||||
|
||||
# Enable xterm mouse support in the rc files
|
||||
if use xterm; then
|
||||
for i in *rc*.in; do
|
||||
sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os)
|
||||
replace-flags "-Os" "-O2"
|
||||
|
||||
econf || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die "make install failed"
|
||||
dodoc ChangeLog HACKING HINTS LIST NEWS README TODO
|
||||
# remove superfluous documentation, fixes bug #116861
|
||||
rm -rf "${D}"/etc/joe/doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use xterm; then
|
||||
elog "To enable full xterm clipboard you need to set the allowWindowOps"
|
||||
elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm"
|
||||
elog "This is false by default due to potential security problems on some"
|
||||
elog "architectures (see bug #91453)."
|
||||
fi
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-3.7-r2.ebuild,v 1.1 2013/04/06 14:40:39 tomk Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
|
||||
HOMEPAGE="http://sourceforge.net/projects/joe-editor/"
|
||||
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
|
||||
IUSE="xterm"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2"
|
||||
RDEPEND="xterm? ( >=x11-terms/xterm-239 )"
|
||||
|
||||
src_prepare() {
|
||||
# Fix segfault, bug 283508
|
||||
epatch "${FILESDIR}/${P}-segfault-fix.patch"
|
||||
epatch "${FILESDIR}/${P}-sanitise-includes.patch"
|
||||
epatch "${FILESDIR}/${P}-ftyperc.patch"
|
||||
|
||||
cd "${S}"/rc
|
||||
|
||||
# Enable xterm mouse support in the rc files
|
||||
if use xterm; then
|
||||
for i in *rc*.in; do
|
||||
sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die "sed failed"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Bug 34609 (joe 2.9.8 editor seg-faults on 'find and replace' when compiled with -Os)
|
||||
replace-flags "-Os" "-O2"
|
||||
|
||||
econf --docdir="${EPREFIX}"/usr/share/doc/${PF} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install DESTDIR="${D}" || die "make install failed"
|
||||
dodoc ChangeLog HACKING HINTS LIST NEWS README TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use xterm; then
|
||||
elog "To enable full xterm clipboard you need to set the allowWindowOps"
|
||||
elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm"
|
||||
elog "This is false by default due to potential security problems on some"
|
||||
elog "architectures (see bug #91453)."
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST bongo-20070619.tar.bz2 97341 SHA256 a4758e6f60e32f90aa0416c5f5a522dc8edb131ce4aa76212b542b941e12a4d8 SHA512 286549396c253217dc2bf4a12aa036cb88d314d4cab9364bbbbbf851808968797c51c0f4d6c6b10735a458d9eeb533d16ba0a9fc6ae49209b717bae4e4d1e202 WHIRLPOOL 67fe5ff8976a4eadf06c4b73ee43001e8b197aad7252e053375e6d42966d75ec0823b2f5a76d3e834aca136c93949e7ada7d6af894b7096e4c7d5a108e3fad91
|
||||
DIST bongo-20090713.tar.bz2 97704 SHA256 eff4c430d29e5dddea5824b826229ba1ba33978a6b73d782a564edb9539d01f3 SHA512 fc90f274227fac8f2305a5e39174824ab9ba66bc4ae9ded3313892c93c1b118183ae40a5f9bfb5cbf2157b43efeb78c6ca3ed2fd5af3a8bdddf6a39a597f31d6 WHIRLPOOL 67312cf65b49444af171f7362c82109354b9f3d01fcd6652688d3757968fd731311fa99e9a5470a18d87587dc0c48e70fa0eac1f2f020f016386f2f8d3610bec
|
||||
DIST bongo-20110621.tar.xz 97652 SHA256 0fa7603d8239351725c6abe37ca8781a221821defb081c329620ed4dcc2a5cfe SHA512 31c2a477cfb5ff36fbc64da29c725db0b0242ea09f80883fb21feb3b23f5c14c688379c4c4e53b26ffef3aca5d2813d5b2a38b91266da088c73516f7ea1d712b WHIRLPOOL 29fa53b77626cf0c8dc79bbdea16912dbb12ddb8cdcd344f98ecef5c20e480566aa6792341739efd08a600a0c5ef09b0fdb7c679aaf520f66845af3ca83a7adb
|
||||
DIST bongo-mplayer-20070204.tar.bz2 3563 SHA256 a80aa2c3c6def4e679094817ca9db3c0766811f094766ee4b399eec93c062ec9 SHA512 e503ed7980f011a6fc3fa75d0bb9b1cec1ed49d4fb07da92aad65e3c5096b42cf9eb203a8edbb93f2e7924254e4926e9f3fcf473de877fea130557aefad73ebd WHIRLPOOL 86ed787b8fa4909cbb89f24d17b524cc4b5d7c8d5e1d0c4ecac5289967176c599df58abc91c643f70f0c40cfbee573101641d7c53db35cd7521664fa22eaa93e
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- bongo-orig/bongo.texinfo
|
||||
+++ bongo/bongo.texinfo
|
||||
@@ -374,7 +374,8 @@
|
||||
|
||||
@item @kbd{C-u C-u C-u b}, @kbd{C-u C-u C-u f}
|
||||
Seek 64 seconds.
|
||||
-@end table}.
|
||||
+@end table
|
||||
+}.
|
||||
@end table
|
||||
|
||||
To seek a specific number of seconds, give a numeric prefix argument to
|
@ -0,0 +1,14 @@
|
||||
avoid writing past the end of the gcr_track buffer
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=464708
|
||||
|
||||
--- ./src/diskimage/fsimage-create.c.orig
|
||||
+++ ./src/diskimage/fsimage-create.c
|
||||
@@ -262,7 +262,7 @@
|
||||
gcrptr = gcr_track;
|
||||
util_word_to_le_buf(gcrptr, disk_image_raw_track_size(image->type, track));
|
||||
gcrptr += 2;
|
||||
- memset(gcrptr, 0x55, NUM_MAX_BYTES_TRACK);
|
||||
+ memset(gcrptr, 0x55, NUM_MAX_BYTES_TRACK - 2);
|
||||
|
||||
header.track = track;
|
||||
for (sector = 0;
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/libewf/libewf-20130331.ebuild,v 1.1 2013/04/07 04:42:32 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Implementation of the EWF (SMART and EnCase) image format"
|
||||
HOMEPAGE="http://code.google.com/p/libewf/"
|
||||
SRC_URI="http://libewf.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
# upstream bug #2597171, pyewf has implicit declarations
|
||||
#IUSE="debug python rawio unicode"
|
||||
IUSE="debug ewf +fuse rawio +ssl static-libs +uuid unicode zlib"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
fuse? ( sys-fs/fuse )
|
||||
uuid? ( sys-apps/util-linux )
|
||||
ssl? ( dev-libs/openssl )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README documents/header.txt documents/header2.txt )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug debug-output)
|
||||
$(use_enable debug verbose-output)
|
||||
$(use_enable ewf v1-api)
|
||||
$(use_enable rawio low-level-functions)
|
||||
$(use_enable unicode wide-character-type)
|
||||
$(use_with zlib)
|
||||
# autodetects bzip2 but does not use
|
||||
--without-bzip2
|
||||
$(use_with ssl openssl)
|
||||
$(use_with uuid libuuid)
|
||||
$(use_with fuse libfuse)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
doman manuals/*.1 manuals/*.3
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST qimhangul-0.2.0.tar.gz 336566 SHA256 50149a80f97456d7b316e1a168fd19dece01da5e1055855d7779941cf76c4006 SHA512 0871dddf48211841be36facde39cd215c247a5b89c1167baadd33b839eff084b7c39185804e1e62a7acc001178b56751d4f0301e327e1e0709b4340b7a003d0e WHIRLPOOL 97496aed656a0d0a7cd6558374c5971af8057ff9bfb0508a5676a6ba390468e47777b0dfd1def35c367d56bcb0a82dc598ef8be5280c2c46d939d1a47f7814da
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>php</herd>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/qimhangul/qimhangul-0.2.0.ebuild,v 1.2 2013/04/06 02:55:40 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="a qt-based imhangul"
|
||||
HOMEPAGE="https://code.google.com/p/qimhangul/"
|
||||
SRC_URI="https://qimhangul.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-i18n/libhangul-0.0.12
|
||||
dev-qt/qtgui"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,11 @@
|
||||
--- src/scim_hangul_imengine_setup.cpp.orig 2012-07-08 07:52:07.000000000 -0400
|
||||
+++ src/scim_hangul_imengine_setup.cpp 2012-11-02 14:13:14.000000000 -0400
|
||||
@@ -346,7 +346,7 @@
|
||||
for (i = 0; i < n; i++) {
|
||||
const char* name = hangul_ic_get_keyboard_name(i);
|
||||
#if GTK_CHECK_VERSION(2, 24, 0)
|
||||
- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name);
|
||||
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name);
|
||||
#else
|
||||
gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name);
|
||||
#endif
|
@ -1,11 +0,0 @@
|
||||
diff -ur uim-1.5.4.orig/sigscheme/src/read.c uim-1.5.4/sigscheme/src/read.c
|
||||
--- uim-1.5.4.orig/sigscheme/src/read.c 2008-03-01 23:30:43.000000000 +0900
|
||||
+++ uim-1.5.4/sigscheme/src/read.c 2008-12-10 02:09:21.000000000 +0900
|
||||
@@ -918,6 +918,7 @@
|
||||
int err;
|
||||
ScmLBuf(char) lbuf;
|
||||
char init_buf[SCM_INITIAL_SYMBOL_BUF_SIZE];
|
||||
+ init_buf[0] = '\0';
|
||||
|
||||
CDBG((SCM_DBG_PARSER, "read_symbol"));
|
||||
|
@ -1,24 +0,0 @@
|
||||
diff -Naur uim-1.5.4.orig/notify/Makefile.am uim-1.5.4/notify/Makefile.am
|
||||
--- uim-1.5.4.orig/notify/Makefile.am 2008-03-29 22:33:30.000000000 +0900
|
||||
+++ uim-1.5.4/notify/Makefile.am 2008-10-30 01:38:43.000000000 +0900
|
||||
@@ -14,6 +14,8 @@
|
||||
endif
|
||||
|
||||
if KNOTIFY3
|
||||
+QT_CXXFLAGS = $(UIM_QT_CXXFLAGS)
|
||||
+QT_LDFLAGS = $(UIM_QT_LDFLAGS)
|
||||
uimnotify_plugin_LTLIBRARIES += libuimnotify-knotify3.la
|
||||
libuimnotify_knotify3_la_SOURCES = uim-knotify3.cc
|
||||
libuimnotify_knotify3_la_CXXFLAGS = -I@KNOTIFY3_INCLUDE_DIR@ $(QT_CXXFLAGS)
|
||||
diff -Naur uim-1.5.4.orig/notify/Makefile.in uim-1.5.4/notify/Makefile.in
|
||||
--- uim-1.5.4.orig/notify/Makefile.in 2008-10-24 21:11:28.000000000 +0900
|
||||
+++ uim-1.5.4/notify/Makefile.in 2008-10-30 01:45:46.000000000 +0900
|
||||
@@ -369,6 +369,8 @@
|
||||
@LIBNOTIFY_TRUE@libuimnotify_libnotify_la_CFLAGS = @LIBNOTIFY_CFLAGS@
|
||||
@LIBNOTIFY_TRUE@libuimnotify_libnotify_la_LDFLAGS = -avoid-version -module
|
||||
@LIBNOTIFY_TRUE@libuimnotify_libnotify_la_LIBADD = @LIBNOTIFY_LIBS@ $(top_builddir)/replace/libreplace.la
|
||||
+@KNOTIFY3_TRUE@QT_CXXFLAGS = $(UIM_QT_CXXFLAGS)
|
||||
+@KNOTIFY3_TRUE@QT_LDFLAGS = $(UIM_QT_LDFLAGS)
|
||||
@KNOTIFY3_TRUE@libuimnotify_knotify3_la_SOURCES = uim-knotify3.cc
|
||||
@KNOTIFY3_TRUE@libuimnotify_knotify3_la_CXXFLAGS = -I@KNOTIFY3_INCLUDE_DIR@ $(QT_CXXFLAGS)
|
||||
@KNOTIFY3_TRUE@libuimnotify_knotify3_la_LDFLAGS = -avoid-version -module -L@KNOTIFY3_LIB_DIR@ $(QT_LDFLAGS)
|
@ -1,149 +0,0 @@
|
||||
diff -Naur uim-1.6.0.orig/configure.ac uim-1.6.0/configure.ac
|
||||
--- uim-1.6.0.orig/configure.ac 2010-08-02 09:30:14.000000000 +0900
|
||||
+++ uim-1.6.0/configure.ac 2011-01-03 11:43:06.375239564 +0900
|
||||
@@ -1826,6 +1826,7 @@
|
||||
qt4/chardict/uim-chardict-qt4.pro
|
||||
qt4/chardict/po/Makefile.in
|
||||
qt4/edittest/Makefile
|
||||
+ qt4/edittest/edittest.pro
|
||||
qt4/immodule/quiminputcontextplugin.pro
|
||||
qt4/immodule/Makefile
|
||||
qt4/pref/uim-pref-qt4.pro
|
||||
diff -Naur uim-1.6.0.orig/qt4/candwin/uim-candwin-qt4.pro.in uim-1.6.0/qt4/candwin/uim-candwin-qt4.pro.in
|
||||
--- uim-1.6.0.orig/qt4/candwin/uim-candwin-qt4.pro.in 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/candwin/uim-candwin-qt4.pro.in 2011-01-05 09:27:14.905438175 +0900
|
||||
@@ -16,6 +16,9 @@
|
||||
QMAKE_CXX = @CXX@
|
||||
QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
|
||||
QMAKE_STRIP =
|
||||
|
||||
diff -Naur uim-1.6.0.orig/qt4/chardict/uim-chardict-qt4.pro.in uim-1.6.0/qt4/chardict/uim-chardict-qt4.pro.in
|
||||
--- uim-1.6.0.orig/qt4/chardict/uim-chardict-qt4.pro.in 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/chardict/uim-chardict-qt4.pro.in 2011-01-05 09:27:14.905438175 +0900
|
||||
@@ -16,6 +16,9 @@
|
||||
QMAKE_CXX = @CXX@
|
||||
QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
|
||||
QMAKE_STRIP =
|
||||
|
||||
diff -Naur uim-1.6.0.orig/qt4/edittest/Makefile.am uim-1.6.0/qt4/edittest/Makefile.am
|
||||
--- uim-1.6.0.orig/qt4/edittest/Makefile.am 2010-03-30 13:24:26.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/edittest/Makefile.am 2011-01-03 11:41:06.643957761 +0900
|
||||
@@ -12,8 +12,8 @@
|
||||
$(MAKE) $(AM_MAKEFLAGS) -f Makefile.qmake $@
|
||||
$(MAKE) $(AM_MAKEFLAGS) distclean-am
|
||||
endif
|
||||
- -rm -f Makefile
|
||||
+ -rm -f Makefile edittest.pro
|
||||
|
||||
FORCE:
|
||||
|
||||
-EXTRA_DIST = README edittest.pro main.cpp
|
||||
+EXTRA_DIST = README edittest.pro.in main.cpp
|
||||
diff -Naur uim-1.6.0.orig/qt4/edittest/edittest.pro uim-1.6.0/qt4/edittest/edittest.pro
|
||||
--- uim-1.6.0.orig/qt4/edittest/edittest.pro 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/edittest/edittest.pro 1970-01-01 09:00:00.000000000 +0900
|
||||
@@ -1,14 +0,0 @@
|
||||
-######################################################################
|
||||
-# Automatically generated by qmake (1.08a) Tue Aug 24 01:02:27 2004
|
||||
-######################################################################
|
||||
-
|
||||
-TEMPLATE = app
|
||||
-CONFIG -= moc
|
||||
-DEPENDPATH += .
|
||||
-INCLUDEPATH += .
|
||||
-CONFIG += qt warn_on debug
|
||||
-
|
||||
-QMAKE_STRIP =
|
||||
-
|
||||
-# Input
|
||||
-SOURCES += main.cpp
|
||||
diff -Naur uim-1.6.0.orig/qt4/edittest/edittest.pro.in uim-1.6.0/qt4/edittest/edittest.pro.in
|
||||
--- uim-1.6.0.orig/qt4/edittest/edittest.pro.in 1970-01-01 09:00:00.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/edittest/edittest.pro.in 2011-01-05 09:27:14.909438151 +0900
|
||||
@@ -0,0 +1,24 @@
|
||||
+######################################################################
|
||||
+# Automatically generated by qmake (1.08a) Tue Aug 24 01:02:27 2004
|
||||
+######################################################################
|
||||
+
|
||||
+TEMPLATE = app
|
||||
+CONFIG -= moc
|
||||
+DEPENDPATH += .
|
||||
+INCLUDEPATH += .
|
||||
+CONFIG += qt warn_on debug
|
||||
+
|
||||
+QMAKE_CC = @CC@
|
||||
+QMAKE_CFLAGS_DEBUG += @CFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_CFLAGS_RELEASE += @CFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_CXX = @CXX@
|
||||
+QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
+
|
||||
+QMAKE_STRIP =
|
||||
+
|
||||
+# Input
|
||||
+SOURCES += main.cpp
|
||||
diff -Naur uim-1.6.0.orig/qt4/immodule/quiminputcontextplugin.pro.in uim-1.6.0/qt4/immodule/quiminputcontextplugin.pro.in
|
||||
--- uim-1.6.0.orig/qt4/immodule/quiminputcontextplugin.pro.in 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/immodule/quiminputcontextplugin.pro.in 2011-01-05 09:27:14.913438127 +0900
|
||||
@@ -22,6 +22,9 @@
|
||||
QMAKE_CXX = @CXX@
|
||||
QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
|
||||
QMAKE_STRIP =
|
||||
|
||||
diff -Naur uim-1.6.0.orig/qt4/pref/uim-pref-qt4.pro.in uim-1.6.0/qt4/pref/uim-pref-qt4.pro.in
|
||||
--- uim-1.6.0.orig/qt4/pref/uim-pref-qt4.pro.in 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/pref/uim-pref-qt4.pro.in 2011-01-05 09:27:14.913438127 +0900
|
||||
@@ -16,6 +16,9 @@
|
||||
QMAKE_CXX = @CXX@
|
||||
QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
|
||||
QMAKE_STRIP =
|
||||
QMAKE_UIC = $$QMAKE_UIC -tr UIC_
|
||||
diff -Naur uim-1.6.0.orig/qt4/switcher/uim-im-switcher-qt4.pro.in uim-1.6.0/qt4/switcher/uim-im-switcher-qt4.pro.in
|
||||
--- uim-1.6.0.orig/qt4/switcher/uim-im-switcher-qt4.pro.in 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/switcher/uim-im-switcher-qt4.pro.in 2011-01-05 09:27:14.917438104 +0900
|
||||
@@ -16,6 +16,9 @@
|
||||
QMAKE_CXX = @CXX@
|
||||
QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
|
||||
QMAKE_STRIP =
|
||||
|
||||
diff -Naur uim-1.6.0.orig/qt4/toolbar/uim-toolbar-qt4.pro.in uim-1.6.0/qt4/toolbar/uim-toolbar-qt4.pro.in
|
||||
--- uim-1.6.0.orig/qt4/toolbar/uim-toolbar-qt4.pro.in 2010-08-09 13:09:35.000000000 +0900
|
||||
+++ uim-1.6.0/qt4/toolbar/uim-toolbar-qt4.pro.in 2011-01-05 09:27:14.917438104 +0900
|
||||
@@ -16,6 +16,9 @@
|
||||
QMAKE_CXX = @CXX@
|
||||
QMAKE_CXXFLAGS_DEBUG += @CXXFLAGS@ @X_CFLAGS@
|
||||
QMAKE_CXXFLAGS_RELEASE += @CXXFLAGS@ @X_CFLAGS@
|
||||
+QMAKE_LINK = @CXX@
|
||||
+QMAKE_LFLAGS_DEBUG += @LDFLAGS@
|
||||
+QMAKE_LFLAGS_RELEASE += @LDFLAGS@
|
||||
|
||||
QMAKE_STRIP =
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- helper/dict-canna.c
|
||||
+++ helper/dict-canna.c
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
+#define CANNA_NEW_WCHAR_AWARE
|
||||
#include <canna/RK.h>
|
||||
|
||||
#include <stdlib.h>
|
@ -1,25 +0,0 @@
|
||||
--- notify/uim-libnotify.c
|
||||
+++ notify/uim-libnotify.c
|
||||
@@ -44,6 +44,10 @@
|
||||
#include "uim-notify.h"
|
||||
#include "gettext.h"
|
||||
|
||||
+#ifndef NOTIFY_CHECK_VERSION
|
||||
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
|
||||
+#endif
|
||||
+
|
||||
#define UIM_ICON UIM_PIXMAPSDIR "/uim-icon.png"
|
||||
#define UGETTEXT(str) (dgettext(GETTEXT_PACKAGE, (str)))
|
||||
|
||||
@@ -73,7 +77,11 @@
|
||||
return UIM_FALSE;
|
||||
}
|
||||
|
||||
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
|
||||
+ notification = notify_notification_new("uim", gmsg, UIM_ICON);
|
||||
+#else
|
||||
notification = notify_notification_new("uim", gmsg, UIM_ICON, NULL);
|
||||
+#endif
|
||||
|
||||
if (!notification) {
|
||||
fprintf(stderr, "notify_notification_new: can not create notification object\n");
|
@ -1,19 +0,0 @@
|
||||
Description: fix build with ld --as-needed
|
||||
uim-counted-init is a static library which needs symbols from libuim
|
||||
which it must be placed behind it on the command line so it is not
|
||||
dropped by ld --as-needed
|
||||
Author: Julian Taylor <jtaylor.debian@googlemail.com>
|
||||
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/uim/+bug/832939
|
||||
Index: uim-1.7.1/qt4/pref/uim-pref-qt4.pro.in
|
||||
===================================================================
|
||||
--- uim-1.7.1.orig/qt4/pref/uim-pref-qt4.pro.in 2011-08-25 23:31:03.080564183 +0200
|
||||
+++ uim-1.7.1/qt4/pref/uim-pref-qt4.pro.in 2011-08-25 23:31:01.170564166 +0200
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
# to include qtgettext.h
|
||||
INCLUDEPATH += @srcdir@/..
|
||||
-LIBS += -luim-custom -luim-counted-init @LIBINTL@
|
||||
+LIBS += -luim-custom -luim-counted-init -luim @LIBINTL@
|
||||
|
||||
QMAKE_UIC = $$QMAKE_UIC -tr UIC_
|
||||
|
@ -0,0 +1,9 @@
|
||||
diff --git a/po/LINGUAS b/po/LINGUAS
|
||||
index 4eb4f64..f85c7c7 100644
|
||||
--- a/po/LINGUAS
|
||||
+++ b/po/LINGUAS
|
||||
@@ -1 +1,3 @@
|
||||
-fr ja ko
|
||||
+fr
|
||||
+ja
|
||||
+ko
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.4.2.ebuild,v 1.17 2011/03/27 11:38:50 nirbheek Exp $
|
||||
|
||||
EAPI=1
|
||||
inherit eutils multilib elisp-common flag-o-matic
|
||||
|
||||
DESCRIPTION="Simple, secure and flexible input method library"
|
||||
HOMEPAGE="http://code.google.com/p/uim/"
|
||||
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ppc ppc64 x86"
|
||||
IUSE="anthy canna eb emacs gnome gtk libedit m17n-lib ncurses nls prime X linguas_zh_CN linguas_ja linguas_ko"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender )
|
||||
anthy? ( || ( app-i18n/anthy app-i18n/anthy-ss ) )
|
||||
canna? ( app-i18n/canna )
|
||||
eb? ( dev-libs/eb )
|
||||
emacs? ( virtual/emacs )
|
||||
gnome? ( >=gnome-base/gnome-panel-2.14 )
|
||||
gtk? ( >=x11-libs/gtk+-2.4:2 )
|
||||
libedit? ( dev-libs/libedit )
|
||||
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
nls? ( virtual/libintl )
|
||||
prime? ( app-i18n/prime )
|
||||
!app-i18n/uim-svn
|
||||
!<app-i18n/prime-0.9.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto
|
||||
x11-proto/xproto )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
X? (
|
||||
media-fonts/font-sony-misc
|
||||
linguas_zh_CN? ( media-fonts/font-isas-misc )
|
||||
linguas_ja? ( media-fonts/font-jis-misc )
|
||||
linguas_ko? ( media-fonts/font-daewoo-misc )
|
||||
)"
|
||||
# linguas_zh_TW? ( media-fonts/taipeifonts )
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
# An arch specific config directory is used on multilib systems
|
||||
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
|
||||
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
if use gtk && (use anthy || use canna); then
|
||||
myconf="${myconf} --enable-dict"
|
||||
else
|
||||
myconf="${myconf} --disable-dict"
|
||||
fi
|
||||
|
||||
if use gtk; then
|
||||
myconf="${myconf} --enable-pref"
|
||||
else
|
||||
myconf="${myconf} --disable-pref"
|
||||
fi
|
||||
|
||||
econf $(use_with X x) \
|
||||
$(use_with anthy) \
|
||||
$(use_with canna) \
|
||||
$(use_with eb) \
|
||||
$(use_enable emacs) \
|
||||
$(use_with emacs lispdir "${SITELISP}") \
|
||||
$(use_enable gnome gnome-applet) \
|
||||
$(use_with gtk gtk2) \
|
||||
$(use_with libedit) \
|
||||
--disable-kde-applet \
|
||||
$(use_with m17n-lib m17nlib) \
|
||||
$(use_enable ncurses fep) \
|
||||
$(use_enable nls) \
|
||||
--without-qt \
|
||||
--without-qt-immodule \
|
||||
${myconf}
|
||||
emake -j1 || die "emake failed"
|
||||
|
||||
if use emacs; then
|
||||
cd emacs
|
||||
elisp-compile *.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README RELNOTE
|
||||
if use emacs; then
|
||||
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "To use uim-skk you should emerge app-i18n/skk-jisyo."
|
||||
elog
|
||||
|
||||
elog
|
||||
elog "New input method switcher has been introduced. You need to set"
|
||||
elog
|
||||
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
|
||||
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
|
||||
elog
|
||||
elog "If you would like to use uim-anthy as default input method, put"
|
||||
elog "(define default-im-name 'anthy)"
|
||||
elog "to your ~/.uim."
|
||||
elog
|
||||
elog "All input methods can be found by running uim-im-switcher-gtk"
|
||||
elog
|
||||
elog "If you upgrade from a version of uim older than 1.4.0,"
|
||||
elog "you should run revdep-rebuild."
|
||||
|
||||
use gtk && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
echo
|
||||
elog "uim is autoloaded with Emacs with a minimal set of features:"
|
||||
elog "There is no keybinding defined to call it directly, so please"
|
||||
elog "create one yourself and choose an input method."
|
||||
elog "Integration with LEIM is not done with this ebuild, please have"
|
||||
elog "a look at the documentation how to achieve this."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,292 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.7.3-r1.ebuild,v 1.1 2013/04/06 02:45:32 naota Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit autotools eutils multilib elisp-common flag-o-matic
|
||||
|
||||
DESCRIPTION="Simple, secure and flexible input method library"
|
||||
HOMEPAGE="http://code.google.com/p/uim/"
|
||||
SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls prime qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
REQUIRED_USE="gtk? ( X ) qt4? ( X )"
|
||||
|
||||
RDEPEND="X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXrender
|
||||
)
|
||||
anthy? (
|
||||
unicode? ( >=app-i18n/anthy-8622 )
|
||||
!unicode? ( app-i18n/anthy )
|
||||
)
|
||||
canna? ( app-i18n/canna )
|
||||
curl? ( >=net-misc/curl-7.16.4 )
|
||||
eb? ( dev-libs/eb )
|
||||
emacs? ( virtual/emacs )
|
||||
libffi? ( virtual/libffi )
|
||||
gnome? ( >=gnome-base/gnome-panel-2.14 )
|
||||
gtk? ( >=x11-libs/gtk+-2.4:2 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
kde? ( >=kde-base/kdelibs-4 )
|
||||
libedit? ( dev-libs/libedit )
|
||||
libnotify? ( >=x11-libs/libnotify-0.4 )
|
||||
m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
nls? ( virtual/libintl )
|
||||
prime? ( app-i18n/prime )
|
||||
qt4? ( dev-qt/qtgui:4[qt3support] )
|
||||
skk? ( app-i18n/skk-jisyo )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
!dev-scheme/sigscheme
|
||||
!app-i18n/uim-svn
|
||||
!<app-i18n/prime-0.9.4"
|
||||
# >=dev-scheme/sigscheme-0.8.5
|
||||
# mana? ( app-i18n/mana )
|
||||
# scim? ( >=app-i18n/scim-1.3.0 ) # broken
|
||||
# sj3? ( >=app-i18n/sj3-2.0.1.21 )
|
||||
# wnn? ( app-i18n/wnn )
|
||||
# gnome? (
|
||||
# gtk? ( >=gnome-base/gnome-panel-2.14 )
|
||||
# gtk3? ( >=gnome-base/gnome-panel-3 )
|
||||
# )
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.15
|
||||
kde? ( dev-util/cmake )
|
||||
X? (
|
||||
x11-proto/xextproto
|
||||
x11-proto/xproto
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
X? (
|
||||
media-fonts/font-sony-misc
|
||||
linguas_zh_CN? (
|
||||
|| ( media-fonts/font-isas-misc media-fonts/intlfonts )
|
||||
)
|
||||
linguas_zh_TW? (
|
||||
media-fonts/intlfonts
|
||||
)
|
||||
linguas_ja? (
|
||||
|| ( media-fonts/font-jis-misc media-fonts/intlfonts )
|
||||
)
|
||||
linguas_ko? (
|
||||
|| ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
|
||||
)
|
||||
)"
|
||||
# test? ( dev-scheme/gauche )
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
gnome2_query_immodules_gtk2() {
|
||||
local GTK2_CONFDIR="/etc/gtk-2.0/$(get_abi_CHOST)"
|
||||
|
||||
local query_exec="${EPREFIX}/usr/bin/gtk-query-immodules-2.0"
|
||||
local gtk_conf="${EPREFIX}${GTK2_CONFDIR}/gtk.immodules"
|
||||
local gtk_conf_dir=$(dirname "${gtk_conf}")
|
||||
|
||||
einfo "Generating Gtk2 immodules/gdk-pixbuf loaders listing:"
|
||||
einfo "-> ${gtk_conf}"
|
||||
|
||||
mkdir -p "${gtk_conf_dir}"
|
||||
local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules)
|
||||
if [ -z "${tmp_file}" ]; then
|
||||
ewarn "gtk_query_immodules: cannot create temporary file"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if ${query_exec} > "${tmp_file}"; then
|
||||
cat "${tmp_file}" > "${gtk_conf}" || \
|
||||
ewarn "Failed to write to ${gtk_conf}"
|
||||
else
|
||||
ewarn "Cannot update gtk.immodules, file generation failed"
|
||||
fi
|
||||
rm "${tmp_file}"
|
||||
}
|
||||
|
||||
update_gtk_immodules() {
|
||||
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ] ; then
|
||||
gnome2_query_immodules_gtk2
|
||||
fi
|
||||
}
|
||||
|
||||
update_gtk3_immodules() {
|
||||
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ] ; then
|
||||
"${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
strip-linguas fr ja ko
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
# no linguas set, using the default one
|
||||
LINGUAS=" "
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.6.0-gentoo.patch \
|
||||
"${FILESDIR}"/${PN}-1.5.4-zhTW.patch \
|
||||
"${FILESDIR}"/${PN}-1.7.3-linguas.patch
|
||||
|
||||
if has_version ">=dev-libs/glib-2.32"; then
|
||||
epatch "${FILESDIR}"/${P}-glib-2.32.patch
|
||||
fi
|
||||
|
||||
# bug 275420
|
||||
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die
|
||||
|
||||
echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die
|
||||
|
||||
#./autogen.sh
|
||||
AT_NO_RECURSIVE=1 eautoreconf
|
||||
cp po/Makefile.in.in qt/chardict/po || die
|
||||
cp po/Makefile.in.in qt4/chardict/po || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if (use gtk || use gtk3) && (use anthy || use canna) ; then
|
||||
myconf="${myconf} --enable-dict"
|
||||
else
|
||||
myconf="${myconf} --disable-dict"
|
||||
fi
|
||||
|
||||
if use gtk || use gtk3 || use qt4 ; then
|
||||
myconf="${myconf} --enable-pref"
|
||||
else
|
||||
myconf="${myconf} --disable-pref"
|
||||
fi
|
||||
|
||||
if use anthy ; then
|
||||
if use unicode ; then
|
||||
myconf="${myconf} --with-anthy-utf8"
|
||||
else
|
||||
myconf="${myconf} --with-anthy"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --without-anthy"
|
||||
fi
|
||||
|
||||
if use libnotify ; then
|
||||
myconf="${myconf} --enable-notify=libnotify"
|
||||
fi
|
||||
|
||||
#if use gnome ; then
|
||||
# myconf="${myconf} $(use_enable gtk gnome-applet)"
|
||||
# myconf="${myconf} $(use_enable gtk3 gnome3-applet)"
|
||||
#fi
|
||||
|
||||
econf $(use_with X x) \
|
||||
$(use_with canna) \
|
||||
$(use_with curl) \
|
||||
$(use_with eb) \
|
||||
$(use_enable emacs) \
|
||||
$(use_with emacs lispdir "${SITELISP}") \
|
||||
$(use_with libffi ffi) \
|
||||
$(use_enable gnome gnome-applet) \
|
||||
$(use_with gtk gtk2) \
|
||||
$(use_with gtk3) \
|
||||
$(use_with libedit) \
|
||||
--disable-kde-applet \
|
||||
$(use_enable kde kde4-applet) \
|
||||
$(use_with m17n-lib m17nlib) \
|
||||
$(use_enable ncurses fep) \
|
||||
$(use_enable nls) \
|
||||
$(use_with prime) \
|
||||
--without-qt \
|
||||
--without-qt-immodule \
|
||||
$(use_with qt4 qt4) \
|
||||
$(use_with qt4 qt4-immodule) \
|
||||
$(use_enable qt4 qt4-qt3support) \
|
||||
$(use_with skk) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with xft) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
|
||||
if use emacs; then
|
||||
cd emacs
|
||||
elisp-compile *.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# parallel make install b0rked, bug #222677
|
||||
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die
|
||||
if use emacs; then
|
||||
elisp-install uim-el emacs/*.elc || die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
|
||||
find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} +
|
||||
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
|
||||
|
||||
sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
doins "${T}/uim.conf" || die
|
||||
|
||||
# collision with dev-scheme/sigscheme, bug #330975
|
||||
# find "${ED}" -name '*gcroots*' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "New input method switcher has been introduced. You need to set"
|
||||
elog
|
||||
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
|
||||
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
|
||||
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
|
||||
elog
|
||||
elog "If you would like to use uim-anthy as default input method, put"
|
||||
elog "(define default-im-name 'anthy)"
|
||||
elog "to your ~/.uim."
|
||||
elog
|
||||
elog "All input methods can be found by running uim-im-switcher-gtk, "
|
||||
elog "uim-im-switcher-gtk3 or uim-im-switcher-qt4."
|
||||
elog
|
||||
elog "If you upgrade from a version of uim older than 1.4.0,"
|
||||
elog "you should run revdep-rebuild."
|
||||
|
||||
use gtk && update_gtk_immodules
|
||||
use gtk3 && update_gtk3_immodules
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
echo
|
||||
elog "uim is autoloaded with Emacs with a minimal set of features:"
|
||||
elog "There is no keybinding defined to call it directly, so please"
|
||||
elog "create one yourself and choose an input method."
|
||||
elog "Integration with LEIM is not done with this ebuild, please have"
|
||||
elog "a look at the documentation how to achieve this."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && update_gtk_immodules
|
||||
use gtk3 && update_gtk3_immodules
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
--- binwalk-1.2/src/setup.py
|
||||
+++ binwalk-1.2/src/setup.py
|
||||
@@ -5,39 +5,6 @@
|
||||
|
||||
WIDTH = 115
|
||||
|
||||
-# Check for pre-requisite modules
|
||||
-print "checking pre-requisites"
|
||||
-try:
|
||||
- import magic
|
||||
- try:
|
||||
- magic.MAGIC_NO_CHECK_TEXT
|
||||
- except Exception, e:
|
||||
- print "\n", "*" * WIDTH
|
||||
- print "Pre-requisite failure:", str(e)
|
||||
- print "It looks like you have an old or incompatible magic module installed."
|
||||
- print "Please install the official python-magic module, or download and install it from source: ftp://ftp.astron.com/pub/file/"
|
||||
- print "*" * WIDTH, "\n"
|
||||
- sys.exit(1)
|
||||
-except Exception, e:
|
||||
- print "\n", "*" * WIDTH
|
||||
- print "Pre-requisite failure:", str(e)
|
||||
- print "Please install the python-magic module, or download and install it from source: ftp://ftp.astron.com/pub/file/"
|
||||
- print "*" * WIDTH, "\n"
|
||||
- sys.exit(1)
|
||||
-
|
||||
-try:
|
||||
- import matplotlib.pyplot
|
||||
-except Exception, e:
|
||||
- print "\n", "*" * WIDTH
|
||||
- print "Pre-requisite check warning:", str(e)
|
||||
- print "To take advantage of this tool's entropy plotting capabilities, please install the python-matplotlib module."
|
||||
- print "*" * WIDTH, "\n"
|
||||
-
|
||||
- if raw_input('Continue installation without this module (Y/n)? ').lower().startswith('n'):
|
||||
- print 'Quitting...\n'
|
||||
- sys.exit(1)
|
||||
-
|
||||
-
|
||||
# Generate a new magic file from the files in the magic directory
|
||||
print "generating binwalk magic file"
|
||||
magic_files = listdir("magic")
|
@ -1 +1,2 @@
|
||||
DIST nut-18.5.tar.gz 1331213 SHA256 45c959fe2839a41726fde647b78175c45d4f0d9fb59dc8da1e828103b7fd5507 SHA512 d598532247611556cc4d8fb5d70bcbfc6978f8b1176a9c5a1ccf05df71fa50bac81045ff39c6ddb0344023fa128def12635c21da9b87876278159912a7eeab45 WHIRLPOOL 0c196a3afa40ae1cb31e987f4627d818ccc94166ea816930567ff7d728d862d8a372701747d8b197424aa61b653c866cc5878f7ac8a34b8a9bdcda8d28023cd9
|
||||
DIST nut-18.6.tar.gz 1634835 SHA256 4d49c9f9f29339f615549c900172e2e9e3a32fb555a5ea54ea46e3b07f952a58 SHA512 572ca4a0a16d0641e30a1de2e0565f43d0aee02fd80ebfd8ab7c0405bc574c8476468138a9edddbfdc294ffcc73175e45f3414565cc87316a238bda75ad1d592 WHIRLPOOL c1937beb93c8437c5cf7ae073c2c53cece10d20087695fbb6eb88daca0a34027c3cea5f79f70cd1a88613bfff8847a34bd3f86599b15dc3742f52b0bda24c81f
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-18.6.ebuild,v 1.1 2013/04/07 02:47:34 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Record what you eat and analyze your nutrient levels"
|
||||
HOMEPAGE="http://nut.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/nut
|
||||
doins raw.data/*
|
||||
dobin nut
|
||||
doman nut.1
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.7.ebuild,v 1.1 2013/04/07 21:04:00 vapier Exp $
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
|
||||
HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
|
||||
SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
|
||||
http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
|
||||
http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="caps python"
|
||||
#RESTRICT="mirror"
|
||||
|
||||
RDEPEND="caps? ( sys-libs/libcap )
|
||||
python? ( dev-python/pyelftools )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils"
|
||||
|
||||
_emake() {
|
||||
emake \
|
||||
USE_CAP=$(usex caps) \
|
||||
USE_PYTHON=$(usex python) \
|
||||
"$@" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
_emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
_emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
|
||||
prepalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST workrave-1.10.tar.gz 6800389 SHA256 b6733907ed0f2d42f234a0ce4f000b03329c1c50b3028defcb892e6b3a4541ba SHA512 3a73d0fe8ba85dd6396666f6ea00e7a2992038d1eba06d97741ffc7ad43afef5528995fee24d9f306d8c207ef924d677c8a3223ac83f68126284d8a02c328506 WHIRLPOOL c53632b4ef7f014c4bb8783450b5f076f96a19eb0b26a96258574d3809a58e827424a140abba1a7a5ef300a9363dd43f64e256456746b577920a0542d8eafea4
|
||||
DIST workrave-1.9.4.tar.gz 6748495 SHA256 ce1efa57a37192029c4dcbe8a0ac2b893b2286c42828f19b0fb86867cbbcde1a SHA512 6c55de143bdad1435a1af9beaefd15a607bb5b54f99aaf52f1d691e2206b642c8c340ac222a44ea4fabb866e8e6cff32b086bf441551fb9357c925bc0021dd4a WHIRLPOOL 67487b493e48b62dddd306b19e6231b480910221f8c18e44ab13094971f6496920b109d62afc0607efa28f6a79ad7ba798bc6dde6c14bb9a02c986872aea859e
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/workrave-1.10.ebuild,v 1.1 2013/04/07 14:28:04 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="yes"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit gnome2 python-single-r1
|
||||
|
||||
DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
|
||||
HOMEPAGE="http://www.workrave.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="dbus doc distribution gstreamer nls pulseaudio test"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.28.0:2
|
||||
>=x11-libs/gtk+-3.0:3
|
||||
>=dev-cpp/gtkmm-3.0.0:3.0
|
||||
>=dev-cpp/glibmm-2.28.0:2
|
||||
>=dev-libs/libsigc++-2.2.4.2:2
|
||||
>=gnome-base/gnome-shell-3.6.2
|
||||
dbus? (
|
||||
>=sys-apps/dbus-1.2
|
||||
dev-libs/dbus-glib )
|
||||
distribution? ( >=net-libs/gnet-2 )
|
||||
gstreamer? (
|
||||
>=media-libs/gstreamer-0.10:0.10
|
||||
>=media-libs/gst-plugins-base-0.10:0.10 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXt
|
||||
x11-libs/libXmu"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40.0
|
||||
x11-proto/xproto
|
||||
x11-proto/inputproto
|
||||
x11-proto/recordproto
|
||||
dev-python/cheetah
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-utils
|
||||
app-text/xmlto )
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-experimental \
|
||||
--disable-static \
|
||||
--disable-xml \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable doc manual) \
|
||||
$(use_enable distribution) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable test tests)
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gnome-phone-manager-0.66.tar.bz2 444437 SHA256 a4a389b1086e59acf5771cce5b560510d633326053dae83c20d86c2d53164c35 SHA512 777ce6ee0a0e894175ca7bc3012fa0a337465b916c8cec525ff2601e9d4699ade5a7fecd1e82fb8ca73eb2d565f5e1c888e1b6a407ef685cbe0116d07caa0e6a WHIRLPOOL 5fefaf36884c5527fcbee05ba3e58b436054e8b4ded0c6e11c69cee15577b21cf42375a52411dc02e682a50ce8a679f21f11e6cd5d007b27728e266f4f6ea0f5
|
||||
DIST gnome-phone-manager-0.68.tar.xz 380568 SHA256 3777b62ee36492274532ece965f4688600457014f17a6f21dd01fb63bbb77f8f SHA512 757b2a424ce67682ff0ac897583297fa4d24d616b4521b7845ae062c0132028f19e222628b86aa8bb533851da80fd28a813c22b5a5488bfb55d099e4d8536d71 WHIRLPOOL 755f5c3019112bf6b7000bc5827f3fbc07389dbc4c84cb5a3a68294f52ce1a9877fdc5e90107d41d002baf480624428a99081150df1e59e0f88d95dd1bbcad19
|
||||
DIST gnome-phone-manager-0.69.tar.xz 393916 SHA256 35e038ea3afaacdf451046e87af876096cf1520efc04fc3f5b63ea22e0297175 SHA512 fa12ef3bc2d94fd91c6f680a5b47cba16a56c2fdf324da958503a7c4f7eb1fedc7aeaced567f2ed1ad8c25da4f994b709018e95bb7ec4a8a2248521a3453970d WHIRLPOOL 24750a91bc06dff68b8ca6e1cc1b4212fced6347bcc923d59764b540a2dde0cdfe5f14ac4e7f2816bc640912f26824e6b23c4c5df87e87951f75ac81bbb11aab
|
||||
|
@ -0,0 +1,541 @@
|
||||
From 091f0e00bae058d384fbc9834a402192bbf192a6 Mon Sep 17 00:00:00 2001
|
||||
From: Matthew Barnes <mbarnes@redhat.com>
|
||||
Date: Sat, 29 Dec 2012 21:14:51 +0100
|
||||
Subject: [PATCH] Adapt to Evolution-Data-Server API changes
|
||||
|
||||
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=680927
|
||||
---
|
||||
configure.in | 2 +-
|
||||
cut-n-paste/e-contact-entry/e-contact-entry.c | 168 +++++++++++---------------
|
||||
cut-n-paste/e-contact-entry/e-contact-entry.h | 8 +-
|
||||
libgsm/phonemgr-utils.c | 2 +-
|
||||
src/e-phone-entry.c | 38 +++---
|
||||
5 files changed, 96 insertions(+), 122 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index be5e729..73e7aec 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -47,7 +47,7 @@ PKG_CHECK_MODULES(LIBGSM, glib-2.0 gobject-2.0 $GNOKII_REQS gthread-2.0 bluez $e
|
||||
|
||||
PKG_CHECK_MODULES(PHONEMGR, gtk+-3.0 >= 3.0 glib-2.0 >= 2.31.0
|
||||
libcanberra-gtk3 gconf-2.0
|
||||
- $GNOME_BLUETOOTH_REQS $evo_pc_file libedataserverui-3.0
|
||||
+ $GNOME_BLUETOOTH_REQS $evo_pc_file libedataserver-1.2 >= 3.6
|
||||
gmodule-2.0 dbus-glib-1 gnome-icon-theme >= 2.19.1
|
||||
)
|
||||
|
||||
diff --git a/cut-n-paste/e-contact-entry/e-contact-entry.c b/cut-n-paste/e-contact-entry/e-contact-entry.c
|
||||
index dc8e2e3..bbd4e6a 100644
|
||||
--- a/cut-n-paste/e-contact-entry/e-contact-entry.c
|
||||
+++ b/cut-n-paste/e-contact-entry/e-contact-entry.c
|
||||
@@ -1,4 +1,4 @@
|
||||
-/*
|
||||
+/*
|
||||
* Copyright (C) 2004 Ross Burton <ross@burtonini.com
|
||||
*
|
||||
* e-contact-entry.c
|
||||
@@ -38,11 +38,6 @@
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
-#include <libedataserver/e-source.h>
|
||||
-#include <libebook/e-book.h>
|
||||
-#include <libebook/e-book-view.h>
|
||||
-#include <libebook/e-contact.h>
|
||||
-
|
||||
#include "e-contact-entry.h"
|
||||
#include "econtactentry-marshal.h"
|
||||
|
||||
@@ -59,7 +54,7 @@ static int signals[LAST_SIGNAL] = { 0 };
|
||||
/* Properties */
|
||||
enum {
|
||||
PROP_0, /* TODO: why? */
|
||||
- PROP_SOURCE_LIST,
|
||||
+ PROP_REGISTRY,
|
||||
PROP_COMPLETE_LENGTH,
|
||||
};
|
||||
|
||||
@@ -70,7 +65,7 @@ enum {
|
||||
struct EContactEntryPriv {
|
||||
GtkEntryCompletion *completion;
|
||||
GtkListStore *store;
|
||||
- ESourceList *source_list;
|
||||
+ ESourceRegistry *registry;
|
||||
/* A list of EntryLookup structs we are searching */
|
||||
GList *lookup_entries;
|
||||
/* Number of characters to start searching at */
|
||||
@@ -227,7 +222,7 @@ e_contact_entry_display_func (EContact *contact)
|
||||
emails = e_contact_get (contact, E_CONTACT_EMAIL);
|
||||
for (l = emails; l != NULL; l = l->next) {
|
||||
item = g_new0 (EContactEntyItem, 1);
|
||||
- item->identifier = item->identifier = g_strdup (l->data);
|
||||
+ item->identifier = g_strdup (l->data);
|
||||
item->display_string = g_strdup_printf ("%s <%s>", (char*)e_contact_get_const (contact, E_CONTACT_NAME_OR_ORG), item->identifier);
|
||||
|
||||
items = g_list_prepend (items, item);
|
||||
@@ -276,22 +271,13 @@ view_contacts_added_cb (EBook *book, GList *contacts, gpointer user_data)
|
||||
return;
|
||||
|
||||
photo = e_contact_get (contact, E_CONTACT_PHOTO);
|
||||
-#ifndef HAVE_ECONTACTPHOTOTYPE
|
||||
- if (photo) {
|
||||
-#else
|
||||
if (photo && photo->type == E_CONTACT_PHOTO_TYPE_INLINED) {
|
||||
-#endif
|
||||
GdkPixbufLoader *loader;
|
||||
|
||||
loader = gdk_pixbuf_loader_new ();
|
||||
|
||||
-#ifndef HAVE_ECONTACTPHOTOTYPE
|
||||
- if (gdk_pixbuf_loader_write (loader, (guchar *)photo->data,
|
||||
- photo->length, NULL))
|
||||
-#else
|
||||
if (gdk_pixbuf_loader_write (loader, (guchar *)photo->data.inlined.data,
|
||||
photo->data.inlined.length, NULL))
|
||||
-#endif
|
||||
pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
|
||||
|
||||
if (pixbuf) {
|
||||
@@ -339,16 +325,15 @@ view_contacts_added_cb (EBook *book, GList *contacts, gpointer user_data)
|
||||
* The query on the EBookView has completed.
|
||||
*/
|
||||
static void
|
||||
-view_completed_cb (EBookView *book_view, EBookViewStatus status, gpointer user_data)
|
||||
+view_completed_cb (EBookView *book_view, EBookViewStatus status, const gchar *message, gpointer user_data)
|
||||
{
|
||||
EntryLookup *lookup;
|
||||
g_return_if_fail (user_data != NULL);
|
||||
- /* TODO: handle status != OK */
|
||||
- g_return_if_fail (status == E_BOOK_ERROR_OK);
|
||||
g_return_if_fail (book_view != NULL);
|
||||
|
||||
lookup = (EntryLookup*)user_data;
|
||||
g_object_unref (lookup->bookview);
|
||||
+ lookup->bookview = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -361,9 +346,9 @@ bookview_cb (EBook *book, EBookStatus status, EBookView *book_view, gpointer clo
|
||||
/* TODO: handle status != OK */
|
||||
g_return_if_fail (status == E_BOOK_ERROR_OK);
|
||||
g_return_if_fail (closure != NULL);
|
||||
-
|
||||
+
|
||||
lookup = (EntryLookup*)closure;
|
||||
-
|
||||
+
|
||||
g_object_ref (book_view);
|
||||
/* This shouldn't happen of course */
|
||||
if (lookup->bookview) {
|
||||
@@ -372,10 +357,10 @@ bookview_cb (EBook *book, EBookStatus status, EBookView *book_view, gpointer clo
|
||||
}
|
||||
lookup->bookview = book_view;
|
||||
g_object_add_weak_pointer ((GObject*)book_view, (gpointer*)&lookup->bookview);
|
||||
-
|
||||
- g_signal_connect (book_view, "contacts_added", (GCallback)view_contacts_added_cb, lookup);
|
||||
- g_signal_connect (book_view, "sequence_complete", (GCallback)view_completed_cb, lookup);
|
||||
-
|
||||
+
|
||||
+ g_signal_connect (book_view, "contacts-added", (GCallback)view_contacts_added_cb, lookup);
|
||||
+ g_signal_connect (book_view, "view_complete", (GCallback)view_completed_cb, lookup);
|
||||
+
|
||||
e_book_view_start (book_view);
|
||||
}
|
||||
|
||||
@@ -396,9 +381,10 @@ entry_changed_cb (GtkEditable *editable, gpointer user_data)
|
||||
if (lookup->bookview) {
|
||||
e_book_view_stop (lookup->bookview);
|
||||
g_object_unref (lookup->bookview);
|
||||
+ lookup->bookview = NULL;
|
||||
}
|
||||
}
|
||||
-
|
||||
+
|
||||
gtk_list_store_clear (entry->priv->store);
|
||||
|
||||
query = create_query (entry, gtk_editable_get_chars (editable, 0, -1));
|
||||
@@ -409,8 +395,8 @@ entry_changed_cb (GtkEditable *editable, gpointer user_data)
|
||||
/* If the book isn't open yet, skip this source */
|
||||
if (!lookup->open)
|
||||
continue;
|
||||
-
|
||||
- if (e_book_async_get_book_view (lookup->book, query, NULL, 11, (EBookBookViewCallback)bookview_cb, lookup) != 0) {
|
||||
+
|
||||
+ if (e_book_async_get_book_view (lookup->book, query, NULL, MAX_ENTRIES, (EBookBookViewCallback)bookview_cb, lookup) == FALSE) {
|
||||
g_signal_emit (entry, signals[ERROR], 0, _("Cannot create searchable view."));
|
||||
}
|
||||
}
|
||||
@@ -441,7 +427,7 @@ book_opened_cb (EBook *book, EBookStatus status, gpointer data)
|
||||
return;
|
||||
}
|
||||
}
|
||||
-
|
||||
+
|
||||
g_signal_emit (lookup->entry, signals[STATE_CHANGE], 0, FALSE);
|
||||
g_signal_emit (lookup->entry, signals[ERROR], 0, stringify_ebook_error (status));
|
||||
return;
|
||||
@@ -458,11 +444,12 @@ book_opened_cb (EBook *book, EBookStatus status, gpointer data)
|
||||
*/
|
||||
|
||||
void
|
||||
-e_contact_entry_set_source_list (EContactEntry *entry,
|
||||
- ESourceList *source_list)
|
||||
+e_contact_entry_set_registry (EContactEntry *entry,
|
||||
+ ESourceRegistry *registry)
|
||||
{
|
||||
+ GList *list, *link;
|
||||
+ const gchar *extension_name;
|
||||
GError *error = NULL;
|
||||
- GSList *list, *l;
|
||||
|
||||
g_return_if_fail (E_IS_CONTACT_ENTRY (entry));
|
||||
|
||||
@@ -471,58 +458,48 @@ e_contact_entry_set_source_list (EContactEntry *entry,
|
||||
g_list_foreach (entry->priv->lookup_entries, (GFunc)lookup_entry_free, NULL);
|
||||
g_list_free (entry->priv->lookup_entries);
|
||||
}
|
||||
- if (entry->priv->source_list) {
|
||||
- g_object_unref (entry->priv->source_list);
|
||||
+ if (entry->priv->registry) {
|
||||
+ g_object_unref (entry->priv->registry);
|
||||
}
|
||||
|
||||
/* If we have no new sources, disable and return here */
|
||||
- if (source_list == NULL) {
|
||||
+ if (registry == NULL) {
|
||||
g_signal_emit (entry, signals[STATE_CHANGE], 0, FALSE);
|
||||
- entry->priv->source_list = NULL;
|
||||
+ entry->priv->registry = NULL;
|
||||
entry->priv->lookup_entries = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
- entry->priv->source_list = source_list;
|
||||
- /* So that the list isn't going away underneath us */
|
||||
- g_object_ref (entry->priv->source_list);
|
||||
+ entry->priv->registry = registry;
|
||||
+ /* So that the registry isn't going away underneath us */
|
||||
+ g_object_ref (entry->priv->registry);
|
||||
|
||||
- /* That gets us a list of ESourceGroup */
|
||||
- list = e_source_list_peek_groups (source_list);
|
||||
entry->priv->lookup_entries = NULL;
|
||||
|
||||
- for (l = list; l != NULL; l = l->next) {
|
||||
- ESourceGroup *group = l->data;
|
||||
- GSList *sources = NULL, *m;
|
||||
- /* That should give us a list of ESource */
|
||||
- sources = e_source_group_peek_sources (group);
|
||||
- for (m = sources; m != NULL; m = m->next) {
|
||||
- ESource *source = m->data;
|
||||
- ESource *s = e_source_copy (source);
|
||||
- EntryLookup *lookup;
|
||||
- char *uri;
|
||||
+ extension_name = E_SOURCE_EXTENSION_ADDRESS_BOOK;
|
||||
+ list = e_source_registry_list_sources (registry, extension_name);
|
||||
|
||||
- uri = g_strdup_printf("%s/%s", e_source_group_peek_base_uri (group), e_source_peek_relative_uri (source));
|
||||
- e_source_set_absolute_uri (s, uri);
|
||||
- g_free (uri);
|
||||
+ for (link = list; link != NULL; link = g_list_next (link)) {
|
||||
+ ESource *source = E_SOURCE (link->data);
|
||||
+ EntryLookup *lookup;
|
||||
|
||||
- /* Now add those to the lookup entries list */
|
||||
- lookup = g_new0 (EntryLookup, 1);
|
||||
- lookup->entry = entry;
|
||||
- lookup->status = E_BOOK_ERROR_OK;
|
||||
- lookup->open = FALSE;
|
||||
+ /* Now add those to the lookup entries list */
|
||||
+ lookup = g_new0 (EntryLookup, 1);
|
||||
+ lookup->entry = entry;
|
||||
+ lookup->status = E_BOOK_ERROR_OK;
|
||||
+ lookup->open = FALSE;
|
||||
|
||||
- if ((lookup->book = e_book_new (s, &error)) == NULL) {
|
||||
- /* TODO handle this better, fire the error signal I guess */
|
||||
+ if ((lookup->book = e_book_new (source, &error)) == NULL) {
|
||||
+ /* TODO handle this better, fire the error signal I guess */
|
||||
+ if (error) {
|
||||
g_warning ("%s", error->message);
|
||||
- g_error_free (error);
|
||||
- g_free (lookup);
|
||||
- } else {
|
||||
- entry->priv->lookup_entries = g_list_append (entry->priv->lookup_entries, lookup);
|
||||
- e_book_async_open(lookup->book, TRUE, (EBookCallback)book_opened_cb, lookup);
|
||||
+ g_error_free (error);
|
||||
+ error = NULL;
|
||||
}
|
||||
-
|
||||
- g_object_unref (s);
|
||||
+ g_free (lookup);
|
||||
+ } else {
|
||||
+ entry->priv->lookup_entries = g_list_append (entry->priv->lookup_entries, lookup);
|
||||
+ e_book_async_open(lookup->book, TRUE, (EBookCallback)book_opened_cb, lookup);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -530,12 +507,12 @@ e_contact_entry_set_source_list (EContactEntry *entry,
|
||||
g_signal_emit (entry, signals[STATE_CHANGE], 0, FALSE);
|
||||
}
|
||||
|
||||
-ESourceList *
|
||||
-e_contact_entry_get_source_list (EContactEntry *entry)
|
||||
+ESourceRegistry *
|
||||
+e_contact_entry_get_registry (EContactEntry *entry)
|
||||
{
|
||||
g_return_val_if_fail (E_IS_CONTACT_ENTRY (entry), NULL);
|
||||
|
||||
- return entry->priv->source_list;
|
||||
+ return entry->priv->registry;
|
||||
}
|
||||
|
||||
void
|
||||
@@ -552,7 +529,7 @@ int
|
||||
e_contact_entry_get_complete_length (EContactEntry *entry)
|
||||
{
|
||||
g_return_val_if_fail (E_IS_CONTACT_ENTRY (entry), 3); /* TODO: from paramspec? */
|
||||
-
|
||||
+
|
||||
return entry->priv->lookup_length;
|
||||
}
|
||||
|
||||
@@ -564,7 +541,7 @@ e_contact_entry_set_display_func (EContactEntry *entry, EContactEntryDisplayFunc
|
||||
if (entry->priv->display_destroy) {
|
||||
entry->priv->display_destroy (entry->priv->display_func);
|
||||
}
|
||||
-
|
||||
+
|
||||
entry->priv->display_func = func;
|
||||
entry->priv->display_data = func_data;
|
||||
entry->priv->display_destroy = destroy;
|
||||
@@ -596,13 +573,13 @@ static void
|
||||
e_contact_entry_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
|
||||
{
|
||||
EContactEntry *entry;
|
||||
-
|
||||
+
|
||||
g_return_if_fail (E_IS_CONTACT_ENTRY (object));
|
||||
entry = E_CONTACT_ENTRY (object);
|
||||
-
|
||||
+
|
||||
switch (property_id) {
|
||||
- case PROP_SOURCE_LIST:
|
||||
- e_contact_entry_set_source_list (entry, g_value_get_object (value));
|
||||
+ case PROP_REGISTRY:
|
||||
+ e_contact_entry_set_registry (entry, g_value_get_object (value));
|
||||
break;
|
||||
case PROP_COMPLETE_LENGTH:
|
||||
e_contact_entry_set_complete_length (entry, g_value_get_int (value));
|
||||
@@ -618,10 +595,10 @@ e_contact_entry_get_property (GObject *object, guint property_id, GValue *value,
|
||||
EContactEntry *entry;
|
||||
g_return_if_fail (E_IS_CONTACT_ENTRY (object));
|
||||
entry = E_CONTACT_ENTRY (object);
|
||||
-
|
||||
+
|
||||
switch (property_id) {
|
||||
- case PROP_SOURCE_LIST:
|
||||
- g_value_set_object (value, e_contact_entry_get_source_list (entry));
|
||||
+ case PROP_REGISTRY:
|
||||
+ g_value_set_object (value, e_contact_entry_get_registry (entry));
|
||||
break;
|
||||
case PROP_COMPLETE_LENGTH:
|
||||
g_value_set_int (value, e_contact_entry_get_complete_length (entry));
|
||||
@@ -644,7 +621,7 @@ e_contact_entry_finalize (GObject *object)
|
||||
g_list_free (entry->priv->lookup_entries);
|
||||
g_object_unref (entry->priv->completion);
|
||||
g_object_unref (entry->priv->store);
|
||||
- g_object_unref (entry->priv->source_list);
|
||||
+ g_object_unref (entry->priv->registry);
|
||||
|
||||
if (entry->priv->display_destroy) {
|
||||
entry->priv->display_destroy (entry->priv->display_func);
|
||||
@@ -657,7 +634,7 @@ e_contact_entry_finalize (GObject *object)
|
||||
static void
|
||||
reset_search_fields (EContactEntry *entry)
|
||||
{
|
||||
- EContactField fields[] = { E_CONTACT_FULL_NAME, E_CONTACT_EMAIL, E_CONTACT_NICKNAME, E_CONTACT_ORG, 0 };
|
||||
+ EContactField fields[] = { E_CONTACT_FULL_NAME, E_CONTACT_EMAIL, E_CONTACT_NICKNAME, 0 };
|
||||
|
||||
g_free (entry->priv->search_fields);
|
||||
entry->priv->search_fields = g_new0 (EContactField, G_N_ELEMENTS (fields));
|
||||
@@ -707,23 +684,23 @@ static void
|
||||
e_contact_entry_class_init (EContactEntryClass *klass)
|
||||
{
|
||||
GObjectClass *object_class;
|
||||
-
|
||||
+
|
||||
object_class = (GObjectClass *) klass;
|
||||
-
|
||||
+
|
||||
/* GObject */
|
||||
object_class->set_property = e_contact_entry_set_property;
|
||||
object_class->get_property = e_contact_entry_get_property;
|
||||
object_class->finalize = e_contact_entry_finalize;
|
||||
|
||||
/* Properties */
|
||||
- g_object_class_install_property (object_class, PROP_SOURCE_LIST,
|
||||
- g_param_spec_object ("source-list", "Source List", "The source list to search for contacts.",
|
||||
- E_TYPE_SOURCE_LIST, G_PARAM_READWRITE));
|
||||
-
|
||||
+ g_object_class_install_property (object_class, PROP_REGISTRY,
|
||||
+ g_param_spec_object ("registry", "Registry", "Data source registry.",
|
||||
+ E_TYPE_SOURCE_REGISTRY, G_PARAM_READWRITE));
|
||||
+
|
||||
g_object_class_install_property (object_class, PROP_COMPLETE_LENGTH,
|
||||
g_param_spec_int ("complete-length", "Complete length", "Number of characters to start a search on.",
|
||||
2, 99, 3, G_PARAM_READWRITE));
|
||||
-
|
||||
+
|
||||
/* Signals */
|
||||
signals[CONTACT_SELECTED] = g_signal_new ("contact-selected",
|
||||
G_TYPE_FROM_CLASS (object_class),
|
||||
@@ -732,7 +709,7 @@ e_contact_entry_class_init (EContactEntryClass *klass)
|
||||
NULL, NULL,
|
||||
econtactentry_marshal_VOID__OBJECT_STRING,
|
||||
G_TYPE_NONE, 2, E_TYPE_CONTACT, G_TYPE_STRING);
|
||||
-
|
||||
+
|
||||
signals[ERROR] = g_signal_new ("error",
|
||||
G_TYPE_FROM_CLASS (object_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
@@ -771,6 +748,7 @@ lookup_entry_free (EntryLookup *lookup)
|
||||
if (lookup->bookview) {
|
||||
g_warning("EBookView still around");
|
||||
g_object_unref (lookup->bookview);
|
||||
+ lookup->bookview = NULL;
|
||||
}
|
||||
if (lookup->book) {
|
||||
g_object_unref (lookup->book);
|
||||
@@ -789,11 +767,11 @@ split_query_string (const gchar *str)
|
||||
GArray *parts = g_array_sized_new (FALSE, FALSE, sizeof (char *), 2);
|
||||
PangoLogAttr *attrs;
|
||||
guint str_len = strlen (str), word_start = 0, i;
|
||||
-
|
||||
- attrs = g_new0 (PangoLogAttr, str_len + 1);
|
||||
+
|
||||
+ attrs = g_new0 (PangoLogAttr, str_len + 1);
|
||||
/* TODO: do we need to specify a particular language or is NULL ok? */
|
||||
pango_get_log_attrs (str, -1, -1, NULL, attrs, str_len + 1);
|
||||
-
|
||||
+
|
||||
for (i = 0; i < str_len + 1; i++) {
|
||||
char *start_word, *end_word, *word;
|
||||
if (attrs[i].is_word_end) {
|
||||
diff --git a/cut-n-paste/e-contact-entry/e-contact-entry.h b/cut-n-paste/e-contact-entry/e-contact-entry.h
|
||||
index bf6b39b..6fedef7 100644
|
||||
--- a/cut-n-paste/e-contact-entry/e-contact-entry.h
|
||||
+++ b/cut-n-paste/e-contact-entry/e-contact-entry.h
|
||||
@@ -23,10 +23,8 @@
|
||||
#ifndef CONTACT_ENTRY_H
|
||||
#define CONTACT_ENTRY_H
|
||||
|
||||
-#include <libedataserver/e-source-group.h>
|
||||
-#include <libedataserver/e-source-list.h>
|
||||
-#include <libebook/e-contact.h>
|
||||
#include <gtk/gtk.h>
|
||||
+#include <libebook/libebook.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@@ -71,8 +69,8 @@ GType e_contact_entry_get_type (void);
|
||||
|
||||
GtkWidget *e_contact_entry_new (void);
|
||||
|
||||
-void e_contact_entry_set_source_list (EContactEntry *entry, ESourceList *list);
|
||||
-ESourceList *e_contact_entry_get_source_list (EContactEntry *entry);
|
||||
+void e_contact_entry_set_registry (EContactEntry *entry, ESourceRegistry *registry);
|
||||
+ESourceRegistry *e_contact_entry_get_registry (EContactEntry *entry);
|
||||
|
||||
void e_contact_entry_set_complete_length(EContactEntry *entry, int length);
|
||||
int e_contact_entry_get_complete_length(EContactEntry *entry);
|
||||
diff --git a/libgsm/phonemgr-utils.c b/libgsm/phonemgr-utils.c
|
||||
index 4e62e10..baef34f 100644
|
||||
--- a/libgsm/phonemgr-utils.c
|
||||
+++ b/libgsm/phonemgr-utils.c
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
#include <glib-object.h>
|
||||
-#include <libebook/e-contact.h>
|
||||
+#include <libebook/libebook.h>
|
||||
#include <gnokii.h>
|
||||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
diff --git a/src/e-phone-entry.c b/src/e-phone-entry.c
|
||||
index 5d25622..5c10155 100644
|
||||
--- a/src/e-phone-entry.c
|
||||
+++ b/src/e-phone-entry.c
|
||||
@@ -1,5 +1,5 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
||||
-/*
|
||||
+/*
|
||||
* Copyright (C) 2005 Bastien Nocera <hadess@hadess.net>
|
||||
*
|
||||
* e-phone-entry.c
|
||||
@@ -31,8 +31,6 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <string.h>
|
||||
-#include <libedataserver/e-source-list.h>
|
||||
-#include <libedataserverui/e-client-utils.h>
|
||||
#include "e-phone-entry.h"
|
||||
|
||||
#define CONTACT_FORMAT "%s (%s)"
|
||||
@@ -181,25 +179,25 @@ e_phone_entry_finalize (GObject *object)
|
||||
}
|
||||
|
||||
static void
|
||||
-add_sources (EContactEntry *entry)
|
||||
-{
|
||||
- ESourceList *source_list;
|
||||
-
|
||||
- if (e_client_utils_get_sources (&source_list,
|
||||
- E_CLIENT_SOURCE_TYPE_CONTACTS,
|
||||
- NULL)) {
|
||||
- e_contact_entry_set_source_list (E_CONTACT_ENTRY (entry),
|
||||
- source_list);
|
||||
- g_object_unref (source_list);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-static void
|
||||
e_phone_entry_init (EPhoneEntry *entry)
|
||||
{
|
||||
EContactField fields[] = { E_CONTACT_FULL_NAME, E_CONTACT_NICKNAME, E_CONTACT_ORG, E_CONTACT_PHONE_MOBILE, 0 };
|
||||
+ ESourceRegistry *registry;
|
||||
+ GError *error = NULL;
|
||||
+
|
||||
+ /* XXX This call blocks while a D-Bus connection is made, possibly
|
||||
+ * requiring activation. Might be better to create the registry
|
||||
+ * in main(), pass it to ui_init(), and have e_phone_entry_new()
|
||||
+ * take it as an argument. Calling this from main() means if it
|
||||
+ * fails you can abort cleanly with a console error message. */
|
||||
+ registry = e_source_registry_new_sync (NULL, &error);
|
||||
+ if (registry == NULL) {
|
||||
+ g_error ("%s: %s", G_STRFUNC, error->message);
|
||||
+ g_assert_not_reached ();
|
||||
+ }
|
||||
+ e_contact_entry_set_registry (E_CONTACT_ENTRY (entry), registry);
|
||||
+ g_object_unref (registry);
|
||||
|
||||
- add_sources (E_CONTACT_ENTRY (entry));
|
||||
e_contact_entry_set_search_fields (E_CONTACT_ENTRY (entry), (const EContactField *)fields);
|
||||
e_contact_entry_set_display_func (E_CONTACT_ENTRY (entry), test_display_func, NULL, NULL);
|
||||
g_signal_connect (G_OBJECT (entry), "contact_selected",
|
||||
@@ -212,9 +210,9 @@ static void
|
||||
e_phone_entry_class_init (EPhoneEntryClass *klass)
|
||||
{
|
||||
GObjectClass *object_class;
|
||||
-
|
||||
+
|
||||
object_class = (GObjectClass *) klass;
|
||||
-
|
||||
+
|
||||
/* GObject */
|
||||
object_class->finalize = e_phone_entry_finalize;
|
||||
|
||||
--
|
||||
1.8.0.2
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnome-phone-manager/gnome-phone-manager-0.69.ebuild,v 1.1 2013/04/07 07:51:43 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="yes"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="A program created to allow you to control aspects of your mobile phone from your GNOME desktop"
|
||||
HOMEPAGE="http://live.gnome.org/PhoneManager"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="gnome"
|
||||
# telepathy support is considered experimental
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.0:2
|
||||
>=x11-libs/gtk+-3:3
|
||||
>=gnome-base/orbit-2
|
||||
>=gnome-base/gconf-2:2
|
||||
>=gnome-extra/evolution-data-server-3.6
|
||||
media-libs/libcanberra[gtk3]
|
||||
>=app-mobilephone/gnokii-0.6.28[bluetooth]
|
||||
net-wireless/bluez
|
||||
dev-libs/dbus-glib
|
||||
dev-libs/openobex
|
||||
media-libs/libcanberra[gtk]
|
||||
>=x11-themes/gnome-icon-theme-2.19.1
|
||||
>=net-wireless/gnome-bluetooth-3.3:2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.35.5
|
||||
virtual/pkgconfig
|
||||
gnome-base/gnome-common"
|
||||
# gnome-common needed for eautoreconf
|
||||
|
||||
src_prepare() {
|
||||
# Fix eds-3.6 building, upstream bug #680927
|
||||
epatch "${FILESDIR}"/0001-Adapt-to-Evolution-Data-Server-API-changes.patch
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_enable gnome bluetooth-plugin) \
|
||||
--disable-telepathy \
|
||||
--disable-static
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST glabels-3.0.0.tar.bz2 2924060 SHA256 a3a3db4dd25bfb1a03f4008f01c5d9045174e78e13ae77438b81bfe4bf14e64a SHA512 1c750df81a58d7987a93b493071b9ef3c09c617ab2537c469d11e61520936868ea647de23adb697bb0b4a759a727a28dd7d31ea82c98a6a4421d50571162edd5 WHIRLPOOL 8ff2292fa532043da2ce70737b02b764640bb0944efbc925e2c67f732b58c4f8c470f63b8cfef781fe02b1741ecc2e134509c56497daa274cee23e5d31221dde
|
||||
DIST glabels-3.0.1.tar.xz 3310944 SHA256 99810705b9fcb234f085ed4ac6dbea50cc5b232c6d8ca05ab2c0634673fb9bd2 SHA512 810898741724e0f51e83387f9db17958b000703932d7d52105520f06940036944fbb239b5ef0720175f50ff5af7dac418c6040e3f7baa23268ad7b31ec8aaaaf WHIRLPOOL 44f3bed4a3761c4bcb0c822b755e1ca180ef2a75550857a5e726b8f2ca655fb0a94c932330eb15e47a0630f5ef36475d762f32b59e75ea568260c7d69932095c
|
||||
|
@ -1,16 +0,0 @@
|
||||
Fix documentation validation issues
|
||||
|
||||
glabels.xml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/help/C/glabels.xml 2010-02-24 23:10:00.000000000 +0100
|
||||
+++ b/help/C/glabels.xml 2010-02-24 23:13:46.000000000 +0100
|
||||
@@ -105,7 +105,7 @@
|
||||
</revision>
|
||||
</revhistory>
|
||||
|
||||
- <releaseinfo>This manual describes version &appversion; of &app;.
|
||||
+ <releaseinfo>This manual describes version &appversion; of gLabels.
|
||||
</releaseinfo>
|
||||
<legalnotice>
|
||||
<title>Feedback</title>
|
@ -1,25 +0,0 @@
|
||||
Fix documentation validation issues
|
||||
|
||||
fr.po | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/help/fr/fr.po 2010-03-14 23:55:13.000000000 +0100
|
||||
+++ b/help/fr/fr.po 2010-03-14 23:57:48.000000000 +0100
|
||||
@@ -1443,7 +1443,7 @@
|
||||
"right-clicking the display area when there is a non-empty selection."
|
||||
msgstr ""
|
||||
"À partir du menu <menuchoice><guimenu>Objets</guimenu><guimenuitem>Rotation/"
|
||||
-"Renversement</guimenuitem>, on accède à un sous-menu permettant de faire pivoter un "
|
||||
+"Renversement</guimenuitem></menuchoice>, on accède à un sous-menu permettant de faire pivoter un "
|
||||
"objet de 90° dans n'importe quelle direction, ou de le renverser "
|
||||
"horizontalement ou verticalement. Ces commandes sont aussi accessibles par "
|
||||
"le menu contextuel (clic droit dans la zone d'affichage lorsqu'un élément "
|
||||
@@ -2191,7 +2191,7 @@
|
||||
"menuchoice> menu item. This will display the print dialog as shown below."
|
||||
msgstr ""
|
||||
"Nous pouvons maintenant imprimer les adresses à partir du menu "
|
||||
-"<menuchoice><guimenu>Fichier</guimenu><guimenuitem>Imprimer</guimenuitem> et "
|
||||
+"<menuchoice><guimenu>Fichier</guimenu><guimenuitem>Imprimer</guimenuitem></menuchoice> et "
|
||||
"de la boîte de dialogue ci-dessous."
|
||||
|
||||
#: C/glabels.xml:1551(title)
|
@ -0,0 +1,82 @@
|
||||
From 6b7d7e831e5542b6ea3c15802fa882a42399fc15 Mon Sep 17 00:00:00 2001
|
||||
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
|
||||
Date: Mon, 01 Apr 2013 08:53:59 +0000
|
||||
Subject: unbreak with evolution-data-server >= 3.6.0
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=685130
|
||||
---
|
||||
diff --git a/src/merge-evolution.c b/src/merge-evolution.c
|
||||
index bd14483..c3c2639 100644
|
||||
--- a/src/merge-evolution.c
|
||||
+++ b/src/merge-evolution.c
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include "merge-evolution.h"
|
||||
|
||||
-#include <libebook/e-book.h>
|
||||
+#include <libebook/libebook.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -297,6 +297,31 @@ static gint sort_contact_by_file_as(gconstpointer *a, gconstpointer *b)
|
||||
/*--------------------------------------------------------------------------*/
|
||||
/* Open merge source. */
|
||||
/*--------------------------------------------------------------------------*/
|
||||
+static EBook *
|
||||
+gl_open_system_addressbook (GError **error)
|
||||
+{
|
||||
+ ESourceRegistry *registry;
|
||||
+ EBook *book = NULL;
|
||||
+ ESource *source;
|
||||
+
|
||||
+ registry = e_source_registry_new_sync (NULL, error);
|
||||
+ if (!registry)
|
||||
+ return NULL;
|
||||
+
|
||||
+ source = e_source_registry_ref_builtin_address_book (registry);
|
||||
+ if (!source) {
|
||||
+ g_object_unref (registry);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
+ book = e_book_new (source, error);
|
||||
+
|
||||
+ g_object_unref (source);
|
||||
+ g_object_unref (registry);
|
||||
+
|
||||
+ return book;
|
||||
+}
|
||||
+
|
||||
static void
|
||||
gl_merge_evolution_open (glMerge *merge)
|
||||
{
|
||||
@@ -317,12 +342,12 @@ gl_merge_evolution_open (glMerge *merge)
|
||||
return;
|
||||
}
|
||||
|
||||
- merge_evolution->priv->book = e_book_new_system_addressbook(&error);
|
||||
+ merge_evolution->priv->book = gl_open_system_addressbook(&error);
|
||||
if (!merge_evolution->priv->book) {
|
||||
g_warning ("Couldn't open addressbook.");
|
||||
if (error)
|
||||
{
|
||||
- g_warning ("e_book_new_system_addressbook: %s", error->message);
|
||||
+ g_warning ("gl_open_system_addressbook: %s", error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
e_book_query_unref(query);
|
||||
diff --git a/src/merge-vcard.c b/src/merge-vcard.c
|
||||
index da1deff..6554015 100644
|
||||
--- a/src/merge-vcard.c
|
||||
+++ b/src/merge-vcard.c
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "merge-vcard.h"
|
||||
|
||||
-#include <libebook/e-contact.h>
|
||||
+#include <libebook/libebook.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
--
|
||||
cgit v0.9.1
|
@ -1,2 +1,2 @@
|
||||
DIST gnucash-2.4.10.tar.bz2 9367104 SHA256 52e65623b5ad812b8eeb4c221951e9b0ba3c49e28916acfb7b92566da159e6cc SHA512 e761c8390dee1c0724cbb3f624a5f3010d6b494fa0539f4468265e91f5410c7c6cefab3e267a86edbe14a5963017dca09281a8e88f6747f0103806d6fdb22741 WHIRLPOOL 2a320fae365c27fbaa4c8167f1caa794db79ccfcff1a683afbd95579914fd9643ef1ef90416a629c48b7f8737968118dbd8d7661a7da4debfc5207e3a1439e90
|
||||
DIST gnucash-2.4.11.tar.bz2 9408193 SHA256 93c3d66af8d75da66dad814cabeb35aac417018ccc98e833af93b2ab4d7b7761 SHA512 220d0097f39bc359b97da388bbbddb233c6bfb7070cb793ae3a2848e6895fc35891ac72178c8fdaf0e0ac9da730b22c2443783eb3b66a99746488ebf8cbcd41b WHIRLPOOL 1d298051cd59f0b13e5c074de73b29522eb61b4727088851dcb66d8c9a85e08f366d050294325e0a8b7e11b26bdbf784b301828222851fe080555bff82e5731c
|
||||
DIST gnucash-2.4.12.tar.bz2 9297994 SHA256 bdd106a9ca09484be8558769e559d905e0dc273766d4453e9ccf5fdfec6e88c7 SHA512 1d482e90472792d5ff264343dbf63e956ba5aa1739e943e54b73a3f32ad62d7263477d9a8a1c9c015c7fce48c2e24da1e44c99eb63d812e1178fc725b67ee9ae WHIRLPOOL 8216c8d582d2e45e801cdc49a38fde9402df85002e58732e33129c6a863c57d9095a76185b4d04664ebb828669788be5bf1a2fe56c6dac4eb08654a2e0eb7388
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-44-r1.ebuild,v 1.1 2013/04/07 06:05:24 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="MirBSD KSH Shell"
|
||||
HOMEPAGE="http://mirbsd.de/mksh"
|
||||
ARC4_VERSION="1.14"
|
||||
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static"
|
||||
DEPEND="app-arch/cpio
|
||||
static? ( dev-libs/klibc )"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
# we want to build static with klibc
|
||||
if use static; then unset CC; export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
|
||||
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
|
||||
# we can't assume lto existing/enabled, so we add a fallback
|
||||
sh Build.sh -r -c lto || sh Rebuild.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /bin
|
||||
doexe mksh
|
||||
doman mksh.1
|
||||
dodoc dot.mkshrc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./test.sh || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST deplate-0.8.5.gem 271360 SHA256 b1cc96083c752868e5559cd86e5c7a0c7765b127a8a39d6de239e47692a41c23 SHA512 52c0d323d19e08f9fa169eebd03871e4acc11539a73910bd6124a3328ccaeb077519d8a955a3d0035bbe5eea0479c44051e246944556dd1dea3ec4d7c451f840 WHIRLPOOL 29a539516fda86675c28fcb29f159d725a172d7578bc81c0b2dc707d544ed5162e1037db2e2b1c1aab4d6e80b8cc1dcfb4aabef3c590031118aeb243ad019cac
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/deplate/deplate-0.8.5.ebuild,v 1.1 2013/04/06 04:06:11 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Deplate convert wiki-like markup to latex, docbook, html, or html-slides"
|
||||
HOMEPAGE="http://deplate.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm bin/deplate.bat || die
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>ssuominen@gentoo.org</email>
|
||||
<name>Samuli Suominen</name>
|
||||
<email>naota@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST recode-3.6.tar.gz 1751886 SHA256 e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf SHA512 68de277ac8cd5f6023bb077b959ab5778a78edac1299d507bab906824080b6f86e9bfcd89169aa474197c2faa9af2ceb1ed272c8dd4d50caef373afa05daed1b WHIRLPOOL 08eef3eea75d1898800d9f18eec95f50706b4e75285ce22e71723069f7e2a07ee762693c8366e5139add65b319276ced71b6f046884c1e75eb89a3922b7f3dab
|
||||
DIST recode_3.6-17.diff.gz 317501 SHA256 57fefbf3a7b7ba9a1feed7c0749a4415c14d0cfc36d5071f354e3962f87b99c7 SHA512 a200c62b073e0d32c7f421c30ad7d3c7f1da04a58277c2a425acf6178946620ca2429a7f87fc4268f4764dce23bbe7a4f3269ff656ce70c5ad572f0b8a69ef86 WHIRLPOOL 1d79807ca71f6b5c51d2a3d225538c08305c713b00e9461cf42299b853d9a24726f733c51543a74f18646f87df79c03fb92b249f9ef31fc468fd9ac508bc3098
|
||||
DIST recode_3.6-20.debian.tar.gz 341117 SHA256 ec0e25d91a8d5e4a61e8e2876c338ae6c1ba89018f02ff1ee4eb01cb7c44e7ee SHA512 bc586534e77b49da7d387187a8ddb042a12871f87f4f32c818ce7218b7254ac5ba6eccb14aaaf0312579f27958883f2da620016a7049c3af24c8bfba81acc3ef WHIRLPOOL 72f00b3d6732b8794456795d847dbb2114c2577b8d5c9683c8fcb41d3bd92548322dc9d73d38af3a4811fb531d9482d1a5d37ee6600cf281bed4ceb6e794b058
|
||||
|
@ -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-text/recode/recode-3.6_p20.ebuild,v 1.1 2013/04/06 09:43:33 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WANT_AUTOMAKE="1.11" # bug 419455
|
||||
|
||||
inherit autotools eutils flag-o-matic libtool toolchain-funcs
|
||||
|
||||
MY_P=${P%_*}
|
||||
MY_PV=${PV%_*}
|
||||
DEB_PATCH=${PV#*p}
|
||||
|
||||
DESCRIPTION="Convert files between various character sets"
|
||||
HOMEPAGE="http://recode.progiciels-bpi.ca/"
|
||||
SRC_URI="
|
||||
mirror://gnu/${PN}/${MY_P}.tar.gz
|
||||
mirror://debian/pool/main/r/${PN}/${PN}_${MY_PV}-${DEB_PATCH}.debian.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls static-libs"
|
||||
|
||||
DEPEND="
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
rm "${WORKDIR}"/debian/patches/series || die
|
||||
epatch \
|
||||
"${FILESDIR}/${MY_P}-gettextfix.diff" \
|
||||
"${FILESDIR}"/${MY_P}-as-if.patch \
|
||||
"${WORKDIR}"/debian/patches/*
|
||||
sed -i '1i#include <stdlib.h>' src/argmatch.c || die
|
||||
|
||||
# Remove old libtool macros
|
||||
rm "${S}"/acinclude.m4 || die
|
||||
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC LD
|
||||
# on solaris -lintl is needed to compile
|
||||
[[ ${CHOST} == *-solaris* ]] && append-libs "-lintl"
|
||||
# --without-included-gettext means we always use system headers
|
||||
# and library
|
||||
econf \
|
||||
--without-included-gettext \
|
||||
$(use_enable nls) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} + || die
|
||||
rm -f "${ED}"/usr/lib/charset.alias || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST slimv-0.9.10.tar.bz2 624320 SHA256 893d5f984681859f38a24f2e8f86cba2a57af7731602b04163257455c9643f97 SHA512 034bb203145021fd323a3ff070a19c9fb2daaedab2edf416f16bbc96f9a3e71d459bf49aada35997f0a3cb7206024724029eba9702e892b2ae9f43ef338a5dd0 WHIRLPOOL 0499d854f5d63b833c7a9f995fa643276ab96d7f846211bb35cd4a24dc4a2232c0099f413f9ee0e9dbc817b955af29a178569eaf82908b653042ee93f3572690
|
||||
DIST slimv-0.9.7.tar.bz2 619110 SHA256 96f86c4caae9e5fce18b2dcebc7f0cdd3c9e674a5a3171ecce12cfc1a4b9a8d9 SHA512 f413077656863ad422920baf4cedfec380676ba302aa83effdaf3318465f5f1c8814ae125bef9ff9b2b74e77761e59979217edeccd0bde54fd6ab10e0d221112 WHIRLPOOL c2437470d1319f6f594a8176cf8696d98a6b76ee7205a40671e19878a81621c3877059d1b363440fd7e48c8d2f109f11be17a78ab8f3008fc12c4ac7aa0493b1
|
||||
DIST slimv-0.9.8.tar.bz2 620888 SHA256 6c210a4ec7b35209d6d7affe7fca4d357acd25cf2715cfbe3e7bb0977984798a SHA512 fe8d5ffcdc445017a376a517fce36ad3b3618ebfe115d58ac644da513247d359e8b9d6f3fd04feb2152a40a486121da78b1b75c92b2307a9b493af65af6c5374 WHIRLPOOL 5c059fc056ab5b30e5551ada0e7f7fb42c0a2b0988f7830bab71752e67673831d3e350bb0e635d31f3e3265a30ae118728ebcfc59b6824830642bf68ee3de89f
|
||||
DIST slimv-0.9.9.tar.bz2 613400 SHA256 393d3640878cf268be1bde6cb0602ae12fecda94c26b0cbdf40cba89fb7c8804 SHA512 426ba4d6a914a1d60a0b01025712b1ac581223471855a8dc8c2d106755cca3ac02ce18d03edddc8fb7151fc7f25422e0de25e22b1e77cacae15aba01d5be61a1 WHIRLPOOL 03539428a8ad6a5bffee425a6688b52930a1593e3ca1628b89a4f9f2c2362fe2d620f63a7dc83a4b9493af80279aa1bcc80cfb5b33efc61b5c93d0f40d9b4ad4
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/slimv/slimv-0.9.10.ebuild,v 1.1 2013/04/07 10:24:40 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: aid Lisp development by providing a SLIME-like Lisp and Clojure REPL"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2531"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )
|
||||
>=dev-lang/python-2.4
|
||||
|| (
|
||||
dev-lisp/clisp
|
||||
dev-lang/clojure
|
||||
dev-lisp/abcl
|
||||
dev-lisp/clozurecl
|
||||
dev-lisp/ecls
|
||||
dev-lisp/sbcl
|
||||
)"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
src_prepare() {
|
||||
# remove emacs related files
|
||||
rm -r slime swank-clojure || die
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.6.0-r2.ebuild,v 1.1 2013/04/06 07:45:16 tomka Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python autotools-multilib
|
||||
|
||||
DESCRIPTION="Google C++ Testing Framework"
|
||||
HOMEPAGE="http://code.google.com/p/googletest/"
|
||||
SRC_URI="http://googletest.googlecode.com/files/${P}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/configure-fix-pthread-linking.patch" #371647
|
||||
)
|
||||
|
||||
AUTOTOOLS_AUTORECONF="1"
|
||||
|
||||
pkg_setup() {
|
||||
python_pkg_setup
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s|/tmp|${T}|g" test/gtest-filepath_test.cc || die
|
||||
sed -i -r \
|
||||
-e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \
|
||||
Makefile.am || die
|
||||
autotools-multilib_src_prepare
|
||||
|
||||
python_convert_shebangs -r 2 .
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
multilib_parallel_foreach_abi gtest_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
multilib_for_best_abi gtest-config_install
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins samples/*.{cc,h}
|
||||
fi
|
||||
}
|
||||
|
||||
gtest_src_configure() {
|
||||
ECONF_SOURCE="${BUILD_DIR}"
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
gtest-config_install() {
|
||||
dobin "${BUILD_DIR}/scripts/gtest-config"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue