diff options
Diffstat (limited to 'app-doc/podbrowser/files')
-rw-r--r-- | app-doc/podbrowser/files/Makefile.new | 32 | ||||
-rw-r--r-- | app-doc/podbrowser/files/missing_icon.patch | 32 |
2 files changed, 0 insertions, 64 deletions
diff --git a/app-doc/podbrowser/files/Makefile.new b/app-doc/podbrowser/files/Makefile.new deleted file mode 100644 index 877b2c9a9233..000000000000 --- a/app-doc/podbrowser/files/Makefile.new +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: Makefile,v 1.4 2005/10/05 10:07:40 jodrell Exp $ -NAME=podbrowser -PREFIX=/usr/local -BINDIR=$(PREFIX)/bin -DATADIR=$(PREFIX)/share -ICONDIR=$(DATADIR)/icons/hicolor/48x48/apps -MANDIR=$(DATADIR)/man/man1 -DESTDIR= - -all: podbrowser - -podbrowser: - @mkdir -p build - - perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < $(NAME).pl > build/$(NAME) - pod2man $(NAME).pl | gzip -c > build/$(NAME).1.gz - -install: - mkdir -p $(DESTDIR)/$(BINDIR) \ - $(DESTDIR)/$(DATADIR)/$(NAME) \ - $(DESTDIR)/$(DATADIR)/applications \ - $(DESTDIR)/$(ICONDIR) \ - $(DESTDIR)/$(MANDIR) - install -m 0644 $(NAME).glade $(DESTDIR)/$(DATADIR)/$(NAME)/ - install -m 0644 $(NAME).png $(DESTDIR)/$(ICONDIR)/ - install -m 0644 $(NAME).desktop $(DESTDIR)/$(DATADIR)/applications/ - install -m 0644 build/$(NAME).1.gz $(DESTDIR)/$(MANDIR)/ - install -m 0755 build/$(NAME) $(DESTDIR)/$(BINDIR)/$(NAME) - install -m 0755 html2ps-$(NAME) $(DESTDIR)/$(BINDIR)/html2ps-$(NAME) - -clean: - rm -rf build diff --git a/app-doc/podbrowser/files/missing_icon.patch b/app-doc/podbrowser/files/missing_icon.patch deleted file mode 100644 index 55ec1223bf24..000000000000 --- a/app-doc/podbrowser/files/missing_icon.patch +++ /dev/null @@ -1,32 +0,0 @@ -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 = {}; |