diff options
author | Giovanne Castro <giovannefc@ig.com.br> | 2010-08-30 05:48:20 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-30 07:49:51 -0500 |
commit | 2f7f4cecc02e317769546b7cc6e1787a05d1f0a6 (patch) | |
tree | ae8c0e3043d5d6d901498ae79e3b9bc3b6b93f05 /development | |
parent | f6f9a52921a0bf23952fb77d97567b8b3aae88e1 (diff) |
development/kompozer: Added (Easy Web Authoring)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/kompozer/README | 6 | ||||
-rw-r--r-- | development/kompozer/doinst.sh | 10 | ||||
-rw-r--r-- | development/kompozer/kompozer.SlackBuild | 80 | ||||
-rw-r--r-- | development/kompozer/kompozer.desktop | 12 | ||||
-rw-r--r-- | development/kompozer/kompozer.info | 10 | ||||
-rw-r--r-- | development/kompozer/kompozer.png | bin | 0 -> 4114 bytes | |||
-rw-r--r-- | development/kompozer/slack-desc | 19 |
7 files changed, 137 insertions, 0 deletions
diff --git a/development/kompozer/README b/development/kompozer/README new file mode 100644 index 000000000000..426c35e76c20 --- /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.
\ No newline at end of file diff --git a/development/kompozer/doinst.sh b/development/kompozer/doinst.sh new file mode 100644 index 000000000000..1f8ff67dedb2 --- /dev/null +++ b/development/kompozer/doinst.sh @@ -0,0 +1,10 @@ +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/development/kompozer/kompozer.SlackBuild b/development/kompozer/kompozer.SlackBuild new file mode 100644 index 000000000000..415c686ee390 --- /dev/null +++ b/development/kompozer/kompozer.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for kompozer + +# Written by Giovanne Castro <giovannefc@ig.com.br> + +PRGNAM=kompozer +VERSION=${VERSION:-0.8b3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# No flags/configure needed as it is just a binary repackaging. +ARCH=i686 + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +# This should allow you to either pass a different value of KOMPOZERLANG +# when you run the script (KOMPOZERLANG=pt-BR ./kompozer.SlackBuild for +# example) or change it in this script. Note that you will need to have +# the correct tarball in the build directory for this to work... +# You can get localized tarballs from the following location: +# http://sourceforge.net/projects/kompozer/files/ +KOMPOZERLANG=${KOMPOZERLANG:-en-US} + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $PKG + +# Copy kompozer libraries +mkdir -p $PKG/usr/lib +( cd $PKG/usr/lib + tar xvf $CWD/kompozer-$VERSION.$KOMPOZERLANG.gcc4.2-$ARCH.tar.gz || exit 1 + mv kompozer kompozer-$VERSION + ln -sf kompozer-$VERSION kompozer + cd kompozer-$VERSION + sed -i -e "s/usr\/local/usr/" kompozer + + cd $PKG/usr/lib/kompozer-$VERSION ) || exit 1 + +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 {} \; + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Create link to executable +mkdir -p $PKG/usr/bin +( cd $PKG/usr/bin + ln -sf /usr/lib/kompozer-$VERSION/kompozer . +) || exit 1 + +# Install icons +mkdir -p $PKG/usr/share/applications +cp -a $CWD/kompozer.desktop $PKG/usr/share/applications/mozilla-kompozer.desktop +mkdir -p $PKG/usr/share/pixmaps +cp -a $CWD/kompozer.png $PKG/usr/share/pixmaps/kompozer.png + +# Move and copy documentation to correct place +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/lib/kompozer-$VERSION/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/lib/kompozer-$VERSION/bloaturls.txt $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/lib/kompozer-$VERSION/install.log $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/lib/kompozer-$VERSION/dependentlibs.list $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/development/kompozer/kompozer.desktop b/development/kompozer/kompozer.desktop new file mode 100644 index 000000000000..30c2e208f4e3 --- /dev/null +++ b/development/kompozer/kompozer.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=kompoZer +GenericName=Web Authoring System +Comment=Create a Web Site +Comment[pt_BR]=Autorador de Web Sites +Exec=kompozer +Icon=kompozer.png +Terminal=false +Type=Application +StartupNotify=true +Categories=Application;Development; diff --git a/development/kompozer/kompozer.info b/development/kompozer/kompozer.info new file mode 100644 index 000000000000..b9e1cfc3ae12 --- /dev/null +++ b/development/kompozer/kompozer.info @@ -0,0 +1,10 @@ +PRGNAM="kompozer" +VERSION="0.8b3" +HOMEPAGE="http://www.kompozer.net/" +DOWNLOAD="http://sourceforge.net/projects/kompozer/files/current/0.8b3/linux-i686/kompozer-0.8b3.en-US.gcc4.2-i686.tar.gz/download" +MD5SUM="1ba5327de6a795af5c3a0e72245352f6" +DOWNLOAD_x86_64="UNSUPPORTED" +MD5SUM_x86_64="" +MAINTAINER="Giovanne Castro" +EMAIL="giovannefc@ig.com.br" +APPROVED="Erik Hanson" diff --git a/development/kompozer/kompozer.png b/development/kompozer/kompozer.png Binary files differnew file mode 100644 index 000000000000..22f6e17535d4 --- /dev/null +++ b/development/kompozer/kompozer.png diff --git a/development/kompozer/slack-desc b/development/kompozer/slack-desc new file mode 100644 index 000000000000..064f5f5db381 --- /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 (Easy Web Authoring)
+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 is designed to be extremely easy to use, making it ideal
+kompozer: for non-technical computer users who want to create an attractive
+kompozer: professional-looking web site without needing to know HTML or web
+kompozer: coding.
+kompozer:
+kompozer: Home Page: http://www.kompozer.net/
+kompozer:
|