new package: gtkmathview, link-grammar:fix typo

This commit is contained in:
suvari
2026-06-10 16:47:52 +03:00
parent a69e50989d
commit 29dba10624
10 changed files with 382501 additions and 382225 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/python
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
#autotools.autoreconf("-vif")
autotools.configure()
def build():
autotools.make()
#def check():
#autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README")
@@ -0,0 +1,22 @@
diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN gtkmathview-0.8.0.old/src/backend/ps/PS_StreamRenderingContext.cc gtkmathview-0.8.0/src/backend/ps/PS_StreamRenderingContext.cc
--- gtkmathview-0.8.0.old/src/backend/ps/PS_StreamRenderingContext.cc 2007-08-17 06:02:40.000000000 -0400
+++ gtkmathview-0.8.0/src/backend/ps/PS_StreamRenderingContext.cc 2008-06-26 14:46:31.000000000 -0400
@@ -24,7 +24,6 @@
#include "PS_StreamRenderingContext.hh"
#include "String.hh"
#include "FontDataBase.hh"
-#include "T1_FontDataBase.hh"
PS_StreamRenderingContext::PS_StreamRenderingContext(const SmartPtr<AbstractLogger>& logger,
std::ostream& os,
diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN gtkmathview-0.8.0.old/src/backend/ps/PS_StreamRenderingContext.hh gtkmathview-0.8.0/src/backend/ps/PS_StreamRenderingContext.hh
--- gtkmathview-0.8.0.old/src/backend/ps/PS_StreamRenderingContext.hh 2007-08-17 06:02:40.000000000 -0400
+++ gtkmathview-0.8.0/src/backend/ps/PS_StreamRenderingContext.hh 2008-06-26 14:46:31.000000000 -0400
@@ -25,7 +25,6 @@
#include "PS_RenderingContext.hh"
#include "String.hh"
#include "FontDataBase.hh"
-#include "T1_FontDataBase.hh"
class GMV_BackEnd_EXPORT PS_StreamRenderingContext : public PS_RenderingContext
{
@@ -0,0 +1,26 @@
Description: Fix "call of overloaded 'abs(guint32)' is ambiguous"
Author: Dmitry Marakasov <amdmi3@FreeBSD.org>
Origin: https://svnweb.freebsd.org/ports/head/x11-toolkits/gtkmathview/files/patch-src_widget_gtkmathview__common.cc?view=markup
Bug-Debian: https://bugs.debian.org/853436
Last-Update: 2017-12-19
--- a/src/widget/gtkmathview_common.cc
+++ b/src/widget/gtkmathview_common.cc
@@ -909,7 +909,7 @@
math_view->select_state == SELECT_STATE_NO &&
fabs(math_view->button_press_x - event->x) <= CLICK_SPACE_RANGE &&
fabs(math_view->button_press_y - event->y) <= CLICK_SPACE_RANGE &&
- abs(math_view->button_press_time - event->time) <= CLICK_TIME_RANGE)
+ abs((long)math_view->button_press_time - (long)event->time) <= CLICK_TIME_RANGE)
{
// the mouse should have not moved more than one pixel in each direction
// and the time elapsed from the press event should be no more than 250ms
@@ -969,7 +969,7 @@
(math_view->select_state == SELECT_STATE_YES ||
fabs(math_view->button_press_x - x) > CLICK_SPACE_RANGE ||
fabs(math_view->button_press_y - y) > CLICK_SPACE_RANGE ||
- abs(math_view->button_press_time - event->time) > CLICK_TIME_RANGE))
+ abs((long)math_view->button_press_time - (long)event->time) > CLICK_TIME_RANGE))
{
if (math_view->select_state == SELECT_STATE_NO)
{
+95
View File
@@ -0,0 +1,95 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gtkmathview</Name>
<Homepage>http://www.cs.unibo.it/helm/mml-widget/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Icon>gtkmathview</Icon>
<IsA>library</IsA>
<Summary>A GTK Widget for Rendering MathML Documents</Summary>
<Description>GtkMathView is a C++ rendering engine for MathML documents. It provides an interactive view that can be used for browsing and editing MathML markup.</Description>
<Archive sha1sum="7c855d1d332d6b5e6f6f74bf78ab3916117b0470" type="tarxz">https://github.com/AbiWord/gtkmathview/releases/download/0.8.1/gtkmathview-0.8.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>atk-devel</Dependency>
<Dependency>popt-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>t1lib-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>harfbuzz-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
<Dependency>pangox-compat-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">gtkmathview-0.8.0-cond-t1.patch</Patch>
<Patch level="1">gtkmathview-gcc7.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gtkmathview</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>popt</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>cairo</Dependency>
<Dependency>t1lib</Dependency>
<Dependency>pango</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>freetype</Dependency>
<Dependency>harfbuzz</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>pangox-compat</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/libgtkmathview*</Path>
<Path fileType="library">/usr/lib/libmathview*</Path>
<Path fileType="data">/usr/share/gtkmathview</Path>
<Path fileType="manfile">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="config">/etc/gtkmathview</Path>
</Files>
</Package>
<Package>
<Name>gtkmathview-devel</Name>
<Summary>gtkmathview için geliştirme dosyaları</Summary>
<RuntimeDependencies>
<Dependency>gtk2-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency version="current">gtkmathview</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/gtkmathview</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-06-10</Date>
<Version>0.8.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gtkmathview</Name>
<Summary xml:lang="tr">MathML Belgelerini Görüntülemek için Bir GTK Widget'ı</Summary>
<Description xml:lang="tr">GtkMathView, MathML belgeleri için bir C++ görüntüleme motorudur. MathML işaretlemesini incelemek ve düzenlemek için kullanılabilen etkileşimli bir görünüm sağlar.</Description>
</Source>
<Package>
<Name>gtkmathview-devel</Name>
<Summary xml:lang="tr">gtkmathview için geliştirme dosyaları</Summary>
</Package>
</PISI>
+2 -2
View File
@@ -1,4 +1,3 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
@@ -9,6 +8,7 @@
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPL-2.1-or-later</License>
<Icon>link-grammar</Icon>
<IsA>library</IsA>
<Summary>A grammar checking library</Summary>
<Description>The Link Grammar Parser exhibits the linguistic (natural language) structure of English, Thai, Russian, Arabic, Persian and limited subsets of a half-dozen other languages. This structure is a graph of typed links (edges) between the words in a sentence. One may obtain the more conventional HPSG (constituent) and dependency style parses from Link Grammar by applying a collection of rules to convert to these different formats. </Description>
@@ -59,7 +59,7 @@
<History>
<Update release="1">
<Date>2026-06-08</Date>
<Date>2026-06-10</Date>
<Version>4.8.5</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
+382317 -382221
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
3a815f7f19af099a8338e36f97c49d9fda34cd6c
086b819768866d373787220f97ab3a9aac62b460
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
af7cb1e84bac892e304fd173c27a16d128c6a582
45b6f83e9bc1a2081efc077771801925def24413