You are not logged in.

#1 2010-08-01 11:29:28

sweetthdevil
Member
Registered: 2009-10-20
Posts: 417

Building google-gdata-sharp - issue with patching

Hi all,

I need to install google-gdata-sharp 1.6.0.0 in order to install Banshee 1.7.3 from SVN.

I took the AUR package from http://aur.archlinux.org/packages.php?ID=35354

I amended the pkgbuild file from the AUR to download 1.6.0.0

But running makepkg it return the following error:

makepkg
==> Making package: google-gdata-sharp 1.6.0.0-1 (Sun Aug  1 11:17:18 BST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading libgoogle-data-mono-1.6.0.0.tar.gz...
--2010-08-01 11:17:18--  http://google-gdata.googlecode.com/files/libgoogle-data-mono-1.6.0.0.tar.gz
Resolving google-gdata.googlecode.com... 173.194.37.82
Connecting to google-gdata.googlecode.com|173.194.37.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8920531 (8.5M) [application/x-gzip]
Saving to: "libgoogle-data-mono-1.6.0.0.tar.gz.part"

100%[======================================>] 8,920,531   1.54M/s   in 6.5s    

2010-08-01 11:17:25 (1.31 MB/s) - "libgoogle-data-mono-1.6.0.0.tar.gz.part" saved [8920531/8920531]

==> Validating source files with md5sums...
    libgoogle-data-mono-1.6.0.0.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting libgoogle-data-mono-1.6.0.0.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
patching file Makefile
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
    Aborting...

I have past all file on pastbin for the sake of this post length => http://pastebin.com/sUu1VbmV

I am new at amending those file so would appreciate some guidance,

Many thanks,

Offline

#2 2010-08-01 12:07:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Building google-gdata-sharp - issue with patching

Your pastebin shows path.patch and fix.patch are identical - only one of them is required. Makefile.rej and Makefile show that the context of the PREFIX= line has changed in this version - that's why the patch failed.

I'd suggest you either write your own patch or just use sed on the PREFIX= line.

Offline

#3 2010-08-01 12:10:46

sweetthdevil
Member
Registered: 2009-10-20
Posts: 417

Re: Building google-gdata-sharp - issue with patching

Actually the path.patch isn't in the pastbin...

see the path.patch there => http://aur.archlinux.org/packages/googl … path.patch

I am so sorry but could you explain in details as I am new to this and I am afraid using the sed doesn't talk to ma smile

Offline

#4 2010-08-01 12:23:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Building google-gdata-sharp - issue with patching

OK.... that's still exactly the same patch, apart from the app's version number.

Details on creating your own patch and/or using sed are widely available - do some research, try to solve it yourself. If you're still stuck, come back, tell us what did/didn't work.

You can ask for the maintainer's assistance by leaving a comment on the package's AUR page, and/or by posting on the aur-general mailing list. Also, flag the package out of date.

Offline

#5 2010-08-01 12:51:08

sweetthdevil
Member
Registered: 2009-10-20
Posts: 417

Re: Building google-gdata-sharp - issue with patching

I would love to solve it myself so I could learn; however I am lost there.

Could you at least guide me a bit,

- What is the patch suppose to do? (placing the lib where other package would look for it?)
- What is the error complaining about?

many thanks,

Offline

Board footer

Powered by FluxBB