瀏覽代碼

added debian dir

pull/185/head
Rafael Diniz 1 年之前
父節點
當前提交
c9d8a23142
共有 14 個檔案被更改,包括 167 行新增0 行删除
  1. +34
    -0
      debian/changelog
  2. +1
    -0
      debian/compat
  3. +39
    -0
      debian/control
  4. +32
    -0
      debian/copyright
  5. +2
    -0
      debian/libwiringpi-dev.dirs
  6. +2
    -0
      debian/libwiringpi-dev.install
  7. +1
    -0
      debian/libwiringpi2.install
  8. +2
    -0
      debian/libwiringpi2.shlibs
  9. +44
    -0
      debian/rules
  10. +1
    -0
      debian/source/format
  11. +4
    -0
      debian/watch
  12. +1
    -0
      debian/wiringpi.dirs
  13. +2
    -0
      debian/wiringpi.docs
  14. +2
    -0
      debian/wiringpi.install

+ 34
- 0
debian/changelog 查看文件

@@ -0,0 +1,34 @@
wiringpi (2.71-1) unstable; urgency=low

* Sync to upstream

-- Rafael Diniz <rafael@rhizomatica.org> Tue, 02 May 2023 18:33:12 +0300

wiringpi (2.50-0ubuntu2) hirsute; urgency=medium

* d/p/0001-Fix-for-multiple-definition-of-comDat-76.patch: Cherrypick patch
from upstream fork to fix FTBFS with GCC 10.

-- Logan Rosen <logan@ubuntu.com> Thu, 07 Jan 2021 22:18:31 -0500

wiringpi (2.50-0ubuntu1) eoan; urgency=medium

* New upstream release 2.50 (LP: #1824370).

-- Dave Jones <dave@waveform.org.uk> Thu, 11 Apr 2019 14:41:08 +0000

wiringpi (2.46-0ubuntu4) bionic; urgency=medium

* Use v3 quilt format
* Add patch to fix build system to work with -as-needed, and to remove
redundant library dependencies
* Add patch to build and run on arm64

-- Dave Jones <dave.jones@canonical.com> Wed, 20 Feb 2019 10:28:07 +0000

wiringpi (2.26~iwj) rpi-unstable; urgency=low

* Initial version with real Debian source package build.

-- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 12 Sep 2015 18:31:35 +0100


+ 1
- 0
debian/compat 查看文件

@@ -0,0 +1 @@
10

+ 39
- 0
debian/control 查看文件

@@ -0,0 +1,39 @@
Source: wiringpi
Priority: optional
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Dave Jones <dave.jones@canonical.com>
Build-Depends: debhelper (>= 10)
Standards-Version: 4.1.2
Section: libs
Homepage: https://wiringpi.com/
Vcs-Browser: https://git.drogon.net/?p=wiringPi;a=summary

Package: libwiringpi-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libwiringpi2 (= ${binary:Version}), ${misc:Depends}
Description: Raspberry Pi library for controlling GPIO devices
A Raspberry Pi specific library for querying and controlling the GPIO pins,
and a variety of devices that connect to them from C, C++, or BASIC.
.
This package contains the development files (headers, etc.) for compiling
applications against libwiringPi.

Package: libwiringpi2
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Raspberry Pi library for controlling GPIO devices
A Raspberry Pi specific library for querying and controlling the GPIO pins,
and a variety of devices that connect to them from C, C++, or BASIC.
.
This package contains the shared libraries libwiringPi and libwiringPiDev.

Package: wiringpi
Architecture: any
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Raspberry Pi tool for controlling GPIO devices
A command line utility for querying and controlling the GPIO pins from the
shell.

+ 32
- 0
debian/copyright 查看文件

@@ -0,0 +1,32 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: wiringpi
Source: https://git.drogon.net/?p=wiringPi;a=summary

Files: *
Copyright: 2012-2018 Gordon Henderson <projects@drogon.net>
License: LGPL-3.0+

Files: wiringPi/wiringShift.h
Copyright: 2009-2012 Gordon Henderson <projects@drogon.net>
License: LGPL-3.0+

Files: debian/*
Copyright: 2019 Dave Jones <dave.jones@canonical.com>
License: LGPL-3.0+

License: LGPL-3.0+
This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".

+ 2
- 0
debian/libwiringpi-dev.dirs 查看文件

@@ -0,0 +1,2 @@
usr/lib
usr/include

+ 2
- 0
debian/libwiringpi-dev.install 查看文件

@@ -0,0 +1,2 @@
usr/include/*
usr/lib/*/lib*.so

+ 1
- 0
debian/libwiringpi2.install 查看文件

@@ -0,0 +1 @@
usr/lib/*/lib*.so.*

+ 2
- 0
debian/libwiringpi2.shlibs 查看文件

@@ -0,0 +1,2 @@
libwiringPi 2 libwiringpi2
libwiringPiDev 2 libwiringpi2

+ 44
- 0
debian/rules 查看文件

@@ -0,0 +1,44 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# These won't do anything until the Makefiles are fixed
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

VERSION:=$(shell cat VERSION)
export VERSION
MAJOR:=$(shell echo $${VERSION%%.*})
WIRINGPI_SONAME_SUFFIX:=.$(MAJOR)
export WIRINGPI_SONAME_SUFFIX


%:
dh $@

override_dh_prep:
dh_prep -Xdebian/tmp

dirs:
dh_installdirs -A
mkdir debian/tmp
set -e; for pkg in `dh_listpackages`; do \
(cd debian/$$pkg; find -type d) | \
(cd debian/tmp; xargs mkdir -p) \
done
mkdir -p debian/tmp/usr/lib/$(DEB_TARGET_GNU_TYPE)/

override_dh_clean:
dh_clean
WIRINGPI_SUDO= sh -xe ./build clean

override_dh_auto_build: dirs
V=1 LDCONFIG=: WIRINGPI_SUDO= WIRINGPI_SUID=0 \
DESTDIR=`pwd`/debian/tmp/usr PREFIX= sh -xe ./build
mv `find debian/tmp/usr/lib -type f` debian/tmp/usr/lib/$(DEB_TARGET_GNU_TYPE)/
set -ex; for lib in `find debian/tmp/usr/lib/$(DEB_TARGET_GNU_TYPE)/ -type f`; do \
ln -s $${lib##*/} $${lib%%.$(VERSION)}; \
ln -s $${lib##*/} $${lib%%.$(VERSION)}.$(MAJOR); \
done

+ 1
- 0
debian/source/format 查看文件

@@ -0,0 +1 @@
3.0 (quilt)

+ 4
- 0
debian/watch 查看文件

@@ -0,0 +1,4 @@
version=4

# Direct Git
opts="mode=git" git://git.drogon.net/wiringPi refs/tags/v([\d\.]+) debian uupdate

+ 1
- 0
debian/wiringpi.dirs 查看文件

@@ -0,0 +1 @@
usr/bin

+ 2
- 0
debian/wiringpi.docs 查看文件

@@ -0,0 +1,2 @@
README.TXT
People

+ 2
- 0
debian/wiringpi.install 查看文件

@@ -0,0 +1,2 @@
debian/tmp/usr/bin
debian/tmp/usr/share

Loading…
取消
儲存