Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49158 - ebuild for ytnef (MS-TNEF decoder)
Summary: ebuild for ytnef (MS-TNEF decoder)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-04-27 07:02 UTC by Joël
Modified: 2007-06-09 22:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New libytnef ebuild version (libytnef-1.4.ebuild,436 bytes, text/plain)
2004-04-27 07:39 UTC, Joël
Details
New ytnef ebuild version (please take libytnef as well) (ytnef-2.5.ebuild,514 bytes, text/plain)
2004-04-27 07:41 UTC, Joël
Details
Martin, thanks for your advice ! Here's the updated libytnef. (libytnef-1.4.ebuild,486 bytes, text/plain)
2004-05-02 09:48 UTC, Joël
Details
... and the updated ytnef as well. (ytnef-2.5.ebuild,564 bytes, text/plain)
2004-05-02 09:49 UTC, Joël
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joël 2004-04-27 07:02:53 UTC
Here's an ebuild I made for Yerase's MS-TNEF stream reader. It decodes 'winmail.dat' file attachments.

*** net-libs/libytnef/libytnef-1.4.ebuild ***
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Yerase's TNEF Stream Reader library"
HOMEPAGE="http://ytnef.sourceforge.net"
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/ytnef/${P}.tar.gz"
LICENSE="GPL-2"
#SLOT="0"
KEYWORDS="~x86"

src_compile() {
        econf --enable-shared || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
}

*** net-mail/ytnef/ytnef-2.5.ebuild ***
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Yerase's TNEF Stream Reader"
HOMEPAGE="http://ytnef.sourceforge.net"
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/ytnef/${P}.tar.gz"
LICENSE="GPL-2"
#SLOT="0"
KEYWORDS="~x86"

DEPEND="=net-libs/libytnef-1.4"

src_compile() {
        econf --enable-shared || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
}


*Please*, let me know if something can be improved.. Thanks !

Jo
Comment 1 Joël 2004-04-27 07:02:53 UTC
Here's an ebuild I made for Yerase's MS-TNEF stream reader. It decodes 'winmail.dat' file attachments.

*** net-libs/libytnef/libytnef-1.4.ebuild ***
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Yerase's TNEF Stream Reader library"
HOMEPAGE="http://ytnef.sourceforge.net"
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/ytnef/${P}.tar.gz"
LICENSE="GPL-2"
#SLOT="0"
KEYWORDS="~x86"

src_compile() {
        econf --enable-shared || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
}

*** net-mail/ytnef/ytnef-2.5.ebuild ***
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="Yerase's TNEF Stream Reader"
HOMEPAGE="http://ytnef.sourceforge.net"
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/ytnef/${P}.tar.gz"
LICENSE="GPL-2"
#SLOT="0"
KEYWORDS="~x86"

DEPEND="=net-libs/libytnef-1.4"

src_compile() {
        econf --enable-shared || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
}


*Please*, let me know if something can be improved.. Thanks !

Joël
Comment 2 Joël 2004-04-27 07:39:07 UTC
Created attachment 30146 [details]
New libytnef ebuild version

New libytnef ebuild version
Comment 3 Joël 2004-04-27 07:41:15 UTC
Created attachment 30147 [details]
New ytnef ebuild version (please take libytnef as well)

New ytnef ebuild version (please take libytnef as well)
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-05-01 16:46:31 UTC
please change
SRC_URI="http://switch.dl.sourceforge.net/sourceforge/ytnef/${P}.tar.gz"
to
SRC_URI="mirror://sourceforge/ytnef/${P}.tar.gz"
Comment 5 Joël 2004-05-02 09:48:22 UTC
Created attachment 30526 [details]
Martin, thanks for your advice ! Here's the updated libytnef.
Comment 6 Joël 2004-05-02 09:49:09 UTC
Created attachment 30527 [details]
... and the updated ytnef as well.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-05-16 07:44:00 UTC
seems it doesn't compile with gcc2


gcc -DHAVE_CONFIG_H -I. -I. -I. -march=i686 -O3 -pipe -ffast-math -fomit-frame-pointer -c ytnef.c -Wp,-MD,.deps/ytnef.TPlo  -fPIC -DPIC -o .libs/ytnef.lo
ytnef.c: In function `IsCompressedRTF':
ytnef.c:1301: parse error before `unsigned'
ytnef.c:1303: parse error before `unsigned'
ytnef.c:1305: parse error before `unsigned'
ytnef.c:1307: parse error before `unsigned'
ytnef.c:1310: `magic' undeclared (first use in this function)
ytnef.c:1310: (Each undeclared identifier is reported only once
ytnef.c:1310: for each function it appears in.)
ytnef.c: In function `DecompressRTF':
ytnef.c:1334: parse error before `unsigned'
ytnef.c:1336: parse error before `unsigned'
ytnef.c:1338: parse error before `unsigned'
ytnef.c:1340: parse error before `unsigned'
ytnef.c:1344: `compressedSize' undeclared (first use in this function)
ytnef.c:1350: `magic' undeclared (first use in this function)
ytnef.c:1352: `uncompressedSize' undeclared (first use in this function)
ytnef.c:1359: parse error before `int'
ytnef.c:1363: `flags' undeclared (first use in this function)
ytnef.c:1363: `flagCount' undeclared (first use in this function)
ytnef.c:1379: parse error before `int'
ytnef.c:1380: `end' undeclared (first use in this function)
make[1]: *** [ytnef.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/libytnef-1.4/work/libytnef-1.4'
make: *** [all] Error 2
Comment 8 Markus Ullmann (RETIRED) gentoo-dev 2007-06-09 22:28:10 UTC
Upstream dead for years now and seems no-one interested yet -> wontfix
reopen and join us in #gentoo-sunrise if you feel otherwise