You are not logged in.

#1 2004-08-10 07:41:07

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

[Request] Autotrace & Frontline

Iv tried and tried to get both of these to build without success. I am in desrapte need of them ATM too. Could someone take a look and see if they could whip up a pkg for me? There website is:
http://autotrace.sourceforge.net/

Thanks


-=JsutNoni=-

Offline

#2 2004-08-10 09:13:26

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [Request] Autotrace & Frontline

Frontline PKGBUILD

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=frontline
pkgver=0.5.4
pkgrel=1
pkgdesc='Convert bitmap to vector graphics'
url='http://autotrace.sourceforge.net/'
depends=('glibc')
source=("http://ftp1.sourceforge.net/autotrace/$pkgname-$pkgver.tar.gz")
build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make prefix=$startdir/pkg/usr install
}

Autotrace PKGBUILD

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=autotrace
pkgver=0.31.1
pkgrel=1
pkgdesc='Convert bitmap to vector graphics'
url='http://autotrace.sourceforge.net/'
depends=('glibc')
source=("http://ftp1.sourceforge.net/autotrace/$pkgname-$pkgver.tar.gz")
build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make prefix=$startdir/pkg/usr install
}

Offline

#3 2004-08-10 11:52:55

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

you can also try potrace - it is more or less the same like autotrace, but i like it more - it's in extra and if you need a gui, potracegui is also in extra


The impossible missions are the only ones which succeed.

Offline

#4 2004-08-10 21:02:20

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: [Request] Autotrace & Frontline

Thank you Thank you! Your a life saver!


-=JsutNoni=-

Offline

#5 2004-08-10 21:03:10

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: [Request] Autotrace & Frontline

dp wrote:

you can also try potrace - it is more or less the same like autotrace, but i like it more - it's in extra and if you need a gui, potracegui is also in extra

Iv tried potrace and potracegui and they both work wonderful. Only problem with them they dont seem to do color all that well.


-=JsutNoni=-

Offline

#6 2004-08-10 22:47:00

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: [Request] Autotrace & Frontline

forest76 wrote:

This PKGBUILD's work fine for me, but if you have binary try this:
autotrace
frontline

Im getting all kinds of gnome lib errors. I symlinked most of gnomes libs to /usr/lib and its now complaining about libgnomesupport. Any suggestions on this one?


-=JsutNoni=-

Offline

#7 2004-08-11 00:09:10

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

jsutnoni wrote:
dp wrote:

you can also try potrace - it is more or less the same like autotrace, but i like it more - it's in extra and if you need a gui, potracegui is also in extra

Iv tried potrace and potracegui and they both work wonderful. Only problem with them they dont seem to do color all that well.

