development/esvn: Added to 12.0 repository

This commit is contained in:
Iskar Enev 2010-05-11 20:00:24 +02:00 committed by David Somero
parent 298b9e3f35
commit c1ec4738f9
6 changed files with 148 additions and 0 deletions

8
development/esvn/README Normal file
View File

@ -0,0 +1,8 @@
eSvn is a QT GUI frontend to the Subversion revision system.
In addition to the the standard svn commands it features:
- svn repository browsing
- organizing working directories and workspaces
- showing changed items
- performing quick diff, external diff and 3-way diff
- showing the status of files/directories in real time

View File

@ -0,0 +1,3 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi

View File

@ -0,0 +1,49 @@
--- Makefile.orig 2008-03-05 13:51:10.000000000 +0200
+++ Makefile 2008-03-05 13:58:47.000000000 +0200
@@ -6,26 +6,14 @@
@echo "** done **"
esvn:
- qmake esvn.pro
make -f esvn.mak
esvn-diff-wrapper:
- qmake esvn-diff-wrapper.pro
make -f esvn-diff-wrapper.mak
install:
make -f esvn.mak install
make -f esvn-diff-wrapper.mak install
- mkdir -p /usr/share/doc/esvn
- cp -f -r html-docs /usr/share/doc/esvn
-
-#cp -f esvn.pdf /usr/share/doc/esvn
-
-install-doc:
- mkdir -p /usr/share/doc/esvn
- cp -f -r html-docs /usr/share/doc/esvn
-
-#cp -f esvn.pdf /usr/share/doc/esvn
clean:
make -f esvn.mak clean
--- esvn.pro.orig 2008-03-05 13:51:22.000000000 +0200
+++ esvn.pro 2008-03-05 13:59:15.000000000 +0200
@@ -253,7 +253,6 @@
VER=$$system(cat VERSION)
target.path = /usr/bin
- target.files = esvn
INSTALLS += target
icons.path = /usr/share/pixmaps
--- esvn-diff-wrapper.pro.orig 2008-03-05 13:51:32.000000000 +0200
+++ esvn-diff-wrapper.pro 2008-03-05 14:01:38.000000000 +0200
@@ -13,7 +13,6 @@
# Target is an application:
MAKEFILE = esvn-diff-wrapper.mak
-target.files = esvn-diff-wrapper
target.path = /usr/bin
INSTALLS += target
unix{

View File

@ -0,0 +1,61 @@
#!/bin/sh
# Slackware build script for esvn
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=esvn
VERSION=0.6.12.1
PKGVERSION=0.6.12-1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCUMENTATION="AUTHORS ChangeLog COPYING html-docs/ docs/ LICENSE README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$PKGVERSION.tar.gz
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# This patch enables the use of Slackware compile flags and fixes the
# binary install targets (esvn and esvn-diff-wrapper) in the .mak files
patch -p0 < $CWD/esvn-Makefile.diff
qmake "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS" esvn.pro
qmake "QMAKE_CXXFLAGS+=$SLKCFLAGS" "QMAKE_CFLAGS+=$SLKCFLAGS" esvn-diff-wrapper.pro
make
make install INSTALL_ROOT=$PKG
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCUMENTATION $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.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="esvn"
VERSION="0.6.12.1"
HOMEPAGE="http://zoneit.free.fr/esvn/"
DOWNLOAD="http://downloads.sourceforge.net/esvn/esvn-0.6.12-1.tar.gz"
MD5SUM="c46ffee6188dc28604c7cc9e5dbf082e"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
APPROVED="David Somero"

View File

@ -0,0 +1,19 @@
# 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------------------------------------------------------|
esvn: eSvn (QT GUI frontend for Subversion)
esvn:
esvn: esvn is a QT GUI frontend to the Subversion revision system
esvn:
esvn:
esvn:
esvn:
esvn:
esvn:
esvn:
esvn: