aboutsummaryrefslogtreecommitdiff
path: root/development/kompozer
diff options
context:
space:
mode:
authorKevin Myers <jwblack@cox.net>2010-05-12 23:28:44 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:28:44 +0200
commitc5bf00d55cdc36b34048e4cbc2fc4151385b2a26 (patch)
tree1f0891be5412d081b5703fea72d078ffd9e433c3 /development/kompozer
parent16c9e03ef0e440609cc2b97fe153e8a91a76af32 (diff)
development/kompozer: Added to 12.2 repository
Diffstat (limited to 'development/kompozer')
-rw-r--r--development/kompozer/Kompozer.desktop19
-rw-r--r--development/kompozer/README6
-rw-r--r--development/kompozer/kompozer.SlackBuild76
-rw-r--r--development/kompozer/kompozer.info8
-rw-r--r--development/kompozer/slack-desc19
5 files changed, 128 insertions, 0 deletions
diff --git a/development/kompozer/Kompozer.desktop b/development/kompozer/Kompozer.desktop
new file mode 100644
index 000000000000..b78f0294e6df
--- /dev/null
+++ b/development/kompozer/Kompozer.desktop
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Comment=
+Comment[en_US]=
+Encoding=UTF-8
+Exec[$e]=kompozer
+GenericName=WYSIWYG web page editing
+GenericName[en_US]=WYSIWYG web page editing
+Icon=/usr/share/pixmaps/kompozer.xpm
+MimeType=
+Name=Kompozer
+Name[en_US]=Kompozer
+Path[$e]=
+StartupNotify=true
+Terminal=false
+TerminalOptions=
+Type=Application
+X-DCOP-ServiceType=
+X-KDE-SubstituteUID=false
+X-KDE-Username=
diff --git a/development/kompozer/README b/development/kompozer/README
new file mode 100644
index 000000000000..891cb50f4fec
--- /dev/null
+++ b/development/kompozer/README
@@ -0,0 +1,6 @@
+KompoZer is a complete web authoring system that combines web file management
+and easy-to-use WYSIWYG web page editing.
+
+KompoZer is designed to be extremely easy to use, making it ideal
+for non-technical computer users who want to create an attractive,
+professional-looking web site without needing to know HTML or web coding.
diff --git a/development/kompozer/kompozer.SlackBuild b/development/kompozer/kompozer.SlackBuild
new file mode 100644
index 000000000000..64fe81d5dde6
--- /dev/null
+++ b/development/kompozer/kompozer.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/sh
+
+###################################################################
+# Slackware build script for kompozer aka Nvu
+#
+# Written by Kevin Myers jwblack AT cox DOT net 12-19-2008
+#
+# Modified by SlackBuilds,org --dsomero
+###################################################################
+
+
+PRGNAM=kompozer
+SRC_VERSION=${SRC_VERSION:-0.7.10dfsg-src}
+VERSION=${VERSION:-0.7.10}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+DOCS="LEGAL LICENSE README.txt"
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz
+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 {} \;
+
+cd mozilla
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+|| exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( 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/share/applications $PKG/usr/share/pixmaps
+cp $CWD/Kompozer.desktop $PKG/usr/share/applications/Kompozer.desktop
+cp $TMP/kompozer-0.7.10/mozilla/dist/bin/chrome/icons/default/default.xpm \
+ $PKG/usr/share/pixmaps/kompozer.xpm
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp LICENSE README $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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/development/kompozer/kompozer.info b/development/kompozer/kompozer.info
new file mode 100644
index 000000000000..ffbee98bb161
--- /dev/null
+++ b/development/kompozer/kompozer.info
@@ -0,0 +1,8 @@
+PRGNAM="kompozer"
+VERSION="0.7.10"
+HOMEPAGE="http://kompozer.net/"
+DOWNLOAD="http://ovh.dl.sourceforge.net/sourceforge/kompozer/kompozer-0.7.10dfsg-src.tar.gz"
+MD5SUM="422675f098bae8cbd1e4d35cae426855"
+MAINTAINER="Kevin Myers"
+EMAIL="jwblack@cox.net"
+APPROVED="dsomero"
diff --git a/development/kompozer/slack-desc b/development/kompozer/slack-desc
new file mode 100644
index 000000000000..7bd3c52e902f
--- /dev/null
+++ b/development/kompozer/slack-desc
@@ -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------------------------------------------------------|
+kompozer: kompozer (Nvu's unofficial bug-fix release)
+kompozer:
+kompozer: kompozer is a complete web authoring system that combines web file
+kompozer: management and easy-to-use WYSIWYG web page editing.
+kompozer:
+kompozer: Homepage: http://kompozer.net/
+kompozer:
+kompozer: Homepage Nvu : http://nvu.com/
+kompozer:
+kompozer:
+kompozer: