Re: Any way to change .PKGINFO post build w/o Rebuilding?

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



On February 26, 2014 10:52:43 AM GMT+02:00, Karol Blazewicz <karol.blazewicz@xxxxxxxxx> wrote:
>On Wed, Feb 26, 2014 at 9:35 AM, Emil Lundberg
><lundberg.emil@xxxxxxxxx> wrote:
>> I don't mean to be rude, but have you tried it? Pacman packages are
>> tar.gz archives, so my guess is it's possible
>>
>> /Emil.
>>
>> On Wed, Feb 26, 2014 at 4:13 PM, David C. Rankin
>> <drankinatty@xxxxxxxxxxxxxxxxxx> wrote:
>>> All,
>>>
>>>   I patched tdebase for the logind-multiseat patch as was applied to
>>> kde-workspace for Arch kde4. Doing so, I forgot to change the
>provides=
>>> replaces= information. Now the new package will not install due to
>every file
>>> conflicting with an existing file. The new file is named
>'tde-tdebase-systemd'
>>> and it replaces a package named 'tde-tdebase'. Can I decompress the
>package and
>>> manually edit the .PKGINFO file and then recompress the file and
>have it work?
>>> The package is unsigned if that makes any difference. What is
>currently in the
>>> .PKGINFO file is:
>>>
>>> # Generated by makepkg 4.1.2
>>> # using fakeroot version 1.20
>>> # Wed Feb 26 06:24:01 UTC 2014
>>> pkgname = tde-tdebase-systemd
>>> pkgver = R14preRC1-1
>>> pkgdesc = Trinity Desktop Enviroment base components - TDE upstream
>GIT
>>> url = http://scm.trinitydesktop.org/scm/git/tdebase
>>> builddate = 1393395841
>>> packager = David C. Rankin < drankinatty at gmail dot com >
>>> size = 78513152
>>> arch = i686
>>> license = GPL
>>> replaces = trinity-tdebase
>>> <snip>
>>> provides = tdebase
>>> provides = tde-tdebase
>>>
>>>   I think the change needed is:
>>>
>>> replaces = tde-tdebase
>>> replaces = trinity-tdebase
>>> provides = tdebase
>>> provides = tde-tdebase
>>>
>>>   Does this have a chance of working or should I just bite the
>bullet and
>>> rebuild the package?
>>>
>>> --
>>> David C. Rankin, J.D.,P.E.
>
>Try https://bbs.archlinux.org/viewtopic.php?pid=1285524

A naïve reading of [1] suggests that makepkg -R should do the trick.
However, as I'm away from my computer, I can't test
this.
Gesh
[1] - https://www.archlinux.org/pacman/makepkg.8.html


[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