Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37633929
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: dtc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: dtc-1.7.0-alt1.patch
Скачать


 .gear/rules                                        |   3 +
 .../tags/66dbfc5bbbbc2aade889881a2b4358eab6b4fac7  |  48 ++++++
 .gear/tags/list                                    |   1 +
 .gear/upstream/remotes                             |   3 +
 dtc.spec                                           | 179 +++++++++++++++++++++
 libfdt/meson.build                                 |   2 +-
 meson.build                                        |   2 +-
 pylibfdt/Makefile.pylibfdt                         |   2 +-
 8 files changed, 237 insertions(+), 3 deletions(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..274d7d6
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: v@version@:.
+diff: v@version@:. .
+
diff --git a/.gear/tags/66dbfc5bbbbc2aade889881a2b4358eab6b4fac7 b/.gear/tags/66dbfc5bbbbc2aade889881a2b4358eab6b4fac7
new file mode 100644
index 0000000..af9b90b
--- /dev/null
+++ b/.gear/tags/66dbfc5bbbbc2aade889881a2b4358eab6b4fac7
@@ -0,0 +1,48 @@
+object 039a99414e778332d8f9c04cbd3072e1dcc62798
+type commit
+tag v1.7.0
+tagger David Gibson <david@gibson.dropbear.id.au> 1675938856 +1100
+
+DTC 1.7.0
+
+Changes since v1.6.1 include:
+ * dtc
+   * Fix -Oasm output on PA-RISC by avoiding ';' separators
+   * Put symbolic label references in -Odts output when possible
+   * Add label relative path references
+   * Don't incorrectly attempt to create fixups for reference to path
+     in overlays
+   * Warning rather than hard error if integer expression results are
+     truncated due to cell size
+ * libfdt
+   * Add fdt_get_property_by_offset_w() function
+ * pylibfdt
+   * Fixed to work with Python 3.10
+   * A number of extra methods
+   * Fix out of tree build
+ * fdtget
+   * Add raw bytes output mode
+ * General
+   * Fixes for mixed-signedness comparison warnings
+   * Assorted other warning fixes
+   * Assorted updates to checks
+   * Assorted bugfixes
+   * Fix scripts to work with dash as well as bash
+   * Allow static builds
+   * Formalize Signed-off-by usage
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmPkzC8ACgkQzQJF27ox
+2GdBWBAAorY2l5Xj9GZgyZlM/amfuEVWfcFBccWi5r71NkiIfGhEoBRr4MR+Q1Wq
+/6RzxKj2lgIivNWWQdWbsJp6QKDpEL+LYspzFz3V18olKMwd2e2upJ2ChxlXJnWp
+3gcSfTYmmlflrMTy7VemRdMOX5lCK1dcLxl4Lq8XxPFYipPxppvbDgcII3j5n37S
+R6lBNigTRle6y7OpVtoFfHeBfm7U5YVTamyUDui36ql3txHHsZnCwliU/lhJBLMz
+TbM+K602rlR7j6YhR2n/7L6AsEzcNXRMArg72PejwZIyOpxTUPDQ5NtfSTy9Ghxb
+gmUMwFuQ13BwgjhjCVSAxPMphsuyV+Njy2xfWNfjg204ZhmX3Lw0NLE2GmbZU3Wc
+m4+HdwwxJLZbhJ+MNvkYYy5Fv22JHTV8aPKoiBCsjtUumrnEqm5ge6DI0PVkroa6
+3V/9a/qiOKb796JP7oixxaEuGMXXp6+BPDJz27O7782yDR8Dh2S3febEZTxlmkcP
+IS67RrAc61o5Qpm4+EjPpG6PadlKJpdsZwP+ABDxB1/CY/s+Id3noP8ca7gZ5kye
+iZK8mAebAm5PnRU3sHIDVkB3Tu7cDxb8ZH1S4ILU1OznhVVo/EDux9SZcrNpBoTK
+1cFbVdY02ZKMb4YDv/xTAXnMXvEIQNA9oSZP6K0nAr8YsPoDo9I=
+=XrsV
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..2612175
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+66dbfc5bbbbc2aade889881a2b4358eab6b4fac7 v1.7.0
diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes
new file mode 100644
index 0000000..bb69d45
--- /dev/null
+++ b/.gear/upstream/remotes
@@ -0,0 +1,3 @@
+[remote "upstream"]
+	url = git://git.kernel.org/pub/scm/utils/dtc/dtc.git
+	fetch = +refs/heads/*:refs/remotes/upstream/*
diff --git a/dtc.spec b/dtc.spec
new file mode 100644
index 0000000..3a48c97
--- /dev/null
+++ b/dtc.spec
@@ -0,0 +1,179 @@
+%define _unpackaged_files_terminate_build 1
+%def_without docs
+%def_with python3
+%global optflags_lto %nil
+
+Name: dtc
+Version: 1.7.0
+Release: alt1
+
+Summary: Device Tree Compiler for Flat Device Trees
+License: GPL-2.0-or-later
+Group: Development/Tools
+
+Url: https://git.kernel.org/cgit/utils/dtc/dtc.git
+Source: %name-%version.tar
+Patch: %name-%version-%release.patch
+
+BuildRequires: meson
+BuildRequires: flex bison
+%{?_with_python3:BuildRequires: swig python3-devel python3-module-setuptools_scm}
+%{?_with_docs:BuildRequires: texlive-base texlive-latex-extra}
+
+%description
+Device Tree Compiler, dtc, takes as input a device-tree in a given
+format and outputs a device-tree in another format for booting kernels
+on embedded systems. Typically, the input format is "dts", a human
+readable source format, and creates a "dtb", or binary format as output.
+
+%package -n libfdt
+Summary: Flat Device Trees manipulation library
+Group: System/Libraries
+License: GPL-2.0-or-later OR BSD-2-Clause
+
+%description -n libfdt
+This is a library containing functions for manipulating Flat Device
+Trees.
+
+%package -n libfdt-devel
+Summary: Flat Device Trees manipulation library - development files
+Group: Development/C
+Requires: libfdt = %EVR
+
+%description -n libfdt-devel
+This is a library containing functions for manipulating Flat Device
+Trees.
+This package contains the files needed for development against libfdt.
+
+%package -n libfdt-devel-static
+Summary: Static version of device tree library
+Group: Development/C
+Requires: libfdt-devel = %EVR
+
+%description -n libfdt-devel-static
+This package provides the static library of libfdt
+
+%package -n libfdt-doc
+Summary: Documentation for Device Tree Compiler for Flat Device Trees 
+Group: Development/Other
+BuildArch: noarch
+
+%description -n libfdt-doc
+This is a library containing functions for manipulating Flat Device
+Trees.
+This package contains documentation for development against libfdt.
+
+%package -n python3-module-libfdt
+Summary: Python bindings for device tree library
+Group: Development/Python
+Requires: libfdt = %EVR
+
+%description -n python3-module-libfdt
+This package provides python bindings for libfdt
+
+%prep
+%setup
+%patch -p1
+%ifarch %e2k
+# lcc 1.23 doesn't do -MG and there's -Werror=pointer-arith there
+sed -i 's,-MG ,,;s,-Werror,,' Makefile
+echo '#define DTC_VERSION "%version"' > version_gen.h
+%endif
+
+%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%version
+%meson -Dstatic-build=false
+%meson_build
+%if_with docs
+pushd Documentation
+latex dtc-paper.tex
+dvips dtc-paper.dvi
+pdflatex dtc-paper.tex
+bzip2 -9 dtc-paper.dvi dtc-paper.ps dtc-paper.pdf
+popd
+%endif
+
+%install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%version
+%meson_install
+rm -f %buildroot%_bindir/ftdump
+
+%files
+%doc README.license
+%doc Documentation/manual.txt
+%doc Documentation/dts-format.txt
+%_bindir/*
+
+%files -n libfdt
+%doc README.license
+%_libdir/libfdt.so.*
+
+%files -n libfdt-devel
+%doc README.license
+%_libdir/libfdt.so
+%_includedir/*
+%_pkgconfigdir/libfdt.pc
+
+%files -n libfdt-devel-static
+%_libdir/libfdt.a
+
+%if_with python3
+%files -n python3-module-libfdt
+%python3_sitelibdir/*
+%endif
+
+%if_with docs
+%files -n libfdt-doc
+%doc README.license
+%doc Documentation/dtc-paper.dvi.bz2
+%doc Documentation/dtc-paper.ps.bz2
+%doc Documentation/dtc-paper.pdf.bz2
+%endif
+
+%changelog
+* Thu Feb 16 2023 Alexey Shabalin <shaba@altlinux.org> 1.7.0-alt1
+- 1.7.0
+- switch to meson build
+
+* Fri Nov 18 2022 Ivan A. Melnikov <iv@altlinux.org> 1.6.1-alt2
+- build python3 libfdt module
+  + switch to python3
+  + fix python module build and install
+  + enable building of the module by default
+
+* Wed Jun 09 2021 Andrew A. Vasilyev <andy@altlinux.org> 1.6.1-alt1
+- 1.6.1
+
+* Tue Oct 06 2020 Andrew A. Vasilyev <andy@altlinux.org> 1.6.0-alt1
+- 1.6.0
+
+* Sun Apr 19 2020 Michael Shigorin <mike@altlinux.org> 1.5.1-alt2
+- E2K: fix ftbfs with OSL-inspired hacks
+
+* Sun Dec 15 2019 Alexey Shabalin <shaba@altlinux.org> 1.5.1-alt1
+- 1.5.1 release
+
+* Sat Jun 01 2019 Alexey Shabalin <shaba@altlinux.org> 1.5.0.0.20.2431-alt1
+- v1.5.0-20-g243176c
+- build without python
+
+* Sat Aug 18 2018 Alexey Shabalin <shaba@altlinux.org> 1.4.7-alt1
+- 1.4.7
+- add python package
+- add devel-static package
+
+* Fri Apr 21 2017 Alexey Shabalin <shaba@altlinux.ru> 1.4.4-alt1
+- 1.4.4
+
+* Fri Feb 06 2015 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.4.1-alt1
+- 1.4.1 released
+
+* Wed Dec 25 2013 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.4.0-alt1
+- 1.4.0 released
+
+* Thu Dec 27 2012 Ivan Ovcherenko <asdus@altlinux.org> 1.3.0-alt2
+- Increase package version due the ugly correlation with package version
+  in the FC AutoImports repository.
+
+* Mon Dec 24 2012 Ivan Ovcherenko <asdus@altlinux.org> 1.3.0-alt1
+- Initial build for ALT Linux Sisyphus, v1.3.0-e4b497f
diff --git a/libfdt/meson.build b/libfdt/meson.build
index 240bdf4..240dab9 100644
--- a/libfdt/meson.build
+++ b/libfdt/meson.build
@@ -18,7 +18,7 @@ sources = files(
 
 libfdt = library(
   'fdt', sources,
-  version: '1.6.0',
+  version: '1.7.0',
   link_args: ['-Wl,--no-undefined', version_script],
   link_depends: 'version.lds',
   install: true,
diff --git a/meson.build b/meson.build
index 78251eb..d88cd9f 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('dtc', 'c',
-  version: '1.6.0',
+  version: '1.7.0',
   license: ['GPL2+', 'BSD-2'],
   default_options: 'werror=true',
 )
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
index 82f565e..f21482b 100644
--- a/pylibfdt/Makefile.pylibfdt
+++ b/pylibfdt/Makefile.pylibfdt
@@ -21,7 +21,7 @@ $(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP)
 
 install_pylibfdt: $(PYMODULE)
 	@$(VECHO) INSTALL-PYLIB
-	$(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX)
+	$(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX) --root=$(DESTDIR)
 
 pylibfdt_clean:
 	@$(VECHO) CLEAN "(pylibfdt)"
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin