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
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 | ||
0 | 20 | flashrom (1.2-3) unstable; urgency=medium |
1 | 21 | |
2 | 22 | * Also install pkg-config file. |
0 | 0 | Source: flashrom |
1 | 1 | Section: electronics |
2 | 2 | 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> | |
5 | 5 | 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 |
6 | 6 | Standards-Version: 4.5.0 |
7 | 7 | Vcs-Browser: https://salsa.debian.org/myczko-guest/flashrom |
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.* |
0 | 0 | #!/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 | |
5 | 1 | |
6 | 2 | DEB_MAKE_INSTALL_TARGET := install PREFIX=$(CURDIR)/debian/flashrom/usr |
7 | 3 | |
10 | 6 | |
11 | 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
12 | 8 | |
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 | ||
13 | 33 | %: |
14 | 34 | dh $@ |
15 | 35 | |
16 | 36 | 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 | |
21 | 38 | |
22 | 39 | override_dh_auto_build: |
23 | cd m && ninja | |
24 | dh_auto_build | |
40 | dh_auto_build -Smeson | |
41 | make flashrom.8 | |
25 | 42 | |
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 |