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

2017-08-09 Thread Eli Schwartz
On 08/07/2017 10:12 PM, David C. Rankin wrote: > On 08/07/2017 09:36 AM, Eli Schwartz wrote: >> You could also use `makepkg --noextract` which assumes you applied the >> fix by hand rather than in the PGBUILD, which is probably safer as it >> skips prepare(), and in theory re-running configure shou

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

2017-08-09 Thread Eli Schwartz
On 08/07/2017 10:06 PM, David C. Rankin wrote: > On 08/07/2017 06:06 AM, Christoph Gysin via arch-general wrote: >> Not the answer to your question, but you might consider configuring >> /etc/makepkg.conf to use ccache to speed up rebuilds. Also set >> MAKEFLAGS=-j4 or similar to make sure you are

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

2017-08-08 Thread David C. Rankin
On 08/07/2017 09:36 AM, Eli Schwartz wrote: > You could also use `makepkg --noextract` which assumes you applied the > fix by hand rather than in the PGBUILD, which is probably safer as it > skips prepare(), and in theory re-running configure should not cause > Make to expire all object files (thou

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

2017-08-08 Thread David C. Rankin
On 08/07/2017 06:06 AM, Christoph Gysin via arch-general wrote: > Not the answer to your question, but you might consider configuring > /etc/makepkg.conf to use ccache to speed up rebuilds. Also set > MAKEFLAGS=-j4 or similar to make sure you are using all available > cores. Thanks Cristoph, Ho

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

2017-08-07 Thread ProgAndy
Am 07.08.2017 um 09:39 schrieb David C. Rankin: 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 ther

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

2017-08-07 Thread Eli Schwartz
On 08/07/2017 03:39 AM, David C. Rankin wrote: > 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 ma

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

2017-08-07 Thread respiranto
On 2017-08-07 09:39, David C. Rankin wrote: > 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 makep

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

2017-08-07 Thread Christoph Gysin via arch-general
On Mon, Aug 7, 2017 at 10:39 AM, David C. Rankin wrote: > 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 won

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

2017-08-07 Thread LoneVVolf
On 07-08-17 09:39, David C. Rankin wrote: 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? I don't know a way to do that, but do you have ccache installed ? On my system it's set to

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

2017-08-07 Thread David C. Rankin
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 >