public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/blogtk: blogtk-1.0.ebuild blogtk-1.1.ebuild ChangeLog
@ 2008-07-26 22:48 Gilles Dartiguelongue (eva)
  0 siblings, 0 replies; only message in thread
From: Gilles Dartiguelongue (eva) @ 2008-07-26 22:48 UTC (permalink / raw
  To: gentoo-commits

eva         08/07/26 22:48:59

  Modified:             blogtk-1.0.ebuild blogtk-1.1.ebuild ChangeLog
  Log:
  fix QA warnings. Fix various ebuild issues in 1.1. Add gettext and pkg-config in DEPEND per bug #233070.
  (Portage version: 2.2_rc3/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)

Revision  Changes    Path
1.6                  net-misc/blogtk/blogtk-1.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/blogtk-1.0.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/blogtk-1.0.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/blogtk-1.0.ebuild?r1=1.5&r2=1.6

Index: blogtk-1.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.0.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- blogtk-1.0.ebuild	2 Jul 2007 14:59:23 -0000	1.5
+++ blogtk-1.0.ebuild	26 Jul 2008 22:48:58 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.0.ebuild,v 1.5 2007/07/02 14:59:23 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.0.ebuild,v 1.6 2008/07/26 22:48:58 eva Exp $
 
 inherit eutils
 
@@ -18,12 +18,17 @@
 RDEPEND=">=dev-python/pygtk-2.0.0
 	>=gnome-base/gconf-2.2.0
 	>=dev-python/gnome-python-2"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	sys-devel/gettext"
 
 DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"
 
 src_unpack() {
 	unpack ${A}
-	cd ${S}; epatch ${FILESDIR}/${P}-destdir.patch
+	cd "${S}"
+
+	epatch "${FILESDIR}/${P}-destdir.patch"
 }
 
 src_compile() {
@@ -31,5 +36,5 @@
 }
 
 src_install() {
-	make DESTDIR=${D} install || die "Unable to compile blogtk"
+	make DESTDIR="${D}" install || die "Unable to compile blogtk"
 }



1.6                  net-misc/blogtk/blogtk-1.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild?r1=1.5&r2=1.6

Index: blogtk-1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- blogtk-1.1.ebuild	2 Jul 2007 14:59:23 -0000	1.5
+++ blogtk-1.1.ebuild	26 Jul 2008 22:48:58 -0000	1.6
@@ -1,8 +1,8 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild,v 1.5 2007/07/02 14:59:23 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-1.1.ebuild,v 1.6 2008/07/26 22:48:58 eva Exp $
 
-inherit eutils
+inherit eutils fdo-mime python
 
 DESCRIPTION="GTK Blog - post entries to your blog"
 HOMEPAGE="http://blogtk.sourceforge.net"
@@ -12,7 +12,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 
 RDEPEND=">=dev-python/pygtk-2.0.0
@@ -20,12 +20,20 @@
 	>=dev-python/gnome-python-2
 	dev-python/gnome-python-extras
 	amd64? ( >=dev-python/gnome-python-2.6.1 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	sys-devel/gettext"
 
 DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO"
 
 src_unpack() {
 	unpack ${A}
-	cd ${S}; epatch ${FILESDIR}/${PN}-1.1-destdir.patch
+	cd "${S}"
+
+	epatch "${FILESDIR}/${P}-destdir.patch"
+
+	# Respect multilib
+	sed -i "s:lib/blogtk:$(get_libdir)/blogtk:g" Makefile || die "sed failed"
 }
 
 src_compile() {
@@ -33,5 +41,15 @@
 }
 
 src_install() {
-	make DESTDIR=${D} install || die "Unable to compile blogtk"
+	emake DESTDIR="${D}" install || die "Unable to compile blogtk"
+}
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+	python_mod_optimize /usr/$(get_libdir)/blogtk
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+	python_mod_cleanup /usr/$(get_libdir)/blogtk
 }



1.15                 net-misc/blogtk/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/blogtk/ChangeLog?r1=1.14&r2=1.15

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog	2 Jul 2007 14:59:23 -0000	1.14
+++ ChangeLog	26 Jul 2008 22:48:58 -0000	1.15
@@ -1,6 +1,10 @@
 # ChangeLog for net-misc/blogtk
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v 1.14 2007/07/02 14:59:23 peper Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v 1.15 2008/07/26 22:48:58 eva Exp $
+
+  26 Jul 2008; Gilles Dartiguelongue <eva@gentoo.org> ChangeLog:
+  fix QA warnings. Fix various ebuild issues in 1.1. Add gettext and
+  pkg-config in DEPEND per bug #233070.
 
   02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> blogtk-1.0.ebuild,
   blogtk-1.1.ebuild:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-26 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-26 22:48 [gentoo-commits] gentoo-x86 commit in net-misc/blogtk: blogtk-1.0.ebuild blogtk-1.1.ebuild ChangeLog Gilles Dartiguelongue (eva)

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