Bug 991376

Summary: RFE: convert wesnoth.spec file to use scons
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: wesnothAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bruno, gwync, stephent98
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-12 18:32:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
scons build log for wesnoth-1.10.6 none

Description Steve Tyler 2013-08-02 09:28:22 UTC
Description of problem:
The wesnoth build can be done with scons.

See Bug 905379, Comment 34 from Will Woods.
wesnoth.spec: Attachment 781670 [details]

Version-Release number of selected component (if applicable):
wesnoth-1.10.6 upstream
Attachment 781670 [details]

How reproducible:


Steps to Reproduce:
1. Build with scons per Attachment 781670 [details].

Actual results:


Expected results:


Additional info:

Comment 1 Steve Tyler 2013-08-02 09:51:00 UTC
The INSTALL file from wesnoth-1.10.6.tar has this section:
3. SCons Build

Comment 2 Steve Tyler 2013-08-02 12:45:02 UTC
Created attachment 781959 [details]
scons build log for wesnoth-1.10.6

wesnoth-1.10.6 builds fine with scons. With the appropriate mandir option, the man pages are installed correctly.

$ sudo scons install mandir=/usr/share/man

$ less -N scons-install-3.txt
      1 scons: Reading SConscript files ...
      2 Saved options: default_targets = 'wesnoth,wesnothd', bindir = '/bin', mandir = '/usr/share/man'
      3 Building Wesnoth version 1.10.6
...

$ cat scons-install-3.txt | grep 'Install file: "doc/man/' | wc -l
53

Tested with F19 in a VM:
$ qemu-kvm -m 4096 -hda f19-test-3.img -cdrom ~/xfr/fedora/F19/Fedora-19-x86_64-DVD.iso -vga std -boot menu=on

Comment 3 Steve Tyler 2013-08-02 22:04:42 UTC
I completed an rpmbuild using Will's spec file, and it appears to have worked great. The log is ~500k, so I won't attach it.

Comment 4 Steve Tyler 2013-08-03 17:56:51 UTC
The wesnoth.spec file may need to incorporate these changes:
Bug 850365 - Introduce new systemd-rpm macros in wesnoth spec file

Packaging:ScriptletSnippets
Systemd
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

Bug 850016 - (systemd/Presets) Tracker bug for conversion to new systemd-rpm macros

Comment 5 Gwyn Ciesla 2013-08-12 18:34:03 UTC
Thanks for your work on this.  I restored the font unbundling bits.