mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: <Henrik.Kraft@heidolph.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] 2 earlier requests
Date: Fri, 6 Sep 2013 07:19:08 +0000	[thread overview]
Message-ID: <5DDDC2AE1D40D045B973C3CAA4D4CCC74FAE7C@HISCMAIL01.HeiLab.loc> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 473 bytes --]

sorry not to inform you but I have tried allong what pascal suggested yesterday and it seems to work so the qjson problem seems to be solved. Even I could'nd verify in depth. I had tried to use install_lib instead which did not work.

But the other problem with my binary package remains. You may hav a look at the [prject].* files.


Mit freundlichen Grüßen

Henrik Kraft
z.Zt. Heidolph GmbH & Co. KG
Walpersdorfer Str. 12
91126 Schwabach
09122 - 99 20 - 58


[-- Attachment #1.2: Type: text/html, Size: 3334 bytes --]

[-- Attachment #2: heidolph_bin.in --]
[-- Type: application/octet-stream, Size: 177 bytes --]

## SECTION=project_specific

config HEIDOLPH_BIN
	tristate
	prompt "heidolph_bin"
	help
	  Will install components to deploy and autostart
          heidolph LR-20 application.

[-- Attachment #3: heidolph_bin.make --]
[-- Type: application/octet-stream, Size: 8068 bytes --]

# -*-makefile-*-
#
# Copyright (C) 2013 by <>Henrik Kraft
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_HEIDOLPH_BIN) += heidolph_bin
LOCAL_SRC = $(PTXDIST_WORKSPACE)/local_src
# INSTALL_PREFIX = usr

HEIDOLPH_BIN_VERSION	:= 0.8.0
HEIDOLPH_BIN_MD5        := 93470bf896ef69d1a72118a462f8d964
HEIDOLPH_BIN		:= heidolph_bin-$(HEIDOLPH_BIN_VERSION)
HEIDOLPH_BIN_SUFFIX	:= tgz
HEIDOLPH_BIN_URL	:= file:///home/oschma/src/$(HEIDOLPH_BIN).$(HEIDOLPH_BIN_SUFFIX)
HEIDOLPH_BIN_SOURCE	:= $(LOCAL_SRC)/$(HEIDOLPH_BIN).$(HEIDOLPH_BIN_SUFFIX)
HEIDOLPH_BIN_DIR	:= /usr/bin
HEIDOLPH_LIB_DIR	:= /usr/lib
HEIDOLPH_ETC_DIR	:= /etc

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

$(STATEDIR)/heidolph_bin.get:
	 	@$(call targetinfo)
		@$(call touch)

# ----------------------------------------------------------------------------
# Extract
# HK First step allways is call targetinfo, last is call touch.
# If there is nothing in between these two you have an empty rule
# equivalent to a step to omit.
# ----------------------------------------------------------------------------

$(STATEDIR)/heidolph_bin.extract:
	@$(call targetinfo)
#	@$(call clean, $(HEIDOLPH_BIN_DIR))
#	@$(CALL install_archive, $(HEIDOLPH_BIN), -, -, \
#		$(PTXDIST_WORLSPACE)/$(SRCDIR)/$(HEIDOLPH_BIN_SOURCE), /)
#	@$(call extract, HEIDOLPH_BIN)
#	@$(call extract)
	@$(call touch)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

$(STATEDIR)/heidolph_bin.prepare:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

$(STATEDIR)/heidolph_bin.compile:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/heidolph_bin.install:

#
# TODO:
# If some of the files are required in root filesystem's build process, install
# these files in the install stage. But use proper variables PTXdist supports
# to install files, instead of fixed paths. The following variables can be
# used:
#
# - $(PTXDIST_SYSROOT_TARGET) points to a directory tree
#   all target relevant libraries and header files are installed to. All
#   packages built for the target are searching in this directory tree for
#   header and library files. These files are for compile time only, not for
#   runtime!
#   Paths:
#    - executables: $(PTXDIST_SYSROOT_TARGET)/bin
#    - header files: $(PTXDIST_SYSROOT_TARGET)/include
#    - libraries: $(PTXDIST_SYSROOT_TARGET)/lib
#
# - $(PTXDIST_SYSROOT_HOST) points to a directory tree all host relevant
#   executables, libraries and header files are installed to. All packages
#   built for the host are searching in this directory tree for executables,
#   header and library files.
#   Paths:
#    - executables: $(PTXDIST_SYSROOT_HOST)/bin
#    - header files: $(PTXDIST_SYSROOT_HOST)/include
#    - libraries: $(PTXDIST_SYSROOT_HOST)/lib
#
# - $(PTXDIST_SYSROOT_CROSS) points to a directory tree all cross relevant
#   executables, libraries and header files are installed to. All packages
#   built for the host to create data for the target are searching in this
#   directory tree for executables, header and library files.
#   Paths:
#    - executables: $(PTXDIST_SYSROOT_CROSS)/bin
#    - header files: $(PTXDIST_SYSROOT_CROSS)/include
#    - libraries: $(PTXDIST_SYSROOT_CROSS)/lib
#
#
# If no compile time files are reqired, skip this stage
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/heidolph_bin.targetinstall:
	@$(call targetinfo)

#
# TODO: To build your own package, if this step requires one
	@$(call install_init,heidolph_bin)
#	@$(call install_init,$(INSTALL_PREFIX))
#	@$(call install_init,$(HEIDOLPH_BIN_DIR))
#	@$(call install_init,$(HEIDOLPH_LIB_DIR))
#	@$(call install_init,$(HEIDOLPH_SRC_DIR))
	@$(call install_fixup,heidolph_bin,PACKAGE,heidolph_bin)
	@$(call install_fixup,heidolph_bin,PRIORITY,optional)
	@$(call install_fixup,heidolph_bin,SECTION,base)
	@$(call install_fixup,heidolph_bin,AUTHOR,"Henrik Kraft")
#	@$(call install_fixup,heidolph_bin,DESCRIPTION,"Heidolph LR-20 application")
	@$(call install_fixup,heidolph_bin,DEPENDS,)
	@$(call install_fixup,heidolph_bin,DESCRIPTION,missing)

#
# TODO: Add here all files that should be copied to the target
# Note: Add everything before(!) call to macro install_finish
#
#	@$(call install_copy, heidolph_bin, 0, 0, 0755, $(HEIDOLPH_BIN_DIR)/foobar, /dev/null)
#

	@$(call install_archive, heidolph_bin, root, root, \
		$(PTXDIST_WORKSPACE)/local_src/heidolph_bin-$(HEIDOLPH_BIN_VERSION).$(HEIDOLPH_BIN_SUFFIX))
	@$(call install_copy, heidolph_bin, root, root, 755, $(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/bin/IPDemo, \
		$(HEIDOLPH_BIN_DIR)/IPDemo)
	@$(call install_copy, heidolph_bin, root, root, 755, $(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/bin/QtHeidolphUI, \
		$(HEIDOLPH_BIN_DIR)/QtHeidolphUI)
# Verwende nicht mehr systemd, sondern traditionelle rc.d script. Mit systemd funktioniert
# der touch panel nicht und wir brauchen das copytouch script !
#	@$(call install_copy, heidolph_bin, root, root, 644, \
#		$(PTXDIST_WORKSPACE)/local_src/heidolph_bin/systemd/heidolphcom.service, \
#		$(HEIDOLPH_SYSTEMD_DIR)/heidolphcom.service)
#	@$(call install_copy, heidolph_bin, root, root, 644, \
#		$(PTXDIST_WORKSPACE)/local_src/heidolph_bin/systemd/heidolphui.service, \
#		$(HEIDOLPH_SYSTEMD_DIR)/heidolphui.service)
#	@$(call install_copy, heidolph_bin, root, root, 755, \
#		$(PTXDIST_WORKSPACE)/local_src/heidolph_bin/rc.once.d/run-once, \
#		$(HEIDOLPH_ETC_DIR)/rc.once.d/run-once)
# Workarround fuer gain und offset zum Touch panel
	@$(call install_copy, heidolph_bin, root, root, 755, \
		$(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/init.d/copytouch, \
		$(HEIDOLPH_ETC_DIR)/init.d/copytouch)
	@$(call install_link, heidolph_bin, \
		$(HEIDOLPH_ETC_DIR)/init.d/copytouch, \
		$(HEIDOLPH_ETC_DIR)/rc.d/S9zcopytouch)
# Startscript
	@$(call install_copy, heidolph_bin, root, root, 755, \
		$(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/init.d/heidolph, \
		$(HEIDOLPH_ETC_DIR)/init.d/heidolph)
	@$(call install_link, heidolph_bin, \
		$(HEIDOLPH_ETC_DIR)/init.d/heidolph, \
		$(HEIDOLPH_ETC_DIR)/rc.d/SZHeidolph)
	
# HK zum Workarround (s. Readme): Kopiere gain und offset nach /etc/sys.
	@$(call install_copy, heidolph_bin, root, root, 644, \
		$(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/etc/sys/gain, \
		$(HEIDOLPH_ETC_DIR)/sys/gain)
	@$(call install_copy, heidolph_bin, root, root, 644, \
		$(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/etc/sys/offset, \
		$(HEIDOLPH_ETC_DIR)/sys/offset)
	@$(call install_copy, heidolph_bin, root, root, 644, \
		$(PTXDIST_WORKSPACE)/local_src/$(HEIDOLPH_BIN)/etc/pointercal, \
		$(HEIDOLPH_ETC_DIR)/pointercal)
# don't use systemd any longer
#	@$(call install_link,heidolph_bin,$(HEIDOLPH_SYSTEMD_DIR)/heidolphcom.service, \
#		$(HEIDOLPH_SYSTEMD_ETC)/heidolphcom.service)
#	@$(call install_link,heidolph_bin,$(HEIDOLPH_SYSTEMD_DIR)/heidolphui.service, \
#		$(HEIDOLPH_SYSTEMD_ETC)/heidolphui.service)
	@$(call install_finish,heidolph_bin)
	@$(call touch)

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

#$(STATEDIR)/heidolph_bin.clean:
#	@$(call targetinfo)
#	@$(call clean_pkg, HEIDOLPH_BIN)

# vim: syntax=make

[-- Attachment #4: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2013-09-06  7:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06  7:19 Henrik.Kraft [this message]
2013-09-06  8:11 ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5DDDC2AE1D40D045B973C3CAA4D4CCC74FAE7C@HISCMAIL01.HeiLab.loc \
    --to=henrik.kraft@heidolph.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox