abiword: 3.0.5
This commit is contained in:
parent
16b5e2fced
commit
73c9bc5685
4 changed files with 175 additions and 0 deletions
103
abiword/.footprint
Normal file
103
abiword/.footprint
Normal file
|
@ -0,0 +1,103 @@
|
|||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/abiword
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/abiword-3.0/
|
||||
-rw-r--r-- root/root usr/include/abiword-3.0/abiwidget.h
|
||||
-rw-r--r-- root/root usr/include/abiword-3.0/libabiword.h
|
||||
-rw-r--r-- root/root usr/include/abiword-3.0/xap_UnixTableWidget.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/abiword-3.0/
|
||||
drwxr-xr-x root/root usr/lib/abiword-3.0/plugins/
|
||||
-rwxr-xr-x root/root usr/lib/abiword-3.0/plugins/opendocument.la
|
||||
-rwxr-xr-x root/root usr/lib/abiword-3.0/plugins/opendocument.so
|
||||
-rwxr-xr-x root/root usr/lib/abiword-3.0/plugins/openxml.la
|
||||
-rwxr-xr-x root/root usr/lib/abiword-3.0/plugins/openxml.so
|
||||
-rwxr-xr-x root/root usr/lib/libabiword-3.0.so
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/abiword-3.0.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/abiword-3.0/
|
||||
drwxr-xr-x root/root usr/share/abiword-3.0/mime-info/
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/mime-info/abiword.keys
|
||||
drwxr-xr-x root/root usr/share/abiword-3.0/omml_xslt/
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/omml_xslt/mml2omml.xsl
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/omml_xslt/omml2mml.xsl
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/readme.abw
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/readme.txt
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/system.profile
|
||||
drwxr-xr-x root/root usr/share/abiword-3.0/templates/
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/templates/normal.awt
|
||||
drwxr-xr-x root/root usr/share/abiword-3.0/ui/
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Annotation-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Border_Shading-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Break-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Field-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_FormatFootnotes-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_FormatFrame-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_FormatTOC-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_FormatTable-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Goto-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_HdrFtr-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_InsertTable-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Insert_DateTime-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Latex-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_MailMerge-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_MetaData-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_New-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Options-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Options_ColorSel-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_PageNumbers-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_PageSetup-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_RDFEditor-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_RDFQuery-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Replace-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_SemanticStylesheets-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Styles-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Stylist-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_Tab-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/ap_UnixDialog_WordCount-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/pd_RDFContact-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/pd_RDFEvent-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/pd_RDFInsertReference-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/pd_RDFLocation-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_DocComparison-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_Encoding-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_History-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_Image-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_Language-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_ListDocuments-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_Password-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_PluginManager-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_WindowMore-2.ui
|
||||
-rw-r--r-- root/root usr/share/abiword-3.0/ui/xap_UnixDlg_Zoom-2.ui
|
||||
drwxr-xr-x root/root usr/share/appdata/
|
||||
-rw-r--r-- root/root usr/share/appdata/abiword.appdata.xml
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/abiword.desktop
|
||||
drwxr-xr-x root/root usr/share/icons/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/abiword.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/22x22/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/22x22/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/abiword.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/256x256/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/256x256/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/256x256/apps/abiword.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/abiword.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/abiword.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/512x512/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/512x512/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/512x512/apps/abiword.png
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/abiword.svg
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/abiword.1.gz
|
6
abiword/.signature
Normal file
6
abiword/.signature
Normal file
|
@ -0,0 +1,6 @@
|
|||
untrusted comment: verify with /etc/ports/d77crux.pub
|
||||
RWT0dvMs3lAWkGZD/8ecHUIsyFz8f9cBTriXF4UT8VTveIWLburaKfanHfZmoqNYeA/way5Fi25rLCIb/yE7DHJ1f97ZhKe1bg8=
|
||||
SHA256 (Pkgfile) = ef1ad0d677e29d4854d6f3db05535cfb4761e525a1201d6c44199fce9a52a3c3
|
||||
SHA256 (.footprint) = 85356ad8fc7e5e470ba0e3708ded51d2951c85a18cecd2acf4ae174f60fce1b5
|
||||
SHA256 (AbiWord-release-3.0.5.tar.gz) = 078a8d2d1ff1713557a88f7067af6b40b79fa8d0b893bd138de19f8772c30329
|
||||
SHA256 (enchant-2.1.patch) = 444dc2aadea3c80310a509b690097541573f6d2652c573d04da66a0f385fcfb2
|
37
abiword/Pkgfile
Normal file
37
abiword/Pkgfile
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Description: A lightweight and featureful Word Processor
|
||||
# URL: http://www.abisource.com
|
||||
# Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
|
||||
# Depends on: boost dbus-glib libgcrypt librsvg libxslt wv
|
||||
# originally found at Petar Petrov's Github repo crux-ports
|
||||
|
||||
name=abiword
|
||||
version=3.0.5
|
||||
release=3
|
||||
source=(https://gitlab.gnome.org/World/AbiWord/-/archive/release-3.0.5/AbiWord-release-3.0.5.tar.gz enchant-2.1.patch)
|
||||
|
||||
build() {
|
||||
cd AbiWord-release-$version
|
||||
export PKG_CONFIG_PATH="/usr/lib/libxml210/pkgconfig:$PKG_CONFIG_PATH"
|
||||
patch -p1 < $SRC/enchant-2.1.patch
|
||||
|
||||
# 20200622 bkw: don't let abiword create /root/.config/abiword/profile
|
||||
# during the build process. Don't break ccache in the process.
|
||||
mkdir -p tmphome
|
||||
export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
|
||||
export HOME=$( pwd )/tmphome
|
||||
|
||||
./autogen.sh
|
||||
|
||||
CPPFLAGS="-I$SRC/$name-$version" \
|
||||
CFLAGS="$CFLAGS -fcommon" \
|
||||
CXXFLAGS="$CXXCFLAGS -fcommon" \
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--with-gtk2
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
rm -f $PKG/{,usr/}lib/*.la
|
||||
rm -rf $PKG/usr/share/$name-${version%.*}/{strings,templates/normal.awt-*,system.profile-*}
|
||||
}
|
29
abiword/enchant-2.1.patch
Normal file
29
abiword/enchant-2.1.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- abiword-3.0.2/src/af/xap/xp/enchant_checker.cpp.orig 2013-04-07 13:53:03.000000000 +0000
|
||||
+++ abiword-3.0.2/src/af/xap/xp/enchant_checker.cpp 2017-11-19 22:54:41.236180298 +0000
|
||||
@@ -127,7 +127,7 @@
|
||||
pvSugg->addItem (ucszSugg);
|
||||
}
|
||||
|
||||
- enchant_dict_free_suggestions (m_dict, suggestions);
|
||||
+ enchant_dict_free_string_list (m_dict, suggestions);
|
||||
}
|
||||
|
||||
return pvSugg;
|
||||
@@ -139,7 +139,7 @@
|
||||
|
||||
if (word && len) {
|
||||
UT_UTF8String utf8 (word, len);
|
||||
- enchant_dict_add_to_personal (m_dict, utf8.utf8_str(), utf8.byteLength());
|
||||
+ enchant_dict_add (m_dict, utf8.utf8_str(), utf8.byteLength());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -150,7 +150,7 @@
|
||||
UT_return_val_if_fail (m_dict, false);
|
||||
|
||||
UT_UTF8String ignore (toCorrect, toCorrectLen);
|
||||
- return enchant_dict_is_in_session (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
|
||||
+ return enchant_dict_is_added (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
|
||||
}
|
||||
|
||||
void EnchantChecker::ignoreWord (const UT_UCSChar *toCorrect, size_t toCorrectLen)
|
Loading…
Reference in a new issue