Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 42959

Summary: Anjuta 1.2.1 does not correctly generate Makefiles for wizard projects
Product: Gentoo Linux Reporter: red0x <red0x>
Component: Current packagesAssignee: Lisa Seelye (RETIRED) <lisa>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to disable 'cmp' usage
Patch to pass propoer args to aclocal for a gnome2 project

Description red0x 2004-02-25 21:51:38 UTC
Anjuta does not correctly generate Makefiles for wizard projects because it relies on the use of 'cmp', and outside program.  I have written a patch that disables usage of 'cmp' and assumes a project file needs to be updated.  Could you include this patch in portage so that other anjuta users may have a working project wizard.
Comment 1 red0x 2004-02-25 21:52:17 UTC
Created attachment 26379 [details, diff]
Patch to disable 'cmp' usage
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2004-02-26 10:16:58 UTC
/usr/bin/cmp is provided by sys-apps/diffutils.  Is there some reason you aren't using diffutils on your system? It is included in just about every system profile (ie, emerge system) and is required for etc-update.
Comment 3 red0x 2004-02-27 12:24:34 UTC
cmp is on my system, of course.  Anjuta just does not use it correctly.  So, I made a patch for anjuta so that it will *not* use it.  Seems to correct the project wizard funkiness, and also makes adding source files to a project work correctly.  
Comment 4 red0x 2004-02-27 13:36:43 UTC
Just got mail from naba, the anjuta developer, and he says this is fixed in CVS. so, this patch is mainly a workaround for 1.2.1 users.  (may work on 1.2.0 too, haven't tried it).
Comment 5 Lindsay Haisley 2004-03-17 14:57:03 UTC
Created attachment 27533 [details, diff]
Patch to pass propoer args to aclocal for a gnome2 project
Comment 6 Lindsay Haisley 2004-03-17 14:59:52 UTC
Comment on attachment 27533 [details, diff]
Patch to pass propoer args to aclocal for a gnome2 project

Here's a patch to pass proper arguments to aclocal for a gnome2 project, else a
make install will fail.  This is as per conversation with naba and Bruno
Haible.
Comment 7 Lindsay Haisley 2004-03-17 15:02:14 UTC
Comment on attachment 27533 [details, diff]
Patch to pass propoer args to aclocal for a gnome2 project

Note that this is a patch against 1.2.0, not 1.2.1, but will probably be
committed in CVS for the new version soon.
Comment 8 Lisa Seelye (RETIRED) gentoo-dev 2004-04-08 13:13:50 UTC
Okay, these patches seem to work, I'll put these into portage as anjuta-1.2.1-r1.

thanks all.