LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-06-2013, 08:57 PM   #1
PeterUK
Member
 
Registered: May 2009
Posts: 275

Rep: Reputation: 16
Slackware- Help installing bluegriffon


I would like to install bluegriffon on Slackware

Here is the website:

http://bluegriffon.org/pages/Download

But they don't give option for Slackware what should I do?
 
Old 04-06-2013, 09:37 PM   #2
elvis4526
Member
 
Registered: Aug 2011
Posts: 111

Rep: Reputation: Disabled
I would suggest trying src2pkg on the source tarball.
 
Old 04-06-2013, 09:41 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,331

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
This thread from Google-groups might help:

https://groups.google.com/forum/?fro...on/o2PmABfO4KQ
 
Old 04-06-2013, 10:21 PM   #4
PeterUK
Member
 
Registered: May 2009
Posts: 275

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by elvis4526 View Post
I would suggest trying src2pkg on the source tarball.
Hi when I try src2pkg it said

Code:
src2pkg: command not found
 
Old 04-06-2013, 10:30 PM   #5
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 246

Rep: Reputation: 40
download and install src2pkg first
 
Old 04-06-2013, 10:38 PM   #6
PeterUK
Member
 
Registered: May 2009
Posts: 275

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by zrdc28 View Post
download and install src2pkg first
OK I will, at the moment I have saved under /opt (from the Ubuntu version) and make a like to executable it open I still dont know if it work properly.

I will install src2pkg
 
Old 04-06-2013, 10:43 PM   #7
PeterUK
Member
 
Registered: May 2009
Posts: 275

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by zrdc28 View Post
download and install src2pkg first
Where is the src2pkg is not in the slackbuilds?
 
Old 04-07-2013, 06:03 AM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,993

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
Go to http://distro.ibiblio.org/amigolinux/download/src2pkg/. Download the file src2pkg-2.8-noarch-1.txz (it's a Slackware package); execute
Code:
su -        (you must be root to do this)
installpkg src2pkg-2.8-noarch-1.txz
Watch the screen and respond to the prompt -- src2pgk builds and installs itself.

Might want to read through the manual page (man src2pkg) when it finishes.

Hope this helps some.
 
Old 04-07-2013, 11:20 AM   #9
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Rep: Reputation: 55
Code:
#!/bin/sh

# Notice: This script is based on the mozilla-firefox repackaging script from
# Slackware 13.1 - Mathew Holleran, 07-04-2012.
#
# Copyright 2008, 2009, 2010, 2011  Patrick J. Volkerding, Sebeka, Minnesota, USA
# 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.

PRGNAM=bluegriffon
VERSION=$(basename $(ls ${PRGNAM}-*.tar.?z* | cut -d - -f 2))
EXTVER=$(basename $(ls ${PRGNAM}-*.tar.?z* | cut -d - -f 3))
SUFFIX=$(basename $(ls ${PRGNAM}-*.tar.?z* | cut -d - -f 4))
ARCH=$(echo $SUFFIX | cut -d . -f 1)
BUILD=${BUILD:-1}
CWD=`pwd`
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM

if [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

if [ ! -d $TMP ]; then
  mkdir -p $TMP
fi
rm -rf $PKG
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
echo
echo "Repackaging $PRGNAM-$EXTVER-$VERSION for Slackware $ARCH"
echo
( cd $PKG/usr/lib${LIBDIRSUFFIX}
  tar xf $CWD/$PRGNAM-$VERSION-$EXTVER-$SUFFIX || exit 1
  mv ${PRGNAM} $PRGNAM-$VERSION
  ln -sf $PRGNAM-$VERSION $PRGNAM
  cd $PRGNAM-$VERSION
  cd $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
) || exit 1
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
  ln -sf /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/$PRGNAM .
)

# Fix moz_libdir path in wrapper script since we're not installing in /usr/local
sed -i "s/usr\/local\/lib/usr\/lib${LIBDIRSUFFIX}/" $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/$PRGNAM

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=BlueGriffon
Comment=WYSIWYG web-content editor
Exec=bluegriffon %u
Icon=bluegriffon
Type=Application
Categories=Applications;Development;
Name=bluegriffon
MimeType=text/html;
X-KDE-StartupNotify=true
EOF

mkdir -p $PKG/usr/share/pixmaps
cp $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/chrome/icons/default/default48.png $PKG/usr/share/pixmaps/$PRGNAM.png

mkdir $PKG/install
cat << EOF > $PKG/install/slack-desc
# 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------------------------------------------------------|
bluegriffon: BlueGriffon (Gecko-powered WYSIWYG web-content editor)
bluegriffon:
bluegriffon: BlueGriffon is a new WYSIWYG content editor for the World Wide Web.
bluegriffon: Powered by Gecko, the rendering engine of Firefox, it's a modern and
bluegriffon: robust solution to edit Web pages in conformance to the latest Web
bluegriffon: Standards. Because Gecko lives inside BlueGriffon, the document you
bluegriffon: edit will look exactly the same in Firefox. Advanced users can always
bluegriffon: use the Source View to hard-code their page.
bluegriffon: BlueGriffon is tri-licensed under the Mozilla Public License 1.1, the
bluegriffon: GNU GPL Version 2 and the GNU Lesser GPL Version 2.1.
bluegriffon: http://bluegriffon.org/
EOF
cd $PKG
# Sanitise permissions before rolling package:
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 {} \;

makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD.txz
Attached Files
File Type: txt bluegriffon.SlackBuild.txt (4.6 KB, 17 views)

Last edited by fskmh; 04-07-2013 at 11:23 AM. Reason: Attached build script as text attachment
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Windows XP after installing Slackware 13.37 | How to work with the MBR WhiteyMcQ-Tip Slackware 15 03-06-2012 10:56 AM
Installing Slackware to loop file from EXISTING Slackware simopal6 Slackware 12 06-24-2010 11:59 PM
[SOLVED] Installing Slackware on IDE hardrive boot from slackware DVD ethereal1m Linux - Newbie 2 01-24-2010 03:28 AM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration