[arch-general] makepkg - any way to recompile only newly patched files in large packages?

David C. Rankin drankinatty at suddenlinkmail.com
Mon Aug 7 07:39:54 UTC 2017


On 08/06/2017 10:23 PM, David C. Rankin wrote:
> All,
> 
>   There was a fix for a gtk2 bug I filed regarding the recentchooserdefault.c
> file. (it was a one-line fix where a variable needed reset to 0). Is there any
> way I can configure makepkg to behave as if the gcc -MP -MD options had been
> given to have it only recompile the one patched source without rebuilding the
> entire package -- again?
> 
>   I've been through the wiki and the man page, and other than --repackage,
> there doesn't seem to be anything that would work (or I'm just missing it).

If it wasn't clear, I have already built the gtk2 package yesterday to
--enable-debug=yes so I have all of the files in a state I could call
--repackge on, except for the gtk/gtkrecentchooser.c file with the one line
change. I was wondering if there was a way to avoid the full 15 minute rebuild
of all of gtk2 and just compile gtkrecentchooserdefault.c to object and then
--repackage?

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list