ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Zubkov <icesik@mail.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
Date: Mon, 5 Jun 2006 20:17:45 +0300
Message-ID: <200606052017.48618.icesik@mail.ru> (raw)
In-Reply-To: <20060605161955.GV26828@osdn.org.ua>


[-- Attachment #1.1: Type: text/plain, Size: 639 bytes --]

В сообщении от 5 июня 2006 19:19 Michael Shigorin написал(a):
> On Mon, Jun 05, 2006 at 12:19:08AM +0400, QA Team Robot wrote:
> > Package: liblasi-1.0.4-alt2
> > Packager: Michael Shigorin <mike@altlinux>
> > Status: rebuild failed.
>
> Боюсь, в orphaned, если никому не понадобится работающая
> библиотека для юникодной печати (наверное, один из немногих
> рабочих генераторов unicode postscript, которые видел).

Обновлённый спек прилагается. Патчи тоже. Сорсы тянуть -- 
http://ftp.debian.org/debian/pool/main/l/lasi/lasi_1.0.5.orig.tar.gz

p.s.: лень?

p.s.2: у меня собралось, но я не тестировал.

-- 
Disturbed - Ten Thousand Fists

[-- Attachment #1.2: liblasi.spec --]
[-- Type: text/plain, Size: 2817 bytes --]

%define origname lasi

Name: lib%origname
Version: 1.0.5
Release: alt1

Summary: C++ stream output interface for creating Postscript documents
License: LGPL 2
Group: System/Libraries

Url: http://eyegene.ophthy.med.umich.edu/lasi
Source0: %url/download/%origname-%version.tar.gz

# stolen from debian
Patch0: outline-funcs-prototypes.patch

Packager: Michael Shigorin <mike@altlinux.org>

# Automatically added by buildreq on Thu Feb 16 2006
BuildRequires: fontconfig-devel freetype2-devel gcc-c++ glib2-devel glibc-devel-static hostinfo libpango-devel libstdc++-devel pkgconfig

%description
libLASi is a library written by Larry Siden  that provides
a C++ stream output interface ( with operator << ) for creating
Postscript documents that can contain characters from any of the
scripts and symbol blocks supported in Unicode  and by Owen
Taylor's Pango layout engine.

The library accomodates right-to-left scripts such as Arabic
and Hebrew as easily as left-to-right scripts. Indic and
Indic-derived Complex Text Layout (CTL) scripts, such as
Devanagari, Thai, Lao, and Tibetan are supported to the extent
provided by Pango and by the OpenType fonts installed on your
system. All of this is provided without need for any special
configuration or layout calculation on the programmer's part.

Although the capability to produce Unicode-based multilingual
Postscript documents exists in large Open Source application
framework libraries such as GTK+, QT, and KDE, libLASi was
designed for projects which require the ability to produce
Postscript independent of any one application framework.

%package devel
Summary: Development part of libLASi
License: GPL
Group: Development/C++

%description devel
libLASi is a library that provides a C++ stream output interface
for creating Postscript documents.

This is the development environment to compile libLASi apps.

%prep
%setup -q -n %origname-%version
%patch0 -p1

%build
autoreconf -fisv
%configure
%make_build libLASi_la_LIBADD="-lpango-1.0 -lpangoft2-1.0"

%install
install -dm755 %buildroot{%_libdir/pkgconfig,%_includedir}/
%makeinstall
rm %buildroot%_libdir/libLASi.a

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc AUTHORS ChangeLog NEWS README

%files devel
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%_includedir/*

# TODO:
# - Makefile patch to link against libpango too
# - conditional static library build? (off by default, if ever)

%changelog
* Mon Jun 05 2006 Igor Zubkov <icesik@altlinux.ru> 1.0.5-alt1
- 

* Sun Mar 26 2006 Michael Shigorin <mike@altlinux.org> 1.0.4-alt2
- fixed build with --as-needed, kind of (better do it properly)

* Fri Feb 17 2006 Michael Shigorin <mike@altlinux.org> 1.0.4-alt1
- built for ALT Linux


[-- Attachment #1.3: outline-funcs-prototypes.patch --]
[-- Type: text/x-diff, Size: 1561 bytes --]

diff -Nur lasi-1.0.5/src/drawGlyph.cpp lasi-1.0.5.new/src/drawGlyph.cpp
--- lasi-1.0.5/src/drawGlyph.cpp	2006-05-01 20:05:55.000000000 +0200
+++ lasi-1.0.5.new/src/drawGlyph.cpp	2006-06-03 15:12:27.377345856 +0200
@@ -81,7 +81,7 @@
   return 0;
 }
 
-static int moveTo(FT_Vector* pftVec, void* data) {
+static int moveTo(const FT_Vector* pftVec, void* data) {
   StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
   state->os() << (state->isNewPath() ? "newpath" : "closepath") << endl;
   state->setNewPathFalse();
@@ -89,19 +89,19 @@
   return 0;
 }
 
-static int lineTo(FT_Vector* pftVec, void* data) {
+static int lineTo(const FT_Vector* pftVec, void* data) {
   xTo(pftVec, data, "lineto");
   return 0;
 }
 
-static int cubicTo(FT_Vector* ctrlPt1, FT_Vector* ctrlPt2, FT_Vector* pEndPt, void* data) {
+static int cubicTo(const FT_Vector* ctrlPt1, const FT_Vector* ctrlPt2, const FT_Vector* pEndPt, void* data) {
   StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
   state->os() << *ctrlPt1 << " " << *ctrlPt2 << " " << *pEndPt << " curveto" << endl;
   state->setStartPt(*pEndPt);
   return 0;
 }
 
-static int conicTo(FT_Vector* pCtrlPt, FT_Vector* pEndPt, void* data) {
+static int conicTo(const FT_Vector* pCtrlPt, const FT_Vector* pEndPt, void* data) {
   StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
   FT_Vector ctrlPt1 = (state->startPt() + 2 * *pCtrlPt) / 3;
   FT_Vector ctrlPt2 = (*pEndPt + 2 * *pCtrlPt) / 3;

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  parent reply	other threads:[~2006-06-05 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05 16:19 ` Michael Shigorin
2006-06-05 17:04   ` Valery V. Inozemtsev
2006-06-05 17:17   ` Igor Zubkov [this message]
2006-06-05 18:43     ` Michael Shigorin
2006-06-06  9:29       ` Igor Zubkov
2006-06-06 10:10         ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200606052017.48618.icesik@mail.ru \
    --to=icesik@mail.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git