Accepting request 921820 from home:trenn:branches:hardware

- Update to version 1.5.12+git.0684c1b:
  * Don't set EEPROM serial when it's not used.
  * Remove legacy EEPROM fields from FT4232H.
  * Don't fail reading missing strings.
  * Don't spam stderr when flashing FT232H eeprom
  * examples/bitbang_cbus.c: Check return value of fgets()
  ...
- Integrated mainline:
D Fix-building-unit-tests-without-FTDIPP.patch

OBS-URL: https://build.opensuse.org/request/show/921820
OBS-URL: https://build.opensuse.org/package/show/hardware/libftdi1?expand=0&rev=33
This commit is contained in:
Thomas Renninger 2021-09-27 14:50:25 +00:00 committed by Git OBS Bridge
parent f2d97250b1
commit 5104711112
7 changed files with 40 additions and 39 deletions

View File

@ -1,33 +0,0 @@
From 11a50ae5b80b3e03694a19e84513345d0794e563 Mon Sep 17 00:00:00 2001
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date: Mon, 24 Aug 2020 19:27:22 +0200
Subject: [PATCH] Fix building unit tests without FTDIPP
Needed to run the baudrate unit tests.
Probably another fallout from:
****************************
commit 0209a3633dc877a577af07d883eb5059e22f6a91
cmake: do not check for g++ when FTDIPP is disabled
****************************
---
CMakeLists.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3b0b87c..58f664a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,6 +150,7 @@ if ( EXAMPLES )
endif ()
add_subdirectory(packages)
if ( BUILD_TESTS )
+ project(libftdi1 C CXX)
add_subdirectory(test)
endif ()
--
1.7.1

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="localonly">
<param name="url">git://developer.intra2net.com/libftdi</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">libftdi1</param>
<param name="revision">refs/heads/master</param>
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@+git.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="localonly"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

BIN
libftdi1-1.5.12+git.0684c1b.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049
size 116297

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Sep 27 14:01:32 UTC 2021 - Thomas Renninger <trenn@suse.de>
- Update to version 1.5.12+git.0684c1b:
* Don't set EEPROM serial when it's not used.
* Remove legacy EEPROM fields from FT4232H.
* Don't fail reading missing strings.
* Don't spam stderr when flashing FT232H eeprom
* examples/bitbang_cbus.c: Check return value of fgets()
...
- Integrated mainline:
D Fix-building-unit-tests-without-FTDIPP.patch
-------------------------------------------------------------------
Fri Jan 15 14:06:47 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

5
libftdi1.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: libftdi1
version: 1.5.12+git.0684c1b
mtime: 1620147075
commit: 0684c1b1be9ccb893829c20a8505c91e101bbf43

View File

@ -19,15 +19,14 @@
%define sover -2
%define libname %{name}%{sover}
Name: libftdi1
Version: 1.5
Version: 1.5.12+git.0684c1b
Release: 0
Summary: Library to program and control the FTDI USB controller
License: LGPL-2.1-only AND GPL-2.0-only AND GPL-2.0-with-classpath-exception
Group: Hardware/Other
URL: https://www.intra2net.com/en/developer/libftdi
Source: https://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2
Source: libftdi1-%{version}.tar.xz
# PATCH-FIX-UPSTREAM -- http://developer.intra2net.com/git/?p=libftdi;a=patch;h=11a50ae5b80b3e03694a19e84513345d0794e563
Patch0: Fix-building-unit-tests-without-FTDIPP.patch
BuildRequires: cmake >= 2.8
BuildRequires: doxygen
BuildRequires: gcc-c++