commit for 1.3-11
Yukiharu YABUKI
5 years ago
0 | xfireworks (1.3-11) unstable; urgency=low | |
1 | ||
2 | [ Yukiharu YABUKI ] | |
3 | * Apply dh_auto_build patch (Closes: #913841). | |
4 | * Bump up Standards-Version | |
5 | * Remove dh_clean -k and Added dh_prep | |
6 | * Bump up debian/compat | |
7 | ||
8 | [ Helmut Grohne <helmut@subdivi.de> ] | |
9 | * Fix FTCBFS | |
10 | * Let dh_auto_bild pass cross tools to make. | |
11 | * cross.patch: Use the build architecture compiler for mkconf.c. | |
12 | ||
13 | -- Yukiharu YABUKI <yyabuki@debian.org> Thu, 29 Nov 2018 16:43:19 +0900 | |
14 | ||
0 | 15 | xfireworks (1.3-10) unstable; urgency=low |
1 | 16 | |
2 | 17 | [ Yukiharu YABUKI ] |
1 | 1 | Section: games |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Yukiharu YABUKI <yyabuki@debian.org> |
4 | Standards-Version: 3.9.5 | |
5 | Build-Depends: libx11-dev, debhelper (>= 5) | |
4 | Standards-Version: 4.2.1 | |
5 | Build-Depends: libx11-dev, debhelper (>= 7) | |
6 | 6 | Vcs-Git: https://github.com/yabuki/xfireworks |
7 | 7 | Vcs-Browser: https://github.com/yabuki/xfireworks |
8 | 8 |
0 | Description: cross build patch | |
1 | This patch enable us to build in cross environment. | |
2 | . | |
3 | xfireworks (1.3-11) unstable; urgency=low | |
4 | . | |
5 | [ Yukiharu YABUKI ] | |
6 | * Apply dh_auto_build patch (Closes: #913841). | |
7 | * Update Standards-Version | |
8 | . | |
9 | [ Helmut Grohne <helmut@subdivi.de> ] | |
10 | * Fix FTCBFS | |
11 | * Let dh_auto_bild pass cross tools to make. | |
12 | * cross.patch: Use the build architecture compiler for mkconf.c. | |
13 | Author: Yukiharu YABUKI <yabuki@netfort.gr.jp> | |
14 | Bug-Debian: https://bugs.debian.org/913841 | |
15 | ||
16 | --- | |
17 | The information above should follow the Patch Tagging Guidelines, please | |
18 | checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here | |
19 | are templates for supplementary fields that you might want to add: | |
20 | ||
21 | Origin: <other>, <https://bugs.debian.org/913841> | |
22 | Bug-Debian: https://bugs.debian.org/913841 | |
23 | Last-Update: 2018-11-29 | |
24 | ||
25 | --- xfireworks-1.3.orig/Makefile | |
26 | +++ xfireworks-1.3/Makefile | |
27 | @@ -13,6 +13,7 @@ XLIBDIR = $(X11BASE)/lib | |
28 | CFLAGS = -O | |
29 | LFLAGS = -lm -lX11 | |
30 | CC = cc | |
31 | +CC_FOR_BUILD ?= $(CC) | |
32 | CP = cp | |
33 | RM = rm -f | |
34 | MKDIR = mkdir -p | |
35 | @@ -66,7 +67,7 @@ xfireworks_conf.h : xfireworks.conf mkco | |
36 | cat xfireworks.conf | ./mkconf > xfireworks_conf.h | |
37 | ||
38 | mkconf : mkconf.c | |
39 | - $(CC) $(CPPFLAGS) $(CFLAGS) mkconf.c -o mkconf | |
40 | + $(CC_FOR_BUILD) $(CPPFLAGS) $(CFLAGS) mkconf.c -o mkconf | |
41 | ||
42 | etc.o : etc.c | |
43 | $(CC) -c etc.c $(CPPFLAGS) $(CFLAGS) |
0 | 0 | #!/usr/bin/make -f |
1 | 1 | # Sample debian/rules that uses debhelper. |
2 | 2 | # GNU copyright 1997 to 1999 by Joey Hess. |
3 | ||
4 | export CC_FOR_BUILD ?= $(CC) | |
3 | 5 | |
4 | 6 | # Uncomment this to turn on verbose mode. |
5 | 7 | #export DH_VERBOSE=1 |
15 | 17 | |
16 | 18 | |
17 | 19 | # Add here commands to compile the package. |
18 | $(MAKE) BINDIR=/usr/games LIBDIR=/etc/X11/xfireworks MANDIR=/usr/share/man/man6 | |
20 | dh_auto_build -- BINDIR=/usr/games LIBDIR=/etc/X11/xfireworks MANDIR=/usr/share/man/man6 GZIP=-9n | |
19 | 21 | |
20 | 22 | touch build-stamp |
21 | 23 | |
32 | 34 | install: build |
33 | 35 | dh_testdir |
34 | 36 | dh_testroot |
35 | dh_clean -k | |
37 | dh_prep | |
36 | 38 | dh_installdirs |
37 | 39 | |
38 | 40 | # Add here commands to install the package into debian/xfireworks. |