[Sugar-devel] A query regarding building "sugar-artwork" rpm.

Ajay Garg ajay at activitycentral.com
Fri Aug 17 10:26:00 EDT 2012


Any ideas anyone, please?

I would recommend once reviewing the patch present at
http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120816/7da4caa5/attachment.obj

which by the way, works perfectly in dx3 (in the sense that newly added
files ARE included).


Thanks and Regards,
Ajay



On Thu, Aug 16, 2012 at 5:07 PM, Ajay Garg <ajay at activitycentral.com> wrote:

> Thanks Peter for the reply.
>
> On Thu, Aug 16, 2012 at 5:01 PM, Peter Robinson <pbrobinson at gmail.com>wrote:
>
>> On Thu, Aug 16, 2012 at 12:25 PM, Ajay Garg <ajay at activitycentral.com>
>> wrote:
>> > Hi all.
>> >
>> > I have been wanting to build some rpms for Sugar-on-F17 , after
>> applying the
>> > "multi-select" patches.
>> > Regarding this, I have been able to build the "sugar" and
>> "sugar-toolkit"
>> > rpms, after applying the patches.
>> >
>> > Thanks a ton to Manuel Quiñones, who helped me in figuring out how to do
>> > this; I was completely blank otherwise :P
>> >
>> >
>> >
>> > But, I am stuck at the "sugar-artwork" rpm.
>> > Following is the approach I followed ::
>> >
>> >
>> > a)
>> > Downloaded
>> >
>> http://kojipkgs.fedoraproject.org//packages/sugar-artwork/0.96.5/1.fc17/src/sugar-artwork-0.96.5-1.fc17.src.rpm
>> > (same step as for "sugar" and "sugar-toolkit").
>> >
>> >
>> > b)
>> > "rpm -ivh  sugar-artwork-0.96.5-1.fc17.src.rpm"
>> > (same step as for "sugar" and "sugar-toolkit").
>> >
>> >
>> > c)
>> > Added the patch-info to "~/rpmbuild/SPECS/sugar-artwork.spec"
>> > (same step as for "sugar" and "sugar-toolkit").
>> >
>> >
>> > d)
>> > Copied the patch to "~/rpmbuild/SOURCES"
>> > (same step as for "sugar" and "sugar-toolkit").
>> >
>> >
>> > e)
>> > Built the rpm. It was successful.
>> > (same step as for "sugar" and "sugar-toolkit").
>> >
>> >
>> > f)
>> > However, when I apply the rpm via "sudo rpm --force --upgrade", it
>> seems to
>> > succeed; however no newly-expected files are seen.
>> > (HOWEVER, THINGS WORKED FINE FOR "sugar" AND "sugar-toolkit").
>> >
>> >
>> >
>> > I can't seem to figure out the source of error; as all steps (except the
>> > last, f.), seem to work as expected.
>> > For brevity, I am attaching the sugar-artwork patch.
>> >
>> >
>> > I will be grateful for any information, as to what I may be doing wrong.
>>
>> Could you provide a diff to the spec file from the original base one?
>> It's hard to tell what your doing wrong if I can't see what you're
>> doing.
>>
>
> Sure; please find attached the diff file.
> I guess the fault is not here, as this is the most minimal diff possible.
>
>
>
>
>
>>
>> I also suggest you modify the Release variable to distinguish between
>> the original and the one you build, it will make it easier for you and
>> you don't need to do a --force then.
>>
>
> Yep. Anyways, right now I am just testing :)
>
>
>
>
>
>> Peter
>>
>
> Regards,
> Ajay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120817/87857f0e/attachment.html>


More information about the Sugar-devel mailing list