you mean autotrace manages color correctly? (i tried once long ago - and it didn't) then i need to check out - thanx for the difference info


The impossible missions are the only ones which succeed.

Offline

#8 2004-08-11 01:10:30

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: [Request] Autotrace & Frontline

It does a really decent job at it. I have been useing Delineate (http://delineate.sourceforge.net/) for the past couple days and it also does a 1/2 ass job at doing colors.


-=JsutNoni=-

Offline

#9 2004-08-11 05:45:07

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [Request] Autotrace & Frontline

Im getting all kinds of gnome lib errors.

Can you send me this error's ?

I symlinked most of gnomes libs to /usr/lib and its now complaining about libgnomesupport. Any suggestions on this one?

I have complete gnome1 environment with no standard location (in /usr/lib) and seem frontline use it all (not glib and gtk only). I don't have to check it before send frontline sorry.

Iv tried and tried to get both of these to build without success.

Can you send me what kind of error's you get?

Greetings,

Miroslaw

Offline

#10 2004-08-11 06:00:42

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

i want to include autotrace in extra - it's a really great tool ...

one question:

checking for Magick-config... Magick-config
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking ImageMagick - version >= 5.2.1... no(6.0.4)
configure: WARNING: *** Version 5.2.1 or higher is required.             ***
configure: WARNING: *** ImageMagick input handler is disabled.           ***

is this happening to you too? would it be usefull, to override and enable magick/api?

also SWF is disabled:

checking for ming.h... no
configure: WARNING: *** Cannot find ming.h.     ***
configure: WARNING: *** SWF output is disabled. ***

anyone needs this ming engine for SWF?


The impossible missions are the only ones which succeed.

Offline

#11 2004-08-11 06:02:34

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline


The impossible missions are the only ones which succeed.

Offline

#12 2004-08-11 21:54:45

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: [Request] Autotrace & Frontline

Can you send me this error's ?

[jsutnoni@Otis ~]$ frontline
frontline: error while loading shared libraries: libgnomesupport.so.0: cannot open shared object file: No such file or directory

I keep getting this. Even if i find a lib and symlink it, it jsut tells me somthing else is missing. The error above is after symlinking my entire /opt/gnome/lib/ to /usr/lib.

I have complete gnome1 environment with no standard location (in /usr/lib) and seem frontline use it all (not glib and gtk only). I don't have to check it before send frontline sorry.

No worries im going to clean up my install here and try your pkgbuild again.

Quote:
Iv tried and tried to get both of these to build without success.


Can you send me what kind of error's you get?

When compiling frontline now it is still tells me that gnomConf.so.32 cannot be found. Autotrace compiles with some errors but works jsut fine.


-=JsutNoni=-

Offline

#13 2004-08-11 21:56:23

jsutnoni
Member
Registered: 2004-02-07
Posts: 105

Re: [Request] Autotrace & Frontline

dp wrote:

i want to include autotrace in extra - it's a really great tool ...

one question:

checking for Magick-config... Magick-config
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking ImageMagick - version >= 5.2.1... no(6.0.4)
configure: WARNING: *** Version 5.2.1 or higher is required.             ***
configure: WARNING: *** ImageMagick input handler is disabled.           ***

is this happening to you too? would it be usefull, to override and enable magick/api?

also SWF is disabled:

checking for ming.h... no
configure: WARNING: *** Cannot find ming.h.     ***
configure: WARNING: *** SWF output is disabled. ***

anyone needs this ming engine for SWF?

I get the ImageMagick stuff too, but all seems to work ok. I never knoticed that SWF output was disabled, but that really isnt a big to me. smile


-=JsutNoni=-

Offline

#14 2004-08-11 22:53:19

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

jsutnoni wrote:
dp wrote:

i want to include autotrace in extra - it's a really great tool ...

one question:

checking for Magick-config... Magick-config
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking ImageMagick - version >= 5.2.1... no(6.0.4)
configure: WARNING: *** Version 5.2.1 or higher is required.             ***
configure: WARNING: *** ImageMagick input handler is disabled.           ***

is this happening to you too? would it be usefull, to override and enable magick/api?

also SWF is disabled:

checking for ming.h... no
configure: WARNING: *** Cannot find ming.h.     ***
configure: WARNING: *** SWF output is disabled. ***

anyone needs this ming engine for SWF?

I get the ImageMagick stuff too, but all seems to work ok. I never knoticed that SWF output was disabled, but that really isnt a big to me. smile

ok, so the pkg works for you fine - great! - but as these 2 features are disabled, i'll try to have them enabled (by building the deps) and then include it to extra, when it is full-featured :-) - stay tuned


The impossible missions are the only ones which succeed.

Offline

#15 2004-08-16 08:47:28

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: [Request] Autotrace & Frontline

dp wrote:

ok, so the pkg works for you fine - great! - but as these 2 features are disabled, i'll try to have them enabled (by building the deps) and then include it to extra, when it is full-featured :-) - stay tuned

I managed to tweak configure to get around that 5.x.x oriented ImageMagick
detection. Ming is a bit trickier, though, since I got it build and got autotrace
configured accordingly, but latest API seems to have changed (number of
arguments in at least some functions -> built broke) so maybe we have to
skip it.

bye neri

Offline

#16 2004-08-16 10:20:16

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

neri wrote:
dp wrote:

ok, so the pkg works for you fine - great! - but as these 2 features are disabled, i'll try to have them enabled (by building the deps) and then include it to extra, when it is full-featured :-) - stay tuned

I managed to tweak configure to get around that 5.x.x oriented ImageMagick
detection. Ming is a bit trickier, though, since I got it build and got autotrace
configured accordingly, but latest API seems to have changed (number of
arguments in at least some functions -> built broke) so maybe we have to
skip it.

bye neri

how did you changed configure to detect it properly?

if ming has changed the api, then it's ok, to let it be


The impossible missions are the only ones which succeed.

Offline

#17 2004-08-16 10:30:02

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: [Request] Autotrace & Frontline

dp wrote:
neri wrote:

I managed to tweak configure to get around that 5.x.x oriented ImageMagick
detection. Ming is a bit trickier, though, since I got it build and got autotrace
configured accordingly, but latest API seems to have changed (number of
arguments in at least some functions -> built broke) so maybe we have to
skip it.

how did you changed configure to detect it properly?
if ming has changed the api, then it's ok, to let it be

Hm I see, this reads like "I knowhow, but won't tell ya" :evil:
but my latest litlle friends keep me at home and I remember I have the
finished PKGBUILD in the office. It was a sed one liner, which fixes the minor
version. since they are looking for IM > 5.2.0 and compare each single digit.
so 6.0.x will fail cuz 0<2.

I will have look at that later and send it to you or post it here.
For the ming stuff, actually I wanted to look at the broken function what
does that missing argument does and if it is easy to fix or not but the
little friends hold me back a bit  sad

-neri

Offline

#18 2004-08-16 10:51:54

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

neri wrote:
dp wrote:
neri wrote:

I managed to tweak configure to get around that 5.x.x oriented ImageMagick
detection. Ming is a bit trickier, though, since I got it build and got autotrace
configured accordingly, but latest API seems to have changed (number of
arguments in at least some functions -> built broke) so maybe we have to
skip it.

how did you changed configure to detect it properly?
if ming has changed the api, then it's ok, to let it be

Hm I see, this reads like "I knowhow, but won't tell ya" :evil:
but my latest litlle friends keep me at home and I remember I have the
finished PKGBUILD in the office. It was a sed one liner, which fixes the minor
version. since they are looking for IM > 5.2.0 and compare each single digit.
so 6.0.x will fail cuz 0<2.

I will have look at that later and send it to you or post it here.
For the ming stuff, actually I wanted to look at the broken function what
does that missing argument does and if it is easy to fix or not but the
little friends hold me back a bit  sad

-neri

keep your attention to your little visitors, the "friends" ... autotrace is low priority :-)

ohh ... and if you want to maintain it, it's ok for me - if not, this is ok, too :-)


The impossible missions are the only ones which succeed.

Offline

#19 2004-08-17 00:03:20

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: [Request] Autotrace & Frontline

dp wrote:

keep your attention to your little visitors, the "friends" ... autotrace is low priority :-)

