parent
3d521d705b
commit
19a97c4f7f
@ -1,5 +1 @@
|
||||
DIST PackageKit-0.6.16.tar.xz 7900928 RMD160 67a6b0cb37c1d58b8a63391c46ab2de9d84f90f2 SHA1 30ca0c4f9f945abdbeb237256254d32581f8e417 SHA256 28fc2149e2dac4bed5b6b0479488dacc8af7e8a18556851711502b26de567e67
|
||||
DIST PackageKit-0.6.17.tar.xz 7890112 RMD160 2121081f2155324c592b3e3c7c8a5ac88c368bf3 SHA1 c538dd1a87eca8a1461dcb5839931bb23f792370 SHA256 7d6e0d0c63d0a0ef9b393a80ae3711e073cd4b884ff4996d5622f688e28d63c3
|
||||
DIST PackageKit-0.6.18.tar.xz 7890956 RMD160 221e8dfd5d826075ff30a25dea6d335fb755e2f5 SHA1 904cdf2156dfe7f350b7657fad1e69150243b277 SHA256 38e22db73360b50e4b495d03a8d7e44e1fd1525ac44fb4a3bbac99ad21779c32
|
||||
DIST PackageKit-0.6.19.tar.xz 7899600 RMD160 44a77280127aa02cd8dc99d2147f5acc3a3e3c52 SHA1 76dd43832129de9cc9b009d1ed5f74ed2f6f915c SHA256 961c6408de08ebaf15c09e74afd06918d699be8974b5c35c2c9663e5b12b5223
|
||||
DIST PackageKit-0.6.20.tar.xz 7914500 RMD160 9ec625eea44f1cf01304e31860918fadd1fab11f SHA1 5584b4d8a54b9fa68aefce90c4262f23e3a9fd50 SHA256 cc49fa3b4807e81c40d23e981dfff79e3360d83a112c392d69833a3cc3112a45
|
||||
|
@ -1,41 +0,0 @@
|
||||
commit 5d6419ac83883e4d2161032f65d565df8eb007ac
|
||||
Author: Fabio Erculiani <lxnay@sabayon.org>
|
||||
Date: Tue Aug 9 12:48:16 2011 +0200
|
||||
|
||||
entropy: properly account package size when "extra" downloads are available
|
||||
|
||||
diff --git a/backends/entropy/entropyBackend.py b/backends/entropy/entropyBackend.py
|
||||
index 02b83a7..fe8c609 100755
|
||||
--- a/backends/entropy/entropyBackend.py
|
||||
+++ b/backends/entropy/entropyBackend.py
|
||||
@@ -244,10 +244,28 @@ class PackageKitEntropyMixin(object):
|
||||
packages, the on-disk size is returned instead.
|
||||
"""
|
||||
pkg_id, c_repo = pkg_match
|
||||
+ size = 0
|
||||
if c_repo is self._entropy.installed_repository():
|
||||
- return c_repo.retrieveOnDiskSize(pkg_id)
|
||||
+ size += c_repo.retrieveOnDiskSize(pkg_id)
|
||||
else:
|
||||
- return c_repo.retrieveSize(pkg_id)
|
||||
+ size += c_repo.retrieveSize(pkg_id)
|
||||
+
|
||||
+ supports_extra_download = hasattr(c_repo, "retrieveExtraDownload")
|
||||
+ if not supports_extra_download:
|
||||
+ return size
|
||||
+
|
||||
+ cl_id = etpConst['system_settings_plugins_ids']['client_plugin']
|
||||
+ debug = self._settings[cl_id]['misc']['splitdebug']
|
||||
+ extra_downloads = c_repo.retrieveExtraDownload(pkg_id)
|
||||
+ for extra_download in extra_downloads:
|
||||
+ if (not debug) and (extra_download['type'] == "debug") and \
|
||||
+ (c_repo is not self._entropy.installed_repository()):
|
||||
+ continue
|
||||
+ if c_repo is self._entropy.installed_repository():
|
||||
+ size += extra_download['disksize']
|
||||
+ else:
|
||||
+ size += extra_download['size']
|
||||
+ return size
|
||||
|
||||
def _pk_feed_sorted_pkgs(self, pkgs):
|
||||
"""
|
@ -0,0 +1,87 @@
|
||||
http://bugs.gentoo.org/383141
|
||||
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -20389,7 +20389,7 @@
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
|
||||
- mozilla-plugin \\
|
||||
+ npapi-sdk \\
|
||||
gio-unix-2.0 \\
|
||||
nspr \\
|
||||
cairo \\
|
||||
@@ -20397,7 +20397,7 @@
|
||||
gtk+-2.0 >= 2.14.0 \\
|
||||
dbus-glib-1\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "\
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
||||
@@ -20408,7 +20408,7 @@
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_PK_BROWSER_PLUGIN_CFLAGS=`$PKG_CONFIG --cflags "\
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
||||
@@ -20426,7 +20426,7 @@
|
||||
elif test -n "$PKG_CONFIG"; then
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
|
||||
- mozilla-plugin \\
|
||||
+ npapi-sdk \\
|
||||
gio-unix-2.0 \\
|
||||
nspr \\
|
||||
cairo \\
|
||||
@@ -20434,7 +20434,7 @@
|
||||
gtk+-2.0 >= 2.14.0 \\
|
||||
dbus-glib-1\""; } >&5
|
||||
($PKG_CONFIG --exists --print-errors "\
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
||||
@@ -20445,7 +20445,7 @@
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; then
|
||||
pkg_cv_PK_BROWSER_PLUGIN_LIBS=`$PKG_CONFIG --libs "\
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
||||
@@ -20472,7 +20472,7 @@
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
PK_BROWSER_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
||||
@@ -20481,7 +20481,7 @@
|
||||
dbus-glib-1" 2>&1`
|
||||
else
|
||||
PK_BROWSER_PLUGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -355,7 +355,7 @@
|
||||
enable_browser_plugin=$enableval,enable_browser_plugin=yes)
|
||||
if test x$enable_browser_plugin = xyes; then
|
||||
PKG_CHECK_MODULES(PK_BROWSER_PLUGIN, \
|
||||
- mozilla-plugin \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr \
|
||||
cairo \
|
@ -1,94 +0,0 @@
|
||||
commit d8c13d8c3e875bf1d87650646cb960a87468ba87
|
||||
Author: Fabio Erculiani <lxnay@sabayon.org>
|
||||
Date: Wed Oct 5 22:39:30 2011 +0200
|
||||
|
||||
entropy: add forward compatibility with upcoming API changes
|
||||
|
||||
diff --git a/backends/entropy/entropyBackend.py b/backends/entropy/entropyBackend.py
|
||||
index fe8c609..0c82039 100755
|
||||
--- a/backends/entropy/entropyBackend.py
|
||||
+++ b/backends/entropy/entropyBackend.py
|
||||
@@ -64,7 +64,8 @@ from entropy.client.interfaces import Client
|
||||
from entropy.core.settings.base import SystemSettings
|
||||
from entropy.misc import LogFile
|
||||
from entropy.cache import EntropyCacher
|
||||
-from entropy.exceptions import SystemDatabaseError
|
||||
+from entropy.exceptions import SystemDatabaseError, DependenciesNotFound, \
|
||||
+ DependenciesCollision
|
||||
from entropy.db.exceptions import Error as EntropyRepositoryError
|
||||
try:
|
||||
from entropy.exceptions import DependenciesNotRemovable
|
||||
@@ -589,18 +590,32 @@ class PackageKitEntropyMixin(object):
|
||||
if calculate_deps:
|
||||
self.status(STATUS_DEP_RESOLVE)
|
||||
empty_deps, deep_deps = False, False
|
||||
- run_queue, removal_queue, status = self._entropy.get_install_queue(
|
||||
- matches, empty_deps, deep_deps)
|
||||
+ try:
|
||||
+ queue_obj = self._entropy.get_install_queue(
|
||||
+ matches, empty_deps, deep_deps)
|
||||
+ if len(queue_obj) == 2:
|
||||
+ # new api
|
||||
+ run_queue, removal_queue = queue_obj
|
||||
+ else:
|
||||
+ # old api
|
||||
+ run_queue, removal_queue, status = queue_obj
|
||||
+ if status == -2:
|
||||
+ raise DependenciesNotFound(run_queue)
|
||||
+ elif status == -3:
|
||||
+ raise DependenciesCollision(run_queue)
|
||||
+ except DependenciesNotFound as exc:
|
||||
+ self.error(ERROR_DEP_RESOLUTION_FAILED,
|
||||
+ "Cannot find the following dependencies: %s" % (
|
||||
+ ', '.join(sorted(exc.value)),))
|
||||
+ return
|
||||
+ except DependenciesCollision:
|
||||
+ self.error(ERROR_DEP_RESOLUTION_FAILED,
|
||||
+ "Dependencies collisions, cannot continue")
|
||||
+ return
|
||||
+
|
||||
else:
|
||||
run_queue = matches
|
||||
removal_queue = []
|
||||
- status = 0
|
||||
-
|
||||
- if status == -2:
|
||||
- self.error(ERROR_DEP_RESOLUTION_FAILED,
|
||||
- "Cannot find the following dependencies: %s" % (
|
||||
- ', '.join(run_queue),))
|
||||
- return
|
||||
|
||||
self.percentage(0)
|
||||
self.status(STATUS_DOWNLOAD)
|
||||
@@ -934,12 +949,26 @@ class PackageKitEntropyBackend(PackageKitBaseBackend, PackageKitEntropyMixin):
|
||||
|
||||
empty = False
|
||||
deep = False
|
||||
- install, removal, deps_not_f = self._entropy.get_install_queue(matches,
|
||||
- empty, deep, recursive = recursive)
|
||||
-
|
||||
- if deps_not_f == -2:
|
||||
+ try:
|
||||
+ queue_obj = self._entropy.get_install_queue(matches,
|
||||
+ empty, deep, recursive = recursive)
|
||||
+ if len(queue_obj) == 2:
|
||||
+ # new api
|
||||
+ install, removal = queue_obj
|
||||
+ else:
|
||||
+ # old api
|
||||
+ install, removal, status = queue_obj
|
||||
+ if status == -2:
|
||||
+ raise DependenciesNotFound(install)
|
||||
+ elif status == -3:
|
||||
+ raise DependenciesCollision(install)
|
||||
+ except DependenciesNotFound as exc:
|
||||
+ self.error(ERROR_DEP_RESOLUTION_FAILED,
|
||||
+ "Dependencies not found: %s" % (sorted(exc.value),))
|
||||
+ return
|
||||
+ except DependenciesCollision:
|
||||
self.error(ERROR_DEP_RESOLUTION_FAILED,
|
||||
- "Dependencies not found: %s" % (sorted(install),))
|
||||
+ "Dependencies collisions, cannot continue")
|
||||
return
|
||||
|
||||
# transform install into (repo, pkg_id, c_repo) list
|
@ -1,173 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild,v 1.1 2011/07/19 19:12:59 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib python nsplugins bash-completion
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="connman cron doc +introspection networkmanager nsplugin pm-utils +policykit entropy static-libs test udev"
|
||||
|
||||
CDEPEND="connman? ( net-misc/connman )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.6.4 )
|
||||
nsplugin? (
|
||||
dev-libs/nspr
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
x11-libs/pango
|
||||
)
|
||||
policykit? ( >=sys-auth/polkit-0.94 )
|
||||
udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.16.1:2
|
||||
>=sys-apps/dbus-1.3.0"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
entropy? ( >=sys-apps/entropy-1.0_rc27 )
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
>=app-portage/layman-1.2.3
|
||||
>=sys-apps/portage-2.1.9
|
||||
sys-auth/consolekit"
|
||||
|
||||
APP_LINGUAS="as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja kn ko ml mr
|
||||
ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE=" ${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
RESTRICT="test" # tests are failing atm
|
||||
|
||||
# NOTES:
|
||||
# do not use a specific user, useless and not more secure according to upstream
|
||||
# doc is in the tarball and always installed
|
||||
# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2
|
||||
# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247
|
||||
|
||||
# UPSTREAM:
|
||||
# documentation/website with --enable-doc-install
|
||||
# failing tests
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use policykit; then
|
||||
myconf+=" --with-security-framework=polkit"
|
||||
else
|
||||
myconf+=" --with-security-framework=dummy"
|
||||
fi
|
||||
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf+=" --disable-nls"
|
||||
else
|
||||
myconf+=" --enable-nls"
|
||||
fi
|
||||
|
||||
# localstatedir: for gentoo it's /var/lib but for $PN it's /var
|
||||
# dep-tracking,option-check,libtool-lock,strict,local: obvious reasons
|
||||
# command,debuginfo,gstreamer,service-packs: not supported by backend
|
||||
|
||||
# NOTE: default backend is autodetected at runtime, also
|
||||
if use entropy; then
|
||||
myconf+=" --with-default-backend=entropy"
|
||||
else
|
||||
myconf+=" --with-default-backend=portage"
|
||||
fi
|
||||
econf \
|
||||
${myconf} \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable bash-completion command-not-found) \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--enable-man-pages \
|
||||
--enable-portage \
|
||||
$(use_enable entropy) \
|
||||
$(use_enable cron) \
|
||||
--disable-gtk-module \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable networkmanager) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable pm-utils) \
|
||||
--disable-qt \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable udev device-rebind)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed"
|
||||
dodoc ChangeLog || die "dodoc failed"
|
||||
|
||||
if use nsplugin; then
|
||||
src_mv_plugins /usr/$(get_libdir)/mozilla/plugins
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name *.la | xargs rm || die "removing .la files failed"
|
||||
fi
|
||||
|
||||
# Remove precompiled python modules, we handle byte compiling
|
||||
rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co]
|
||||
|
||||
dobashcompletion "${S}/contrib/pk-completion.bash" ${PN}
|
||||
# Remove bashcomp file installed by build-system
|
||||
rm -f "${D}/bash_completion.d/pk-completion.bash"
|
||||
|
||||
# Remove unwanted PackageKit website stuff
|
||||
rm -rf "${D}/usr/share/PackageKit/website"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN/-base}
|
||||
|
||||
if ! use policykit; then
|
||||
ewarn "You are not using policykit, the daemon can't be considered as secure."
|
||||
ewarn "All users will be able to do anything through ${MY_PN}."
|
||||
ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag."
|
||||
ewarn "THIS IS A SECURITY ISSUE."
|
||||
echo
|
||||
ebeep
|
||||
epause 5
|
||||
fi
|
||||
bash-completion_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Removing downloaded files with ${MY_PN}..."
|
||||
[[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \
|
||||
rm -rf /var/cache/PackageKit/downloads/*
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN/-base}
|
||||
}
|
@ -1,177 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.17-r1.ebuild,v 1.2 2011/09/05 19:45:38 maekke Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib python nsplugins bash-completion
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="connman cron doc +introspection networkmanager nsplugin pm-utils +policykit entropy static-libs test udev"
|
||||
|
||||
CDEPEND="connman? ( net-misc/connman )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.6.4 )
|
||||
nsplugin? (
|
||||
dev-libs/nspr
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
x11-libs/pango
|
||||
)
|
||||
policykit? ( >=sys-auth/polkit-0.94 )
|
||||
udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.16.1:2
|
||||
>=sys-apps/dbus-1.3.0"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
entropy? ( >=sys-apps/entropy-1.0_rc27 )
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
>=app-portage/layman-1.2.3
|
||||
>=sys-apps/portage-2.1.9
|
||||
sys-auth/consolekit"
|
||||
|
||||
APP_LINGUAS="as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja kn ko ml mr
|
||||
ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE=" ${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
RESTRICT="test" # tests are failing atm
|
||||
|
||||
# NOTES:
|
||||
# do not use a specific user, useless and not more secure according to upstream
|
||||
# doc is in the tarball and always installed
|
||||
# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2
|
||||
# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247
|
||||
|
||||
# UPSTREAM:
|
||||
# documentation/website with --enable-doc-install
|
||||
# failing tests
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-entropy-extra-downloads-support.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use policykit; then
|
||||
myconf+=" --with-security-framework=polkit"
|
||||
else
|
||||
myconf+=" --with-security-framework=dummy"
|
||||
fi
|
||||
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf+=" --disable-nls"
|
||||
else
|
||||
myconf+=" --enable-nls"
|
||||
fi
|
||||
|
||||
# localstatedir: for gentoo it's /var/lib but for $PN it's /var
|
||||
# dep-tracking,option-check,libtool-lock,strict,local: obvious reasons
|
||||
# command,debuginfo,gstreamer,service-packs: not supported by backend
|
||||
|
||||
# NOTE: default backend is autodetected at runtime, also
|
||||
if use entropy; then
|
||||
myconf+=" --with-default-backend=entropy"
|
||||
else
|
||||
myconf+=" --with-default-backend=portage"
|
||||
fi
|
||||
econf \
|
||||
${myconf} \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable bash-completion command-not-found) \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--enable-man-pages \
|
||||
--enable-portage \
|
||||
$(use_enable entropy) \
|
||||
$(use_enable cron) \
|
||||
--disable-gtk-module \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable networkmanager) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable pm-utils) \
|
||||
--disable-qt \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable udev device-rebind)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed"
|
||||
dodoc ChangeLog || die "dodoc failed"
|
||||
|
||||
if use nsplugin; then
|
||||
src_mv_plugins /usr/$(get_libdir)/mozilla/plugins
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name *.la | xargs rm || die "removing .la files failed"
|
||||
fi
|
||||
|
||||
# Remove precompiled python modules, we handle byte compiling
|
||||
rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co]
|
||||
|
||||
dobashcompletion "${S}/contrib/pk-completion.bash" ${PN}
|
||||
# Remove bashcomp file installed by build-system
|
||||
rm -f "${D}/bash_completion.d/pk-completion.bash"
|
||||
|
||||
# Remove unwanted PackageKit website stuff
|
||||
rm -rf "${D}/usr/share/PackageKit/website"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN/-base}
|
||||
|
||||
if ! use policykit; then
|
||||
ewarn "You are not using policykit, the daemon can't be considered as secure."
|
||||
ewarn "All users will be able to do anything through ${MY_PN}."
|
||||
ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag."
|
||||
ewarn "THIS IS A SECURITY ISSUE."
|
||||
echo
|
||||
ebeep
|
||||
epause 5
|
||||
fi
|
||||
bash-completion_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Removing downloaded files with ${MY_PN}..."
|
||||
[[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \
|
||||
rm -rf /var/cache/PackageKit/downloads/*
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN/-base}
|
||||
}
|
@ -1,180 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.18-r1.ebuild,v 1.1 2011/10/05 20:41:49 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils multilib python nsplugins bash-completion
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="connman cron doc +introspection networkmanager nsplugin pm-utils +policykit entropy static-libs test udev"
|
||||
|
||||
CDEPEND="connman? ( net-misc/connman )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.6.4 )
|
||||
nsplugin? (
|
||||
dev-libs/nspr
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
x11-libs/pango
|
||||
)
|
||||
policykit? ( >=sys-auth/polkit-0.94 )
|
||||
udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.16.1:2
|
||||
>=sys-apps/dbus-1.3.0"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
entropy? ( >=sys-apps/entropy-1.0_rc27 )
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
>=app-portage/layman-1.2.3
|
||||
>=sys-apps/portage-2.1.9
|
||||
sys-auth/consolekit"
|
||||
|
||||
APP_LINGUAS="as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja kn ko ml mr
|
||||
ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE=" ${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
RESTRICT="test" # tests are failing atm
|
||||
|
||||
# NOTES:
|
||||
# do not use a specific user, useless and not more secure according to upstream
|
||||
# doc is in the tarball and always installed
|
||||
# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2
|
||||
# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247
|
||||
|
||||
# UPSTREAM:
|
||||
# documentation/website with --enable-doc-install
|
||||
# failing tests
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.6.17-entropy-extra-downloads-support.patch"
|
||||
epatch "${FILESDIR}/${PN}-entropy-add-forward-compatibility.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use policykit; then
|
||||
myconf+=" --with-security-framework=polkit"
|
||||
else
|
||||
myconf+=" --with-security-framework=dummy"
|
||||
fi
|
||||
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf+=" --disable-nls"
|
||||
else
|
||||
myconf+=" --enable-nls"
|
||||
fi
|
||||
|
||||
# localstatedir: for gentoo it's /var/lib but for $PN it's /var
|
||||
# dep-tracking,option-check,libtool-lock,strict,local: obvious reasons
|
||||
# command,debuginfo,gstreamer,service-packs: not supported by backend
|
||||
|
||||
# NOTE: default backend is autodetected at runtime, also
|
||||
if use entropy; then
|
||||
myconf+=" --with-default-backend=entropy"
|
||||
else
|
||||
myconf+=" --with-default-backend=portage"
|
||||
fi
|
||||
econf \
|
||||
${myconf} \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable bash-completion command-not-found) \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--enable-man-pages \
|
||||
--enable-portage \
|
||||
$(use_enable entropy) \
|
||||
$(use_enable cron) \
|
||||
--disable-gtk-module \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable networkmanager) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable pm-utils) \
|
||||
--disable-qt \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable udev device-rebind)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed"
|
||||
dodoc ChangeLog || die "dodoc failed"
|
||||
|
||||
if use nsplugin; then
|
||||
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}"
|
||||
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \
|
||||
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/"
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name *.la | xargs rm || die "removing .la files failed"
|
||||
fi
|
||||
|
||||
# Remove precompiled python modules, we handle byte compiling
|
||||
rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co]
|
||||
|
||||
dobashcompletion "${S}/contrib/pk-completion.bash" ${PN}
|
||||
# Remove bashcomp file installed by build-system
|
||||
rm -f "${D}/bash_completion.d/pk-completion.bash"
|
||||
|
||||
# Remove unwanted PackageKit website stuff
|
||||
rm -rf "${D}/usr/share/PackageKit/website"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN/-base}
|
||||
|
||||
if ! use policykit; then
|
||||
ewarn "You are not using policykit, the daemon can't be considered as secure."
|
||||
ewarn "All users will be able to do anything through ${MY_PN}."
|
||||
ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag."
|
||||
ewarn "THIS IS A SECURITY ISSUE."
|
||||
echo
|
||||
ebeep
|
||||
epause 5
|
||||
fi
|
||||
bash-completion_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Removing downloaded files with ${MY_PN}..."
|
||||
[[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \
|
||||
rm -rf /var/cache/PackageKit/downloads/*
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN/-base}
|
||||
}
|
@ -1,182 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.19.ebuild,v 1.2 2011/10/25 15:09:06 jer Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
# 0.6.x doesn't work with Python 3.x
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils multilib python nsplugins bash-completion
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
IUSE="connman cron doc +introspection networkmanager nsplugin pm-utils +policykit entropy static-libs test udev"
|
||||
|
||||
CDEPEND="connman? ( net-misc/connman )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.8 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.6.4 )
|
||||
nsplugin? (
|
||||
dev-libs/nspr
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
x11-libs/pango
|
||||
)
|
||||
policykit? ( >=sys-auth/polkit-0.94 )
|
||||
udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.16.1:2
|
||||
>=sys-apps/dbus-1.3.0"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( dev-util/gtk-doc )
|
||||
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
entropy? ( >=sys-apps/entropy-1.0_rc27 )
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
>=app-portage/layman-1.2.3
|
||||
>=sys-apps/portage-2.1.9
|
||||
sys-auth/consolekit"
|
||||
|
||||
APP_LINGUAS="as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja kn ko ml mr
|
||||
ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN zh_TW"
|
||||
for X in ${APP_LINGUAS}; do
|
||||
IUSE=" ${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
RESTRICT="test" # tests are failing atm
|
||||
|
||||
# NOTES:
|
||||
# do not use a specific user, useless and not more secure according to upstream
|
||||
# doc is in the tarball and always installed
|
||||
# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2
|
||||
# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247
|
||||
|
||||
# UPSTREAM:
|
||||
# documentation/website with --enable-doc-install
|
||||
# failing tests
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-entropy-add-forward-compatibility.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use policykit; then
|
||||
myconf+=" --with-security-framework=polkit"
|
||||
else
|
||||
myconf+=" --with-security-framework=dummy"
|
||||
fi
|
||||
|
||||
if [[ -z "${LINGUAS}" ]]; then
|
||||
myconf+=" --disable-nls"
|
||||
else
|
||||
myconf+=" --enable-nls"
|
||||
fi
|
||||
|
||||
# localstatedir: for gentoo it's /var/lib but for $PN it's /var
|
||||
# dep-tracking,option-check,libtool-lock,strict,local: obvious reasons
|
||||
# command,debuginfo,gstreamer,service-packs: not supported by backend
|
||||
|
||||
# NOTE: default backend is autodetected at runtime, also
|
||||
if use entropy; then
|
||||
myconf+=" --with-default-backend=entropy"
|
||||
else
|
||||
myconf+=" --with-default-backend=portage"
|
||||
fi
|
||||
econf \
|
||||
${myconf} \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable bash-completion command-not-found) \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--enable-man-pages \
|
||||
--enable-portage \
|
||||
$(use_enable entropy) \
|
||||
$(use_enable cron) \
|
||||
--disable-gtk-module \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable networkmanager) \
|
||||
$(use_enable nsplugin browser-plugin) \
|
||||
$(use_enable pm-utils) \
|
||||
--disable-qt \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable udev device-rebind)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed"
|
||||
dodoc ChangeLog || die "dodoc failed"
|
||||
|
||||
if use nsplugin; then
|
||||
dodir "/usr/$(get_libdir)/${PLUGINS_DIR}"
|
||||
mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \
|
||||
"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/"
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name *.la | xargs rm || die "removing .la files failed"
|
||||
fi
|
||||
|
||||
# Remove precompiled python modules, we handle byte compiling
|
||||
rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co]
|
||||
|
||||
dobashcompletion "${S}/contrib/pk-completion.bash" ${PN}
|
||||
# Remove bashcomp file installed by build-system
|
||||
rm -f "${D}/bash_completion.d/pk-completion.bash"
|
||||
|
||||
# Remove unwanted PackageKit website stuff
|
||||
rm -rf "${D}/usr/share/PackageKit/website"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN/-base}
|
||||
|
||||
if ! use policykit; then
|
||||
ewarn "You are not using policykit, the daemon can't be considered as secure."
|
||||
ewarn "All users will be able to do anything through ${MY_PN}."
|
||||
ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag."
|
||||
ewarn "THIS IS A SECURITY ISSUE."
|
||||
echo
|
||||
ebeep
|
||||
epause 5
|
||||
fi
|
||||
bash-completion_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
einfo "Removing downloaded files with ${MY_PN}..."
|
||||
[[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \
|
||||
rm -rf /var/cache/PackageKit/downloads/*
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN/-base}
|
||||
}
|
@ -1,5 +1 @@
|
||||
DIST PackageKit-0.6.16.tar.xz 7900928 RMD160 67a6b0cb37c1d58b8a63391c46ab2de9d84f90f2 SHA1 30ca0c4f9f945abdbeb237256254d32581f8e417 SHA256 28fc2149e2dac4bed5b6b0479488dacc8af7e8a18556851711502b26de567e67
|
||||
DIST PackageKit-0.6.17.tar.xz 7890112 RMD160 2121081f2155324c592b3e3c7c8a5ac88c368bf3 SHA1 c538dd1a87eca8a1461dcb5839931bb23f792370 SHA256 7d6e0d0c63d0a0ef9b393a80ae3711e073cd4b884ff4996d5622f688e28d63c3
|
||||
DIST PackageKit-0.6.18.tar.xz 7890956 RMD160 221e8dfd5d826075ff30a25dea6d335fb755e2f5 SHA1 904cdf2156dfe7f350b7657fad1e69150243b277 SHA256 38e22db73360b50e4b495d03a8d7e44e1fd1525ac44fb4a3bbac99ad21779c32
|
||||
DIST PackageKit-0.6.19.tar.xz 7899600 RMD160 44a77280127aa02cd8dc99d2147f5acc3a3e3c52 SHA1 76dd43832129de9cc9b009d1ed5f74ed2f6f915c SHA256 961c6408de08ebaf15c09e74afd06918d699be8974b5c35c2c9663e5b12b5223
|
||||
DIST PackageKit-0.6.20.tar.xz 7914500 RMD160 9ec625eea44f1cf01304e31860918fadd1fab11f SHA1 5584b4d8a54b9fa68aefce90c4262f23e3a9fd50 SHA256 cc49fa3b4807e81c40d23e981dfff79e3360d83a112c392d69833a3cc3112a45
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-gtk/packagekit-gtk-0.6.16.ebuild,v 1.3 2011/07/20 10:34:48 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="GTK+ PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/dbus-glib
|
||||
media-libs/fontconfig
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
>=x11-libs/gtk+-2.91.0:3
|
||||
x11-libs/pango
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND} dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--enable-introspection=no \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--enable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--disable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake || die "emake install failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-gtk/packagekit-gtk-0.6.17.ebuild,v 1.2 2012/01/28 17:11:18 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="GTK+ PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/dbus-glib
|
||||
media-libs/fontconfig
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
>=x11-libs/gtk+-2.91.0:3
|
||||
x11-libs/pango
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND} dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--enable-introspection=no \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--enable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--disable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake || die "emake install failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-gtk/packagekit-gtk-0.6.18.ebuild,v 1.2 2012/01/28 17:11:18 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="GTK+ PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/dbus-glib
|
||||
media-libs/fontconfig
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
>=x11-libs/gtk+-2.91.0:3
|
||||
x11-libs/pango
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND} dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--enable-introspection=no \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--enable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--disable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake || die "emake install failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-gtk/packagekit-gtk-0.6.19.ebuild,v 1.2 2012/01/28 17:11:18 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="GTK+ PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/dbus-glib
|
||||
media-libs/fontconfig
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
>=x11-libs/gtk+-2.91.0:3
|
||||
x11-libs/pango
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND} dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--enable-introspection=no \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--enable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--disable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake || die "emake install failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/contrib/gtk-module || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,5 +1 @@
|
||||
DIST PackageKit-0.6.16.tar.xz 7900928 RMD160 67a6b0cb37c1d58b8a63391c46ab2de9d84f90f2 SHA1 30ca0c4f9f945abdbeb237256254d32581f8e417 SHA256 28fc2149e2dac4bed5b6b0479488dacc8af7e8a18556851711502b26de567e67
|
||||
DIST PackageKit-0.6.17.tar.xz 7890112 RMD160 2121081f2155324c592b3e3c7c8a5ac88c368bf3 SHA1 c538dd1a87eca8a1461dcb5839931bb23f792370 SHA256 7d6e0d0c63d0a0ef9b393a80ae3711e073cd4b884ff4996d5622f688e28d63c3
|
||||
DIST PackageKit-0.6.18.tar.xz 7890956 RMD160 221e8dfd5d826075ff30a25dea6d335fb755e2f5 SHA1 904cdf2156dfe7f350b7657fad1e69150243b277 SHA256 38e22db73360b50e4b495d03a8d7e44e1fd1525ac44fb4a3bbac99ad21779c32
|
||||
DIST PackageKit-0.6.19.tar.xz 7899600 RMD160 44a77280127aa02cd8dc99d2147f5acc3a3e3c52 SHA1 76dd43832129de9cc9b009d1ed5f74ed2f6f915c SHA256 961c6408de08ebaf15c09e74afd06918d699be8974b5c35c2c9663e5b12b5223
|
||||
DIST PackageKit-0.6.20.tar.xz 7914500 RMD160 9ec625eea44f1cf01304e31860918fadd1fab11f SHA1 5584b4d8a54b9fa68aefce90c4262f23e3a9fd50 SHA256 cc49fa3b4807e81c40d23e981dfff79e3360d83a112c392d69833a3cc3112a45
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/packagekit-qt4-0.6.16.ebuild,v 1.3 2011/09/05 20:05:15 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Qt4 PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/qt-core-4.4.0
|
||||
>=x11-libs/qt-dbus-4.4.0
|
||||
>=x11-libs/qt-sql-4.4.0
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--disable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--enable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
emake || die "emake install failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
done
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/packagekit-qt4-0.6.17.ebuild,v 1.3 2012/01/28 17:13:20 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Qt4 PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/qt-core-4.4.0
|
||||
>=x11-libs/qt-dbus-4.4.0
|
||||
>=x11-libs/qt-sql-4.4.0
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--disable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--enable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
emake || die "emake install failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
done
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/packagekit-qt4-0.6.18.ebuild,v 1.5 2012/01/28 17:13:20 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Qt4 PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/qt-core-4.4.0
|
||||
>=x11-libs/qt-dbus-4.4.0
|
||||
>=x11-libs/qt-sql-4.4.0
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--disable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--enable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
# fix buildsystem, let the build system regenerate the damn .moc files
|
||||
if [[ "${qtdir}" = "packagekit-qt" ]]; then
|
||||
rm src/*.moc || die
|
||||
else
|
||||
rm *.moc || die
|
||||
fi
|
||||
emake || die "emake install failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
done
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/packagekit-qt4-0.6.19.ebuild,v 1.2 2012/01/28 17:13:20 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils base
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Qt4 PackageKit backend library"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=x11-libs/qt-core-4.4.0
|
||||
>=x11-libs/qt-dbus-4.4.0
|
||||
>=x11-libs/qt-sql-4.4.0
|
||||
~app-admin/packagekit-base-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/libxslt
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-introspection=no \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--enable-option-checking \
|
||||
--enable-libtool-lock \
|
||||
--disable-strict \
|
||||
--disable-local \
|
||||
--disable-gtk-doc \
|
||||
--disable-command-not-found \
|
||||
--disable-debuginfo-install \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-service-packs \
|
||||
--disable-man-pages \
|
||||
--disable-cron \
|
||||
--disable-gtk-module \
|
||||
--disable-networkmanager \
|
||||
--disable-browser-plugin \
|
||||
--disable-pm-utils \
|
||||
--disable-device-rebind \
|
||||
--disable-tests \
|
||||
--enable-qt
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
# fix buildsystem, let the build system regenerate the damn .moc files
|
||||
if [[ "${qtdir}" = "packagekit-qt" ]]; then
|
||||
rm src/*.moc || die
|
||||
else
|
||||
rm *.moc || die
|
||||
fi
|
||||
emake || die "emake install failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for qtdir in packagekit-qt packagekit-qt2; do
|
||||
cd "${S}"/lib/${qtdir} || die
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
done
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit/packagekit-0.6.16.ebuild,v 1.1 2011/07/19 19:14:05 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="PackageKit Package Manager interface (meta package)"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk qt4"
|
||||
|
||||
RDEPEND="gtk? ( ~app-admin/packagekit-gtk-${PV} )
|
||||
qt4? ( ~app-admin/packagekit-qt4-${PV} )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit/packagekit-0.6.17.ebuild,v 1.2 2012/01/28 17:17:21 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="PackageKit Package Manager interface (meta package)"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="gtk qt4"
|
||||
|
||||
RDEPEND="gtk? ( ~app-admin/packagekit-gtk-${PV} )
|
||||
qt4? ( ~app-admin/packagekit-qt4-${PV} )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit/packagekit-0.6.18.ebuild,v 1.2 2012/01/28 17:17:21 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="PackageKit Package Manager interface (meta package)"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="gtk qt4"
|
||||
|
||||
RDEPEND="gtk? ( ~app-admin/packagekit-gtk-${PV} )
|
||||
qt4? ( ~app-admin/packagekit-qt4-${PV} )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit/packagekit-0.6.19.ebuild,v 1.2 2012/01/28 17:17:21 lxnay Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="PackageKit Package Manager interface (meta package)"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="gtk qt4"
|
||||
|
||||
RDEPEND="gtk? ( ~app-admin/packagekit-gtk-${PV} )
|
||||
qt4? ( ~app-admin/packagekit-qt4-${PV} )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST sagan-0.2.0.tar.gz 329728 RMD160 5115728dd5901310289eb7562bbe0370c5512e74 SHA1 07a0beb7e7cbd40c3c9190f07bce38c4664e4323 SHA256 cda2d1e4c0e93403469d21af672957302eabebade346a1f67036ae7427f3e399
|
||||
DIST sagan-0.2.1.tar.gz 805823 RMD160 82c7d7611ae2a3b81dfa0f3ece5b5e4e85657520 SHA1 a736437aa0a2082fa9a976ad0431e8a78e460f58 SHA256 6c4fe7128a01c6f309bd181563c54cdf0abf2f623db78e0207f9c69176b15858
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sagan/sagan-0.2.1.ebuild,v 1.1 2012/04/22 16:00:50 maksbotan Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools-utils
|
||||
|
||||
DESCRIPTION="Sagan is a multi-threaded, real time system and event log monitoring system"
|
||||
HOMEPAGE="http://sagan.softwink.com/"
|
||||
SRC_URI="http://sagan.softwink.com/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="smtp mysql postgres prelude snort +lognorm +libdnet +pcap"
|
||||
|
||||
DEPEND="dev-util/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
app-admin/sagan-rules[lognorm?]
|
||||
smtp? ( net-libs/libesmtp )
|
||||
pcap? ( net-libs/libpcap )
|
||||
mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
prelude? ( dev-libs/libprelude )
|
||||
lognorm? ( dev-libs/liblognorm )
|
||||
libdnet? ( dev-libs/libdnet )
|
||||
snort? ( >=net-analyzer/snortsam-2.50 )
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
DOCS=(AUTHORS ChangeLog FAQ INSTALL README NEWS TODO)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup sagan
|
||||
enewuser sagan -1 -1 /dev/null sagan
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres postgresql)
|
||||
$(use_enable smtp esmtp)
|
||||
$(use_enable prelude )
|
||||
$(use_enable lognorm)
|
||||
$(use_enable libdnet)
|
||||
$(use_enable pcap libpcap)
|
||||
$(use_enable snort snortsam)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
diropts -g sagan -o sagan -m 775
|
||||
|
||||
dodir /var/log/sagan
|
||||
dodir /var/run/sagan
|
||||
|
||||
keepdir /var/log/sagan
|
||||
keepdir /var/run/sagan
|
||||
|
||||
mkfifo -m 0640 "${ED}"/var/run/sagan.fifo
|
||||
chown sagan.root "${ED}"/var/run/sagan.fifo
|
||||
|
||||
touch "${ED}"/var/log/sagan/sagan.log
|
||||
chown sagan.sagan "${ED}"/var/log/sagan/sagan.log
|
||||
|
||||
newinitd "${FILESDIR}"/sagan.init sagan
|
||||
newconfd "${FILESDIR}"/sagan.confd sagan
|
||||
|
||||
insinto /usr/share/doc/${EP}/examples
|
||||
doins -r extra/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use smtp; then
|
||||
ewarn "You have enabled smtp use flag. If you plan on using Sagan with"
|
||||
ewarn "email, create valid writable home directory for user 'sagan'"
|
||||
ewarn "For security reasons it was created with /dev/null home directory"
|
||||
fi
|
||||
|
||||
einfo "For configuration assistance see"
|
||||
einfo "http://wiki.quadrantsec.com/bin/view/Main/SaganHOWTO"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gedit-plugins-2.32.0.tar.bz2 616927 RMD160 a7540bfd57bdc15546eea802c68719ac71f85c10 SHA1 78339867bcc159cc14ef45effc35fa52c3854ce4 SHA256 2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107
|
||||
DIST gedit-plugins-3.2.1.tar.xz 1434840 RMD160 a248bd2529bf8be93d3d9b980c4323331392b0d7 SHA1 759295aa00e8e15f4e3ee44330ca5e890d8a4b20 SHA256 45dee01a196a7d5e87027187e76d57643b146ea1c313cad2686ebd369890f841
|
||||
DIST gedit-plugins-3.4.0.tar.xz 1454320 RMD160 e90495733442a7b741424d6266226ad79e5409ba SHA1 21897d31de59489f9fe869fa4bba4b895bea4767 SHA256 a66138b43e1a77f39258f04936be35163b4c6bfd49643791ca445cb3c3d60e0a
|
||||
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild,v 1.1 2012/04/22 23:29:49 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes" # plugins are dlopened
|
||||
PYTHON_DEPEND="python? 2:2.6"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
|
||||
inherit gnome2 multilib python eutils
|
||||
|
||||
DESCRIPTION="Offical plugins for gedit"
|
||||
HOMEPAGE="http://live.gnome.org/GeditPlugins"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE_plugins="charmap terminal"
|
||||
IUSE="+python ${IUSE_plugins}"
|
||||
REQUIRED_USE="charmap? ( python ) terminal? ( python )"
|
||||
|
||||
RDEPEND=">=app-editors/gedit-3.2.1[python?]
|
||||
>=dev-libs/glib-2.26.0:2
|
||||
>=dev-libs/libpeas-0.7.3[gtk,python?]
|
||||
>=x11-libs/gtk+-3.0.0:3
|
||||
>=x11-libs/gtksourceview-3.0.0:3.0
|
||||
python? (
|
||||
>=app-editors/gedit-3.0.0[introspection]
|
||||
dev-python/dbus-python
|
||||
dev-python/pycairo
|
||||
|| (
|
||||
dev-python/pygobject:2[cairo,introspection]
|
||||
dev-python/pygobject:3[cairo] )
|
||||
>=x11-libs/gtk+-3.3.16:3[introspection]
|
||||
>=x11-libs/gtksourceview-3.0.0:3.0[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
)
|
||||
charmap? ( >=gnome-extra/gucharmap-3.0.0:2.90[introspection] )
|
||||
terminal? ( x11-libs/vte:2.90[introspection] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40.0
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
pkg_setup() {
|
||||
# DEFAULT_PLUGINS from configure.ac
|
||||
local myplugins="bookmarks,drawspaces,wordcompletion,taglist"
|
||||
|
||||
# python plugins with no extra dependencies beyond what USE=python brings
|
||||
use python && myplugins="${myplugins},bracketcompletion,codecomment,colorpicker,commander,dashboard,joinlines,multiedit,textsize,sessionsaver,smartspaces,synctex"
|
||||
|
||||
# python plugins with extra dependencies
|
||||
for plugin in ${IUSE_plugins/+}; do
|
||||
use ${plugin} && myplugins="${myplugins},${plugin}"
|
||||
done
|
||||
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-dependency-tracking
|
||||
--with-plugins=${myplugins}
|
||||
$(use_enable python)"
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# disable pyc compiling
|
||||
use python && python_clean_py-compile_files
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
python_need_rebuild
|
||||
python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gedit-2.30.4.tar.bz2 4705692 RMD160 b2659b8847ef02c66a70acd2f4a492555e1e4d21 SHA1 ff7f4088d0b89224b84406557a7d9970323fdcc3 SHA256 a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c
|
||||
DIST gedit-3.2.5.tar.xz 2895420 RMD160 4521dcd81ac8141d30cf7f2ce835330cb91484f6 SHA1 a95b9ae7e859c64b621961999462f37b6fc7c596 SHA256 0cec1916b4ba878531d32163767a8d39b72eea8d6893103238c82d3a27127c81
|
||||
DIST gedit-3.2.6.tar.xz 2887264 RMD160 54f9ba105480371d4eb568d8ba43d1a3bc061a36 SHA1 15bca4c0754be9e5c251347ce2bfb1edf2b9dd5f SHA256 92b5c44203dbc222c79cb35ba43d32de115e2ef89b7bb80451239d0c3fa02f7f
|
||||
DIST gedit-3.4.1.tar.xz 2900712 RMD160 46f04725fed8c7e799d0f2f8e00596ed4dce7b9b SHA1 db25c643a7c7fa6cdd65c1ec23be9c6e9fd6ff90 SHA256 9b1f0164d6c6bc08e391efde7e6a2aa9290a65bda543fe3a7adc6ef73b722a64
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST org-6.36c.tar.gz 2706358 RMD160 bc745e506712619a03f0b296ac606a5cc7ad81c9 SHA1 56d55f8c751248100aabbc3109495af31ccf277f SHA256 26db6b9c319a2dd54f3a8da78f761594b7c8e7edeb9106f14a1c3a6ff94786a0
|
||||
DIST org-7.7.tar.gz 3248717 RMD160 7d87fc763c942d25dd65f8a0851bab3b7011c008 SHA1 214b4b66f573686d72dd1f829d1f639dd7d1ff7d SHA256 6df7633ec40231f466b436c5e63b03a62c585d3fe0e53838a2cd7c18c68e7f26
|
||||
DIST org-7.8.02.tar.gz 3272089 RMD160 a5e071324b7ffec1e8d72e16713dfbc038a7cb74 SHA1 08caeabdc4514187193f93d42f656e7fa6f24013 SHA256 c97c7e50d80424e3c3ffdd1cdd6c597be815b7450bb02da0e661a3d3cafb3f19
|
||||
DIST org-7.8.03.tar.gz 3288565 RMD160 f1ad226d2ec2d99ddf6f793f45bb140042b014be SHA1 731809e4b6732e50a2b5a4b0ecba61123ffe3420 SHA256 49357cca7d892e70cd2dfcc0b5d96d9fd164ef5a1f251ace3865ecb27dc1e958
|
||||
DIST org-7.8.09.tar.gz 3303917 RMD160 a9e2f73202c754e0a51b11a126cc73f825220021 SHA1 eafb85524412b0392fcc0e30c580af631ed6e3cc SHA256 d83ea5cb47b20fd2e934a78aaa8816e715e3c9f0d4aa4264aa22e50ac532c26d
|
||||
|
@ -1,4 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
|
||||
(require 'org-install)
|
||||
(setq org-odt-styles-dir "@SITEETC@/styles")
|
@ -1,60 +0,0 @@
|
||||
https://bugs.gentoo.org/396269
|
||||
Install OpenDocument style files.
|
||||
|
||||
Makefile patch from upstream git repo,
|
||||
commit e514982ae126c058b965dd00393b4e68e5f8522d by Dave Marquardt.
|
||||
|
||||
--- org-7.8.02-orig/Makefile
|
||||
+++ org-7.8.02/Makefile
|
||||
@@ -19,6 +19,12 @@
|
||||
# Where local lisp files go.
|
||||
lispdir = $(prefix)/share/emacs/site-lisp
|
||||
|
||||
+# Where etc files go
|
||||
+etcdir = $(lispdir)/../etc
|
||||
+
|
||||
+# Where style files go
|
||||
+stylesdir = $(etcdir)/styles
|
||||
+
|
||||
# Where info files go.
|
||||
infodir = $(prefix)/share/info
|
||||
|
||||
@@ -175,6 +181,7 @@
|
||||
CARDFILES = doc/orgcard.tex doc/orgcard.pdf doc/orgcard_letter.pdf
|
||||
TEXIFILES = doc/org.texi
|
||||
INFOFILES = doc/org
|
||||
+STYLESFILES = etc/styles/OrgOdtContentTemplate.xml etc/styles/OrgOdtStyles.xml
|
||||
|
||||
# Package Manager (ELPA)
|
||||
PKG_TAG = $(shell date +%Y%m%d)
|
||||
@@ -211,7 +218,7 @@
|
||||
|
||||
compile: $(ELCFILES0) $(ELCBFILES)
|
||||
|
||||
-install: install-lisp
|
||||
+install: install-lisp install-etc
|
||||
|
||||
doc: doc/org.html doc/org.pdf doc/orgcard.pdf doc/orgcard_letter.pdf doc/orgguide.pdf doc/orgcard.txt
|
||||
|
||||
@@ -231,6 +238,10 @@
|
||||
$(CP) $(INFOFILES) $(infodir)
|
||||
$(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES)
|
||||
|
||||
+install-etc: $(STYLESFILES)
|
||||
+ if [ ! -d $(stylesdir) ]; then $(MKDIR) $(stylesdir); else true; fi ;
|
||||
+ $(CP) $(STYLESFILES) $(stylesdir)
|
||||
+
|
||||
autoloads: lisp/org-install.el
|
||||
|
||||
lisp/org-install.el: $(LISPFILES0) Makefile
|
||||
--- org-7.8.02-orig/lisp/org-odt.el
|
||||
+++ org-7.8.02/lisp/org-odt.el
|
||||
@@ -76,7 +76,7 @@
|
||||
"Regular expressions for special string conversion.")
|
||||
|
||||
(defconst org-odt-lib-dir (file-name-directory load-file-name))
|
||||
-(defconst org-odt-styles-dir
|
||||
+(defvar org-odt-styles-dir
|
||||
(let* ((styles-dir1 (expand-file-name "../etc/styles/" org-odt-lib-dir))
|
||||
(styles-dir2 (expand-file-name "./etc/styles/" org-odt-lib-dir))
|
||||
(styles-dir
|
@ -1,7 +1,9 @@
|
||||
DIST appliance-1.17.14.tar.xz 46644196 RMD160 3d8ad13c5c4daf202cc563145c480b7a953408e1 SHA1 1d9ee21217f7e1a9f2342fff569c19dd331d6f04 SHA256 7cf81ef8a31d5d9ce6c8b1b601a8bf83cbd5521a397879fb7d1c55814b8b9be3
|
||||
DIST libguestfs-1.16.10.tar.gz 6574148 RMD160 1e2dd9a9d8b36f130c01d0c590fe5bf22ba79fec SHA1 c2acbe122180dfc5ab6aab0c2f0a12658d69c526 SHA256 82b314f4f473ac008bafe509165048d775bea35064ce383203c398866d923ba4
|
||||
DIST libguestfs-1.16.15.tar.gz 6588084 RMD160 777f64ce733e24efd60c89f06df7a1da233a07e8 SHA1 cbb4f541e260ea3a191196732523923bad3a175b SHA256 6a091bf99c1344905e625e2c5d63051b314d7ca7288e54223a3b86875a47f55e
|
||||
DIST libguestfs-1.16.19.tar.gz 6572134 RMD160 e5ba58058c17bd2cc402bd3f388d6967f18d86f9 SHA1 f6ba2230174884c763a694f3c726d16e333ecc34 SHA256 b1e06dfe8d3a657e44642db5a4ee36008dad9724091a09fc40030311a53d5c7d
|
||||
DIST libguestfs-1.17.21.tar.gz 6870772 RMD160 f499c6b27fd6968c2c6ee74c0b7369a7e4537151 SHA1 2c90ac4498fff12f655e97fb3a4586994b45ed93 SHA256 7981ab12dc6c2c6ef701051c276a10d3ee81d4d963e6b0b2557e64c96d22092b
|
||||
DIST libguestfs-1.17.26.tar.gz 7050951 RMD160 6019fb17a5b2181dbb5a5afce1e13e8b06861774 SHA1 ceb76c3a6e532bc8b21d1e4119b171d65f1b5006 SHA256 e2e9f69c4c819040a38cc8bd303c175ea665e10748c96e69ff1a8171f9b35e4c
|
||||
DIST libguestfs-1.17.32.tar.gz 7128010 RMD160 056884d4e43ade6ffb77ba45142e3d6896678008 SHA1 a856c35a88e5d470b7ff55c0b04b0f1e395dfa91 SHA256 bb04d2e5761df796e122ab7d3fff51e5dc635e92c68d8dd2a703c98cd351ce8c
|
||||
DIST libguestfs-1.7.18-x86_64.tar.gz 62332840 RMD160 202ac5883d1453d6225b76029290ccebd44c7e84 SHA1 661786c088fad8d2354e8121a2fafb1d598587fc SHA256 07c4f0b4b50df7407327333d9e9b09c310265d056868531c69659659a9f5218d
|
||||
DIST libguestfs-1.8.16.tar.gz 5164608 RMD160 eec0d8875f02e007f5dcbce629ddf00c0ee609af SHA1 24a9aa8c2a8226438a6613a9a12a4d467404d1e6 SHA256 7d8fb8529f201d81761bd383ea567d752f54471a1b5b5903fe553440cbe7755f
|
||||
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.16.19.ebuild,v 1.2 2012/04/22 22:43:53 mr_bones_ Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -0,0 +1,152 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.17.32.ebuild,v 1.1 2012/04/22 14:59:37 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
APLANCE_PV="1.17.14"
|
||||
APPL_P="appliance-${APLANCE_PV}"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit check-reqs bash-completion-r1 autotools-utils versionator eutils \
|
||||
multilib linux-info perl-module
|
||||
|
||||
MY_PV_1="$(get_version_component_range 1-2)"
|
||||
MY_PV_2="$(get_version_component_range 2)"
|
||||
|
||||
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
|
||||
|
||||
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
|
||||
HOMEPAGE="http://libguestfs.org/"
|
||||
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz
|
||||
http://rion-overlay.googlecode.com/files/${APPL_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Upstream NOT supported 32-bit version, keyword in own risk
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bash-completion erlang +fuse debug ocaml doc +perl nls ruby static-libs selinux systemtap introspection"
|
||||
|
||||
# Failires - doc
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/hivex-1.3.1
|
||||
dev-libs/libpcre
|
||||
app-arch/cpio
|
||||
dev-lang/perl
|
||||
app-cdr/cdrkit
|
||||
>=app-emulation/qemu-kvm-1.0[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64]
|
||||
sys-apps/fakeroot
|
||||
sys-apps/file
|
||||
app-emulation/libvirt
|
||||
dev-libs/libxml2:2
|
||||
>=sys-apps/fakechroot-2.8
|
||||
>=app-admin/augeas-0.7.1
|
||||
sys-fs/squashfs-tools
|
||||
dev-libs/libconfig
|
||||
dev-libs/libpcre
|
||||
sys-libs/readline
|
||||
>=sys-libs/db-4.6
|
||||
perl? ( virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Sys-Virt-0.2.4
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/libintl-perl
|
||||
>=app-misc/hivex-1.3.1[perl?]
|
||||
dev-perl/String-ShellQuote
|
||||
)
|
||||
fuse? ( sys-fs/fuse )
|
||||
introspection? (
|
||||
>=dev-libs/gobject-introspection-1.30.0
|
||||
dev-libs/gjs
|
||||
)
|
||||
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
ocaml? ( dev-lang/ocaml[ocamlopt] dev-ml/findlib[ocamlopt] )
|
||||
erlang? ( dev-lang/erlang )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gperf
|
||||
doc? ( app-text/po4a )
|
||||
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(${FILESDIR}/1.17/*.patch)
|
||||
|
||||
DOCS=(AUTHORS BUGS HACKING README RELEASE-NOTES ROADMAP TODO)
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_DISK_BUILD="5G"
|
||||
CHECKREQS_DISK_USR="5G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup () {
|
||||
CONFIG_CHECK="~KVM ~VIRTIO"
|
||||
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Disable feature test for kvm for more reason
|
||||
# i.e: not loaded module in __build__ time,
|
||||
# build server not supported kvm, etc. ...
|
||||
#
|
||||
# In fact, this feature is virtio support and requires
|
||||
# configured kernel.
|
||||
export vmchannel_test=no
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-appliance
|
||||
--disable-daemon
|
||||
--with-drive-if=virtio
|
||||
--with-net-if=virtio-net-pci
|
||||
--with-extra="-gentoo"
|
||||
--with-readline
|
||||
--disable-php
|
||||
--disable-python
|
||||
--disable-java
|
||||
$(use_enable nls)
|
||||
$(use_enable perl)
|
||||
$(use_enable fuse)
|
||||
$(use_enable ocaml)
|
||||
$(use_enable ruby)
|
||||
--disable-haskell
|
||||
$(use_enable doc)
|
||||
$(use_enable introspection gobject)
|
||||
$(use_enable erlang)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
autotools-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
strip-linguas -i po
|
||||
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
|
||||
|
||||
use bash-completion && dobashcomp "${D}/etc"/bash_completion.d/guestfish-bash-completion.sh
|
||||
|
||||
rm -fr "${D}/etc"/bash* || die
|
||||
|
||||
insinto /usr/share/guestfs/
|
||||
doins -r "${WORKDIR}"/appliance
|
||||
newenvd "${FILESDIR}"/env.file 99"${PN}"
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
@ -0,0 +1,397 @@
|
||||
#include "src/subshell.h"
|
||||
#include "src/setup.h"
|
||||
|
||||
|
||||
panels_options_t panels_options;
|
||||
struct mc_fhl_struct *mc_filehighlight;
|
||||
int confirm_execute = 0;
|
||||
int auto_save_setup = 0;
|
||||
int free_space = 0;
|
||||
int horizontal_split = 0;
|
||||
int first_panel_size = 0;
|
||||
int default_source_codepage = 0;
|
||||
int menubar_visible = 1;
|
||||
WPanel *current_panel;
|
||||
WInput *cmdline;
|
||||
WMenuBar *the_menubar;
|
||||
const global_keymap_t *panel_map;
|
||||
gboolean command_prompt;
|
||||
int saving_setup;
|
||||
|
||||
panels_layout_t panels_layout = {
|
||||
.horizontal_split = 0,
|
||||
.vertical_equal = 1,
|
||||
.left_panel_size = 0,
|
||||
.horizontal_equal = 1,
|
||||
.top_panel_size = 0
|
||||
};
|
||||
|
||||
WInput *
|
||||
command_new (int y, int x, int cols)
|
||||
{
|
||||
WInput *cmd;
|
||||
const input_colors_t command_colors = {
|
||||
DEFAULT_COLOR,
|
||||
COMMAND_MARK_COLOR,
|
||||
DEFAULT_COLOR,
|
||||
COMMAND_HISTORY_COLOR
|
||||
};
|
||||
|
||||
cmd = input_new (y, x, (int *) command_colors, cols, "", "cmdline",
|
||||
INPUT_COMPLETE_DEFAULT | INPUT_COMPLETE_CD | INPUT_COMPLETE_COMMANDS |
|
||||
INPUT_COMPLETE_SHELL_ESC);
|
||||
|
||||
/* Add our hooks */
|
||||
cmd->widget.callback = NULL;
|
||||
|
||||
return cmd;
|
||||
}
|
||||
|
||||
int
|
||||
do_cd (const vfs_path_t *new_dir, enum cd_enum exact)
|
||||
{
|
||||
(void) new_dir;
|
||||
(void) exact;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
do_subshell_chdir (const vfs_path_t * vpath, gboolean update_prompt, gboolean reset_prompt)
|
||||
{
|
||||
(void) vpath;
|
||||
(void) update_prompt;
|
||||
(void) reset_prompt;
|
||||
}
|
||||
|
||||
void
|
||||
shell_execute (const char *command, int flags)
|
||||
{
|
||||
(void) command;
|
||||
(void) flags;
|
||||
}
|
||||
|
||||
void
|
||||
panel_load_setup (WPanel * panel, const char *section)
|
||||
{
|
||||
(void) panel;
|
||||
(void) section;
|
||||
}
|
||||
|
||||
void
|
||||
panel_save_setup (WPanel * panel, const char *section)
|
||||
{
|
||||
(void) panel;
|
||||
(void) section;
|
||||
}
|
||||
|
||||
void
|
||||
free_my_statfs (void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int
|
||||
select_charset (int center_y, int center_x, int current_charset, gboolean seldisplay)
|
||||
{
|
||||
(void) center_y;
|
||||
(void) center_x;
|
||||
(void) current_charset;
|
||||
(void) seldisplay;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
update_xterm_title_path (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
init_my_statfs (void)
|
||||
{
|
||||
}
|
||||
void
|
||||
my_statfs (struct my_statfs *myfs_stats, const char *path)
|
||||
{
|
||||
(void) myfs_stats;
|
||||
(void) path;
|
||||
}
|
||||
|
||||
void
|
||||
clean_dir (dir_list * list, int count)
|
||||
{
|
||||
(void) list;
|
||||
(void) count;
|
||||
|
||||
}
|
||||
|
||||
struct Widget *
|
||||
get_panel_widget (int idx)
|
||||
{
|
||||
(void) idx;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
do_load_dir (const vfs_path_t *vpath, dir_list * list, sortfn * sort, gboolean reverse,
|
||||
gboolean case_sensitive, gboolean exec_ff, const char *fltr)
|
||||
{
|
||||
(void) vpath;
|
||||
(void) list;
|
||||
(void) sort;
|
||||
(void) reverse;
|
||||
(void) case_sensitive;
|
||||
(void) exec_ff;
|
||||
(void) fltr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
do_reload_dir (const vfs_path_t * vpath, dir_list * list, sortfn * sort, int count,
|
||||
gboolean reverse, gboolean case_sensitive, gboolean exec_ff, const char *fltr)
|
||||
{
|
||||
(void) vpath;
|
||||
(void) list;
|
||||
(void) sort;
|
||||
(void) count;
|
||||
(void) reverse;
|
||||
(void) case_sensitive;
|
||||
(void) exec_ff;
|
||||
(void) fltr;
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
do_sort (dir_list * list, sortfn * sort, int top, gboolean reverse,
|
||||
gboolean case_sensitive, gboolean exec_ff)
|
||||
{
|
||||
(void) list;
|
||||
(void) sort;
|
||||
(void) top;
|
||||
(void) reverse;
|
||||
(void) case_sensitive;
|
||||
(void) exec_ff;
|
||||
}
|
||||
|
||||
int
|
||||
regex_command (const vfs_path_t *filename, const char *action, int *move_dir)
|
||||
{
|
||||
(void) filename;
|
||||
(void) action;
|
||||
(void) move_dir;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
gboolean
|
||||
if_link_is_exe (const vfs_path_t *full_name, const file_entry * file)
|
||||
{
|
||||
(void) full_name;
|
||||
(void) file;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
change_panel (void)
|
||||
{
|
||||
}
|
||||
|
||||
gboolean
|
||||
set_zero_dir (dir_list * list)
|
||||
{
|
||||
(void) list;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
load_hint (gboolean force)
|
||||
{
|
||||
(void) force;
|
||||
}
|
||||
|
||||
panel_view_mode_t
|
||||
get_display_type (int idx)
|
||||
{
|
||||
(void) idx;
|
||||
return view_listing;
|
||||
}
|
||||
|
||||
panel_view_mode_t
|
||||
get_current_type (void)
|
||||
{
|
||||
return view_listing;
|
||||
}
|
||||
|
||||
panel_view_mode_t
|
||||
get_other_type (void)
|
||||
{
|
||||
return view_listing;
|
||||
}
|
||||
|
||||
int
|
||||
get_current_index (void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
get_other_index (void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
unsorted (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_name (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_vers (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_ext (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_time (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_atime (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_ctime (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_size (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
sort_inode (file_entry * a, file_entry * b)
|
||||
{
|
||||
(void) a;
|
||||
(void) b;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
set_display_type (int num, panel_view_mode_t type)
|
||||
{
|
||||
(void) num;
|
||||
(void) type;
|
||||
}
|
||||
|
||||
void
|
||||
copy_cmd_local (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
delete_cmd_local (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
view_raw_cmd (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
edit_cmd_new (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
rename_cmd_local (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
select_invert_cmd (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
unselect_cmd (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
select_cmd (void)
|
||||
{
|
||||
}
|
||||
|
||||
struct WPanel *
|
||||
get_other_panel (void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const panel_field_t *
|
||||
sort_box (panel_sort_info_t * info)
|
||||
{
|
||||
(void) info;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
midnight_set_buttonbar (WButtonBar * b)
|
||||
{
|
||||
(void) b;
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.3.ebuild,v 1.1 2012/04/22 14:53:53 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||
HOMEPAGE="http://www.midnight-commander.org"
|
||||
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="+edit gpm mclib nls samba +slang test X +xdg"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.8:2
|
||||
gpm? ( sys-libs/gpm )
|
||||
kernel_linux? ( sys-fs/e2fsprogs )
|
||||
samba? ( net-fs/samba )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
!slang? ( sys-libs/ncurses )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( dev-libs/check )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/${P}-missing-do_panel_cd_stub_env.c \
|
||||
tests/src/filemanager/do_panel_cd_stub_env.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myscreen=ncurses
|
||||
use slang && myscreen=slang
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
|
||||
|
||||
local homedir=".mc"
|
||||
use xdg && homedir="XDG"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable nls) \
|
||||
--enable-vfs \
|
||||
$(use_enable kernel_linux vfs-undelfs) \
|
||||
--enable-charset \
|
||||
$(use_with X x) \
|
||||
$(use_enable samba vfs-smb) \
|
||||
$(use_with gpm gpm-mouse) \
|
||||
--with-screen=${myscreen} \
|
||||
$(use_with edit) \
|
||||
$(use_enable mclib) \
|
||||
$(use_enable test tests) \
|
||||
--with-homedir=${homedir}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
# fix bug #334383
|
||||
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
|
||||
fowners root:tty /usr/libexec/mc/cons.saver
|
||||
fperms g+s /usr/libexec/mc/cons.saver
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To enable exiting to latest working directory,"
|
||||
elog "put this into your ~/.bashrc:"
|
||||
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
--- m4/i18n.mk.old 2012-04-22 20:47:31.285053576 +0200
|
||||
+++ m4/i18n.mk 2012-04-22 20:51:29.911102673 +0200
|
||||
@@ -21,11 +21,9 @@
|
||||
done
|
||||
|
||||
$(STAMP): $(POFILES)
|
||||
- @for j in $(POFILES); do \
|
||||
+ @for j in $(LINGUAS); do \
|
||||
echo "converting $$j"; \
|
||||
- k=$$(basename $$j); \
|
||||
- country=`echo $$k | cut -d "." -f 1`; \
|
||||
- $(MSGFMT) -o $$country.mo $$j; \
|
||||
+ [[ ! -f $$j.po ]] || $(MSGFMT) -o $$j.mo $$j.po; \
|
||||
done
|
||||
@touch $(STAMP)
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libee/libee-0.4.0.ebuild,v 1.1 2012/03/02 15:44:40 maksbotan Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="An Event Expression Library inspired by CEE"
|
||||
HOMEPAGE="http://www.libee.org"
|
||||
SRC_URI="http://www.libee.org/files/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux"
|
||||
IUSE="debug static-libs"
|
||||
|
||||
DEPEND="dev-libs/libxml2
|
||||
dev-libs/libestr"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=(INSTALL ChangeLog)
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable debug)
|
||||
--enable-testbench
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile -j1
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libpeas-1.0.0.tar.bz2 598820 RMD160 66a04dfd5c72d0611848937a58055ac717044448 SHA1 f15caf0b7c4621979eff5bca06f567d2d4828443 SHA256 b1482690565241baf3870311a77efb3f89a4335f48cb4ca31e8b8405220a8d99
|
||||
DIST libpeas-1.2.0.tar.xz 497176 RMD160 60ce43c0253568abcf44e824a2bd2e18ff7f904d SHA1 4877d53a55671c51f73cea75365ece037badd1bf SHA256 871868ff44352367a4b4602352f60fd20eb99794ade454f3b120d87c1560f31c
|
||||
DIST libpeas-1.4.0.tar.xz 521044 RMD160 f03fe9b5f35e5058554db69f2149cd55af9834b2 SHA1 2c1f8d4aed2949cfebddecba7b5109e15b09443b SHA256 d508df249d5aefad0e5a720095e0103355ab13856dae6a10e6e5b8235d5eecf6
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.4.0.ebuild,v 1.1 2012/04/22 23:28:59 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
|
||||
inherit eutils gnome2 multilib python virtualx
|
||||
|
||||
DESCRIPTION="A GObject plugins library"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc gjs +gtk glade +python seed vala"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.2:2
|
||||
>=dev-libs/gobject-introspection-0.10.1
|
||||
gjs? ( >=dev-libs/gjs-1.31.11 )
|
||||
glade? ( >=dev-util/glade-3.9.1:3.10 )
|
||||
gtk? ( >=x11-libs/gtk+-2.91.1:3[introspection] )
|
||||
python? ( >=dev-python/pygobject-3.0.0:3 )
|
||||
seed? ( >=dev-libs/seed-2.91.91 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
doc? ( >=dev-util/gtk-doc-1.11 )
|
||||
vala? ( >=dev-lang/vala-0.11.1:0.12 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable gjs)
|
||||
$(use_enable glade glade-catalog)
|
||||
$(use_enable gtk)
|
||||
$(use_enable python)
|
||||
$(use_enable seed)
|
||||
$(use_enable vala)
|
||||
VALAC=$(type -P valac-0.12)
|
||||
--disable-deprecation
|
||||
--disable-static"
|
||||
# Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
|
||||
# What do we do about gdb, valgrind, gcov, etc?
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use python && python_clean_py-compile_files
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
|
||||
# DO NOT REPORT UPSTREAM, this is not a libpeas bug.
|
||||
# To reproduce:
|
||||
# >>> from gi.repository import Gtk
|
||||
# >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
|
||||
# This should return True, it returns False for Xvfb
|
||||
Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
use python && python_mod_optimize /usr/$(get_libdir)/peas-demo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
use python && python_mod_cleanup /usr/$(get_libdir)/peas-demo
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
diff -Nuar yaz-4.2.30.orig/configure.ac yaz-4.2.30/configure.ac
|
||||
--- yaz-4.2.30.orig/configure.ac 2012-03-23 10:20:20.000000000 +0000
|
||||
+++ yaz-4.2.30/configure.ac 2012-04-22 20:56:41.118691087 +0000
|
||||
@@ -372,14 +372,13 @@
|
||||
|
||||
dnl
|
||||
dnl
|
||||
-AC_CHECK_ICU([3.4],[
|
||||
- if test "$xml_enabled" = "true"; then
|
||||
- ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"
|
||||
- else
|
||||
- ICU_CPPFLAGS=""
|
||||
- AC_MSG_WARN([ICU support disabled because XML support is unavailable])
|
||||
- fi
|
||||
-])
|
||||
+AC_ARG_ENABLE(icu, [ --enable-icu enable ICU support],[enable_icu=$enableval],[enable_icu=no])
|
||||
+if test "$enable_icu" = "yes"; then
|
||||
+ AC_CHECK_ICU([3.4],[
|
||||
+ ICU_CPPFLAGS="$ICU_CPPFLAGS -D YAZ_HAVE_ICU=1"],[
|
||||
+ AC_MSG_ERROR([For ICU support please install libicu34-dev or similar])
|
||||
+ ])
|
||||
+fi
|
||||
dnl ------ versioning
|
||||
dnl
|
||||
WIN_FILEVERSION=`echo $PACKAGE_VERSION | $AWK 'BEGIN { FS = "."; } { m = $4; printf("%d,%d,%d,%d", $1, $2, $3 == "" ? "0" : $3, $4 == "" ? "1" : $4);}'`
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yaz/yaz-3.0.53.ebuild,v 1.1 2012/04/22 21:07:10 robbat2 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers"
|
||||
HOMEPAGE="http://www.indexdata.dk/yaz"
|
||||
SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="debug icu tcpd ziffy"
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/openssl
|
||||
icu? ( dev-libs/icu )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
ziffy? ( net-libs/libpcap )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
dev-lang/tcl
|
||||
>=sys-devel/libtool-2"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.0.47-icu-automagic.patch
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(use_enable debug memdebug) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable tcpd tcpd /usr)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local docdir="/usr/share/doc/${PF}"
|
||||
emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed"
|
||||
|
||||
dodir ${docdir}/html
|
||||
mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs"
|
||||
mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs"
|
||||
rm -rf "${D}"/usr/share/doc/${PN}
|
||||
|
||||
dodoc ChangeLog NEWS README
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/yaz/yaz-4.2.30.ebuild,v 1.1 2012/04/22 21:07:10 robbat2 Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="C/C++ programmer's toolkit supporting the development of Z39.50v3 clients and servers"
|
||||
HOMEPAGE="http://www.indexdata.dk/yaz"
|
||||
SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="debug icu tcpd ziffy"
|
||||
|
||||
RDEPEND="dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/openssl
|
||||
icu? ( dev-libs/icu )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
ziffy? ( net-libs/libpcap )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
dev-lang/tcl
|
||||
>=sys-devel/libtool-2"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.2.30-icu-automagic.patch
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(use_enable debug memdebug) \
|
||||
$(use_enable icu) \
|
||||
$(use_enable tcpd tcpd /usr)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local docdir="/usr/share/doc/${PF}"
|
||||
emake DESTDIR="${D}" docdir="${docdir}" install || die "install failed"
|
||||
|
||||
dodir ${docdir}/html
|
||||
mv -f "${D}"/${docdir}/*.{html,png} "${D}"/${docdir}/html/ || die "Failed to move HTML docs"
|
||||
mv -f "${D}"/usr/share/doc/${PN}/common "${D}"/${docdir}/html/ || die "Failed to move HTML docs"
|
||||
rm -rf "${D}"/usr/share/doc/${PN}
|
||||
|
||||
dodoc ChangeLog NEWS README
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST 132366-wicd-kde-0.2.2.tar.gz 284004 RMD160 70fc77b19fcb83860f943e58314c04d861d95a2c SHA1 c5b6122d8a706123c191d4745018d6b4b525cf32 SHA256 576a56f315cfee1295418f5f5eff814f7bdb0ed72b74d2d1f656bca6563bb24a
|
||||
DIST 132366-wicd-kde-0.2.3.tar.gz 290437 RMD160 cf25efef78dbc93a51e169f50c0d027c45fbb585 SHA1 576d22ab58eab94ecaba0e5b12b1b1666d27167e SHA256 a07549057a73b4396768feee04774ffff8c5fd904af531c63f3fb3a304518723
|
||||
DIST 132366-wicd-kde-0.3.0.tar.gz 104533 RMD160 8e89483bebc1e16e8493e787c76a7313ae32d5e9 SHA1 be173b8e2ff18a25f12a484dc8a593562e103266 SHA256 248f7ad3484eb927b2d1e72db69abe0a18751ba2752ac1d79c5a5dc013e6a039
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/wicd-client-kde/wicd-client-kde-0.2.2.ebuild,v 1.4 2011/06/19 14:01:05 maekke Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="cs da de en_GB es et fr hu it nb nl pa pt pt_BR ru sv uk zh_CN
|
||||
zh_TW"
|
||||
EGIT_REPONAME="wicd-kde"
|
||||
MY_P=${P/-client/}
|
||||
KDE_SCM="git"
|
||||
KDE_MINIMAL="4.6"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Wicd client built on the KDE Development Platform"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/Wicd+Client+KDE?content=132366"
|
||||
[[ ${PV} == *9999 ]] ||
|
||||
SRC_URI="http://kde-apps.org/CONTENT/content-files/132366-${MY_P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/wicd"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN/-client/}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/wicd-client-kde/wicd-client-kde-0.2.3.ebuild,v 1.1 2011/10/29 20:56:08 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# Incompatible linguas handling
|
||||
#KDE_LINGUAS="cs da de en_GB es et fr hu it nb nl pa pt pt_BR ru sv uk zh_CN
|
||||
#zh_TW"
|
||||
EGIT_REPONAME="wicd-kde"
|
||||
MY_P=${P/-client/}
|
||||
KDE_SCM="git"
|
||||
KDE_MINIMAL="4.6"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Wicd client built on the KDE Development Platform"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/Wicd+Client+KDE?content=132366"
|
||||
[[ ${PV} == *9999 ]] ||
|
||||
SRC_URI="http://kde-apps.org/CONTENT/content-files/132366-${MY_P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/wicd"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN/-client/}
|
@ -1,6 +1,4 @@
|
||||
DIST jpeg-6b-patches-2.tar.bz2 3703 RMD160 71f15f911baa0c60d5b2d78069c25f8a23f367b1 SHA1 dfb1a237f0984d3d3f03cdf3503b1ce72d50a81b SHA256 62d8496764330c57cc29137ee46c3cd76ce6463680f9e2e63af8bc4483439b2d
|
||||
DIST jpegsrc.v6b.tar.gz 613261 RMD160 18892206014fbb8cae2a44e281f4ed53feaf7882 SHA1 7079f0d6c42fad0cfba382cf6ad322add1ace8f9 SHA256 75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
|
||||
DIST jpegsrc.v8c.tar.gz 986681 RMD160 b8455bec3e0d370069c64cc0bd41d25a859dc796 SHA1 f0a3b88ac4db19667798bee971537eeed552bce9 SHA256 edfc0b3e004b2fe58ffeeec89f96e3a3c28972c46725ec127d01edf8a1cc7c9a
|
||||
DIST jpegsrc.v8d.tar.gz 991456 RMD160 b268252793b8050a25baf12d2bb07a507cbefb5d SHA1 f080b2fffc7581f7d19b968092ba9ebc234556ff SHA256 00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3
|
||||
DIST libjpeg7_7-1.diff.gz 11554 RMD160 193bcb5fdc7360707cbb450c16888499085dd2c6 SHA1 b346d8f7803d08feccade84a0012a48ee2b5f62e SHA256 e465ab295502c6db995780d3b2e38570794d0d31034f0065352bcbda63c3a094
|
||||
DIST libjpeg8_8d-1.debian.tar.gz 13676 RMD160 9a60fe29a866b76935f8e26c7bf90324e1dc0ce6 SHA1 00b45ec61555c86da250f3a73823c7d46cfd81aa SHA256 70ec6689b0ad85739802cf3ebbdcc12ea01e21edd8f931c614b25b44cf199057
|
||||
|
@ -1,37 +0,0 @@
|
||||
CC = @CC@
|
||||
EXEEXT = @EXEEXT@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
datarootdir = @datarootdir@
|
||||
mandir = @mandir@
|
||||
man1dir = $(mandir)/man1
|
||||
|
||||
MKDIR_P = @MKDIR_P@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
|
||||
SCRIPTS = exifautotran
|
||||
PROGRAMS = jpegexiforient$(EXEEXT)
|
||||
|
||||
all: $(SCRIPTS) $(PROGRAMS)
|
||||
|
||||
jpegexiforient$(EXEEXT): jpegexiforient.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $<
|
||||
|
||||
clean:
|
||||
rm -f $(PROGRAMS) *.o
|
||||
|
||||
install: all
|
||||
$(MKDIR_P) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
|
||||
$(INSTALL_PROGRAM) $(PROGRAMS) $(DESTDIR)$(bindir)
|
||||
$(INSTALL_SCRIPT) $(SCRIPTS) $(DESTDIR)$(bindir)
|
||||
$(INSTALL_DATA) *.1 $(DESTDIR)$(man1dir)
|
||||
|
||||
.PHONY: all clean install
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-8c-r1.ebuild,v 1.7 2012/02/12 15:48:05 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DEB_PV=7-1
|
||||
DEB_PN=libjpeg7
|
||||
DEB="${DEB_PN}_${DEB_PV}"
|
||||
|
||||
inherit eutils libtool multilib
|
||||
|
||||
DESCRIPTION="Library to load, handle and manipulate images in the JPEG format"
|
||||
HOMEPAGE="http://jpegclub.org/ http://www.ijg.org/"
|
||||
SRC_URI="http://www.ijg.org/files/${PN}src.v${PV}.tar.gz
|
||||
mirror://gentoo/${DEB}.diff.gz"
|
||||
# mirror://debian/pool/main/libj/${DEB_PN}/${DEB}.diff.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DOCS="change.log example.c README *.txt"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/${DEB}.diff
|
||||
epatch "${FILESDIR}"/${PN}-7-maxmem_sysconf.patch
|
||||
cp "${FILESDIR}"/Makefile.in.extra debian/extra/Makefile.in
|
||||
elibtoolize
|
||||
# hook the Debian extra dir into the normal jpeg build env
|
||||
sed -i '/all:/s:$:\n\t./config.status --file debian/extra/Makefile\n\t$(MAKE) -C debian/extra $@:' Makefile.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# unbreak compilation against this library on Solaris, same issue as on
|
||||
# DragonFly BSD:
|
||||
# http://mail-index.netbsd.org/pkgsrc-bugs/2010/01/18/msg035644.html
|
||||
local ldverscript=
|
||||
[[ ${CHOST} == *-solaris* ]] && ldverscript="--disable-ld-version-script"
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-maxmem=64 \
|
||||
${ldverscript}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are switching from media-libs/libjpeg-turbo you might need to"
|
||||
ewarn "rebuild reverse dependencies:"
|
||||
ewarn
|
||||
ewarn "# emerge gentoolkit"
|
||||
ewarn "# revdep-rebuild --library libjpeg.so.8"
|
||||
ewarn
|
||||
ewarn "NOTE: The --library argument is important here."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue