diff options
author | Torsten Veller <tove@gentoo.org> | 2011-03-23 08:51:17 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2011-03-23 08:51:17 +0000 |
commit | 8a102918296eabe81a7cb249ba2b20810f21ca82 (patch) | |
tree | de4db5c1c58d96c19af3e0d88a7016cebd6b2fe9 /app-doc | |
parent | Remove old. (diff) | |
download | historical-8a102918296eabe81a7cb249ba2b20810f21ca82.tar.gz historical-8a102918296eabe81a7cb249ba2b20810f21ca82.tar.bz2 historical-8a102918296eabe81a7cb249ba2b20810f21ca82.zip |
Fix icon problem (#319573) to make podbrowser start again. Use slot dep for gtk+
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/podbrowser/ChangeLog | 11 | ||||
-rw-r--r-- | app-doc/podbrowser/Manifest | 14 | ||||
-rw-r--r-- | app-doc/podbrowser/files/missing_icon.patch | 32 | ||||
-rw-r--r-- | app-doc/podbrowser/podbrowser-0.12-r1.ebuild | 47 |
4 files changed, 91 insertions, 13 deletions
diff --git a/app-doc/podbrowser/ChangeLog b/app-doc/podbrowser/ChangeLog index b5633e8dacc2..1628bfa3fbe3 100644 --- a/app-doc/podbrowser/ChangeLog +++ b/app-doc/podbrowser/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-doc/podbrowser -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/podbrowser/ChangeLog,v 1.8 2009/08/26 16:17:18 tove Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/podbrowser/ChangeLog,v 1.9 2011/03/23 08:51:17 tove Exp $ + +*podbrowser-0.12-r1 (23 Mar 2011) + + 23 Mar 2011; Torsten Veller <tove@gentoo.org> podbrowser-0.12.ebuild, + +podbrowser-0.12-r1.ebuild, +files/missing_icon.patch: + Fix icon problem (#319573) to make podbrowser start again. Use slot dep for + gtk+ 26 Aug 2009; Torsten Veller <tove@gentoo.org> -podbrowser-0.09.ebuild, podbrowser-0.12.ebuild: diff --git a/app-doc/podbrowser/Manifest b/app-doc/podbrowser/Manifest index fc167bc72c1c..0cd090e023c9 100644 --- a/app-doc/podbrowser/Manifest +++ b/app-doc/podbrowser/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX Makefile.new 988 RMD160 64007f8f7d6af6b971cf3662d7db9e9e9efb64bd SHA1 faa42bba98de0c3331d1b1455a50406ac859c772 SHA256 6377500449d713811b04729645d839303bdda868520754014c69276117ccb448 +AUX missing_icon.patch 1975 RMD160 80dccfccbdfb842288c8d7c04e21e7fb33597ce6 SHA1 209d3232dad69031a7e335c65ff791197d36e8b9 SHA256 b5c8e2aa990a32188b6e0aa149246c9b81f0b7a863c70bfee103a8d8ae3a0fbb DIST podbrowser-0.12.tar.gz 81394 RMD160 6dcd6881cc2b4c4e0ff51556cf12b1d10c66c169 SHA1 428c7167d07f3084fb99fcefbba9b319b0702694 SHA256 d49df6479305c6ef5d17c6973a0d5efee9353771457a4ebc510dd48f2af607f5 +EBUILD podbrowser-0.12-r1.ebuild 1131 RMD160 83b4a11e50e7b1ec405cda411a87a7a62c74c133 SHA1 642c1b9ee54155529da3c62ce38cee6921c606a7 SHA256 9e12563c8a4245980b3ecb098034fd52eb0aa470d9679f0a768c210866cc21d9 EBUILD podbrowser-0.12.ebuild 1059 RMD160 7b32dea852a277b6859ccce6ea56e4fab2f73026 SHA1 23d5389687d815406f08b1c8dd8a620ca806e7ed SHA256 f990147d7392b70d12c1f06f10a4ac44afcfccf05c9dd1159c914dc9266ef3b9 -MISC ChangeLog 1279 RMD160 713f1535137b3a5c5ddbd55265fe265b2ce82a9f SHA1 db213fca5596f1354a02a96b3f8fc773d1842830 SHA256 f220b0aa6709dc4e6b428e3d27edac124ec088572691c40c58cc1191a82a00ac +MISC ChangeLog 1529 RMD160 2e1df8166bb858759b31dc1dcc5d13b492d2e698 SHA1 ee6d853c3d19d26810c09083b7583d375f3aa612 SHA256 4e82f56f50448dbc0bf9fc4a2202a998b2380209de2e32174ea911dfa98d3f10 MISC metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 SHA1 99ef1deeae9a934fb6e46cf5fc4a5fcb8379a74a SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkqVYBQACgkQV3J2n04EauxfHQCgiqjFOKzlDQq8FbU33cmmTAPg -FW0AoI7sqllgx+RtVDQyaEhUoh5lP1ef -=V8ZR ------END PGP SIGNATURE----- diff --git a/app-doc/podbrowser/files/missing_icon.patch b/app-doc/podbrowser/files/missing_icon.patch new file mode 100644 index 000000000000..55ec1223bf24 --- /dev/null +++ b/app-doc/podbrowser/files/missing_icon.patch @@ -0,0 +1,32 @@ +X-Description: Provide alternative icons if those expected not in current theme +X-Author: Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com> +X-Bugs-Gentoo: https://bugs.gentoo.org/319573 + +--- podbrowser-0.12/podbrowser.pl ++++ podbrowser-0.12/podbrowser.pl +@@ -60,9 +60,22 @@ + my $APP = Gtk2::GladeXML->new($GLADE_FILE); + my $THEME = get_an_icon_theme(); + my $TIPS = Gtk2::Tooltips->new; +-my $IDX_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_bookmark', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear'); +-my $PAGE_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_new-text', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear'); +-my $FOLDER_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('gnome-fs-directory', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear'); ++my ( $IDX_PBF, $PAGE_PBF, $FOLDER_PBF ); ++if ($THEME->lookup_icon('stock_bookmark', 16, 'force-svg')) { ++ $IDX_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_bookmark', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear'); ++} else { ++ $IDX_PBF = Gtk2::Image->new->render_icon( 'gtk-index', 'menu' ); ++} ++if ($THEME->lookup_icon('stock_new-text', 16, 'force-svg')) { ++ $PAGE_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_new-text', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear'); ++} else { ++ $PAGE_PBF = Gtk2::Image->new->render_icon( 'gtk-new', 'menu' ); ++} ++if ($THEME->lookup_icon('gnome-fs-directory', 16, 'force-svg')) { ++ $FOLDER_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('gnome-fs-directory', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear'); ++} else { ++ $FOLDER_PBF = Gtk2::Image->new->render_icon( 'gtk-directory', 'menu' ); ++} + my $NORMAL_CURSOR = Gtk2::Gdk::Cursor->new('left_ptr'); + my $BUSY_CURSOR = Gtk2::Gdk::Cursor->new('watch'); + my $ITEMS = {}; diff --git a/app-doc/podbrowser/podbrowser-0.12-r1.ebuild b/app-doc/podbrowser/podbrowser-0.12-r1.ebuild new file mode 100644 index 000000000000..b03a905a9e37 --- /dev/null +++ b/app-doc/podbrowser/podbrowser-0.12-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/podbrowser/podbrowser-0.12-r1.ebuild,v 1.1 2011/03/23 08:51:17 tove Exp $ + +EAPI=3 + +inherit eutils + +DESCRIPTION="PodBrowser is a documentation browser for Perl" +HOMEPAGE="http://jodrell.net/projects/podbrowser" +SRC_URI="http://jodrell.net/files/podbrowser/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +SRC_TEST="do" + +RDEPEND="dev-perl/gtk2-gladexml + dev-perl/gtk2-perl + dev-perl/HTML-Parser + dev-perl/Locale-gettext + virtual/perl-Pod-Simple + dev-perl/URI + dev-perl/Gtk2-Ex-PodViewer + dev-perl/Gtk2-Ex-PrintDialog + dev-perl/Gtk2-Ex-Simple-List + >=dev-lang/perl-5.8.0[-build] + >=x11-libs/gtk+-2.6.0:2 + >=x11-themes/gnome-icon-theme-2.10.0 + >=gnome-base/libglade-2:2.0" + +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + epatch "${FILESDIR}"/missing_icon.patch + cp "${FILESDIR}"/Makefile.new "${S}"/Makefile +} + +src_compile() { + emake DESTDIR="${D}" PREFIX=/usr || die "emake failed" +} + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install || die +} |