Codebase list flashrom / 6a2ec33
Import Debian changes 1.2-4 flashrom (1.2-4) unstable; urgency=medium . * debian/rules: - Don't build twice with meson and autotools - Remove unneeded comments - Only build configuration options that work on x86 on x86 (Fix FTBFS on many architectures) * debian/*.install - Use wildcards to install all the files * Fix the pkgconfig location * Only install the headers that are needed * debian/control: - Add me to uploaders. - Set EFI team as new maintainer. * debian/libflashrom.install: - Fix installation of .so file to correct package - Remove dh-exec from header Mario Limonciello authored 4 years ago Gürkan Myczko committed 2 years ago
8 changed file(s) with 66 addition(s) and 33 deletion(s). Raw diff Collapse all Expand all
0 flashrom (1.2-4) unstable; urgency=medium
1
2 * debian/rules:
3 - Don't build twice with meson and autotools
4 - Remove unneeded comments
5 - Only build configuration options that work on x86 on x86
6 (Fix FTBFS on many architectures)
7 * debian/*.install
8 - Use wildcards to install all the files
9 * Fix the pkgconfig location
10 * Only install the headers that are needed
11 * debian/control:
12 - Add me to uploaders.
13 - Set EFI team as new maintainer.
14 * debian/libflashrom.install:
15 - Fix installation of .so file to correct package
16 - Remove dh-exec from header
17
18 -- Mario Limonciello <mario.limonciello@dell.com> Wed, 04 Mar 2020 20:06:53 -0600
19
020 flashrom (1.2-3) unstable; urgency=medium
121
222 * Also install pkg-config file.
00 build_details.txt
1 m/
1 obj-*/
00 Source: flashrom
11 Section: electronics
22 Priority: optional
3 Maintainer: Gürkan Myczko <gurkan@phys.ethz.ch>
4 Uploaders: Jeremiah C. Foster <jeremiah.foster@puri.sm>
3 Maintainer: Debian EFI <debian-efi@lists.debian.org>
4 Uploaders: Jeremiah C. Foster <jeremiah.foster@puri.sm>, Mario Limonciello <mario.limonciello@dell.com>, Gürkan Myczko <gurkan@phys.ethz.ch>
55 Build-Depends: debhelper (>= 11), pkg-config, libpci-dev, libusb-dev [!kfreebsd-any], libusb-1.0-0-dev [!hurd-i386], libftdi1-dev [!hurd-i386], ninja-build, meson, dh-exec
66 Standards-Version: 4.5.0
77 Vcs-Browser: https://salsa.debian.org/myczko-guest/flashrom
0 m/flashrom usr/sbin
0 usr/sbin
0 prefix=/usr
1 libdir=${prefix}/lib/x86_64-linux-gnu
2 includedir=${prefix}/include/flashrom
3
4 Name: flashrom
5 Description: library to interact with flashrom
6 Version: 1.2
7 Libs: -L${libdir} -lflashrom
8 Cflags: -I${includedir}
0 #!/usr/bin/dh-exec
1 *.h usr/include/flashrom/
2 #m/meson-private/flashrom.pc usr/lib/pkgconfig
3 #m/libflashrom.so usr/lib/${DEB_HOST_MULTIARCH}/
4 #m/libflashrom.so.1 usr/lib/${DEB_HOST_MULTIARCH}/
0 usr/include
1 usr/lib/*/pkgconfig
2 usr/lib/*/libflashrom*.so
0 #!/usr/bin/dh-exec
1 m/libflashrom.so.1.0.0 usr/lib/${DEB_HOST_MULTIARCH}/
2 m/libflashrom.so usr/lib/${DEB_HOST_MULTIARCH}/
3 m/libflashrom.so.1 usr/lib/${DEB_HOST_MULTIARCH}/
4 m/meson-private/flashrom.pc usr/lib/pkgconfig
0 usr/lib/*/libflashrom.so.*
00 #!/usr/bin/make -f
1
2 #include /usr/share/cdbs/1/rules/debhelper.mk
3 #include /usr/share/cdbs/1/rules/utils.mk
4 #include /usr/share/cdbs/1/class/makefile.mk
51
62 DEB_MAKE_INSTALL_TARGET := install PREFIX=$(CURDIR)/debian/flashrom/usr
73
106
117 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
128
9 ifeq "$(DEB_HOST_ARCH)" "amd64"
10 export BUILD=
11 else ifeq "$(DEB_HOST_ARCH)" "i386"
12 export BUILD=
13 else
14 export BUILD=-Dconfig_atahpt=false \
15 -Dconfig_atapromise=false \
16 -Dconfig_atavia=false \
17 -Dconfig_drkaiser=false \
18 -Dconfig_gfxnvidia=false \
19 -Dconfig_it8212=false \
20 -Dconfig_nic3com=false \
21 -Dconfig_nicintel_eeprom=false \
22 -Dconfig_nicintel=false \
23 -Dconfig_nicintel_spi=false \
24 -Dconfig_nicnatsemi=false \
25 -Dconfig_nicrealtek=false \
26 -Dconfig_ogp_spi=false \
27 -Dconfig_rayer_spi=false \
28 -Dconfig_satamv=false \
29 -Dconfig_satasii=false \
30 -Dconfig_internal=false
31 endif
32
1333 %:
1434 dh $@
1535
1636 override_dh_auto_configure:
17 -mkdir m
18 cd m && meson --prefix=/usr ..
19 # cd m && meson --prefix=/usr CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ..
20 dh_auto_configure
37 dh_auto_configure -Smeson -- $$BUILD
2138
2239 override_dh_auto_build:
23 cd m && ninja
24 dh_auto_build
40 dh_auto_build -Smeson
41 make flashrom.8
2542
26 #post-patches::
27 # @# Copy udev rules file into debian/ so that dh_installudev finds it.
28 # cp util/z60_flashrom.rules debian/flashrom.udev
29
30 #clean::
31 # rm -f .dependencies .features .libdeps
32 # rm -f debian/flashrom.udev
33
34 #common-binary-post-install-arch:: list-missing
43 override_dh_auto_install:
44 dh_auto_install -Smeson