From 5f0dda33025c48234843e5bc1bda53b4758374ff Mon Sep 17 00:00:00 2001 From: Andreas Proschofsky Date: Sat, 8 Aug 2009 07:39:18 +0000 Subject: Bump to pdfmod 0.5 svn path=/; revision=136 --- app-text/pdfmod/Manifest | 5 +- app-text/pdfmod/files/icon-theme-installer | 177 ----------------------------- app-text/pdfmod/pdfmod-0.4.ebuild | 36 ------ app-text/pdfmod/pdfmod-0.5.ebuild | 25 ++++ 4 files changed, 27 insertions(+), 216 deletions(-) delete mode 100644 app-text/pdfmod/files/icon-theme-installer delete mode 100644 app-text/pdfmod/pdfmod-0.4.ebuild create mode 100644 app-text/pdfmod/pdfmod-0.5.ebuild (limited to 'app-text') diff --git a/app-text/pdfmod/Manifest b/app-text/pdfmod/Manifest index 290dadd..be2d9d7 100644 --- a/app-text/pdfmod/Manifest +++ b/app-text/pdfmod/Manifest @@ -1,3 +1,2 @@ -AUX icon-theme-installer 5237 RMD160 1466d01bb93e9484ddb5837a3ae536988f0726b2 SHA1 a535bac890d9202fc4bb008b16f6fcf3f5b95daa SHA256 a777c0b20e3f548c5e6c5663af633327bc3011bb137fbba56e0c5b15fb3ca497 -DIST pdfmod-0.4.tar.bz2 954422 RMD160 c4c1a79b7987a95d62b336478522e2044186df10 SHA1 a3ebb76f4170b010a3c12c84d2177732d7e2e6a1 SHA256 4ae3eabc98e72d2fdf77e59c3bcaef264728ffff675e38db2681f76e8a70b1d2 -EBUILD pdfmod-0.4.ebuild 695 RMD160 fd4d367497ef93a801124004052411d7eabd1607 SHA1 924d0290f235340f63cd157a0402cc7a82acf952 SHA256 62b16f7f27367fbc157d4e7b32a490603dd6ba3328e44d570c924ab0dc0f7afc +DIST pdfmod-0.5.tar.bz2 954871 RMD160 44e94a147f773528df6e8ad30860079354b289b7 SHA1 d1f65d699ff7822cd0e74bf8b7877ef54eaa1cee SHA256 cc8239e679946b8ff0d44c1126ce636c65f17d56ef5f9d215404c1b81fe99f17 +EBUILD pdfmod-0.5.ebuild 479 RMD160 b5d54867490348439f36f2b996f2e5f4addc9444 SHA1 1d6ee2febb745a08ea18632fc5ea93c5c92add4b SHA256 44fb8e8e7389d6108bdb7f023c3fea4ae891c51b1d3e1084acbf85783079bebd diff --git a/app-text/pdfmod/files/icon-theme-installer b/app-text/pdfmod/files/icon-theme-installer deleted file mode 100644 index 2f78ad0..0000000 --- a/app-text/pdfmod/files/icon-theme-installer +++ /dev/null @@ -1,177 +0,0 @@ -#!/bin/bash - -# icon-theme-installer -# Copyright (C) 2006 Novell, Inc. -# Written by Aaron Bockover -# Licensed under the MIT/X11 license -# -# This script is meant to be invoked from within a Makefile/Makefile.am -# in the install-data-local and uninstall-data sections. It handles the -# task of properly installing icons into the icon theme. It requires a -# few arguments to set up its environment, and a list of files to be -# installed. The format of the file list is critical: -# -# , -# -# apps,music-player-banshee.svg -# apps,music-player-banshee-16.png -# apps,music-player-banshee-22.png -# -# is the icon theme category, for instance, apps, devices, -# actions, emblems... -# -# must have a basename in the form of: -# -# proper-theme-name[-]. -# -# Where should be either nothing, which will default to scalable -# or \-[0-9]{2}, which will expand to x. For example: -# -# music-player-banshee-16.png -# -# The here is -16 and will expand to 16x16 per the icon theme spec -# -# What follows is an example Makefile.am for icon theme installation: -# -# --------------- -# theme=hicolor -# themedir=$(datadir)/icons/$(theme) -# theme_icons = \ -# apps,music-player-banshee.svg \ -# apps,music-player-banshee-16.png \ -# apps,music-player-banshee-22.png \ -# apps,music-player-banshee-24.png \ -# apps,music-player-banshee-32.png -# -# install_icon_exec = $(top_srcdir)/build/icon-theme-installer -t $(theme) -s $(srcdir) -d "x$(DESTDIR)" -b $(themedir) -m "$(mkinstalldirs)" -x "$(INSTALL_DATA)" -# install-data-local: -# $(install_icon_exec) -i $(theme_icons) -# -# uninstall-hook: -# $(install_icon_exec) -u $(theme_icons) -# -# MAINTAINERCLEANFILES = Makefile.in -# EXTRA_DIST = $(wildcard *.svg *.png) -# --------------- -# -# Arguments to this program: -# -# -i : Install -# -u : Uninstall -# -t : Theme name (hicolor) -# -b : Theme installation dest directory [x$(DESTDIR)] - Always prefix -# this argument with x; it will be stripped but will act as a -# placeholder for zero $DESTDIRs (only set by packagers) -# -d : Theme installation directory [$(hicolordir)] -# -s : Source directory [$(srcdir)] -# -m : Command to exec for directory creation [$(mkinstalldirs)] -# -x : Command to exec for single file installation [$(INSTALL_DATA)] -# : All remainging should be category,filename pairs - -while getopts "iut:b:d:s:m:x:" flag; do - case "$flag" in - i) INSTALL=yes ;; - u) UNINSTALL=yes ;; - t) THEME_NAME=$OPTARG ;; - d) INSTALL_DEST_DIR=${OPTARG##x} ;; - b) INSTALL_BASE_DIR=$OPTARG ;; - s) SRC_DIR=$OPTARG ;; - m) MKINSTALLDIRS_EXEC=$OPTARG ;; - x) INSTALL_DATA_EXEC=$OPTARG ;; - esac -done - -shift $(($OPTIND - 1)) - -if test "x$INSTALL" = "xyes" -a "x$UNINSTALL" = "xyes"; then - echo "Cannot pass both -i and -u" - exit 1 -elif test "x$INSTALL" = "x" -a "x$UNINSTALL" = "x"; then - echo "Must path either -i or -u" - exit 1 -fi - -if test -z "$THEME_NAME"; then - echo "Theme name required (-t hicolor)" - exit 1 -fi - -if test -z "$INSTALL_BASE_DIR"; then - echo "Base theme directory required [-d \$(hicolordir)]" - exit 1 -fi - -if test ! -x $(echo "$MKINSTALLDIRS_EXEC" | cut -f1 -d' '); then - echo "Cannot find '$MKINSTALLDIRS_EXEC'; You probably want to pass -m \$(mkinstalldirs)" - exit 1 -fi - -if test ! -x $(echo "$INSTALL_DATA_EXEC" | cut -f1 -d' '); then - echo "Cannot find '$INSTALL_DATA_EXEC'; You probably want to pass -x \$(INSTALL_DATA)" - exit 1 -fi - -if test -z "$SRC_DIR"; then - SRC_DIR=. -fi - -for icon in $@; do - size=$(echo $icon | sed s/[^0-9]*//g) - category=$(echo $icon | cut -d, -f1) - build_name=$(echo $icon | cut -d, -f2) - install_name=$(echo $build_name | sed "s/[0-9]//g; s/-\././") - install_name=$(basename $install_name) - - if test -z $size; then - size=scalable; - else - size=${size}x${size}; - fi - - install_dir=${INSTALL_DEST_DIR}${INSTALL_BASE_DIR}/$size/$category - install_path=$install_dir/$install_name - - if test "x$INSTALL" = "xyes"; then - echo "Installing $size $install_name into $THEME_NAME icon theme" - - $($MKINSTALLDIRS_EXEC $install_dir) || { - echo "Failed to create directory $install_dir" - exit 1 - } - - $($INSTALL_DATA_EXEC $SRC_DIR/$build_name $install_path) || { - echo "Failed to install $SRC_DIR/$build_name into $install_path" - exit 1 - } - - if test ! -e $install_path; then - echo "Failed to install $SRC_DIR/$build_name into $install_path" - exit 1 - fi - else - if test -e $install_path; then - echo "Removing $size $install_name from $THEME_NAME icon theme" - - rm $install_path || { - echo "Failed to remove $install_path" - exit 1 - } - fi - fi -done - -gtk_update_icon_cache_bin="$((which gtk-update-icon-cache || echo /opt/gnome/bin/gtk-update-icon-cache)2>/dev/null)" -gtk_update_icon_cache="$gtk_update_icon_cache_bin -f -t $INSTALL_BASE_DIR" - -if test -z "$INSTALL_DEST_DIR"; then - if test -x $gtk_update_icon_cache_bin; then - echo "Updating GTK icon cache" - $gtk_update_icon_cache - else - echo "*** Icon cache not updated. Could not execute $gtk_update_icon_cache_bin" - fi -else - echo "*** Icon cache not updated. After (un)install, run this:" - echo "*** $gtk_update_icon_cache" -fi - diff --git a/app-text/pdfmod/pdfmod-0.4.ebuild b/app-text/pdfmod/pdfmod-0.4.ebuild deleted file mode 100644 index 077f9ba..0000000 --- a/app-text/pdfmod/pdfmod-0.4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit gnome2 mono - -DESCRIPTION="A simple tool for modifying PDF documents" -HOMEPAGE="http://live.gnome.org/PdfMod" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND=">=dev-lang/mono-2 - >=dev-dotnet/gtk-sharp-2.0 - >=dev-dotnet/gnome-sharp-2.0 - app-text/gnome-doc-utils - >=virtual/poppler-0.8.0" - -RDEPEND="${DEPEND}" - -DOCS="AUTHORS NEWS README" - -src_prepare() { - - # icon-theme-installer missing in the tarball - cp -f "${FILESDIR}/icon-theme-installer" "${S}" || die - chmod +rx "${S}/icon-theme-installer" - - # Fails with more than one process - MAKEOPTS="-j1" - -} - diff --git a/app-text/pdfmod/pdfmod-0.5.ebuild b/app-text/pdfmod/pdfmod-0.5.ebuild new file mode 100644 index 0000000..fb23599 --- /dev/null +++ b/app-text/pdfmod/pdfmod-0.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit gnome2 mono + +DESCRIPTION="A simple tool for modifying PDF documents" +HOMEPAGE="http://live.gnome.org/PdfMod" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-lang/mono-2 + >=dev-dotnet/gtk-sharp-2.0 + >=dev-dotnet/gnome-sharp-2.0 + app-text/gnome-doc-utils + >=virtual/poppler-0.8.0" + +RDEPEND="${DEPEND}" + +DOCS="AUTHORS NEWS README" + -- cgit v1.2.3