Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109066 - coldsync-3.0_pre4 (version bump)
Summary: coldsync-3.0_pre4 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 15:51 UTC by Jean Jordaan
Modified: 2006-03-12 04:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Jordaan 2005-10-12 15:51:21 UTC
Together with a doc patch to make it build.
Comment 1 Jean Jordaan 2005-10-12 15:55:56 UTC
AARGH! Bugzilla won't let me upload a file! Anyway, here's the ebuild:

klippie app-pda # cat coldsync/coldsync-3.0_pre4.ebuild 
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations"
MY_PV=${PV/_/-}
SRC_URI="http://www.coldsync.org/download/coldsync-${MY_PV}.tar.gz"
HOMEPAGE="http://www.coldsync.org/"

SLOT="0"
LICENSE="Artistic"
KEYWORDS="x86"
IUSE="nls perl"

DEPEND=">=dev-libs/libusb-0.1.10a" # Well, it worked once I got this

S=${WORKDIR}/${PN}-${MY_PV}

src_compile() {
        cd ${S}
        local myconf
        use nls || myconf="${myconf} --without-i18n"
        use perl || myconf="${myconf} --without-perl"

        patch -p1 < ${FILESDIR}/coldsync-3.0-pre4--fix-doc-Makefile.diff

        econf ${myconf} || die "configuring coldsync failed"
        make || die "couldn't make coldsync"
}

src_install() {
        make \
                PREFIX=${D}/usr \
                MANDIR=${D}/usr/share/man \
                SYSCONFDIR=${D}/etc \
                DATADIR=${D}/usr/share \
                INFODIR=${D}/usr/share/info \
                INSTALLMAN3DIR=${D}/usr/share/man/man3 \
                INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \
                INSTALLVENDORMAN3DIR=${D}/usr/share/man/man3 \
                install || die "couldn't install coldsync"

        dodoc AUTHORS Artistic ChangeLog HACKING INSTALL NEWS README TODO
}
Comment 2 Jean Jordaan 2005-10-12 15:56:39 UTC
Here's the patch:

klippie app-pda # cat coldsync/files/coldsync-3.0-pre4--fix-doc-Makefile.diff 
--- coldsync-3.0-pre4/doc/Makefile-orig 2005-10-13 00:09:07.000000000 +0200
+++ coldsync-3.0-pre4/doc/Makefile      2005-10-13 00:09:15.000000000 +0200
@@ -12,7 +12,7 @@
 # are no existing foo.info-* files, /bin/sh just expands the glob to the
 # string "foo.info-*". Then 'make' complains that it doesn't know how to
 # build this file.
-EXTRA_INFOFILES =      ${TEXIFILES:.texi=.info-*}
+EXTRA_INFOFILES =      ""
 DVIFILES =     ${TEXIFILES:.texi=.dvi}
 PSFILES =      ${TEXIFILES:.texi=.ps}
 PDFFILES =     ${TEXIFILES:.texi=.pdf}
@@ -124,7 +124,7 @@
        -${MKDIR} ${SYSCONFDIR}
        ${INSTALL_DATA} sample.coldsync.rc ${SYSCONFDIR}/sample.coldsync.rc
        ${MKDIR} ${INFODIR}
-       @for file in ${INFOFILES} ${EXTRA_INFOFILES}; do \
+       @for file in ${INFOFILES} ; do \
                echo "${INSTALL_DATA} $${file} ${INFODIR}/$${file}"; \
                ${INSTALL_DATA} $${file} ${INFODIR}/$${file}; \
        done
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-03-12 04:13:45 UTC
I've put 3.0_pre4 in the tree now.
I took a different route from your submission however, one that worked better for all cases, and avoided needing to patch at all.