Changeset cfc7d1d


Ignore:
Timestamp:
Jul 15, 2016, 12:24:30 PM (10 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, app-cordova, debian/bullseye, debian/jessie, master
Children:
6a0b261
Parents:
e401136
Message:

Working packaging with python module added

Location:
externals/epaper-driver
Files:
1 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • externals/epaper-driver/debian/changelog

    re401136 rcfc7d1d  
    1 epd-fuse-v231-g2 (0.1-0) unstable; urgency=low
     1epd-fuse-v231-g2 (0.1-2) unstable; urgency=low
     2
     3  * Added the python EPD file as python-epd module package
     4
     5 -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 15 Jul 2016 11:00:00 +0000
     6
     7epd-fuse-v231-g2 (0.1-1) unstable; urgency=low
    28
    39  * Initial release
    410
    5  -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 13 Jul 2016 18:18:56 +0000
     11 -- EngSaS - Joachim Langenbach <info@engsas.de>  Thu, 14 Jul 2016 18:18:56 +0000
  • externals/epaper-driver/debian/control

    re401136 rcfc7d1d  
    11Source: epd-fuse-v231-g2
    2 Section: unknown
     2Section: otherosfs
    33Priority: optional
    44Maintainer: EngSaS - Joachim Langenbach <info@engsas.de>
    5 Build-Depends: debhelper (>= 9)
     5Build-Depends: debhelper (>= 9), dh-python, python-all, python3-all, python3-setuptools, python-setuptools, python-support (>= 0.90), python-pil
    66Standards-Version: 3.9.5
    77Homepage: https://github.com/repaper/gratis
    88#Vcs-Git: git://anonscm.debian.org/collab-maint/epd-fuse.git
    99#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/epd-fuse.git;a=summary
     10X-Python-Version: >= 2.6
     11X-Python3-Version: >= 3.2
    1012
    1113Package: epd-fuse-v231-g2
    … …  
    1416Description: EPD driver for repaper display
    1517 This is the EPD driver for the repaper display with PANEL_VERSION V231_G2
     18
     19Package: python-epd
     20Section: python
     21Architecture: any
     22Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, epd-fuse-v231-g2
     23Description: Python module for the repaper display epd-fuse driver
     24 It provides an API to use the repaper displays with epd-fuse driver
     25 within your python projects
     26
     27Package: python3-epd
     28Section: python
     29Architecture: any
     30Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, epd-fuse-v231-g2
     31Description: Python module for the repaper display epd-fuse driver (Python 3)
     32 It provides an API to use the repaper displays with epd-fuse driver
     33 within your python projects
     34
     35#Package: python-epd-dbg
     36#Section: debug
     37#Priority: extra
     38#Architecture: any 
     39#Depends: $[python:Depends}, $[misc:Depends}, ${shlibs:Depends}, python-epd (= ${binary:Version})
     40#Recommends: python-dbg
     41#Description: Python module for the repaper display epd-fuse driver (debug extension)
     42# It provides an API to use the repaper displays with epd-fuse driver within your python projects
  • externals/epaper-driver/debian/patches/fix-make-gnu-standards.diff

    re401136 rcfc7d1d  
    33--- epd-fuse-v231-g2-0.1.orig/Makefile
    44+++ epd-fuse-v231-g2-0.1/Makefile
    5 @@ -1,5 +1,7 @@
     5@@ -1,5 +1,8 @@
    66 # Makefile
    77 
     8+DESTDIR ?= ""
    89+PREFIX ?= /usr/local
    910+
    … …  
    1112 EPD_IO ?= epd_io.h
    1213 
    13 @@ -74,10 +76,10 @@ version-check:
     14@@ -74,10 +77,10 @@ version-check:
    1415 
    1516 .PHONY: rpi raspberrypi
    1617 rpi raspberrypi: version-check
    1718-       $(MAKE) PLATFORM=../RaspberryPi PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common
    18 +       $(MAKE) PREFIX=$(PREFIX) PLATFORM=../RaspberryPi PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common
     19+       $(MAKE) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) PLATFORM=../RaspberryPi PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common
    1920 
    2021 rpi-%: version-check
    2122-       $(MAKE) PLATFORM=../RaspberryPi PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common $*
    22 +       $(MAKE) PREFIX=$(PREFIX) PLATFORM=../RaspberryPi PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common $*
     23+       $(MAKE) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) PLATFORM=../RaspberryPi PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common $*
    2324 
    2425 
    2526 # BeagleBone Black targets
    26 @@ -85,7 +87,7 @@ rpi-%: version-check
     27@@ -85,7 +88,7 @@ rpi-%: version-check
    2728 
    2829 .PHONY: bb beaglebone
    2930 bb beaglebone: version-check
    3031-       $(MAKE) PLATFORM=../BeagleBone PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common
    31 +       $(MAKE) PREFIX=$(PREFIX) PLATFORM=../BeagleBone PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common
     32+       $(MAKE) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) PLATFORM=../BeagleBone PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common
    3233 
    3334 bb-%: version-check
    3435-       $(MAKE) PLATFORM=../BeagleBone PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common $*
    35 +       $(MAKE) PREFIX=$(PREFIX) PLATFORM=../BeagleBone PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common $*
     36+       $(MAKE) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) PLATFORM=../BeagleBone PANEL_VERSION="${PANEL_VERSION}" EPD_IO="${EPD_IO}" -C driver-common $*
    3637Index: epd-fuse-v231-g2-0.1/driver-common/Makefile
    3738===================================================================
  • externals/epaper-driver/debian/patches/series

    re401136 rcfc7d1d  
    1 fix-make-destdir.diff
     1add-python-setup.diff
     2fix-make-gnu-standards.diff
  • externals/epaper-driver/debian/rules

    re401136 rcfc7d1d  
    22
    33#export DH_VERBOSE=1
     4export PYBUILD_NAME = epd
    45
    56%:
    6         dh $@
     7        dh $@ --with quilt,python2,python3 --buildsystem=pybuild
    78
    89override_dh_auto_build:
    9         $(MAKE) PANEL_VERSION='V231_G2' rpi-epd_fuse
     10        dh_auto_build
     11        $(MAKE) PANEL_VERSION='V231_G2' PREFIX=/usr rpi-epd_fuse
    1012
    1113override_dh_auto_install:
    12         $(MAKE) PANEL_VERSION='V231_G2' PREFIX=../debian/BUILD rpi-install
     14        dh_auto_install
     15        $(MAKE) PANEL_VERSION='V231_G2' DESTDIR=$$(pwd)/debian/epd-fuse-v231-g2 PREFIX=/usr rpi-install
  • externals/epaper-driver/epaper-package

    re401136 rcfc7d1d  
    1616fi
    1717
     18echo "Install dependencies packages"
     19sudo apt-get install dpkg-dev debhelper libfuse-dev
    1820echo "Preparebuild environment"
    1921mkdir "${BUILD_DIR}"
    … …  
    2325echo "  Copy debian folder into sources"
    2426cp -a "${SCRIPT_ROOT}/debian" "${BUILD_DIR}/${PACKAGE_NAME}/"
    25 mkdir "${BUILD_DIR}/${PACKAGE_NAME}/debian/BUILD"
    26 mkdir "${BUILD_DIR}/${PACKAGE_NAME}/debian/BUILD/sbin"
    27 
    2827
    2928echo "Building the package"
    … …  
    3130dpkg-buildpackage
    3231
     32echo "Checking the package"
     33set +e
     34for entry in "${BUILD_DIR}"/*.deb; do
     35    echo "  Running lintian for package ${entry}"
     36    lintian "$entry"
     37done
     38set -e
     39
    3340exit 0
Note: See TracChangeset for help on using the changeset viewer.