Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yelpwebkit2gtk #82

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions academic/xiphos/README
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ Sword project by the CrossWire Bible Society.

computer reading of the text using festival has not been tested. if
it works let me know, and i'll remove these two lines from the readme.

if built with webkit2gtk4.1 then yelp also needs to be built with
webkit2gtk4.1
8 changes: 6 additions & 2 deletions academic/xiphos/xiphos.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Slackware build script for xiphos

# Copyright 2015-2023 Tim Dickson, email: [email protected]
# Copyright 2015-2024 Tim Dickson, email: [email protected]
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
Expand All @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=xiphos
VERSION=${VERSION:-4.2.1}
BUILD=${BUILD:-5}
BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

Expand Down Expand Up @@ -85,6 +85,10 @@ find -L . \

#patch to make work with newer glib
echo "#define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_2_26)" >>cmake/config.h.cmake.in
if $(pkg-config --exists webkit2gtk.1); then #patch for webkit2gtk4.1
sed -i 's/webkit2gtk-4.0/webkit2gtk-4.1/g' cmake/XiphosDependencies.cmake
sed -i 's/libsoup-2.4/libsoup-3.0/g' cmake/XiphosDependencies.cmake
fi
mkdir -p build
cd build
cmake -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
Expand Down
2 changes: 2 additions & 0 deletions office/gnucash/README
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ Pass WITHPYTHON="yes" to enable Python bindings for report gereration.

If you want the SQL database integration, you must first have libdbi
and libdbi-drivers installed and pass DBI="yes" to the build script.

to build with webkit2gtk4.1, yelp needs to be built with webkit2gtk4.1
8 changes: 7 additions & 1 deletion office/gnucash/gnucash.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=gnucash
VERSION=${VERSION:-4.11}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

Expand Down Expand Up @@ -119,6 +119,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

if $(pkg-config --exists webkit2gtk4.1); then
#use webkit2gtk4.1 instead of webkit2gtk if present.
sed -i 's/webkit2gtk-4.0/webkit2gtk-4.1/g' CMakeLists.txt
sed -i 's/WebKit2Gtk4/WebKit2Gtk4.1/g' CMakeLists.txt
fi

mkdir -p build
cd build
cmake \
Expand Down
7 changes: 4 additions & 3 deletions system/yelp/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ yelp allows you to view documentation regarding GNOME and other
components through a variety of formats

Conflict warning: webkit2gtk and webkit2gtk4.1 conflict with each
other. Since this depends on webkit2gtk (with 4.0 API), yelp cannot
be used with (or even installed on the same system as) software that
requires webkit2gtk4.1.
other. If this is build with webkit2gtk4.1 instead of webkit2gtk,
any software that uses it and it's deps must also be built with
webkit2gtk4.1/soup3 instead of webkit2gtk/soup2

9 changes: 7 additions & 2 deletions system/yelp/yelp.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=yelp
VERSION=${VERSION:-42.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

Expand Down Expand Up @@ -76,6 +76,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

WKIT2="4-0" #handle either webkit2gtk or webkit2gtk4.1
if $(pkg-config --exists webkit2gtk-4.1); then
WKIT2="4-1"
fi

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
Expand All @@ -87,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
--disable-schemas-compile \
--with-webkit2gtk-4-0 \
--with-webkit2gtk-$WKIT2 \
--build=$ARCH-slackware-linux

make
Expand Down