Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 109066
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo PDA Herd <pda@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jean Jordaan <jean@upfrontsystems.co.za>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109066 depends on: Show dependency tree
Bug 109066 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-12 15:51 0000
Together with a doc patch to make it build.

------- Comment #1 From Jean Jordaan 2005-10-12 15:55:56 0000 -------
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 From Jean Jordaan 2005-10-12 15:56:39 0000 -------
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 From Robin Johnson 2006-03-12 04:13:45 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug