Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 120888
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Trace <gentoobugs@farcaster.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ghostscript-esp-7.07.1-r8-cjk.patch cjk-useflag.patch patch Robert Trace 2006-01-29 17:05 0000 324 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120888 depends on: Show dependency tree
Bug 120888 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: 2006-01-29 17:04 0000
ghostscript-esp-7.07.1-r8 doesn't build when cjk is unset.  This is because it
only downloads the patch gs7.07.1-cjk.diff.bz2 when cjk is set, but then it
tries to unconditionally apply it in src_unpack.  Since it wasn't downloaded,
it's a little difficult to apply.

Changing the ebuild to conditionally apply the patch appears to solve the
problem and will allow ghostscript-esp to build and install.

------- Comment #1 From Robert Trace 2006-01-29 17:05:10 0000 -------
Created an attachment (id=78484) [details]
Only apply cjk patch if cjk useflag is set

A trivial little patch to implement the correct behavior.

------- Comment #2 From Marcelo Goes 2006-01-29 17:20:00 0000 -------
Fixed in cvs. I did this instead, seems easiers:

 src_unpack() {
        unpack espgs-${PV}-source.tar.bz2
-       unpack gs7.07.1-cjk.diff.bz2

        cd ${S}

@@ -59,6 +58,7 @@
        fi

        if use cjk ; then
+               unpack gs7.07.1-cjk.diff.bz2
                epatch ${WORKDIR}/gs7.07.1-cjk.diff
                epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch
        fi

Thanks for reporting!

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