Am Sonntag, 23. November 2014, 12:40:52 schrieb Terry Duell:
> Hello All,
> Just feeling my way with building darktable from repo, so looking for some
> help.
> I build Fedora rpms, and successfully managed to do that for the current
> release candidate.
> I have now cloned the git repo, and tried to make a source package for an
> rpmbuild build, but find that using the following approach...
> 
> cd darktable
> mkdir BUILD
> cd BUILD
> cmake ..
> make package_source

make pkgsrc
is the intended command for us. It's defined like this:

ADD_CUSTOM_TARGET(pkgsrc
        COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/version.cmake 
${CMAKE_SOURCE_DIR}/cmake/version.cmake
        COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target 
package_source
        COMMAND ${CMAKE_COMMAND} -E remove 
${CMAKE_SOURCE_DIR}/cmake/version.cmake
)

So it just copies the generated version.cmake into the tarball, the rest is 
the same.

> generates "darktable-1.5.1+81~gdd1980d.tar.gz" which is 76.9 MB.
> I note that the release candidate (darktable-1.5.1.tar.xz) was 3.1 MB, so
> I assume that "make package_source" using the repo doesn't produce a clean
> ( or minimal) source, which is desirable as when building a Fedora rpm the
> source tarball ends up in the src.rpm.
> So, is there a better way to produce a clean (minimal) source tarball from
> my local repo?
> Thanks, in anticipation.

The size difference is just because we manually (well, from the script Togan 
mentioned) delete the usermanual's sources to get a reasonable tarball size. 
The rest is the same.

> Cheers,

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to