Re: makepkg/PKGBUILD - handle same files provided by 2 non-dependent packages?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/25/2012 02:00 PM, David C. Rankin wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/25/2012 12:30 PM, Jesse Juhani Jaara wrote:
In tdesdk's PKGBUILD do somthing like this
  build () {
pach -Np -i patches
sed 's|clause|fix|' file.c
.configure --prefix
}

package_tdesdk ()
{
make install
rm "$pkgdir/opt/trinity/share/services/"svn*
}

package_tdeservices () {
cp "$srcdir/tdeskd/src/service/generated/"svn*.protocol \
"$pkgdir/opt/trinity/share/services/"
}


Thats kind of thng should do it :D
Also the assumption here is that the tdesdk and tdesvn pkgs provide
exactly same version of those .protocol files :D
Thank you Jesse!

   The files are not identical, but should be functionally equivalent. The only
difference is that tdesvn files use 'exec=kio_ksvn' while tdesdk uses
'exec=kio_svn'. They are essentially the same .protocol files otherwise (except
for some additional translation 'Description=' lines which are irrelevant to the
operation of the protocol. I am still investigating whether using kio_ksvn for
everything will make any difference. If anybody has historical knowledge of the
difference between kio_svn and kio_ksvn, I would welcome your input. Otherwise,
I'll just test after install and see how it goes.

- -- David C. Rankin, J.D.,P.E.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9vXUAACgkQZMpuZ8CyrchRnACdEMqR1YDA7UUTf32lrF0RxCUo
Km8AnRrvLsK7Kux6Ghpi8h9OI4EP2r4J
=AtEY
-----END PGP SIGNATURE-----

You may have a bigger problem then, you may/will have to put them into unrelated directories so they do not conflict with each other.

I originally thought you could sed this thing but I don't think that will work.







[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux