diff options
-rw-r--r-- | multimedia/xfmedia/README | 2 | ||||
-rw-r--r-- | multimedia/xfmedia/doinst.sh | 25 | ||||
-rw-r--r-- | multimedia/xfmedia/slack-desc | 19 | ||||
-rw-r--r-- | multimedia/xfmedia/xfmedia-0.9.2-fixup_htmldir.diff | 78 | ||||
-rw-r--r-- | multimedia/xfmedia/xfmedia.SlackBuild | 113 | ||||
-rw-r--r-- | multimedia/xfmedia/xfmedia.info | 10 |
6 files changed, 0 insertions, 247 deletions
diff --git a/multimedia/xfmedia/README b/multimedia/xfmedia/README deleted file mode 100644 index 5a02f14635..0000000000 --- a/multimedia/xfmedia/README +++ /dev/null @@ -1,2 +0,0 @@ -Xfmedia is a media player for the Xfce desktop enviroment. -It is well-suited for playing a playlist of audio files. diff --git a/multimedia/xfmedia/doinst.sh b/multimedia/xfmedia/doinst.sh deleted file mode 100644 index fb57cbf919..0000000000 --- a/multimedia/xfmedia/doinst.sh +++ /dev/null @@ -1,25 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/xfce/xdg/xfmedia/keybindings.rc.new - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - diff --git a/multimedia/xfmedia/slack-desc b/multimedia/xfmedia/slack-desc deleted file mode 100644 index 7c64eb16dc..0000000000 --- a/multimedia/xfmedia/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -xfmedia: xfmedia (a xine-based media player for Xfce) -xfmedia: -xfmedia: Xfmedia is a media player for the Xfce desktop environment. -xfmedia: It manages playlists, repeats and shuffles. -xfmedia: -xfmedia: Homepage: http://spuriousinterrupt.org/projects/xfmedia -xfmedia: -xfmedia: -xfmedia: -xfmedia: -xfmedia: diff --git a/multimedia/xfmedia/xfmedia-0.9.2-fixup_htmldir.diff b/multimedia/xfmedia/xfmedia-0.9.2-fixup_htmldir.diff deleted file mode 100644 index 5a16fa5a1d..0000000000 --- a/multimedia/xfmedia/xfmedia-0.9.2-fixup_htmldir.diff +++ /dev/null @@ -1,78 +0,0 @@ -diff -Nur xfmedia-0.9.2.orig/doc/C/Makefile.in xfmedia-0.9.2/doc/C/Makefile.in ---- xfmedia-0.9.2.orig/doc/C/Makefile.in 2006-11-27 14:20:51.000000000 -0600 -+++ xfmedia-0.9.2/doc/C/Makefile.in 2009-08-15 17:43:00.612828573 -0500 -@@ -59,7 +59,7 @@ - *) f=$$p;; \ - esac; - am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; --am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(imagesdir)" -+am__installdirs = "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(imagesdir)" - docDATA_INSTALL = $(INSTALL_DATA) - imagesDATA_INSTALL = $(INSTALL_DATA) - DATA = $(doc_DATA) $(images_DATA) -@@ -265,7 +265,8 @@ - build_vendor = @build_vendor@ - datadir = @datadir@ - datarootdir = @datarootdir@ --docdir = $(datadir)/xfmedia/doc/C -+docdir = @docdir@ -+htmldir = @htmldir@ - dvidir = @dvidir@ - exec_prefix = @exec_prefix@ - host = @host@ -@@ -307,7 +308,7 @@ - html/ch04.html \ - html/ch04s02.html - --imagesdir = $(datadir)/xfmedia/doc/C/images -+imagesdir = $(htmldir)/images - images_DATA = \ - xml/images/mainwin.png \ - xml/images/prefs-options.png \ -@@ -361,20 +362,20 @@ - uninstall-info-am: - install-docDATA: $(doc_DATA) - @$(NORMAL_INSTALL) -- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" -+ test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" - @list='$(doc_DATA)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - f=$(am__strip_dir) \ -- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ -- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ -+ echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ -+ $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ - done - - uninstall-docDATA: - @$(NORMAL_UNINSTALL) - @list='$(doc_DATA)'; for p in $$list; do \ - f=$(am__strip_dir) \ -- echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ -- rm -f "$(DESTDIR)$(docdir)/$$f"; \ -+ echo " rm -f '$(DESTDIR)$(htmldir)/$$f'"; \ -+ rm -f "$(DESTDIR)$(htmldir)/$$f"; \ - done - install-imagesDATA: $(images_DATA) - @$(NORMAL_INSTALL) -@@ -574,7 +575,7 @@ - all-am: Makefile $(DATA) - installdirs: installdirs-recursive - installdirs-am: -- for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(imagesdir)"; do \ -+ for dir in "$(DESTDIR)$(htmldir)" "$(DESTDIR)$(imagesdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done - install: install-recursive -diff -Nur xfmedia-0.9.2.orig/doc/Makefile.in xfmedia-0.9.2/doc/Makefile.in ---- xfmedia-0.9.2.orig/doc/Makefile.in 2006-11-27 14:20:52.000000000 -0600 -+++ xfmedia-0.9.2/doc/Makefile.in 2009-08-15 17:41:11.197985898 -0500 -@@ -295,7 +295,7 @@ - SUBDIRS = \ - C - --cssdir = $(datadir)/xfmedia/doc -+cssdir = $(htmldir) - css_DATA = xfce.css - noinst_DATA = \ - catalog.xml.in \ diff --git a/multimedia/xfmedia/xfmedia.SlackBuild b/multimedia/xfmedia/xfmedia.SlackBuild deleted file mode 100644 index 1ff2203aa3..0000000000 --- a/multimedia/xfmedia/xfmedia.SlackBuild +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh - -# Slackware build script for xfmedia - -# Copyright 2007 Martin Lefebvre <dadexter@sekurity.com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Modified by Antoine NONYME <mickeytintincolle@yahoo.fr> to build Xfmedia. - -PRGNAM=xfmedia -VERSION=${VERSION:-0.9.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fixup the html docs installation -patch -p1 < $CWD/xfmedia-0.9.2-fixup_htmldir.diff - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc/xfce \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --htmldir=/usr/doc/$PRGNAM-$VERSION/html \ - --enable-static=no \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -# Let's not clobber the keybindings config -mv $PKG/etc/xfce/xdg/xfmedia/keybindings.rc \ - $PKG/etc/xfce/xdg/xfmedia/keybindings.rc.new - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# docdir is already created by make install -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/xfmedia/xfmedia.info b/multimedia/xfmedia/xfmedia.info deleted file mode 100644 index 9f70853105..0000000000 --- a/multimedia/xfmedia/xfmedia.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="xfmedia" -VERSION="0.9.2" -HOMEPAGE="http://spuriousinterrupt.org/projects/xfmedia" -DOWNLOAD="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2" -MD5SUM="6eb8bd1f67201f829e0f45e733c02bd5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Antoine NONYME" -EMAIL="mickeytintincolle@yahoo.fr" |