public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-text/calibre: calibre-0.5.9.ebuild ChangeLog
@ 2009-04-27  7:08 Zac Medico (zmedico)
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico (zmedico) @ 2009-04-27  7:08 UTC (permalink / raw
  To: gentoo-commits

zmedico     09/04/27 07:08:11

  Modified:             ChangeLog
  Added:                calibre-0.5.9.ebuild
  Log:
  27 Apr 2009; Zac Medico <zmedico@gentoo.org> +calibre-0.5.9.ebuild:
  Add latest version. Thanks to Tim Dodge <timmy@invisibles.org> in
  bug #258938 for the updated ebuild.
  (Portage version: 2.2_rc31_p13401/cvs/Linux i686)

Revision  Changes    Path
1.9                  app-text/calibre/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	14 Apr 2009 09:48:41 -0000	1.8
+++ ChangeLog	27 Apr 2009 07:08:11 -0000	1.9
@@ -1,6 +1,12 @@
 # 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.8 2009/04/14 09:48:41 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.9 2009/04/27 07:08:11 zmedico Exp $
+
+*calibre-0.5.9 (27 Apr 2009)
+
+  27 Apr 2009; Zac Medico <zmedico@gentoo.org> +calibre-0.5.9.ebuild:
+  Add latest version. Thanks to Tim Dodge <timmy@invisibles.org> in
+  bug #258938 for the updated ebuild.
 
   14 Apr 2009; Raúl Porcel <armin76@gentoo.org> calibre-0.4.76.ebuild,
   calibre-0.4.77.ebuild:



1.1                  app-text/calibre/calibre-0.5.9.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.1&content-type=text/plain

Index: calibre-0.5.9.ebuild
===================================================================
# 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.5.9.ebuild,v 1.1 2009/04/27 07:08:11 zmedico Exp $

NEED_PYTHON=2.6

inherit python distutils eutils fdo-mime bash-completion

MY_P="${P/_p/-p}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="Ebook management application."
HOMEPAGE="http://calibre.kovidgoyal.net"
SRC_URI="http://calibre.kovidgoyal.net/downloads/${MY_P}.tar.gz"

LICENSE="GPL-2"

KEYWORDS="~amd64 ~x86"

SLOT="0"

IUSE=""

RDEPEND=">=dev-lang/python-2.6
	>=dev-python/setuptools-0.6_rc5
	>=dev-python/imaging-1.1.6
	>=dev-libs/libusb-0.1.12
	>=dev-python/PyQt4-4.4.2
	>=dev-python/mechanize-0.1.11
	>=media-gfx/imagemagick-6.3.5
	>=x11-misc/xdg-utils-1.0.2
	>=dev-python/dbus-python-0.82.2
	>=dev-python/lxml-2.1.5
	>=dev-python/python-dateutil-1.4.1
	>=dev-python/beautifulsoup-3.0.5
	>=dev-python/dnspython-1.6.0
	>=sys-apps/help2man-1.36.4"

DEPEND="${RDEPEND}
	dev-python/setuptools
	>=gnome-base/librsvg-2.0.0
	>=x11-misc/xdg-utils-1.0.2-r2
	sys-apps/help2man"

src_compile() {
	# Removing the post_install call. We'll do that stuff in src_install.
	sed -i -e "/if 'install'/,/subprocess.check_call/d" \
		setup.py || die "couldn't remove post_install call"
	# For help2man to succeed, we need to tell it the path to the tools.
	sed -i -e "s:\('help2man',\) \(prog\):\1 \'PYTHONPATH=\"${D}$(python_get_sitedir)\" \' + \'${D}usr/bin/\' + \2:" \
		src/calibre/linux.py || die "sed'ing in the IMAGE path failed"
	distutils_src_compile
}

src_install() {
	pushd "${S}"/build
	ln -s lib\.* lib
	popd
	distutils_src_install

	# Create directory before running the postinst script
	# otherwise it will bail out.
	dodir /usr/share/icons/hicolor
	dodir /etc/xdg/menus
	dodir /usr/share/applications
	dodir /usr/share/desktop-directories
	dodir /usr/share/applnk
	dodir /usr/share/mime/packages

	# Bypass the default kde-config output, and force it to
	# tell xdg-mime to use a different path.
	cat - > "${T}/kde-config" <<EOF
#!/bin/bash

case \$1:\$2 in
	--version:) echo -e "Qt: 3.3.8\nKDE: 3.5.8\nkde-config: 1.0" ;;
	--path:mime) echo "${D}/usr/share/mimelnk/" ;;
