initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

40
gtkspell2/PKGBUILD Normal file
View File

@@ -0,0 +1,40 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
# Contributer (Arch): Ben <ben@benmazer.net>
pkgname=gtkspell2
_realpkgname=gtkspell
pkgver=2.0.16
pkgrel=1
pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
url='http://gtkspell.sourceforge.net/'
arch=('i686' 'x86_64')
license=('GPL-2')
depends=('gtk2' 'enchant')
makedepends=('intltool' 'gettext-tiny')
source=("https://downloads.sourceforge.net/sourceforge/gtkspell/${_realpkgname}-${pkgver}.tar.gz"
"remove-gtkdoc.patch")
sha512sums=('7d3afb327c2e15608194e6ee6110107a0ce082e483788d831d636b2e579472304137373c09a966d8e5c0cd2f830bf2e0ee477c9b5fca7da6ee27fd1498915b9d'
'af7daf44ee0c751ed4fd3fa830bb02f8d8caae4efa079854389f6fc8a1fb8d01091fd7417fc0bc0c62180bf2f592d943949ca2ec18d5deef13cac80f8c2b8406')
prepare() {
cd "$_realpkgname-$pkgver"
patch -Np1 -i ${srcdir}/remove-gtkdoc.patch
rm gtk-doc.make
rm -rf ./docs
autoreconf -fvi
}
build() {
cd "$_realpkgname-$pkgver"
./configure \
--prefix=/usr \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $_realpkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}

View File

@@ -0,0 +1,78 @@
--- a/configure.ac 2009-10-23 04:52:31.000000000 +0200
+++ b/configure.ac 2023-05-18 01:37:16.213390282 +0200
@@ -31,44 +31,6 @@
# [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])],
# [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])])
-# gtk-doc check:
-# gtk-doc check:
-# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in
-AC_ARG_WITH(html-dir, AC_HELP_STRING([--with-html-dir=PATH],[path to installed docs]))
-
-if test "x$with_html_dir" = "x" ; then
- HTML_DIR='${datadir}/gtk-doc/html'
-else
- HTML_DIR=$with_html_dir
-fi
-
-AC_SUBST(HTML_DIR)
-
-gtk_doc_min_version=1.0
-AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
-if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
- AC_MSG_RESULT(yes)
- GTKDOC=true
-else
- AC_MSG_RESULT(no)
- GTKDOC=false
-fi
-
-dnl Let people disable the gtk-doc stuff.
-AC_ARG_ENABLE(gtk-doc, AC_HELP_STRING([--enable-gtk-doc],[Use gtk-doc to build documentation [[default=auto]]]), enable_gtk_doc="$enableval", enable_gtk_doc=auto)
-
-if test x$enable_gtk_doc = xauto ; then
- if test x$GTKDOC = xtrue ; then
- enable_gtk_doc=yes
- else
- enable_gtk_doc=no
- fi
-fi
-
-AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
-
-# end gtk-doc check.
-
AC_PROG_CC
AC_PROG_LIBTOOL
@@ -90,9 +52,7 @@
dnl AM_MAINTAINER_MODE
-AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc gtkspell.spec docs/Makefile po/Makefile.in)
-
-GTK_DOC_CHECK(1.0)
+AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc gtkspell.spec po/Makefile.in)
AC_OUTPUT
--- a/Makefile.am 2009-10-08 00:24:30.000000000 +0200
+++ b/Makefile.am 2023-05-18 01:55:22.922555140 +0200
@@ -1,4 +1,4 @@
-SUBDIRS=gtkspell examples docs po
+SUBDIRS=gtkspell examples po
pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA=gtkspell-2.0.pc
--- a/Makefile.in 2009-10-23 04:57:14.000000000 +0200
+++ b/Makefile.in 2023-05-18 01:45:26.493361866 +0200
@@ -224,7 +224,7 @@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-SUBDIRS = gtkspell examples docs po
+SUBDIRS = gtkspell examples po
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gtkspell-2.0.pc
DISTCLEANFILES = gtkspell-2.0.pc