aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/abiword/APKBUILD78
-rw-r--r--main/abiword/fix-black-drawing-regression.patch54
-rw-r--r--main/abiword/fix-nullptr-c++98.patch34
-rw-r--r--main/gnumeric/APKBUILD43
-rw-r--r--main/gnumeric/unbreak-build-by-skipping-cs.patch13
-rw-r--r--main/goffice/APKBUILD41
6 files changed, 0 insertions, 263 deletions
diff --git a/main/abiword/APKBUILD b/main/abiword/APKBUILD
deleted file mode 100644
index 1651e290d2..0000000000
--- a/main/abiword/APKBUILD
+++ /dev/null
@@ -1,78 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=abiword
-pkgver=3.0.2
-pkgrel=1
-pkgdesc="A fully-featured word processor"
-url="http://www.abisource.com"
-arch="all"
-license="GPL2+"
-makedepends="gtk+3.0-dev libgsf-dev enchant-dev fribidi-dev wv-dev
- popt-dev libjpeg-turbo-dev librsvg-dev bzip2-dev goffice-dev pcre-dev
- libxslt-dev"
-
-# openxml plugin
-makedepends="$makedepends boost-dev"
-
-# collab plugin
-makedepends="$makedepends gnutls-dev libsoup-dev dbus-glib-dev"
-
-subpackages="$pkgname-dev $pkgname-doc $pkgname-plugins"
-
-_plugins="applix babelfish bmp clarisworks collab docbook eml epub
- freetranslation garble gdict gimp google hancom hrtext iscii kword
- latex loadbindings mht mif mswrite openwriter openxml opml paint
- passepartout pdb pdf presentation s5 sdw t602 urldict wikipedia wml
- xslfo"
-
-for _i in $_plugins; do
- subpackages="$subpackages $pkgname-plugin-$_i:$_i"
-done
-
-source="http://www.abisource.com/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz
- fix-black-drawing-regression.patch
- fix-nullptr-c++98.patch"
-
-builddir="$srcdir"/$pkgname-$pkgver
-
-build() {
- cd "$builddir"
- export CXXFLAGS="$CXXFLAGS -std=gnu++98"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --enable-shared \
- --disable-static \
- --enable-plugins
- make
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
-}
-
-_do_plugin() {
- local plugin="$1"
- pkgdesc="Abiword $1 plugin"
- local dir="usr/lib/abiword-${pkgver%.*}/plugins"
- mkdir -p "$subpkgdir"/$dir
- mv "$pkgdir"/$dir/$plugin.so "$subpkgdir"/$dir/
-}
-
-for _i in $_plugins; do
- eval "$_i() { _do_plugin $_i; }"
-done
-
-plugins() {
- pkgdesc="Abiword plugins, all of them"
- depends=
- for _i in $_plugins; do
- depends="$depends $pkgname-plugin-$_i"
- done
- mkdir -p "$subpkgdir"
-}
-
-sha512sums="29ce9e80b3b85ab2933e7d39216771d8c4e05db5255eaed0cf8e1d032ffaac2cb1880bf24e754196ad5dae4969a1c2101ce4dc9c1db14604adc2f852b6a17fe3 abiword-3.0.2.tar.gz
-cae9a08047cd97d11acea25a2f0b0ca4e8e4556b462eb476507fa178a7412221839febfeb36bebf491bb94d53525c4584d86230f96c403a7ceb2dec4223be8fe fix-black-drawing-regression.patch
-fbfedad9b58ba44fac53142fae77dce499b9d3f01acb2967e6507b94a8206436240e924ae420c1b92f707a0e08df9874c8de034532032cf6d8df9b28dcd8a3cf fix-nullptr-c++98.patch"
diff --git a/main/abiword/fix-black-drawing-regression.patch b/main/abiword/fix-black-drawing-regression.patch
deleted file mode 100644
index dbce8c696d..0000000000
--- a/main/abiword/fix-black-drawing-regression.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From cec2fda355b67b5b814a803c5ed128c425cbb030 Mon Sep 17 00:00:00 2001
-From: Hubert Figuiere <hub@figuiere.net>
-Date: Thu, 8 Dec 2016 02:03:10 +0000
-Subject: [PATCH] Bug 13815 - draw event should return TRUE
-
-This fix the black drawing regression with Gtk3.22
-
-git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@35394 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
----
- src/af/xap/gtk/xap_UnixFrameImpl.cpp | 6 +++---
- src/af/xap/gtk/xap_UnixFrameImpl.h | 4 ++--
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.cpp b/src/af/xap/gtk/xap_UnixFrameImpl.cpp
-index 780000e..10f8e00 100644
---- a/src/af/xap/gtk/xap_UnixFrameImpl.cpp
-+++ b/src/af/xap/gtk/xap_UnixFrameImpl.cpp
-@@ -1208,9 +1208,9 @@ gint XAP_UnixFrameImpl::_fe::delete_event(GtkWidget * w, GdkEvent * /*event*/, g
- }
-
- #if GTK_CHECK_VERSION(3,0,0)
--gint XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
-+gboolean XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
- #else
--gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
-+gboolean XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
- #endif
- {
- XAP_UnixFrameImpl * pUnixFrameImpl = static_cast<XAP_UnixFrameImpl *>(g_object_get_data(G_OBJECT(w), "user_data"));
-@@ -1243,7 +1243,7 @@ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
- pView->draw(&rClip);
- #endif
- }
-- return FALSE;
-+ return TRUE;
- }
-
- static bool bScrollWait = false;
-diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.h b/src/af/xap/gtk/xap_UnixFrameImpl.h
-index 30ee5d8..a0ff57f 100644
---- a/src/af/xap/gtk/xap_UnixFrameImpl.h
-+++ b/src/af/xap/gtk/xap_UnixFrameImpl.h
-@@ -152,9 +152,9 @@ class XAP_UnixFrameImpl : public XAP_FrameImpl
- static gint key_release_event(GtkWidget* w, GdkEventKey* e);
- static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/);
- #if GTK_CHECK_VERSION(3,0,0)
-- static gint draw(GtkWidget * w, cairo_t * cr);
-+ static gboolean draw(GtkWidget * w, cairo_t * cr);
- #else
-- static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
-+ static gboolean expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
- #endif
- static gint do_ZoomUpdate( gpointer /* xap_UnixFrame * */ p);
- static void vScrollChanged(GtkAdjustment * w, gpointer /*data*/);
diff --git a/main/abiword/fix-nullptr-c++98.patch b/main/abiword/fix-nullptr-c++98.patch
deleted file mode 100644
index f09319693f..0000000000
--- a/main/abiword/fix-nullptr-c++98.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Replace 'nullptr' by NULL in order to allow compiling in C++98 mode.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=599618
-
---- a/src/af/gr/gtk/gr_UnixCairoGraphics.cpp
-+++ b/src/af/gr/gtk/gr_UnixCairoGraphics.cpp
-@@ -180,7 +180,7 @@
- if (m_styleBg) {
- g_object_unref(m_styleBg);
- }
-- m_styleBg = XAP_GtkStyle_get_style(nullptr, "GtkButton"); // "button"
-+ m_styleBg = XAP_GtkStyle_get_style(NULL, "GtkButton"); // "button"
- // guess colours
- // WHITE
- GdkRGBA rgba2;
-@@ -627,7 +627,7 @@
- _setProps();
- cairo_save (m_cr);
-
-- GtkStyleContext *context = nullptr;
-+ GtkStyleContext *context = NULL;
- switch(c) {
- case GR_Graphics::CLR3D_Background:
- context = m_styleBg;
---- a/src/wp/ap/xp/ap_Dialog_Spell.cpp
-+++ b/src/wp/ap/xp/ap_Dialog_Spell.cpp
-@@ -251,7 +251,7 @@
- UT_return_val_if_fail (m_Suggestions, false);
-
- // get suggestions from spelling engine
-- const UT_GenericVector<UT_UCSChar*> *cpvEngineSuggestions = nullptr;
-+ const UT_GenericVector<UT_UCSChar*> *cpvEngineSuggestions = NULL;
-
- if (checker->checkWord(m_pWord, m_iWordLength) == SpellChecker::LOOKUP_FAILED)
- {
diff --git a/main/gnumeric/APKBUILD b/main/gnumeric/APKBUILD
deleted file mode 100644
index 5fb29f124e..0000000000
--- a/main/gnumeric/APKBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=gnumeric
-pkgver=1.12.37
-pkgrel=0
-pkgdesc="A GNOME Spreadsheet Program"
-url="http://www.gnome.org/projects/gnumeric/"
-arch="all"
-license="GPL"
-makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian
- python2-dev py-gobject3-dev libxslt-dev bison flex itstool
- libxml2-utils
- autoconf automake libtool"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
- unbreak-build-by-skipping-cs.patch
- "
-
-builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- default_prepare
- autoreconf -vif
-}
-
-build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --with-python
- make
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="26fb96f2a94f206f20bdd8dba479d34749079d1799e0b03f872c5fff1ac9d4a60c0cfe01d2dc934edea6133f213d390981878ce653586a1efe8b2ca888d49aad gnumeric-1.12.37.tar.xz
-8162b0901e7acf586f4f5be103e2507c17da38ef4e22ce98011dba076de14ea819d346d11917d4d5c70c328b876d890bad2d6b3cede793d218033a59853a0d81 unbreak-build-by-skipping-cs.patch"
diff --git a/main/gnumeric/unbreak-build-by-skipping-cs.patch b/main/gnumeric/unbreak-build-by-skipping-cs.patch
deleted file mode 100644
index a415d7004d..0000000000
--- a/main/gnumeric/unbreak-build-by-skipping-cs.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/doc/Makefile.am b/doc/Makefile.am
-index 4705b58..fe0abae 100644
---- a/doc/Makefile.am
-+++ b/doc/Makefile.am
-@@ -8,7 +8,7 @@ DISTCLEANFILES=
- @YELP_HELP_RULES@
-
- HELP_ID=gnumeric
--HELP_LINGUAS=cs de es
-+HELP_LINGUAS=de es
- HELP_FILES=gnumeric.xml
-
- HELP_EXTRA= \
diff --git a/main/goffice/APKBUILD b/main/goffice/APKBUILD
deleted file mode 100644
index 6c5838e033..0000000000
--- a/main/goffice/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=goffice
-pkgver=0.10.37
-pkgrel=0
-_maj=${pkgver%%.*}
-_min=${pkgver#${_maj}.}
-_min=${_min%%.*}
-pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
-url="http://www.gnome.org"
-arch="all"
-license="GPL"
-depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev gtk+3.0-dev librsvg-dev"
-makedepends="$depends_dev intltool gtk+-dev autoconf automake libtool gtk-doc
- libxslt-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.gnome.org/sources/$pkgname/$_maj.$_min/$pkgname-$pkgver.tar.xz"
-
-prepare() {
- default_prepare
- libtoolize --force && aclocal && autoconf \
- && automake --add-missing --gnu
-}
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="0d4a3465fc37ba46e04b12af8f8163348a03b144883765dce252f80502a771d066ce2d2c4d67425b0e8ad1caa3dd04fe49acdb7b2ec76edd4d3eabdb7da36254 goffice-0.10.37.tar.xz"