esac
EOF

	chmod +x "${T}/kde-config"

	PATH="${T}:${PATH}" KDEDIRS="${D}/usr" XDG_DATA_DIRS="${D}/usr/share" DESTDIR="${D}" PYTHONPATH="${S}/build/lib" \
		python "${S}"/src/${PN}/linux.py \
		--use-destdir --do-not-reload-udev-hal \
		--group-file="${ROOT}"/etc/group --dont-check-root \
		|| die "post-installation failed."

	# Move the bash-completion file and properly install it.
	mv "${D}"/etc/bash_completion.d/calibre "${S}/" \
		|| die "cannot move the bash-completion file"
	dobashcompletion "${S}"/calibre
	find "${D}"/etc -type d -empty -delete

	# Removing junk.
	rm -r "${D}"/usr/share/applications/{mimeinfo.cache,defaults.list} \
		"${D}"/usr/share/mime/{subclasses,XMLnamespaces,globs{,2},mime.cache,magic,aliases,{generic-,}icons} \
		"${D}"/usr/share/{applnk,desktop-directories}
}

pkg_postinst() {
	fdo-mime_desktop_database_update
	fdo-mime_mime_database_update
	distutils_pkg_postinst
}






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-text/calibre: calibre-0.5.9.ebuild ChangeLog
@ 2009-04-28  6:54 Zac Medico (zmedico)
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico (zmedico) @ 2009-04-28  6:54 UTC (permalink / raw
  To: gentoo-commits

zmedico     09/04/28 06:54:27

  Modified:             calibre-0.5.9.ebuild ChangeLog
  Log:
  28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
  Require PyQt4[webkit] for traceback shown in bug #258938, comment #21.
  (Portage version: 2.2_rc31_p13401/cvs/Linux i686)

Revision  Changes    Path
1.2                  app-text/calibre/calibre-0.5.9.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?r1=1.1&r2=1.2

Index: calibre-0.5.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- calibre-0.5.9.ebuild	27 Apr 2009 07:08:11 -0000	1.1
+++ calibre-0.5.9.ebuild	28 Apr 2009 06:54:27 -0000	1.2
@@ -1,7 +1,8 @@
 # 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.5.9.ebuild,v 1.1 2009/04/27 07:08:11 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild,v 1.2 2009/04/28 06:54:27 zmedico Exp $
 
+EAPI=2
 NEED_PYTHON=2.6
 
 inherit python distutils eutils fdo-mime bash-completion
@@ -25,7 +26,7 @@
 	>=dev-python/setuptools-0.6_rc5
 	>=dev-python/imaging-1.1.6
 	>=dev-libs/libusb-0.1.12
-	>=dev-python/PyQt4-4.4.2
+	>=dev-python/PyQt4-4.4.2[webkit]
 	>=dev-python/mechanize-0.1.11
 	>=media-gfx/imagemagick-6.3.5
 	>=x11-misc/xdg-utils-1.0.2



1.10                 app-text/calibre/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	27 Apr 2009 07:08:11 -0000	1.9
+++ ChangeLog	28 Apr 2009 06:54:27 -0000	1.10
@@ -1,6 +1,9 @@
 # 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.9 2009/04/27 07:08:11 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.10 2009/04/28 06:54:27 zmedico Exp $
+
+  28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
+  Require PyQt4[webkit] for traceback shown in bug #258938, comment #21.
 
 *calibre-0.5.9 (27 Apr 2009)
 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-text/calibre: calibre-0.5.9.ebuild ChangeLog
@ 2009-04-28 10:07 Zac Medico (zmedico)
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico (zmedico) @ 2009-04-28 10:07 UTC (permalink / raw
  To: gentoo-commits

zmedico     09/04/28 10:07:43

  Modified:             calibre-0.5.9.ebuild ChangeLog
  Log:
  28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
  Add missing reportlab dependency (bug #258938, comment #23) and fix
  sandbox violation in /usr/share/gnome/apps (comment #21).
  (Portage version: 2.2_rc31_p13404/cvs/Linux i686)

Revision  Changes    Path
1.3                  app-text/calibre/calibre-0.5.9.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?r1=1.2&r2=1.3

Index: calibre-0.5.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- calibre-0.5.9.ebuild	28 Apr 2009 06:54:27 -0000	1.2
+++ calibre-0.5.9.ebuild	28 Apr 2009 10:07:43 -0000	1.3
@@ -1,6 +1,6 @@
 # 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.5.9.ebuild,v 1.2 2009/04/28 06:54:27 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild,v 1.3 2009/04/28 10:07:43 zmedico Exp $
 
 EAPI=2
 NEED_PYTHON=2.6
@@ -22,7 +22,7 @@
 
 IUSE=""
 
-RDEPEND=">=dev-lang/python-2.6
+SHARED_DEPEND=">=dev-lang/python-2.6
 	>=dev-python/setuptools-0.6_rc5
 	>=dev-python/imaging-1.1.6
 	>=dev-libs/libusb-0.1.12
@@ -37,7 +37,10 @@
 	>=dev-python/dnspython-1.6.0
 	>=sys-apps/help2man-1.36.4"
 
-DEPEND="${RDEPEND}
+RDEPEND="$SHARED_DEPEND
+	>=dev-python/reportlab-2.1"
+
+DEPEND="$SHARED_DEPEND
 	dev-python/setuptools
 	>=gnome-base/librsvg-2.0.0
 	>=x11-misc/xdg-utils-1.0.2-r2
@@ -81,6 +84,8 @@
 
 	chmod +x "${T}/kde-config"
 
+	# Sandbox violation when linux.py calls xdg-desktop-menu (bug #258938).
+	addpredict /usr/share/gnome/apps
 	PATH="${T}:${PATH}" KDEDIRS="${D}/usr" XDG_DATA_DIRS="${D}/usr/share" DESTDIR="${D}" PYTHONPATH="${S}/build/lib" \
 		python "${S}"/src/${PN}/linux.py \
 		--use-destdir --do-not-reload-udev-hal \



1.11                 app-text/calibre/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	28 Apr 2009 06:54:27 -0000	1.10
+++ ChangeLog	28 Apr 2009 10:07:43 -0000	1.11
@@ -1,6 +1,10 @@
 # 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.10 2009/04/28 06:54:27 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.11 2009/04/28 10:07:43 zmedico Exp $
+
+  28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
+  Add missing reportlab dependency (bug #258938, comment #23) and fix
+  sandbox violation in /usr/share/gnome/apps (comment #21).
 
   28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
   Require PyQt4[webkit] for traceback shown in bug #258938, comment #21.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-text/calibre: calibre-0.5.9.ebuild ChangeLog
@ 2009-04-28 17:18 Zac Medico (zmedico)
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico (zmedico) @ 2009-04-28 17:18 UTC (permalink / raw
  To: gentoo-commits

zmedico     09/04/28 17:18:49

  Modified:             calibre-0.5.9.ebuild ChangeLog
  Log:
  28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
  Remove bundled pyPdf and pull it in as a dep (bug #258938, comment #25).
  (Portage version: 2.2_rc31_p13404/cvs/Linux i686)

Revision  Changes    Path
1.4                  app-text/calibre/calibre-0.5.9.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild?r1=1.3&r2=1.4

Index: calibre-0.5.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- calibre-0.5.9.ebuild	28 Apr 2009 10:07:43 -0000	1.3
+++ calibre-0.5.9.ebuild	28 Apr 2009 17:18:48 -0000	1.4
@@ -1,6 +1,6 @@
 # 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.5.9.ebuild,v 1.3 2009/04/28 10:07:43 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.5.9.ebuild,v 1.4 2009/04/28 17:18:48 zmedico Exp $
 
 EAPI=2
 NEED_PYTHON=2.6
@@ -35,7 +35,8 @@
 	>=dev-python/python-dateutil-1.4.1
 	>=dev-python/beautifulsoup-3.0.5
 	>=dev-python/dnspython-1.6.0
-	>=sys-apps/help2man-1.36.4"
+	>=sys-apps/help2man-1.36.4
+	>=dev-python/pyPdf-1.12"
 
 RDEPEND="$SHARED_DEPEND
 	>=dev-python/reportlab-2.1"
@@ -101,7 +102,8 @@
 	# Removing junk.
 	rm -r "${D}"/usr/share/applications/{mimeinfo.cache,defaults.list} \
 		"${D}"/usr/share/mime/{subclasses,XMLnamespaces,globs{,2},mime.cache,magic,aliases,{generic-,}icons} \
-		"${D}"/usr/share/{applnk,desktop-directories}
+		"${D}"/usr/share/{applnk,desktop-directories} \
+		"${D}$(python_get_sitedir)"/pyPdf
 }
 
 pkg_postinst() {



1.12                 app-text/calibre/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/calibre/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	28 Apr 2009 10:07:43 -0000	1.11
+++ ChangeLog	28 Apr 2009 17:18:48 -0000	1.12
@@ -1,6 +1,9 @@
 # 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.11 2009/04/28 10:07:43 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.12 2009/04/28 17:18:48 zmedico Exp $
+
+  28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
+  Remove bundled pyPdf and pull it in as a dep (bug #258938, comment #25).
 
   28 Apr 2009; Zac Medico <zmedico@gentoo.org> calibre-0.5.9.ebuild:
   Add missing reportlab dependency (bug #258938, comment #23) and fix






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-28 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28  6:54 [gentoo-commits] gentoo-x86 commit in app-text/calibre: calibre-0.5.9.ebuild ChangeLog Zac Medico (zmedico)
  -- strict thread matches above, loose matches on Subject: below --
2009-04-28 17:18 Zac Medico (zmedico)
2009-04-28 10:07 Zac Medico (zmedico)
2009-04-27  7:08 Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox