From 1a1b748f1738b1989a834d75b1623be21bf9bab5 Mon Sep 17 00:00:00 2001 From: Parabola Date: Mon, 11 Jul 2011 18:35:04 +0000 Subject: Mon Jul 11 18:34:51 UTC 2011 --- community-testing/fldiff/PKGBUILD | 31 ---------------- community-testing/fldiff/build-fix.patch | 31 ---------------- community-testing/fldiff/fldiff.install | 11 ------ community-testing/htmldoc/PKGBUILD | 34 ----------------- community-testing/openmovieeditor/PKGBUILD | 35 ------------------ community-testing/xdiskusage/PKGBUILD | 47 ------------------------ community-testing/xdiskusage/stdin-is-null.patch | 31 ---------------- 7 files changed, 220 deletions(-) delete mode 100644 community-testing/fldiff/PKGBUILD delete mode 100644 community-testing/fldiff/build-fix.patch delete mode 100644 community-testing/fldiff/fldiff.install delete mode 100644 community-testing/htmldoc/PKGBUILD delete mode 100644 community-testing/openmovieeditor/PKGBUILD delete mode 100644 community-testing/xdiskusage/PKGBUILD delete mode 100644 community-testing/xdiskusage/stdin-is-null.patch (limited to 'community-testing') diff --git a/community-testing/fldiff/PKGBUILD b/community-testing/fldiff/PKGBUILD deleted file mode 100644 index ab25a3240..000000000 --- a/community-testing/fldiff/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# $Id: PKGBUILD 51104 2011-07-05 09:00:11Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: kevin -# Contributor: iztok pizorn - -pkgname=fldiff -pkgver=1.1 -pkgrel=6 -pkgdesc="graphical diff program" -arch=(i686 x86_64) -url="http://www.easysw.com/~mike/fldiff/" -license=('GPL') -install=fldiff.install -depends=('diffutils' 'fltk' 'xdg-utils') -source=(http://www.easysw.com/~mike/fldiff/$pkgname-$pkgver-source.tar.gz - build-fix.patch) -md5sums=('12897c92106fb5d665210a2e82f5cf25' - 'ea7258e07544b81561c6d76a41c184e7') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/build-fix.patch - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make BUILDROOT=$pkgdir install install-desktop - mv `find $pkgdir/ -name Development -type d` $startdir/pkg/usr/share/applications -} diff --git a/community-testing/fldiff/build-fix.patch b/community-testing/fldiff/build-fix.patch deleted file mode 100644 index bb3e0245e..000000000 --- a/community-testing/fldiff/build-fix.patch +++ /dev/null @@ -1,31 +0,0 @@ -Only in fldiff-1.1.my: config.log -Only in fldiff-1.1.my: config.status -Only in fldiff-1.1.my: DiffChooser.o -Only in fldiff-1.1.my: DiffOpenWindow.o -Only in fldiff-1.1.my: DiffView.o -diff -wbBur fldiff-1.1/DiffWindow.cxx fldiff-1.1.my/DiffWindow.cxx ---- fldiff-1.1/DiffWindow.cxx 2006-11-13 21:54:02.000000000 +0300 -+++ fldiff-1.1.my/DiffWindow.cxx 2011-07-05 12:58:38.000000000 +0400 -@@ -1126,11 +1126,11 @@ - DiffWindow::save_prefs() - { - // Save the window prefs for the next run... -- prefs_.set("color", color()); -- prefs_.set("selection_color", selection_color()); -+ prefs_.set("color", (int)color()); -+ prefs_.set("selection_color", (int)selection_color()); - prefs_.set("showlinenum", showlinenum()); - prefs_.set("tabwidth", tabwidth()); -- prefs_.set("textcolor", textcolor()); -+ prefs_.set("textcolor", (int)textcolor()); - prefs_.set("textsize", textsize()); - prefs_.set("ignoreblanks", ignoreblanks()); - } -Only in fldiff-1.1.my: DiffWindow.o -Only in fldiff-1.1.my: FavoritesMenu.o -Only in fldiff-1.1.my: FavoritesWindow.o -Only in fldiff-1.1.my: fldiff -Only in fldiff-1.1.my: fldiff.list -Only in fldiff-1.1.my: fldiff.o -Only in fldiff-1.1.my: Makefile -Only in fldiff-1.1.my: PtProcess.o diff --git a/community-testing/fldiff/fldiff.install b/community-testing/fldiff/fldiff.install deleted file mode 100644 index b95cc069d..000000000 --- a/community-testing/fldiff/fldiff.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} diff --git a/community-testing/htmldoc/PKGBUILD b/community-testing/htmldoc/PKGBUILD deleted file mode 100644 index 92622ac08..000000000 --- a/community-testing/htmldoc/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: PKGBUILD 51081 2011-07-05 07:09:42Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: tobias -# Contributor: Simon Rutishauser - -pkgname=htmldoc -pkgver=1.8.27 -pkgrel=6 -pkgdesc="Produce PDF or Postscript from HTML documents including TOCs and Indices" -arch=(i686 x86_64) -url="http://www.htmldoc.org" -license=('GPL') -depends=('libjpeg' 'libpng' 'openssl' 'fltk' 'gcc' 'libxft' 'libxpm') -source=(ftp://ftp.easysw.com/pub/${pkgname}/${pkgver}/${pkgname}-$pkgver-source.tar.bz2) -md5sums=('35589e7b8fe9c54e11be87cd5aec4dcc') - -build() { - cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix=/usr --mandir=${pkgdir}/usr/share/man - sed -i 's|^bindir.*$|bindir = ${prefix}/bin|' Makedefs - make -} - -package() { - cd ${startdir}/src/${pkgname}-${pkgver} - make prefix=${startdir}/pkg/usr install - # fix freedesktop stuff - install -Dm 644 desktop/htmldoc-128.png \ - ${startdir}/pkg/usr/share/pixmaps/htmldoc.png - echo "MimeType=application/vnd.htmldoc-book;" >> desktop/htmldoc.desktop - sed -i 's|X-Red-Hat.*$||' desktop/htmldoc.desktop - install -Dm 644 desktop/htmldoc.desktop \ - ${startdir}/pkg/usr/share/applications/htmldoc.desktop -} diff --git a/community-testing/openmovieeditor/PKGBUILD b/community-testing/openmovieeditor/PKGBUILD deleted file mode 100644 index f5edd51ad..000000000 --- a/community-testing/openmovieeditor/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# $Id: PKGBUILD 51110 2011-07-05 10:08:30Z spupykin $ -# Contributor: Robert Emil Berge -# Maintainer: Robert Emil Berge -# Maintainer: Mateusz Herych -pkgname=openmovieeditor -pkgver=0.0.20090105 -pkgrel=7 -pkgdesc="A simple video editor" -arch=('i686' 'x86_64') -url="http://openmovieeditor.sourceforge.net/HomePage" -license=('GPL') -depends=('libquicktime' 'libsamplerate' 'fltk' 'jack' 'portaudio' 'gmerlin-avdecoder') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('ce4f76c0b3e90aabf9c2d5c8dd31e9b1') - -build() { - cd $srcdir/$pkgname-$pkgver - unset LDFLAGS - - export CFLAGS="$CFLAGS -fpermissive" - export CXXFLAGS="$CXXFLAGS -fpermissive" - export CPPFLAGS="$CPPFLAGS -fpermissive" - sed -i 's|= sizes();|= (short*)sizes();|g' src/Fl_Split.cpp - - # Fix missing includes - sed -e 's||\n#include |' -i src/VideoViewGL.H - sed -e 's||\n#include |' -i src/WaveForm.H - sed -e 's||\n#include |' -i src/AddCommand.H - sed -e 's||\n#include |' -i src/MediaBrowser.H - sed -e 's||\n#include |' -i src/fl_font_browser.h - - ./configure --prefix=/usr - make - make DESTDIR=$pkgdir install -} diff --git a/community-testing/xdiskusage/PKGBUILD b/community-testing/xdiskusage/PKGBUILD deleted file mode 100644 index 0ff97363c..000000000 --- a/community-testing/xdiskusage/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# $Id: PKGBUILD 51101 2011-07-05 08:55:16Z spupykin $ -# Maintainer: Sergej Pupykin -# Contributor: Tom Newsom -# Contributor: Jason Chu - -pkgname=xdiskusage -pkgver=1.48 -pkgrel=6 -pkgdesc="xdiskusage is a user-friendly program to show you what is using up all your disk space" -arch=('i686' 'x86_64') -depends=('fltk') -makedepends=('libxi') -license=('GPL') -url="http://xdiskusage.sourceforge.net" -options=(!emptydirs) -source=(http://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz - 'stdin-is-null.patch') -md5sums=('a902aa9d73761ade98256c3cd5c1f533' - '0181b66b44e382e44c91602d8de9a7b6') - -build() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's/-lGL -lGLU/-lXft/' makeinclude.in - - patch -Np1 -i "$srcdir/stdin-is-null.patch" - - [ $CARCH == "x86_64" ] && patch xdiskusage.C < switch ((long long)v) { -1004c1004 -< int n = (int)v; ---- -> int n = (long long)v; -EOF - - ./configure --prefix=/usr - install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1" - LDFLAGS=-lXi make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install - chmod 0644 $pkgdir/usr/share/man/man1/* -} diff --git a/community-testing/xdiskusage/stdin-is-null.patch b/community-testing/xdiskusage/stdin-is-null.patch deleted file mode 100644 index e70789c13..000000000 --- a/community-testing/xdiskusage/stdin-is-null.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- xdiskusage-1.48/xdiskusage.C 2004-09-21 07:23:14.000000000 +0200 -+++ xdiskusage-1.48.carles/xdiskusage.C 2007-07-30 23:42:05.000000000 +0200 -@@ -223,6 +223,19 @@ - return 1; - } - -+// returns true if stdin is /dev/null -+// To fix Debian bug #276193 -+// Technically could be possible that returns "true" and is not "true", -+// because same device ID is used across file systems. But is the best -+// solutions that I have -+int isstdinnull() { -+ struct stat ststdin,stnull; -+ stat("/dev/null",&stnull); -+ fstat(0,&ststdin); -+ -+ return (ststdin.st_rdev==stnull.st_rdev); -+} -+ - int main(int argc, char**argv) { - #if FL_MAJOR_VERSION < 2 - // Make fltk look more like KDE/Windoze: -@@ -253,7 +266,7 @@ - OutputWindow* d = OutputWindow::make(argv[n++]); - if (d) d->show(argc,argv); - } -- } else if (!isatty(0)) { -+ } else if (!isatty(0) && !isstdinnull()) { - // test for pipe, if so read stdin: - OutputWindow* d = OutputWindow::make(0); - if (d) d->show(argc,argv); -- cgit v1.2.3-54-g00ecf