aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2024-03-18 12:02:25 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-23 08:17:18 +0700
commit30a4c24063e1d7445f9b0547da514353942134e6 (patch)
tree81737d6156f311103de6af9d35768279255d4da3
parent1de5977ba11035fd2da2a6ed3f0359b71435044f (diff)
network/midori: Removed (abandoned upstream).
Now astian develops it as a firefox fork Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/midori/0115b02f43d23612366d0c5063e6b314d04e3853.patch29
-rw-r--r--network/midori/README12
-rw-r--r--network/midori/doinst.sh10
-rw-r--r--network/midori/midori.SlackBuild116
-rw-r--r--network/midori/midori.info10
-rw-r--r--network/midori/slack-desc19
6 files changed, 0 insertions, 196 deletions
diff --git a/network/midori/0115b02f43d23612366d0c5063e6b314d04e3853.patch b/network/midori/0115b02f43d23612366d0c5063e6b314d04e3853.patch
deleted file mode 100644
index 4c487b35025e..000000000000
--- a/network/midori/0115b02f43d23612366d0c5063e6b314d04e3853.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 0115b02f43d23612366d0c5063e6b314d04e3853 Mon Sep 17 00:00:00 2001
-From: Klaus von der Heyde <39677540+asc-soc@users.noreply.github.com>
-Date: Mon, 16 Sep 2019 19:23:00 +0200
-Subject: [PATCH] Added special handling when Midori.Urlbar is in focus (#366)
-
-If the urlbar has focus and reacts on the event, stop further handling. This enables ^N and ^T again, as the edit field does not handle them. Any key binding in the edit field takes precedence.
-
-Fixes: #364
----
- core/browser.vala | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/core/browser.vala b/core/browser.vala
-index 3ce21e40..503aa301 100644
---- a/core/browser.vala
-+++ b/core/browser.vala
-@@ -453,6 +453,12 @@ namespace Midori {
- // No keyboard shortcuts in locked state
- if (is_locked) {
- return propagate_key_event (event);
-+ }
-+ // Default behaviour for navigation bar
-+ if (get_focus () is Midori.Urlbar) {
-+ if (navigationbar.urlbar.key_press_event (event)) {
-+ return true;
-+ }
- }
- // Default behavior for standard widgets
- if (!(get_focus () is WebKit.WebViewBase)) {
diff --git a/network/midori/README b/network/midori/README
deleted file mode 100644
index d8f163a4e09f..000000000000
--- a/network/midori/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Midori is a lightweight, webkit-based web browser.
-
-Features:
- * Full integration with GTK+3
- * Fast rendering with WebKit
- * Tabs, windows and session management
- * Flexibly configurable Web Search.
- * User scripts and user styles support.
- * Straightforward bookmark management.
- * Customizable and extensible interface.
- * Extensions such as Adblock, form history, mouse gestures
- or cookie management.
diff --git a/network/midori/doinst.sh b/network/midori/doinst.sh
deleted file mode 100644
index 4a25de5e6fbd..000000000000
--- a/network/midori/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-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 -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/midori/midori.SlackBuild b/network/midori/midori.SlackBuild
deleted file mode 100644
index a4f89197da27..000000000000
--- a/network/midori/midori.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for midori.
-
-# Copyright 2008 Andrew Brouwers <abrouwers@gmail.com>
-# Copyright 2009-2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
-# Copyright 2012-2013 Roberto Neri, Palermo, Italy
-# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-#
-# 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.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=midori
-SRCNAM=core
-VERSION=${VERSION:-9.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# fix wrong focus
-patch -p1 < $CWD/0115b02f43d23612366d0c5063e6b314d04e3853.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DVALA_CFLAGS="$SLKCFLAGS" \
- -G Ninja \
- ..
- "${NINJA:=ninja}"
- DESTDIR=$PKG $NINJA install
-cd ..
-
-rm -fR $PKG/usr/share/doc
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING *.md $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
diff --git a/network/midori/midori.info b/network/midori/midori.info
deleted file mode 100644
index f7dc67bc5581..000000000000
--- a/network/midori/midori.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="midori"
-VERSION="9.0"
-HOMEPAGE="https://midori-browser.org/"
-DOWNLOAD="https://github.com/midori-browser/core/archive/v9.0/core-9.0.tar.gz"
-MD5SUM="b39172aeb754e666f044d69828f82bcc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libpeas webkit2gtk"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/network/midori/slack-desc b/network/midori/slack-desc
deleted file mode 100644
index 15edff560126..000000000000
--- a/network/midori/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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 ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-midori: midori (simple web-browser)
-midori:
-midori: midori is a simple web-browser, based on the webkit framework
-midori: and gtk+3.
-midori:
-midori: Homepage: https://midori-browser.org
-midori:
-midori:
-midori:
-midori:
-midori: