* [ptxdist] 2 earlier requests
@ 2013-09-06 7:19 Henrik.Kraft
2013-09-06 8:11 ` Alexander Dahl
0 siblings, 1 reply; 2+ messages in thread
From: Henrik.Kraft @ 2013-09-06 7:19 UTC (permalink / raw)
To: ptxdist
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] 2 earlier requests
2013-09-06 7:19 [ptxdist] 2 earlier requests Henrik.Kraft
@ 2013-09-06 8:11 ` Alexander Dahl
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Dahl @ 2013-09-06 8:11 UTC (permalink / raw)
To: ptxdist
Hei Henrik,
Am 2013-09-06 09:19, schrieb Henrik.Kraft@heidolph.de:
> 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.
Would you please be so kind and stay in the already opened threads and
avoid creating new ones with meaningless subject lines? Your last 3
mails seem unconnected to anything else. You could have easily replied
to your own requests even the original ones. This would make it a lot
easier for people trying to help you, getting the whole context without
searching through old mails guessing to which you refer. :-)
Thanks and greets
Alex
--
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 ***
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-06 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06 7:19 [ptxdist] 2 earlier requests Henrik.Kraft
2013-09-06 8:11 ` Alexander Dahl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox