From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NLSzv-0005cW-CB for garchives@archives.gentoo.org; Fri, 18 Dec 2009 02:55:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DA92E0BAD; Fri, 18 Dec 2009 02:55:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F1982E0BAD for ; Fri, 18 Dec 2009 02:55:13 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 908ED1B405B for ; Fri, 18 Dec 2009 02:55:13 +0000 (UTC) Received: from zmedico by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NLSzp-0005Nm-4c for gentoo-commits@lists.gentoo.org; Fri, 18 Dec 2009 02:55:13 +0000 From: "Zac Medico (zmedico)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, zmedico@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-text/calibre: calibre-0.6.28.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: calibre-0.6.28.ebuild ChangeLog X-VCS-Directories: app-text/calibre X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico Content-Type: text/plain; charset=utf8 Message-Id: Sender: Zac Medico Date: Fri, 18 Dec 2009 02:55:13 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 62015c83-958a-4df2-a8dd-86c3ad1e27c6 X-Archives-Hash: a862ecb0dd875198ca0ba71c11234d88 zmedico 09/12/18 02:55:13 Modified: ChangeLog Added: calibre-0.6.28.ebuild Log: 0.6.28 version bump. (Portage version: 2.2_rc60/cvs/Linux i686) Revision Changes Path 1.66 app-text/calibre/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/C= hangeLog?rev=3D1.66&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/C= hangeLog?rev=3D1.66&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/C= hangeLog?r1=3D1.65&r2=3D1.66 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- ChangeLog 8 Dec 2009 08:05:16 -0000 1.65 +++ ChangeLog 18 Dec 2009 02:55:12 -0000 1.66 @@ -1,6 +1,11 @@ # ChangeLog for app-text/calibre # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.65 200= 9/12/08 08:05:16 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.66 200= 9/12/18 02:55:12 zmedico Exp $ + +*calibre-0.6.28 (18 Dec 2009) + + 18 Dec 2009; Zac Medico +calibre-0.6.28.ebuild: + 0.6.28 version bump. =20 08 Dec 2009; Zac Medico -calibre-0.6.20.ebuild, -calibre-0.6.21.ebuild, -calibre-0.6.23.ebuild, -calibre-0.6.25.ebuild= : 1.1 app-text/calibre/calibre-0.6.28.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/c= alibre-0.6.28.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/c= alibre-0.6.28.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: calibre-0.6.28.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.6.28.ebuild= ,v 1.1 2009/12/18 02:55:12 zmedico Exp $ EAPI=3D2 NEED_PYTHON=3D2.6 inherit python distutils eutils fdo-mime bash-completion DESCRIPTION=3D"Ebook management application." HOMEPAGE=3D"http://calibre-ebook.com/" SRC_URI=3D"http://calibre-ebook.googlecode.com/files/$P.tar.gz" LICENSE=3D"GPL-2" KEYWORDS=3D"~amd64 ~x86" SLOT=3D"0" IUSE=3D"" # libusb-compat is untested SHARED_DEPEND=3D">=3Ddev-lang/python-2.6[sqlite] >=3Ddev-python/setuptools-0.6_rc5 >=3Ddev-python/imaging-1.1.6 >=3Ddev-libs/libusb-0.1.12:0 >=3Ddev-python/PyQt4-4.5[X,svg,webkit] >=3Ddev-python/mechanize-0.1.11 >=3Dmedia-gfx/imagemagick-6.3.5 >=3Dx11-misc/xdg-utils-1.0.2 >=3Ddev-python/dbus-python-0.82.2 >=3Ddev-python/lxml-2.1.5 >=3Ddev-python/python-dateutil-1.4.1 >=3Ddev-python/beautifulsoup-3.0.5 >=3Ddev-python/dnspython-1.6.0 >=3Dvirtual/poppler-0.12.0 >=3Dsys-apps/help2man-1.36.4 app-text/podofo" RDEPEND=3D"$SHARED_DEPEND >=3Ddev-python/reportlab-2.1" DEPEND=3D"$SHARED_DEPEND dev-python/setuptools >=3Dgnome-base/librsvg-2.0.0 >=3Dx11-misc/xdg-utils-1.0.2-r2 sys-apps/help2man" S=3D$WORKDIR/$PN src_prepare() { # Avoid sandbox violation in /usr/share/gnome/apps when linux.py # calls xdg-* (bug #258938). sed -e "s:'xdg-desktop-menu', 'install':'xdg-desktop-menu', 'install', '= --mode', 'user':" \ -e "s:xdg-icon-resource install:xdg-icon-resource install --mode user:"= \ -e "s:xdg-mime install:xdg-mime install --mode user:" \ -e "s:old_udev =3D '/etc:old_udev =3D '${D}etc:" \ -i src/calibre/linux.py || die "sed'ing in the IMAGE path failed" # Disable unnecessary privilege dropping for bug #287067. sed -e "s:if os.geteuid() =3D=3D 0:if False and os.geteuid() =3D=3D 0:" = \ -i setup/install.py || die "sed'ing in the IMAGE path failed" distutils_src_prepare } src_install() { # Bypass kbuildsycoca and update-mime-database in order to # avoid sandbox violations if xdg-mime tries to call them. cat - > "${T}/kbuildsycoca" <<-EOF #!$BASH exit 0 EOF cp "${T}"/{kbuildsycoca,update-mime-database} chmod +x "${T}"/{kbuildsycoca,update-mime-database} # --bindir and --sharedir don't seem to work. # Pass them in anyway so we'll know when they are fixed. # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox # violation with kbuildsycoca as in bug #287067, comment #13. export -n DISPLAY # Bug #295672 - Aavoid sandbox violation in ~/.config by forcing # variables to point to our fake temporary $HOME. export XDG_CONFIG_HOME=3D"$HOME/.config" export CALIBRE_CONFIG_DIRECTORY=3D"$XDG_CONFIG_HOME/calibre" mkdir -p "$XDG_CONFIG_HOME" "$CALIBRE_CONFIG_DIRECTORY" PATH=3D${T}:${PATH} PYTHONPATH=3D${S}/src${PYTHONPATH:+:}${PYTHONPATH} \ distutils_src_install --bindir=3D"${D}usr/bin" --sharedir=3D"${D}usr/sh= are" grep -rlZ "${D}" "${D}" | xargs -0 sed -e "s:${D}:/:g" -i || die "failed to fix harcoded \$D in paths" # Python modules are no longer installed in # site-packages, so remove empty dirs. find "${D}$(python_get_libdir)" -type d -empty -delete # This code may fail if behavior of --root, --bindir or # --sharedir changes in the future. dodir /usr/lib mv "${D}lib/calibre" "${D}usr/lib/" || die "failed to move lib dir" find "${D}"lib -type d -empty -delete dodir /usr/bin mv "${D}bin/"* "${D}usr/bin/" || die "failed to move bin dir" find "${D}"bin -type d -empty -delete dodir /usr/share mv "${D}share/"* "${D}usr/share/" || die "failed to move share dir" find "${D}"share -type d -empty -delete # The menu entries end up here due to '--mode user' being added to # xdg-* options in src_prepare. dodir /usr/share/mime/packages chmod -fR a+rX,u+w,g-w,o-w "$HOME"/.local mv "$HOME"/.local/share/mime/packages/* "$D"usr/share/mime/packages/ || die "failed to register mime types" dodir /usr/share/icons mv "$HOME"/.local/share/icons/* "$D"usr/share/icons/ || die "failed to install icon files" domenu "$HOME"/.local/share/applications/*.desktop || die "failed to install .desktop menu files" dobashcompletion "$D"etc/bash_completion.d/calibre rm -r "${D}"etc/bash_completion.d find "${D}"etc -type d -empty -delete } pkg_postinst() { fdo-mime_desktop_database_update fdo-mime_mime_database_update distutils_pkg_postinst bash-completion_pkg_postinst }