ohh ... and if you want to maintain it, it's ok for me - if not, this is ok, too :-)

hi damir,

it's getting better everyday, thanks.

Here comes the code:

# $Id:  $
# Contributor: forest76 <forestt@poczta.onet.pl>

pkgname=autotrace
pkgver=0.31.1
pkgrel=1
pkgdesc='Convert bitmap to vector graphics'
url='http://autotrace.sourceforge.net/'
depends=('glibc' 'pstoedit' 'imagemagick')
makedepends=()
source=("http://ftp1.sourceforge.net/autotrace/$pkgname-$pkgver.tar.gz")
build() {
   cd $startdir/src/$pkgname-$pkgver
  # fix outdated ImageMagick detection
   sed -i 's|\>= 2|\>= 0|' configure
   chmod 755 configure
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
}

Concerning ming. There is still a lot of things to do. Especially since not
all the tools and utils in ming itself are working as expected. (There are
some lousy code cleanups from what i've seen) I dont think that it would
make sense to wait for it working. And only after that it would make sense
to go into autotrace to track down that arguments related problem. If
someone wanna give it a shot here is something to start with. That'll give
you working libming but not all of the utils. Some are just too buggy.

# $Id:  $
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=ming
pkgver=0.3beta1
pkgrel=1
pkgdesc='C library for creating flash files including wrapper for perl,php and C++'
url='http://ming.sourceforge.net/'
depends=('glibc')
source=(http://optusnet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
   cd $startdir/src/$pkgname-$pkgver
   ./automake.sh
   ./configure --prefix=/usr
   make || return 1
   mv $startdir/src/$pkgname-$pkgver/libming.so $startdir/src/$pkgname-$pkgver/libming.so.$pkgver
   make DESTDIR=$startdir/pkg install
   cd util
  # kick two buggy sources
   sed -i 's|listswf (listfdb)|1|' Makefile
   sed -i 's|(install.*listswf.*)$|# 1|' Makefile
   sed -i 's|(raw2adpcm) png2swf|1|' Makefile
   sed -i 's|(install.*png2swf.*)$|# 1|' Makefile
  # find ming.h
   sed -i 's|-I..|-I.. -I../src|' Makefile
  # this is superdirty, I didn't check that :(
   sed -i 's| byte | png_byte |' png2dbl.c
   make all_binaries
   make DESTDIR=$startdir/pkg install
}

oh, I'm fine if you take autotrace and related stuff...
-neri

Offline

#20 2004-08-17 13:39:25

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

thanx a lot for your help

i tried sed'ing myself, but forgot the esc-char  before  and it didn't work :oops:

my hunting string: >= 0

the right huting string: \>= 0


The impossible missions are the only ones which succeed.

Offline

#21 2004-08-17 13:54:00

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request] Autotrace & Frontline

autotrace -> extra

frontline:

checking for gnome-config... no
checking for gnomeConf.sh file in /usr/lib... not found
configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...
[damir@Asteraceae frontline]$ locate gnome-config
/opt/gnome/share/gtk-doc/html/libgnome/libgnome-gnome-config.html
/opt/gnome/include/libgnome-2.0/libgnome/gnome-config.h
[damir@Asteraceae frontline]$ locate gnomeConf.sh
[damir@Asteraceae frontline]$ locate gnomeConf
[damir@Asteraceae frontline]$

frontline is gnome1? deps missing?

EDIT: yes it is:
http://autotrace.sourceforge.net/frontline/


The impossible missions are the only ones which succeed.

Offline

#22 2004-08-17 15:36:26

forest76
Member
From: Poland
Registered: 2004-01-31
Posts: 32

Re: [Request] Autotrace & Frontline

dp wrote:

autotrace -> extra

Thank's that's great program, I think.

dp wrote:

frontline is gnome1? deps missing?

Yes, it is requied FULL gnome1 environment. I've tried make it without full gnome1 dependency without success. There are some tricks:
1) frontline include gimp 1.2 plugin, I've linked gimptool-2.0 to gimptool libgimp-2.0.so to libgimp.so libgimp-2.0.la to libgimp.la.
After that ./configure script found gimp instalation but compiler give me nice conflict between gtk-1.2 and gtk-2.0.
2) ./configure --without-gnome give Makefile without gnome1 dependency, but I get compile error (compiler can't find glib-1.2 and gtk-1.2 headers)

Greetings,

Miroslaw

Offline

Board footer

Powered by FluxBB