diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2010-09-18 19:27:50 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2010-09-18 19:27:50 +0000 |
commit | 0719e218981c3659b8a7557684d7f324e9ea3a5d (patch) | |
tree | 65af5c8199a8f8459b7715448da893894358b773 /net-misc/blogtk | |
parent | Marked ~sparc wrt bug #306311 (diff) | |
download | historical-0719e218981c3659b8a7557684d7f324e9ea3a5d.tar.gz historical-0719e218981c3659b8a7557684d7f324e9ea3a5d.tar.bz2 historical-0719e218981c3659b8a7557684d7f324e9ea3a5d.zip |
Version bump, bug #297741.
Package-Manager: portage-2.2_rc78/cvs/Linux x86_64
Diffstat (limited to 'net-misc/blogtk')
-rw-r--r-- | net-misc/blogtk/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/blogtk/Manifest | 13 | ||||
-rw-r--r-- | net-misc/blogtk/blogtk-2.0.ebuild | 66 | ||||
-rw-r--r-- | net-misc/blogtk/files/blogtk-2.0-destdir.patch | 23 |
4 files changed, 105 insertions, 7 deletions
diff --git a/net-misc/blogtk/ChangeLog b/net-misc/blogtk/ChangeLog index 3cf25136d623..d7f824f49dd2 100644 --- a/net-misc/blogtk/ChangeLog +++ b/net-misc/blogtk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/blogtk -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v 1.16 2009/01/29 21:51:23 eva Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/ChangeLog,v 1.17 2010/09/18 19:27:50 eva Exp $ + +*blogtk-2.0 (18 Sep 2010) + + 18 Sep 2010; Gilles Dartiguelongue <eva@gentoo.org> +blogtk-2.0.ebuild, + +files/blogtk-2.0-destdir.patch: + Version bump, bug #297741. 29 Jan 2009; Gilles Dartiguelongue <eva@gentoo.org> +files/blogtk-1.1-makefile.patch, blogtk-1.1.ebuild: diff --git a/net-misc/blogtk/Manifest b/net-misc/blogtk/Manifest index 1ab21b538e35..2721e7319a98 100644 --- a/net-misc/blogtk/Manifest +++ b/net-misc/blogtk/Manifest @@ -4,16 +4,19 @@ Hash: SHA1 AUX blogtk-1.0-destdir.patch 1029 RMD160 b27490b047b7c0a24b14098490cab90170ec8acf SHA1 689b3feb80e0aa357ea1da2790c1c998ec66db1a SHA256 d2ef0298f6cc0d5b0d33324486ee223cf40537492198fb9de5c8d5a3f568800e AUX blogtk-1.1-destdir.patch 1163 RMD160 c0a15007c0bb6d157e4d35aa92278e9ac60c3b32 SHA1 31da00d26de3840aabd0c12c61e88f84db76338f SHA256 2f605494fa69aec83df65df12a5379b45c701b5115ed6359cd3fc95d937eb6e1 AUX blogtk-1.1-makefile.patch 817 RMD160 d0eaa25c22f5cc6021c46d14a0b2ff41cc700cce SHA1 b244ff04b93ebeb99234357e5c8adeda6308d6c6 SHA256 45abacdaffe3d896d6f981940b5ff542fad7e65be66f68f2af230e5a66245f48 +AUX blogtk-2.0-destdir.patch 926 RMD160 60243b4d5eceefd192023bd8d6dd870f8311c915 SHA1 306d14a21af3b1d6ae3fbd8e943e6eda982c00c8 SHA256 1b907a95ecf9c2000721f19d9bee145690b6ae1e4a5edaf926b74d24415ecefe DIST BloGTK-1.1.tar.bz2 64325 RMD160 4ad92fc8f19106b89288d0a78431facb66316838 SHA1 f0736685f646b22a6302013ea384770bcab4cac7 SHA256 de12ee193f14e10f4d9a81804adb242316f42a27bc4c2bd11470b4b6c830eeab +DIST blogtk-2.0.tar.gz 530263 RMD160 5899ea4bd5f226c0b29be3f25d67a8cefe93b0f9 SHA1 34a12dcaf51176afa927667339580224c0db97cf SHA256 0557bd151a0c1837f91f1d9984d8afa308a462727a9701dfeeb4f17aa332828a DIST blogtk_1.0.tar.bz2 52265 RMD160 fad7606d353adbbce0cf75692d7af77b49d158ad SHA1 0b7a7f3b02ccf0d0a109bc40a1d3ae9c86ed59f8 SHA256 350aaa54bba84953a084ed75f53fdf5769c24f2e6ba4945ca440ceab36448c5a EBUILD blogtk-1.0.ebuild 877 RMD160 49b34db4e0e5fe4048828fa877680ec22ece2959 SHA1 2261f5121f0380e9a384bf4410d04eabec2bee27 SHA256 7e6f033bcd382bd08280a81d2958f1459eafe878141e249b8e4ae47d1dcf5cbe EBUILD blogtk-1.1.ebuild 1359 RMD160 8a034a8a4712f14bd1bcfe8e82eae2ea0d087f6c SHA1 e8e3804a984a60bf25843eda64807bb5e3772c8d SHA256 90f8e54d68f5304eb9674027660a877d5166ab1cff222b7a350e44f1c85542e8 -MISC ChangeLog 2540 RMD160 97cf6eca8673ad469680980e0ce0e37d337ad0af SHA1 e748773ae875de99edd2df1934d5f53d9484b15d SHA256 387690686c5c907c3554440c938564d5ca2c05d696bf405a430d55dc4d441777 +EBUILD blogtk-2.0.ebuild 1613 RMD160 0444a135d17a932d5f19cd03242c14517278041f SHA1 15b6d4a26b46b0510d27f20c5a1b03e0665702b3 SHA256 3d2abad4b05b65acd497a69c6d459e9cdda27c612a7fc2d9f3f53cb5d9cdc956 +MISC ChangeLog 2706 RMD160 d329b158fcfdb06aa96aa694c1775bf9aae3a893 SHA1 f2f1a4464fd229564fede2304d27d0f6213a5601 SHA256 c9d6ed14a1ac0a412efb7023f59cdada404a1bba820c1fcf687fe7eae1d6b9c2 MISC metadata.xml 220 RMD160 189ec4e34d1f0af3a68f1c5c8d62b6a43efa5d04 SHA1 2de8ad8c1f3b39c0d4da9cf7ff8d29cc326035f7 SHA256 77201144984d46bed7f03b0cfe632236c176d645cb04566c7954a6218b968f98 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAkmCMvAACgkQ1fmVwcYIWAa9eACdHFCFvahkPyX58vlWdkR/G3Fk -jXcAoOQsfRg6lRY1Rj5uB1XluPUWxrrt -=NhnR +iEYEARECAAYFAkyVErsACgkQ1fmVwcYIWAa05QCg3Q2Yj3CEWPqLDoQE2BKGpAiC +pCEAn1Ip0+0qHY4v5nFC7EZJ9brf+b8/ +=7rm9 -----END PGP SIGNATURE----- diff --git a/net-misc/blogtk/blogtk-2.0.ebuild b/net-misc/blogtk/blogtk-2.0.ebuild new file mode 100644 index 000000000000..98c91fef6c0d --- /dev/null +++ b/net-misc/blogtk/blogtk-2.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/blogtk/blogtk-2.0.ebuild,v 1.1 2010/09/18 19:27:50 eva Exp $ + +EAPI="2" +PYTHON_DEPEND="2:2.6" + +inherit eutils fdo-mime python + +DESCRIPTION="GTK Blog - post entries to your blog" +HOMEPAGE="http://blogtk.sourceforge.net" +SRC_URI="http://launchpad.net/${PN}/${PV}/${PV}/+download/${PF}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RESTRICT="mirror" + +RDEPEND=">=dev-python/pygtk-2 + >=dev-python/pygobject-2 + >=gnome-base/gconf-2.2 + >=gnome-base/libgnome-2 + dev-python/libgnome-python + dev-python/gtkspell-python + dev-python/pywebkitgtk + dev-python/pygtksourceview" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gettext" + +DOCS="AUTHORS ChangeLog COPYING README INSTALL NEWS TODO" + +src_prepare() { + # Respect DESTDIR + epatch "${FILESDIR}/${P}-destdir.patch" + + # Respect multilib + sed -i "s:lib/blogtk:$(get_libdir)/blogtk:g" Makefile || die "sed 1 failed" + sed -i "s:blogtk2', 'lib')):blogtk2', '$(get_libdir)')):g" bin/blogtk2 \ + || die "sed 2 failed" + mv share/blogtk2/lib share/blogtk2/$(get_libdir) || die + + # Remove unwanted files + find -name "*~" -delete || die + find -name "*.pyc" -delete || die +} + +src_compile() { + return +} + +src_install() { + emake DESTDIR="${D}" install || die "Unable to compile blogtk" +} + +pkg_postinst() { + fdo-mime_desktop_database_update + python_mod_optimize /usr/share/${PN}2/$(get_libdir)/${PN}2 +} + +pkg_postrm() { + fdo-mime_desktop_database_update + python_mod_cleanup /usr/share/${PN}2/$(get_libdir)/${PN}2 +} diff --git a/net-misc/blogtk/files/blogtk-2.0-destdir.patch b/net-misc/blogtk/files/blogtk-2.0-destdir.patch new file mode 100644 index 000000000000..c0f3362ba919 --- /dev/null +++ b/net-misc/blogtk/files/blogtk-2.0-destdir.patch @@ -0,0 +1,23 @@ +--- a/Makefile 2009-11-20 00:20:32.000000000 +0100 ++++ b/Makefile 2010-09-09 22:15:06.917610521 +0200 +@@ -9,13 +9,13 @@ + # autodetect GNOME prefix, change this if you want it elsewhere + PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr` + +-BINDIR = $(PREFIX)/bin +-LIBDIR = $(PREFIX)/share/blogtk2/lib/blogtk2/ +-DATADIR = $(PREFIX)/share/blogtk2/glade +-RESDIR = $(PREFIX)/share/blogtk2/res +-I18NDIR = $(PREFIX)/share/blogtk2/i18n +-APPLICATIONSDIR = $(PREFIX)/share/applications +-ICONDIR = $(PREFIX)/share/pixmaps ++BINDIR = $(DESTDIR)$(PREFIX)/bin ++LIBDIR = $(DESTDIR)$(PREFIX)/share/blogtk2/lib/blogtk2/ ++DATADIR = $(DESTDIR)$(PREFIX)/share/blogtk2/glade ++RESDIR = $(DESTDIR)$(PREFIX)/share/blogtk2/res ++I18NDIR = $(DESTDIR)$(PREFIX)/share/blogtk2/i18n ++APPLICATIONSDIR = $(DESTDIR)$(PREFIX)/share/applications ++ICONDIR = $(DESTDIR)$(PREFIX)/share/pixmaps + + PYFILES := $(shell $(FIND) . -name "*.py" -print) + |