Compare commits

...

1546 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther af484d196a Update upload scripts for bsc -> alix|apu rename 2017-06-13 11:52:36 +08:00
Holger Hans Peter Freyther ab21e38b93 Merge commit '3490e54f4ab2193d95d41090e2649221b3c8a91d' into pyro 2017-06-13 11:51:03 +08:00
Holger Hans Peter Freyther 3490e54f4a x86: Introduce sysmocom-alix for the older hardware in the field
Introduce an alias for sysmocom-bsc and add better description where
the difference is in terms of alix vs. apu2.
2017-06-13 10:16:51 +08:00
Holger Hans Peter Freyther 00aa1c7fea x86: Rename sysmocom-bsc-v2 to sysmocom-apu2.con to reflect hardware
Use a name that relfects the physical hardware and not a function that
is not implemented.

Related: SYS#3094
2017-06-13 09:56:00 +08:00
Daniel Willmann 315f10aa47 osmo-bts: Update revision to fix GSM HR encoding
Ticket: SYS#2452
2017-06-02 14:59:05 +02:00
Holger Hans Peter Freyther 8ebed4c07d upload: Add different upload scripts for new build paths
Change the scripts for the different build paths and add the v2
variant for the new platforms.
2017-05-21 23:55:42 +08:00
Holger Hans Peter Freyther 3528d5f37d Merge commit 'eca7186eaa09df1870cd9d96017ddc385cffb68f' into pyro 2017-05-16 16:28:46 +08:00
Holger Hans Peter Freyther eca7186eaa cmake: Place the bbappend only for dora builds
Not sure if they are needed for pyro but this layer will be rarely
used with pyro but need to continue to work for dora. This could
work.
2017-05-16 16:25:46 +08:00
Holger Hans Peter Freyther 07c47a8806 sysmocom-upload-bsc.sh/sysmocom-upload-bts.sh: Add scripts
Add scripts to upload the build results. They were taken from the
dora branch and got the directory names adjusted. The rest of the
script should work okay.
2017-05-16 11:01:27 +08:00
Holger Hans Peter Freyther 8524cdbd09 Add 'meta-qt5/' from commit '8073a33e2cb0bbf3aa7ac14808e4cedebb0c20f4'
git-subtree-dir: meta-qt5
git-subtree-mainline: b6704ef7fa
git-subtree-split: 8073a33e2c
2017-05-16 10:29:42 +08:00
Holger Hans Peter Freyther b6704ef7fa Add 'meta-smalltalk/' from commit '1327e40a0cc7dc8b4f56873034bdc3889fae6cb8'
git-subtree-dir: meta-smalltalk
git-subtree-mainline: b718b1c01a
git-subtree-split: 1327e40a0c
2017-05-16 10:29:41 +08:00
Holger Hans Peter Freyther b718b1c01a Add 'meta-sysmocom-bsp/' from commit 'abc017e891d667bcb59e175e3730b614d6d2b38f'
git-subtree-dir: meta-sysmocom-bsp
git-subtree-mainline: bfc438b1f4
git-subtree-split: abc017e891
2017-05-16 10:28:29 +08:00
Holger Hans Peter Freyther bfc438b1f4 Add 'meta-telephony/' from commit '3b2076a5563a27e114b02a1e41cf4f62330e9575'
git-subtree-dir: meta-telephony
git-subtree-mainline: f35e8e0c10
git-subtree-split: 3b2076a556
2017-05-16 10:27:48 +08:00
Holger Hans Peter Freyther f35e8e0c10 Add our layer merging script to the pyro release 2017-05-16 10:26:50 +08:00
Max 3b2076a556 openbsc: Fix build failure
Add explicit reference to osmo-gbproxy.service to fix build issue.

ERROR: QA Issue: openbsc: Files/directories were installed but not shipped
 /lib/systemd/system/osmo-gbproxy.service
ERROR: QA run found fatal errors. Please consider fixing them.
2017-05-02 17:02:49 +02:00
Holger Hans Peter Freyther abc017e891 sysmobts: Force thumb interworking (armv5_t_e) for pyro
Somehow the PACKAGE_ARCH selection in pyro only comes up with armv5e but
we want (at least for legacy) thumb interworking. Force it to the thumb
mode.
2017-04-30 00:15:49 +02:00
Holger Hans Peter Freyther 8610f32401 sysmocom-defaults: Workaround sysmocom-bsc-v2 rootfs issue
Disable the libsolv backend to workaround an install issue. This does
not occur or sysmobts or sysmocom-bsc but only on the v2 target or the
idu.
2017-04-27 12:45:34 +02:00
Holger Hans Peter Freyther 1bc3be8eb6 sysmocom-bsc2: Add a BSC v2 where we can tune for i686
The old Geode based systems are replaced by AMD APU systems. We might
build for sysmobsc v1 and v2 but would like to be able to tune for the
better CPU.
2017-04-26 23:06:06 +02:00
Holger Hans Peter Freyther 60aceccd0d bsc/idu: Drop edison (1.1) support and stick to 3.10er kernel
This is fixing the QA issue on newer perf for x86 on Dora as seen
by the CI system. Drop support for ancient unsupported OE version
and force 3.10/4.9 depending on where we are.
2017-04-25 18:01:53 +02:00
Holger Hans Peter Freyther bbc7c997ae image-rauc-ubi: Fix building on latest poky
mtd-utils-native needs to be available for do_deploy, so add the
dependency there. DEPENDS is meaningless for us so remove it too.
Use specific tasks as dependency to workaround an issue with poky
master where glibc-initial and glibc-locale would be direct deps.

Clone the recipe to deal with the different tasks. I wasn't able
to get the other tasks in place for dora.
2017-04-24 16:07:50 +02:00
Holger Hans Peter Freyther b18c50951f barebox: Update to be able build and link with gcc6/ld.gold
Build the old barebox with newer tools. This should work for dora
and master at the same time.
2017-04-24 11:46:47 +02:00
Holger Hans Peter Freyther 204fea2e7d linux-sysmocom: Add a Linux 4.9 recipe to be used for new poky
Linux 4.9 is a LTS released and will be maintained until at least
January 2019.
2017-04-24 11:46:47 +02:00
Holger Hans Peter Freyther 6751f3e212 modernize: Use d.get* instead of the bb.data.get* facade
In modern Poky the facade is gone and the data dictionary needs
to be accessed directly. This commit is catching up with it. It
was build tested on dora as well. I have not checked if it is
changing the checksums of a dora build.
2017-04-24 00:48:40 +02:00
Holger Hans Peter Freyther 789c9a650c iperf: Upgrade to 2.0.9 to solve c++ compilation issue
2.0.5 is known not to build with newer G++/libstdc++. Upgrade to
version 2.0.9, fix compilation issue on arm for C code and let's
see..
2017-04-17 06:59:31 +02:00
Holger Hans Peter Freyther 2b8949c52e ifupdown: Build without access to dpkg-architecture
Take a patch from newer version in Poky to hardcode the os to
Linux. This surfaced because of the more strict sysroot in newer
versions of Poky.
To avoid some bad surprises I am continuing to use this version
of ifupdown instead of the newer one in Poky.
2017-04-17 06:59:24 +02:00
Holger Hans Peter Freyther 39afcd35ae rauc: Make gdbus-codegen available to the build process
Require glib-2.0-native so that we can call gdbus-codegen from
the build process. Needed for newer versions of poky.
2017-04-16 20:09:51 +02:00
Holger Hans Peter Freyther 3f352433bd netcat-openbsd: Fix linking and use GNU_HASH for symbols
Inherit the pkgconfig bbclass so libbsd can be found properly and
pass in LDFLAGS to make sure the right link line is being used.
2017-04-16 20:09:33 +02:00
Holger Hans Peter Freyther 0646719119 rtl8169-eeprom: Use newer version to honor external LDFLAGS
Make sure libraries are linked with GNU_HASH on newer versions
of Poky.
2017-04-16 20:09:20 +02:00
Holger Hans Peter Freyther 801c195338 osmo-bts: Remove inline from the declaration of function
The function is declared and defined as inline and gcc6 will not
emit an external visible symbol for it. Master doesn't have this
problem anymore so let's just patch it here.

Fixes:
| /usr/src/debug/osmo-bts/0.4.3+gitAUTOINC+57ee780789-r1a2ff06d20-r18.18/git/tests/sysmobts/sysmobts_test.c:207: undefined reference to `l1if_ms_pwr_ctrl'
2017-04-16 20:09:02 +02:00
Holger Hans Peter Freyther 49153b2904 gpsd: Make sure that LDFLAGS are passed to scons
In newer Poky the LDFLAGS are not passed through the $CC variable
anymore and we need to make sure scons is picking them up. Take an
old Gentoo patch for it.
2017-04-16 20:08:50 +02:00
Holger Hans Peter Freyther 9f0d341f23 systemd-compat-units: Add LIC_FILES_CHKSUM for SRC_URI files
We need to have our own LIC_FILES_CHKSUM now as we add the alignment
service.
2017-04-16 20:08:42 +02:00
Holger Hans Peter Freyther 0d7522675f dvnixload: Fix deployment on latest poky
The with builddir != srcddir the deployment will fail. Add ${B} as
it will work for both old and new poky.
2017-04-16 20:08:33 +02:00
Holger Hans Peter Freyther 2111c3cad3 u-boot: Upgrade to a version of u-boot master
This is updating to u-boot v2017.03+256. v2017.05 is coming soon
and it seems quite stable already. This seems to work for old and
the new dora.
2017-04-16 20:08:26 +02:00
Holger Hans Peter Freyther 0319396ca8 meta-toolchain-osmo: Attempt to fix it for master
For master we need to change to SDKDEPLOYDIR to add the symlink
we want. Try to keep it working for dora.
2017-04-05 09:42:56 +02:00
Holger Hans Peter Freyther 2b3379dfc2 lcr: Fix compilation with new versions of gcc 2017-04-02 15:49:51 +02:00
Holger Hans Peter Freyther 1327e40a0c smalltalk-native: Require readline-native for the build as well 2017-03-31 13:41:02 +02:00
Holger Hans Peter Freyther 259a8a81e4 smalltalk: Require zip/unzip from the host
checking for zip... no
| checking for timeout... env
| configure: error: Please install InfoZIP to use GNU Smalltalk.
2017-03-31 13:02:10 +02:00
Daniel Willmann 1b77777791 osmo-bts: Bump version to include power ramping support for 1020, 1100 models
Ticket: SYS#3214
2017-02-14 20:43:26 +01:00
Daniel Willmann 4e9cabbe91 osmo-bts: Bump version to include power ramping support.
Ticket: SYS#3214
2017-02-14 18:38:47 +01:00
Harald Welte 24b544024c Add .bbappend for nativesdk-python-argparse
In commit a7e967225d we added
python-argparse to the SDK/toolchain.  However, upstream dora doesn't
have this in the nativesdk bbclass, so let's add it using a .bbappend
file.  I tried with python-argparse_%.bbappend to be less version
dependent, but that didn't work.
2017-02-10 17:00:37 +01:00
Harald Welte 0c4a046bd5 openggsn-config: Use the sysmocom-bsc/ggsn.conf as default for all machines
Only sysmobts-v2 will override it, but all other machines should have
the same configuration as the sysmocom-bsc.  This will fix the build of
our yocto-dora for sysmocom-idu/sysmocom-odu, where task-sysmocom-feed
pulls in task-gprscore which in turn wants to build the ggsn
configuration even on those machines where we don't actually have a ggsn
so far.
2017-02-10 16:30:46 +01:00
Harald Welte be388bd7d5 openggsn-config: share one gprs_routing file for different machines
there's no point in having two identical gprs_routing files in the
two machine-specific directories.  So let's share one common file.
2017-02-10 16:25:13 +01:00
Harald Welte a7e967225d toolchain-osmo: Add nativesdk-python-argparse
libosmocore needs this during code generation of some of the header
files, so let's make sure the SDK has python-argparse included.
2017-02-10 16:11:36 +01:00
Daniel Willmann 29dd84c82a task-sysmocom-feed: Add task-gprscore
Just build the gprs corenet related packages in our regular feed so they are
built for the sysmobsc as well.

Ticket: SYS#3096
2016-11-29 20:54:14 +01:00
Daniel Willmann 9833551361 sysmocom-bsc: Install dnsmasq in the image with correct config
Ticket: SYS#3081, SYS#2439
2016-11-28 17:36:48 +01:00
Holger Hans Peter Freyther 8698210e1d u-boot: Go back just supporting RevG hardware
We need some more testing/experience with the AEMIF related fixed
that it is better to ship what we have right now.

Discussed in the sob chat.
2016-09-05 14:40:25 +02:00
Harald Welte 17758a0de8 update gpsdate to fixed init script revision
... using variables from /etc/default/gpsdate not only in systemd
service file, but also init script.
2016-08-01 14:02:18 +02:00
Holger Hans Peter Freyther 959ae40f34 sysmocom-archiver: Make it somehow work with python3
Yocto master has switched to use python3 and this means all of
our bbclasses must work with it. The cmp function has been removed
and the closest is this dropin routine. Start to use it.
2016-07-02 21:49:21 +02:00
Harald Welte 7c07fdaa46 barebox-state.bb: add missing spaces at end of line of FILES lines 2016-06-23 09:23:40 +02:00
Harald Welte 2025596913 OWHW: update barebox for SWITCH_RESET pulse generation on cold boot 2016-06-23 00:41:43 +02:00
Harald Welte b021331415 OWHW: Enable hardware watchdog from systemd
We had this enabled on odu/idu/sysmobts already, but didn't do so
on owhw.
2016-06-23 00:41:38 +02:00
Harald Welte 78f5bc0867 OWHW: add image definitio for OWHW related files + rauc-slot files
for OWHW, one should build sysmocom-owhw-rauc-image, not
sysmocom-owhw-image!
2016-06-23 00:41:33 +02:00
Harald Welte 27d5493687 OWHW: update barebox recipe (move eeprom bootstate to offset 0) 2016-06-23 00:41:31 +02:00
Harald Welte f54c291c85 OWHW: add patch to hard-code the boot-state back-end EEPROM path 2016-06-23 00:41:18 +02:00
Harald Welte 4a8db6dbea update barebox-state to current dt-utils master
which (at least for owhw-v2) fixes the automatic discovery of the
bootstate backend EEPROM. I suspect it should now also work without
the hardc-de-layout-values.patch on sysmobts-v2 and sysmocom-odu, but
that remains to be tested (and thus the patches remain).
2016-06-23 00:41:12 +02:00
Harald Welte 6eef6d8fb3 OWHW: update barebox to include v2 changes 2016-06-23 00:41:06 +02:00
Harald Welte b53807060b sysmocom-owhw-image: no initramfs, hard-link for kernel
for some reason barebox is not able to resolve the symlink, so let's
create a hard link instead.
2016-06-23 00:40:50 +02:00
Harald Welte 08406f0a8c barebox: update to 'initramfs is optional' boot config 2016-06-23 00:40:45 +02:00
Harald Welte b917d5b19a task-owhw-image: Add crda and iw for wifi 2016-06-23 00:40:38 +02:00
Harald Welte d5c8bcd3b7 add crda (wifi regulatory database) and its [build] dependencies 2016-06-23 00:40:34 +02:00
Harald Welte 843770cb60 import iw 3.11 recipe from meta-openembedded dora branch.
I completley fail to understand why the most fundamental tool for wifi
configuration is missing from poky/dora.
2016-06-23 00:40:32 +02:00
Harald Welte b45f8f591f bossa: add missing readline build dependency 2016-06-23 00:40:20 +02:00
Harald Welte 5bf8ff5571 OWHW: add 'sysmocom-owhw-image' and ensure usb2514 + bossa is included 2016-06-23 00:40:16 +02:00
Harald Welte aa5249a22d OWHW: add recipe for bossa (Atmel SAM flasher) 2016-06-23 00:40:10 +02:00
Harald Welte 87ba2df810 OWHW: update barebox to fix button GPIO 2016-06-23 00:40:01 +02:00
Harald Welte 5c4b0827e6 OWHW: fix gpio_usb2514 syntax error 2016-06-23 00:39:23 +02:00
Harald Welte 3bacf883bd OWHW: persistent modem serial device names 2016-06-23 00:39:20 +02:00
Harald Welte 8cde214b95 rauc: support OWHW 2016-06-23 00:39:11 +02:00
Harald Welte fe3fe6e3d3 OWHW: add GPIO export script for this board
... and use the new GPIO location from usb2514 tool
2016-06-23 00:39:06 +02:00
Harald Welte a224a88891 usb2514.c: Add support for GSMK OWHW board
we only need to swap a single port (DN4) here.
2016-06-23 00:39:02 +02:00
Harald Welte 89435bf483 usb2514: make it more modular/configurable 2016-06-23 00:38:58 +02:00
Harald Welte 1c6616736c OWHW: Add barebox recipe 2016-06-23 00:38:44 +02:00
Holger Hans Peter Freyther ddb2f88230 u-boot: Build newer version of U-Boot not touching A1CR
UBL is setting up the flash timings (A1CR) and so far U-Boot
was overwriting it with a timing for the EVB development board
of TI. Let UBL define ECC/ChipSelect and the A1CR timings.

This might now cause different kind of flash issues because the
per chip timings might be "wrong". This is why this commit should
needs to stay in testing a bit longer. We should use this commit
on RevC, D, E and F hardware ourselves a bit.
2016-06-12 21:47:34 +02:00
Holger Hans Peter Freyther a09e6a2fec barebox-sysmobts: Prepare the system for revisionG as well 2016-06-06 14:36:43 +02:00
Holger Hans Peter Freyther 86baca7ed8 u-boot: Add revision G and later support as well 2016-06-06 14:27:54 +02:00
Holger Hans Peter Freyther 0673324a5d ubl: Add reivision G and later support
The nWP handling was only present for RevF but applies to later
HW revisions too.
2016-06-06 14:23:31 +02:00
Holger Hans Peter Freyther bce73d1dc7 image-rauc-ubi: Deal with different kernel types
I might end up using a zImage and then it should be used. Use the
variable exported by the ${MACHINE}.conf to work with it.
2016-06-02 18:08:38 +02:00
Holger Hans Peter Freyther 2ed575b506 uboot: Avoid QA error on packaging
I didn't know that u-boot was creating a package and installing
the bin into /boot. The detection of the file seems to have
changed and a new QA error comes up.

ERROR: u-boot-v2011.12+gitAUTOINC+f6453a3911-r0 do_package: QA Issue: split_and_strip_files: 'file /home/oebuilds/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/sysmobts_v2-poky-linux-gnueabi/u-boot/v2011.12+gitAUTOINC+f6453a3911-r0/package/boot/u-boot-sysmobts-v2-v2011.12+gitAUTOINC+f6453a3911-r0' failed [split-strip]

This seems to have been introduced by changing the LC_ALL to
en_US.UTF-8. I have started a dialogue with upstream development
but as we do not need a u-boot package, let's just remove the
files.
2016-05-24 14:39:29 +02:00
Holger Hans Peter Freyther 5bdf5bc9f9 image-rauc-ubi: Make sure mkfs.ubifs is present
The DEPENDS is not enough to have it ready in time. Add a task
dependency for mtd-utils-native.
2016-05-15 15:23:43 +02:00
Holger Hans Peter Freyther 719af51ad0 image-rauc-ubi: Add license file checksums
ERROR: image-rauc-ubi-1.0-r0 do_populate_lic: QA Issue: image-rauc-ubi: Recipe file does not have license file information (LIC_FILES_CHKSUM) [license-checksum]
2016-05-07 23:00:11 +02:00
Holger Freyther 8cf5a67850 Merge pull request #3 from ctrob67/krogoth-fixes
Add missing items to fix build with Yocto Krogoth
2016-05-03 13:19:58 +02:00
Chris Trobridge 50321ae4a1 Add missing items to fix build with Yocto Krogoth
Add kernel module for dahdi-vpmadt032-loader.
Add hotplug/firmware directory to dahdi-firmware package.
2016-05-03 11:47:38 +01:00
Holger Hans Peter Freyther 90a5fad2b7 glib: Enable static libraries for glib
I want to use static libraries of glib in rauc to shrink the rescue
image to a reasonable amount.
2016-04-21 13:06:13 +02:00
Holger Hans Peter Freyther 1ba7ed6c28 meta-toolchain-osmo: Attempt to fix hash data issue
Exclude DATETIME from the variables to fix errors like:

ERROR: meta-toolchain-osmo-1.0-r7 do_populate_sdk: Taskhash mismatch 0fb3116488402f87d1e4d637af229664 verses 6dda5ee949e484709fbac4a097018fc2 for meta-telephony/recipes-osmocom/meta/meta-toolchain-osmo.bb.do_populate_sdk
2016-04-11 19:02:41 -04:00
Holger Hans Peter Freyther a8b9551257 ca-cacert-rootcert: Add the letsencrypt certificate here as well
This is not quite "ca-cacert" anymore, more like "ca-sysmocom" for
the root certificates needed for us.

Fixes: SYS#2499
2016-04-09 18:25:03 +02:00
Holger Hans Peter Freyther 9460fb650f glib-2.0: Move recipes to yocto-dora/
This glib-2.0 version was required by rauc and should have been
placed in the recipes-extra (or recipes-fixes) directory.

Yocto master has imported gobject-introspecition and this requires
a newer version of glib-2.0. For Yocto master this recipe has
replaced the newer one. By moving it to the yocto-dora directory
we continue to use the old version on dora and the default version
on master.
2016-03-23 13:53:56 +01:00
Holger Hans Peter Freyther e6edea0cdb layer: Allow to have entire recipes in the yocto-VER directory
In case of the upcoming glib-2.0 change we only want to use our
version on Dora. Look for *.bb in the yocto-dora/*/ as well.
2016-03-23 13:53:55 +01:00
Holger Hans Peter Freyther 9092529d52 packagegroup-sdk-osmo: Add libsctp as dependency for the SDK
Make libsctp available to be used by libosmo-netif and othr Osmocom
software.

Fixes: SYS#2524
2016-03-23 11:54:26 +01:00
Holger Hans Peter Freyther 00e53d5e6e lksctp-tools: Add package from meta-networking
In the future libsomo-netif will require libsctp to build. Take the
copy from meta-networking to handle this dependency.

Fixes: SYS#2524
2016-03-23 11:53:00 +01:00
Holger Hans Peter Freyther f3ffbf4db3 task-sysmocom-feed: Add linux sctp library to the feed
libosmo-netif gained SCTP support and we should be able to provide
it.

Related: SYS#2524
2016-03-23 11:52:19 +01:00
Holger Hans Peter Freyther 73c143612a yocto-master: Remove udev bbappend for the master build
In master we use systemd to provide udev and standalone udev has
been replaced with eudev. I think we do not need to patch things
around here.
2016-03-05 21:23:55 +01:00
Harald Welte 2d24a1a1f5 put libusb1-dev into osmocom SDK
this is helpful for SDK-based development of applications accessing
USB from userspace (like simtrace).
2016-02-29 16:44:29 +01:00
Holger Hans Peter Freyther b87c5b4a0c ntp: Upgrade with security fixes in ntp
The upgrade is fixing several known security issues. Let's update it.

Fixes: SYS#2449
2016-02-27 17:09:51 +01:00
Holger Hans Peter Freyther 0f016bb89e libosmocore: Split the package into one package per library
This will allow us to have multiple versions installed at the
same time. Use a HACK to not have package.bbclass renamed the
RREPLACE we need for the upgrade.

Fixes: SYS#217
2016-02-27 09:27:29 +01:00
Harald Welte aa458a136e add libtalloc and its dependency waf-samba.bbclass
This also adds libtalloc-dev to the SDK, which is a first step to
upgrading libosmocore to a 'post external talloc' version.
2016-02-23 12:24:28 +01:00
Holger Hans Peter Freyther 29ba452c5f lmsensors-apps: The code vanished once again, move to fedora 2016-02-20 19:36:25 +01:00
Holger Hans Peter Freyther b271ce4d23 sysmocom-defaults: Add more systemd features needed to build
Disabling the new "binfmt" doesn't work and breaks the build. I have
sent an email to the mailinglist and this might be fixed but at the
same time binfmt is split into a new package anyway. At the same time
we should enable some items we have now switched off. Once we start
to use/stabilize this build we need to check what we need and what the
cost is.
2016-02-18 20:22:47 +01:00
Holger Hans Peter Freyther e274f00fa9 libgsm: Pass in CC variable to compile libgsm
It appears that in latest poky master the CC variable is not automatically
passed to the build. The last good build was 7cd835177a
and now it was failing. Pass CC to the build.
2016-02-18 09:16:12 +01:00
Holger Hans Peter Freyther 975d15ac7e iproute2: Re-introduce quirk to add a iproute2-misc package
We need the -misc package for extra utilities needed by our tasks.
Use the bbappend to create an empty package that pulls in the other
utilities.
2016-02-17 23:19:16 +01:00
Holger Hans Peter Freyther 4ca7a67cca iproute2: Remove poky master patches for version 4.4
Yocto is now using iproute2 4.4 and the tools we packaged into
the main package are now available as extra packages and we can
just drop our extension for master.
2016-02-17 23:12:38 +01:00
Holger Hans Peter Freyther b89eec5de8 misc: Remove autotools_stage as it was removed in master
autotools_stage has only included autotools at least in dora and
later and we can simply change this.
2016-01-30 21:17:31 +01:00
Holger Hans Peter Freyther 18428e1d52 ntp: Deal with /usr/libexec being empty in Yocto master
libexecdir is now a dedicated directory and empty in our ntpd
build. Avoid QA issue of an empty directory not belonging to
anyone. Clean it if it is empty
2016-01-27 14:05:17 +01:00
Holger Hans Peter Freyther 87c73f768c sofia-sip: Fix undefined behavior in parsing
Symptoms with LCR: nta outgoing create: invalid URI

Take patch posted to the upstream project and carried by Debian
and Ubuntu for this project. Unroll the different fields by hand
to fix undefined behavior.
2016-01-08 13:05:12 +01:00
Holger Hans Peter Freyther 5428bbd10a libosmocore: Code is not in master so don't force SHA validation
The 0.9.0 release is in a different branch (+patches) and it is
easier to not write the branch name here.
2015-12-26 22:14:39 +01:00
Holger Hans Peter Freyther ebf4952e88 osmo-pcu: Upgrade to jerlbeck/master
Big amount of changes for EDGE support without supporting it
yet. See if it still works at 32C3.
2015-12-26 18:55:27 +01:00
Holger Hans Peter Freyther a715416731 libosmocore/libosmo-netif: Bump version needed for osmo-pcu 2015-12-26 18:48:41 +01:00
Holger Hans Peter Freyther 6fd05a1e3f sysmocom-archiver: Attempt to fix issue with linux-firmware
Exception: OSError: [Errno 36] File name too long: '/home/oebuilds/jenkins/workspace/Yocto-Master/label/OE/build/tmp/deploy/sources/allarch-poky-linux/Firmware-AbilisFirmware-agereFirmware-amd-ucodeFirmware-atheros_firmwareFirmware-broadcom_bcm43xxFirmware-ca0132Firmware-chelsio_firmwareFirmware-cw1200Firmware-dib0700Firmware-ene_firmwareFirmware-fw_sst_0f28Firmware-go7007Firmware-i2400mFirmware-ibt_firmwareFirmware-it913xFirmware-iwlwifi_firmwareFirmware-IntcSST2Firmware-MarvellFirmware-mwl8335Firmware-myri10ge_firmwareFirmware-OLPCFirmware-phanfwFirmware-qat_dh895xcc_firmwareFirmware-qla2xxxFirmware-r8a779x_usb3Firmware-radeonFirmware-ralink_a_mediatek_company_firmwareFirmware-ralink-firmwareFirmware-rtlwifi_firmwareFirmware-tda7706-firmwareFirmware-ti-connectivityFirmware-ueagle-atm4-firmwareFirmware-via_vt6656Firmware-wl1251Firmware-xc4000Firmware-xc5000Firmware-xc5000cFirmware-sianoFirmware-qualcommAthos_ar3kFirmware-qualcommAthos_ath10k'
2015-12-20 19:03:15 +01:00
Holger Hans Peter Freyther 9241e2bdc5 systemd: It keeps growing, try to cut it back a bit more
It gains more features and the binary size has grown in a
significant manner. Disable some features not disabled by
the default OE build.
2015-12-20 17:57:42 +01:00
Holger Hans Peter Freyther 45bc37acf6 idu/bsc: libx11-trim is dead for a long time use libx11-diet
Yocto master now fails because our preferred provider does not
exist anymore and no other provider is picked.
2015-12-19 16:21:49 +01:00
Holger Hans Peter Freyther dc69479f0f sysmocom-backup: Fix creating of back-ups for external files
* The file we install is called default.files and not *.backup
* Spotted by Lazlo while creating a backup on the latest system
2015-12-15 11:00:10 +01:00
Holger Hans Peter Freyther 3b80fa69e8 osmo-bts: Upgrade to latest pre l1sap release, upgrade firmware
Upgrade the superfemto firmware to version 5.1 and upgrade the
osmo-bts to the latest release before the l1sap changes.
2015-12-07 13:24:21 +01:00
Holger Hans Peter Freyther 2c54ce9af5 libosmo-abis: Build newer release for osmo-bts
This adds RTP statistics support to libosmotrau.
2015-12-07 13:22:37 +01:00
Holger Hans Peter Freyther bbfabee7c1 iproute2: Disable arpd differently on newer releases
It is checking for the berkeley db in some way but let's make sure
that between our current release and the next one we have the
same functionality.
2015-12-03 17:24:44 +01:00
Holger Hans Peter Freyther 1394710d91 busybox: Catch up with master again 2015-12-02 21:13:53 +01:00
Holger Hans Peter Freyther 0409324186 rauc: Do not try to populate /etc/opkg/
Our initramfs images are supposed to be small and don't have a
/etc/opkg folder so attempting to put feed config in there will
fail. Reset the FEED_URIS that come from our local.conf.
2015-11-27 11:00:19 +01:00
Holger Hans Peter Freyther 5a1dca4d60 ca-certificates: Try to fetch it from launchpad
The angstrom mirror is very slow in finding the file (no dirhash?),
let's see if canonical is any better in serving the file.
2015-11-25 17:52:04 +01:00
Holger Hans Peter Freyther 85f60e5a65 ca-certificates: The source has vanished from debian
It was never a released version so it is not showing up on the
archive.debian.org page. Let's move to angstrom for our stable
source of it.
2015-11-25 17:28:42 +01:00
Holger Hans Peter Freyther b382d145a0 barebox: Update to be buildable with gcc5
No functional change for the specific hardware platform but a
new header to be consumed by gcc5.
2015-11-25 16:46:02 +01:00
Jan Luebbe ca148fe435 barebox: update to newer git version for fixed sysmobts DSP
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-11-25 16:31:24 +01:00
Holger Hans Peter Freyther 33b6d83edd u-boot: Add the compiler-gcc5.h header file
When trying to compile with gcc5 we need this file to be present
as otherwise the build will fail.
2015-11-21 21:39:28 +00:00
Holger Hans Peter Freyther 0700c55790 lm-sensors: Attempt to move to a URI where the code still exists
lm-sensors.org seems to have vanished from the internet. Start to
use a copy what was found by googling.
2015-11-21 10:15:57 +00:00
Holger Hans Peter Freyther 9170107271 task-sysmocom-feed: Attempt to put perf into the feed as well
Make perf (perf-python, perf-perl) available to us as well. Let's
see what the CI is saying about it.
2015-11-20 22:13:23 +00:00
Holger Hans Peter Freyther 8ce4ab4927 sysmocom-backup-data: Avoid an absolute symlink to fix restoring
When restoring the backup the rootfs is mounted in /rootfs/data
and the symlink to the real file would then not work. Attempt to
change the directory first to get a relative symlink.

Untested change and needed for rauc
2015-11-20 21:45:34 +00:00
Harald Welte 20e26fcd3b ntp: fix postinst on systemd based hosts
We need to make sure we're not trying to call systemctl on the build
host.  Thanks to holger for pinpointing this.
2015-11-02 08:54:24 +01:00
Holger Hans Peter Freyther 9b6c17ad01 asterisk/dahdi-tools: Make it parsable on dora systems
In dora we do not have autotools-brokensep. Do it the old way
and set the B variable directly. At sysmocom we still use this
layer for the very old Dora release.
2015-11-01 22:46:11 +01:00
Harald Welte ba2e6da375 OWHW: add a machine config 2015-11-01 12:06:07 +01:00
Harald Welte c820b61c10 Add barebox recipe for OWHW 2015-11-01 12:05:38 +01:00
Holger Freyther 6606d56b73 Merge pull request #1 from OSSystems/master
Asterisk and update of recipes
2015-10-31 15:15:31 +01:00
Fabio Berton a066f13e75 dahdi-tools: Update to version 2.10.2
* libpcap is no longer a dependence.

* libusb is needed for building fpga_load, needed for firmware loading
  of the Xorcom Astribank.

* do_configure, do_compile and do_install were removed to use functions
  provided by autotools class.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton 23399a4592 dahdi-tools: Organize recipe
Fix indentations and style issues.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton a1debd963c dahdi-tools: Drop dahdi-tools.inc
Move all code to bb file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton 988c11d3dd dahdi-linux: Update to version 2.10.2
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton f6bd02dc68 dahdi-linux: Organize recipe
Fix indentations and style issues.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton 425322314a dahdi-linux: Drop dahdi-linux.inc
Move all code to bb file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton a354c4242e misdn-utils: Update to version 2.0.19
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton 4a63c7c73e misdn-utils: Organize recipe
Fix indentations and style issues.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton efa5849c45 libgsm: Update to version 1.0.14
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton ee5e6c4c53 libgsm: Organize recipe
Fix indentations and style issues.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton f6234c4d32 libgsm: Drop libgsm.inc
Move all code to bb file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-26 13:23:34 -02:00
Fabio Berton 1464800759 asterisk: Add recipe
Asterisk is an Open Source PBX and telephony toolkit.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2015-10-15 13:27:57 -03:00
Holger Hans Peter Freyther 20bcf2de07 systemd: It is 225 and not 255.. but let's call it % 2015-10-13 17:41:13 +02:00
Holger Hans Peter Freyther 9b775911a0 systemd: Attempt to catch up with master 2015-10-13 17:39:19 +02:00
Jan Luebbe ff183a100e sysmocom-configure: handle missing system.conf gracefully
If /slot/system.conf is missing, we just exit the generator.
2015-10-13 17:37:03 +02:00
Jan Luebbe 8e104ac413 sysmocom-configure: add simple framework to run configuration scripts
The configuration scripts are named for the systemd units for which they
generate configuration files. The generator causes them to run before
those units are started.
2015-10-13 17:36:42 +02:00
Henning Heinold 08913496cc ntp: change the cron call for ntpdate
* the ntpdate cron job turned into
  a shell script which now checks
  for running timeserver before
  updating the time via ntpdate

* install the cron stanza to the
  cron.d directory like serval
  other packages does

* comment the entry in the old
  crontab file when found

Fixes: SYS#1841
2015-10-02 11:34:46 +02:00
Holger Hans Peter Freyther 9c5ee37ab2 linux-sysmocom: Make room for linux4
Yocto master has introduced GCC5 and this doesn't like to compile
the older linux kernels yet. This year it is time to move to a newer
LTS kernel and this can be Linux-4.1. Make space for the upgrade
by moving the recipe to a new name.
2015-09-08 15:23:37 +02:00
Holger Hans Peter Freyther ebb9f0dd71 osmo-pcu: Upgrade to the latest PCU version
* Fix SGSN re-connect
* Reliability fixes
2015-09-08 14:53:40 +02:00
Jan Luebbe a4edad8b84 linux: update for sysmobts
Move to newer stable kernel (3.10.84).

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:45:40 +02:00
Jan Luebbe 5fa7032384 initramfs-rauc-slot: support restoring the backup archive
This change adds an initramfs module to mount the data partition and
restore the backup to the overlay. It is enabled by adding it to the
image-rauc-slot-initramfs recipe.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>

[hfreyther: keep udev out of the dependencies]
2015-09-08 14:37:03 +02:00
Jan Luebbe 4d66b042e4 sysmocom-backup-data: do not enable the restore service automatically
This is needed for an upcoming change which will restore the backup from
the initramfs.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:36:03 +02:00
Jan Luebbe ecff51c389 rauc: update to newer git version for file reuse support
The new version searches mounted slots for matching files referenced by
the new manifest. This avoids downloading files we already have on the
system.

Additionally, the new version includes better error handling and more
unit tests.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:35:47 +02:00
Jan Luebbe 6b6e9405cc initramfs-rauc-install: fix root device entry for slot B
The typo caused an empty root= command line argument, which made it
impossible to boot this slot.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:35:36 +02:00
Jan Luebbe 6f165aba56 image-rauc-ubi: make sure all files belong to root
mkfs.ubifs needs the --squash-uids options, which squashes owners making all
files owned by root.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:35:21 +02:00
Holger Hans Peter Freyther ce34b983e3 opkg: Upstream has upgraded track it generically
We need to re-evaluate if module autoloading is broken
or not. This is now tracked in SYS#2116.
2015-09-04 07:19:26 +02:00
Holger Hans Peter Freyther 3a87c6e2f4 journald: Backport various leak fixes from later journald versions
Journald being the typical GNOME application is leaking memory left
and right. Let's backport some of the patches that were done in
later versions.

Fixes: SYS#1843
2015-08-26 14:35:49 +02:00
Holger Hans Peter Freyther 243de8f36e linux-sysmocom: Attempt to enable the ext4 kernel module again
Wow.. this seems to be off so frequently. For the SD Card we
should have the ext4 kernel module available.
2015-08-25 17:53:38 +02:00
Henning Heinold 8fd695e69b image-static-dns.inc: fix several items
* use printf instead of echo
* add missing /etc/ for the udhcpc-default file
* add log-entries for all shell actions in the
  post image setup
* generate comments in all files which are touched

Related: SYS#1774
2015-08-20 08:05:12 +02:00
Henning Heinold 4d0adcb963 netcat-openbsd: adding the recipe from meta-networking in meta-openembedded
Fixes: SYS#1962

[hfreyther: Add mising task-sysmocom-feed entry]
2015-08-18 14:09:32 +02:00
Holger Hans Peter Freyther c8e79c559d osmo-pcu: Upgrade for a reliability fix 2015-08-15 09:29:18 +02:00
Holger Hans Peter Freyther 910ab95f6c osmo-pcu: Fix TBF release issue with maybe_reuse 2015-08-13 20:15:02 +02:00
Holger Hans Peter Freyther 10e1b54471 osmo-pcu: Upgrade to the latest code in jerlbeck/master
This is using codel as a form of congestion algorithm to
drop packages early before the queue getting too long.
2015-08-12 07:46:12 +02:00
Holger Hans Peter Freyther d777b0ecd0 sysmocom-backup: Store the UUCP data as well
Store UUCP configuration in the backup as well.
2015-08-11 14:09:12 +02:00
Holger Hans Peter Freyther 2a2a0cf499 sysmocom-backup: Create a single sysmocom-backup-default
We can not have sysmocom-backup-default and sysmocom-backup-data-default
installed at the same time. I don't want to play games with RREPLACE and
RPROVIDES either. So simply use one of the two files. Copy the two more
default values over to the other recipe.
2015-08-11 14:08:41 +02:00
Holger Hans Peter Freyther fa5e7b12e5 sysmocom-idu: Fix the core2 vs. core2-32 tune selection
The distro is included after the machine so we can not rely
on the DISTRO_VERSION here. Use the AVAILTUNES and see if the
core2-32 is listed and then pick it.
2015-08-11 13:44:03 +02:00
Holger Hans Peter Freyther fdc0560b63 rauc: Create default files for a rauc slot to be used by the image
Create a sysmocom-nitb-rauc-image and create a rauc packagegroup
with the default depdencies and an include file to be used by
other images. This assumes that sysmocom-image.inc has been
included first.
2015-08-11 10:02:40 +02:00
Holger Hans Peter Freyther e6712d10df sysmocom-idu: Pick the right tune level
Depending on the upstream version (dora or not) we need to
use either core2 or core2-32. Use a python block expression
to pick this depending on the distro version.
2015-08-11 08:14:34 +02:00
Holger Hans Peter Freyther 6159c85e74 sysmocom-defaults: Be a bit more aggressive for the size
E.g. when using musl and trying to build the smallest possible
rootfs. Existing builds should not start to use these flags as
they would be likely to force a big rebuild.
2015-08-10 15:50:13 +02:00
Holger Hans Peter Freyther a11c332fbb sysmocom-defaults: Add some defaults that make sense to be used
While copying one build to a new directory we inherit most of
the config but it is better to collect this in a single place
so external contributors build with the same options we use.
2015-08-10 15:48:04 +02:00
Holger Hans Peter Freyther ac63f16b9b sysmocom-odu/sysmocom-idu: Use the default tunes we actually use
On our build setup we are using these default tune levels, so
we should apply them everywhere.
2015-08-10 15:46:47 +02:00
Henning Heinold e900822de2 init-ifupdown: move sysmocom-idu to meta-sysmocom
Fixes: SYS#1936
2015-08-10 15:20:47 +02:00
Holger Hans Peter Freyther a01eff9366 image-rauc-slot-initramfs: Diet and don't install udev
We don't need udev in the slot ramfs. We do have the
devtmpfs and don't need to apply any kind of rename
2015-08-10 15:19:53 +02:00
Holger Hans Peter Freyther 79545ec6cd sysmoocom-backup-data: Optimize taking a backup
With the ro image we have a cheap way to figure out which
files were changed. We can run cmp between the to be backed
up file. This way the stored data will be minimal in the
sense of changed files.
2015-08-10 15:19:44 +02:00
Holger Hans Peter Freyther 09dbe7bd33 sysmocom-backup-data: Restore all files that were saved
The backup system allows to define which other files to store
so we should just restore everything regardless of where the
file is coming from.
2015-08-10 15:19:36 +02:00
Holger Hans Peter Freyther d1a9e0efbc sysmocom-backup-data: Fix the restore service
When the normal backup script is not installed the issue became
unnoticable. Use the new/right name for the backup script.
2015-08-10 15:19:29 +02:00
Holger Hans Peter Freyther c0d9e409d9 rauc-native: Fix the building of the rauc-native tool
Drop system.conf from the SRC_URI and link the right (current
test certificates) to be used.
2015-08-08 13:51:43 +02:00
Holger Hans Peter Freyther 73d48c807e image-rauc-rescue-initramfs: Do not install kbd packages
None of our systems have a graphical console. We do not need
to install packages that load keymaps, change console fonts and
the console fonts.
2015-08-08 13:51:33 +02:00
Holger Hans Peter Freyther 3c84414af4 image-rauc-ubi: Attempt to fix when building from sstate-cache
These are set by image.bbclass and they appear to resolve the
issue of the exception during SetScene.
2015-08-08 13:35:11 +02:00
Holger Hans Peter Freyther 72f1df181d image-rauc-ubi: Make some more space for the data partition
By using initramfs for the rescue we occupy 8mb + ~3mb for the
kernel and can reduce the size of that slot. With glibc it is
difficult to reduce this even further. Let's see if a uclibc
build can help us
2015-08-07 19:46:02 +02:00
Holger Hans Peter Freyther cc6c1da7a0 sysmocom-backup-data: Store the machine-id and ssh host key 2015-08-07 19:28:52 +02:00
Holger Hans Peter Freyther 4ba1d03895 sysmocom-backup-data: Fix the glob to load additional files list
The defaults.files ends with files and not backup.
2015-08-07 19:26:20 +02:00
Holger Hans Peter Freyther b4124f6924 sysmocom-backup-data: Allow to install in parallel 2015-08-07 19:25:06 +02:00
Holger Hans Peter Freyther 1016ac1dbc linux-sysmocom: Use the only working module scheme
In fido the old autoload feature doesn't work anymore and we
need to remove it. Otherwise our sysmobts.service file will
create the /dev/dspl.. /dev/fpgadl... firmware upload files
and we all think that firmware loading is working.
2015-08-07 19:23:45 +02:00
Holger Hans Peter Freyther d0610b60cf linux-sysmocom: Move the mISDN legacy to the 3.2 kernel recipe
Only in 3.2 we are using mISDN for lcr. Move the module loading
over there so we can let it die when we kill this recipe.
2015-08-07 19:23:27 +02:00
Jan Luebbe fe728f0dcc initramfs-rauc-slot: fix overlay fs name
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-07 19:22:56 +02:00
Jan Luebbe 046634e17a image-rauc-ubi: change rescue slot layout
Splitt of the actual rescue root filesystem to
image-rauc-rescue-initramfs and build image-rauc-ubi using
kernel+initramfs (like normal rauc slots).

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-07 19:22:16 +02:00
Jan Luebbe 0c06d8a3d3 barebox: update to newer git version for changed rescue slot layout
We now use kernel+initramfs for the rescue slot as well.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-07 19:21:50 +02:00
Jan Luebbe eb571a7c88 barebox: update to newer git version for MAC address configuration
The new version configures the MAC address from the EEPROM on the
sysmocom-odu.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-07 19:21:34 +02:00
Jan Luebbe 2ad885f06a systemd: ship emergency.service which triggers a reboot
This reboots the system instead of starting a shell on boot problems.
Because the slot will only be marked as sucessfully booted as the last
step in a normal boot, repeated emergency boots will cause a fallback at
the boot chooser level to the other slot.

Testing this is possible by passing 'emergency' via the kernel command
line.
2015-08-07 19:20:43 +02:00
Harald Welte 78b77de220 gpsdate: Update to most recent version and sub-package gps-watchdog 2015-08-05 11:20:05 +02:00
Harald Welte 4504966c7e import python-smbus from meta-oe/meta-python
As we have a lot of I2C peripherals, it is useful to be able to access
them from a scripting language.
2015-08-01 18:43:55 +02:00
Harald Welte 970fe3d755 Add OE recipe for linux-mpu9150 project 2015-08-01 18:25:55 +02:00
Jan Luebbe c1eeb1a68a barebox: update to newer git version for I2C recovery
The new version contains the I2C recovery support ported from the linux
kernel for sysmobts and sysmocom-odu.
2015-07-31 21:10:57 +02:00
Jan Luebbe 27915edf67 ntp: enable automatic restart
NTPd sometimes fails to start on the first try, but works fine when
restarted.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-07-31 21:10:43 +02:00
Jan Luebbe f0fb4a9ad8 ntp: split off perl-based userspace tools
This makes it possible to install the basic debug tools without pulling
in perl itself.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-07-31 21:10:29 +02:00
Jan Luebbe e4cc94cfd0 linux: update for sysmocom-odu
This adds kernel support for the EEPROM write-protect GPIO. Bump
linux-backports PR as well.
2015-07-31 21:09:44 +02:00
Holger Hans Peter Freyther 11c241c756 u-boot: Unbreak yocto master
We don't care about the specific u-boot version as we are using
our own releas. Use the general glob so we don't need to play
catch up.
2015-07-25 16:40:01 +02:00
Neels Hofmeyr 33995b2473 busybox-udhcpc: move sysmocom-idu dir.
The proper place apparently is below files/, not next to it.
2015-07-23 16:00:42 +02:00
Neels Hofmeyr bfac671c1c Revert "busybox-udhcpc simple.script: whitespace."
This reverts commit ea8c1346e5,
to facilitate diffing.
2015-07-23 15:55:35 +02:00
Neels Hofmeyr 8e46fae730 busybox-udhcpc: udhcpc.default file for IDU.
Hopefully, this installs a different /etc/default/udhcpc file on
sysmocom-idu machines. Not sure if adding a machine subdir suffices.

The idea is that the machine-specific subdir symocom-idu should replace
the udhcpc.default file used for the idu packages, only, which has both
resolv.conf mods and default route disabled by default.
2015-07-23 15:49:17 +02:00
Neels Hofmeyr 1411cacbce busybox-udhcpc: add option to skip default route.
The IDU requires that udhcpc does neither touch resolv.conf nor install a
default route. Add a flag to switch off default route installation, the
resolv.conf part is already switch-off-able.
2015-07-23 15:49:17 +02:00
Neels Hofmeyr ea8c1346e5 busybox-udhcpc simple.script: whitespace.
Will edit the file in next commit, first fixing indenting to not mess up
the diff.
2015-07-23 15:49:17 +02:00
Neels Hofmeyr bdfd0f736d init-ifupdown: remove iridium "weak" route.
Remove post-up entries from iridium interface config for weak ping route
to ortelius, now set by sob-idu-linkmon itself.
2015-07-23 15:49:17 +02:00
Holger Hans Peter Freyther 28bcb5f43d rtl8169-eeprom: Assume that automake is not used or broken
It looks like a classic src != build dir issue of the
utility breaking the build on Yocto-Master. Try to fix
that.

ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/temp/log.do_install.2455)
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/temp/log.do_install.2455
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| install: cannot stat `/home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/git/rtl8168-eeprom': No such file or directory
| WARNING: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/temp/run.do_install.2455:1 exit 1 from
|   install -m 0755 /home/builder/jenkins/workspace/Yocto-
2015-07-19 22:07:40 +02:00
Holger Hans Peter Freyther 6597f246c5 autossh: Force B=S because this is using autoconf and not automake
autossh is not using automake and has a broken buildsystem. For it
to build in the source directory.
2015-07-19 21:26:47 +02:00
Henning Heinold 2276fd4a7b linux-backports: fix build on master
* the kernel build directory was splitted
  and renamed on master
2015-07-19 19:57:17 +02:00
Neels Hofmeyr 38579ae767 init-ifupdown: inmarsat should be dhcp.
From the obn-test config, I wrongly assumed that the inmarsat config should
be static on a vessel. Instead, we need to figure out a way to use dhcp with
linkmon.
2015-07-17 14:33:29 +02:00
Neels Hofmeyr 1ed5160b0d init-ifupdown: adjust comment about metrics 2015-07-17 14:33:29 +02:00
Holger Hans Peter Freyther 0aec6171be osmo-pcu: Make sure the commit is available in a branch
The builds of the stable upgrade and the Yocto-Master failed
because of the commit gone missing (no remote is referencing
it). I created a dummy branch to hold this commit.
2015-07-14 14:48:43 +02:00
Neels Hofmeyr 119a9ce8b4 init-ifupdown: set 'inactive' sat metrics, comment. 2015-07-14 14:27:27 +02:00
Neels Hofmeyr c09cac566d init-ifupdown: add IDU eth0.2002 inmarsat config 2015-07-14 14:24:53 +02:00
Holger Hans Peter Freyther 1422f63b03 autossh: Add a small ssh spawner/link tester 2015-07-12 11:50:02 +02:00
Holger Hans Peter Freyther fd44e0be45 image-rauc-slot-rescue: Make sure dropbear is in the image too 2015-07-12 11:50:02 +02:00
Holger Hans Peter Freyther 9955e6aaf6 image-rauc-slot-rescue: Remove bts kernel modules if present
In case of the sysmobts we can remove the kernel modules for
the dsp communication.
2015-07-12 10:47:22 +02:00
Holger Hans Peter Freyther e696c6fb6b image-rauc-slot-rescue: Do not add e2fsprogs-fsck
For the ODU/BTS we do not have ext4 and will not need to check
a filesystem. Do not install these recommendations.
2015-07-12 10:41:49 +02:00
Holger Hans Peter Freyther 870b73cb12 image-rauc-slot-rescue: Remove some more files from it
* We never need the BTS firmware. We never want to do GSM from
within rescue image

* Remove various udev hardware dbs. I think we couldn't care less
about identifying peripheral devices by name and such.
2015-07-12 09:22:58 +02:00
Holger Hans Peter Freyther 455820b8d3 image-rauc-slot-rescue: Reduce the size of the rescue slot
The system should be as small as possible and besides tools to
touch flash and block files, SSHD and rauc there should be nothing
else. We might continue to have opkg on it to allow updating it
2015-07-12 09:21:03 +02:00
Holger Hans Peter Freyther e2d36a57d4 task-sysmocom-feed: Build the new rtl8169-eeprom
We want this to be installable for the IDU system and for now
let's put it into the feed.
2015-07-11 08:56:10 +02:00
Holger Hans Peter Freyther f8535440b7 rtl8169: And kill the COMPATIBLE_MACHINE completely
Yes, this does require a PCI bus and will not run on a BTS
but there is no specific config file or such.
2015-07-11 08:55:08 +02:00
Holger Hans Peter Freyther f70f875e83 rtl8169: Fix the machine name for the E1 one 2015-07-11 08:54:34 +02:00
Henning Heinold de502623c1 rtl8169-eeprom: add recipe for rtl8169-eeprom 2015-07-11 08:48:07 +02:00
Holger Hans Peter Freyther 209666c7dd linux-sysmocom: Document upgrade issue with the kernel
The reverse dependency appears broken. Add a comment to
the recipes to warn us when updating. The issue does not
appear to exist in master of Yocto.

Related: SYS#1353
2015-07-09 09:53:11 +02:00
Neels Hofmeyr 9cef909c82 init-ifupdown: fix typo in network/interfaces 2015-07-06 23:03:26 +02:00
Harald Welte 5c86ed95c9 linux-backports: bump PR as dependency to kernel somehow not working
See SYS#1353 for details.
2015-07-06 14:02:02 +02:00
Jan Luebbe bcbd47e2af barebox: update to newer git version for eeprom write-protect
For the sysmocom-odu, this add support for the EEPROM write-protect
GPIO.
2015-07-03 17:46:05 +02:00
Jan Luebbe 385453cf22 initramfs-rauc-install: add installer for the sysmocom-idu
The partition layout needed for rauc is different from the one created
by the existing installer (based on the live image).

An initramfs-framework module for installation to the sysmocom-idu is
added. It is included in a corresponding initramfs image for use on an
USB memory stick.
2015-07-03 17:45:24 +02:00
Jan Luebbe 2cd82376d9 initramfs-framework: make sure console messages are visible on reboot
The serial console may take some time to send the messages, so sleep a
moment before rebooting.
2015-07-03 17:44:59 +02:00
Jan Luebbe e8097c044e rauc: update to newer version
The new version fixes a possible free of an uninitialized pointer.
2015-07-02 22:10:21 +02:00
Jan Luebbe 3c38bd3c2f barebox: enable password support for sysmobts and sysmocom-odu
This uses a new git revision to use a required fix.
2015-07-02 22:10:14 +02:00
Jan Luebbe 2b3373ce53 rauc: update to newer version
The new version fixes compatibility checking.
2015-07-02 22:09:48 +02:00
Jan Luebbe 5b5741f314 sysmocom-backup-data: add alternative package for overlay based systems
When using squashfs + overlayfs a root, we need to store the backup
somewhere else and restore it on every boot. Do avoid breaking existing
users, this is implemented in a separate recipe (as suggested by Holger).
2015-07-02 22:09:29 +02:00
Jan Luebbe 20d03de6b2 rauc: build without background service
The allows us to drop the RDEPENDS on dbus.
2015-07-02 22:09:09 +02:00
Holger Hans Peter Freyther 6826004831 osmo-pcu: Upgrade PCU and fix the branch name 2015-07-02 22:02:19 +02:00
Holger Hans Peter Freyther 89e0c53ba8 osmo-bts: Bump the PR to force a re-fetch of the source 2015-06-30 22:04:23 +02:00
Holger Hans Peter Freyther a2bb468480 osmo-bts: Fix the branch name in the hope to fix the build 2015-06-29 07:57:13 +02:00
Holger Hans Peter Freyther 97676796f7 openggsn: Inherit pkgconfig as it is by configure 2015-06-26 21:31:38 +02:00
Holger Hans Peter Freyther 7e54997fbe osmo-bts/osmo-pcu: Upgrade to the latest version of the BTS and PCU 2015-06-26 10:26:03 +02:00
Holger Hans Peter Freyther 7b41ee80ec openbsc: Require c-ares for the SGSN now 2015-06-26 10:20:40 +02:00
Holger Hans Peter Freyther 210921f81d c-ares: Import from meta-intel-iot-middleware
Needed by OpenBSC

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-middleware/plain/recipes-connectivity/c-ares/c-ares_1.10.0.bb
2015-06-26 10:19:50 +02:00
Jan Luebbe 70993c331d ti33x: use cortexa8hf-neon tune by default
We don't use any binary only components and can avoid the performance
penalty.

[hfreyther: The ODU build had changed the tune through
the local.conf already]
2015-06-26 10:10:48 +02:00
Jan Luebbe b97e39bb9c Revert "sysmocom-odu: Barebox doesn't build anymore. Disable it for now"
We now can build barebox again (even with
DEFAULTTUNE="cortexa8hf-neon").

This reverts commit 17a8ba8c03.
2015-06-26 10:10:07 +02:00
Jan Luebbe 2df16ea744 barebox: use KERNEL_CC and KERNEL_LD
Barebox should be built like the kernel. We have to disable the target
userspace tools because they cannot be build using KERNEL_CC (which is
missing --sysroot=).
2015-06-26 10:09:56 +02:00
Jan Luebbe f7b01afb65 sysmocom-backup: make file list configurable
Move the default file list to a separate file in /etc/sysmocom/backup.d,
which is itself included in the backup. Also create a symlink to the
most recent backup.
2015-06-26 10:01:15 +02:00
Holger Hans Peter Freyther ce5e874f31 libosmo-sccp: Update as well for new function used by OpenBSC 2015-06-26 09:59:25 +02:00
Holger Hans Peter Freyther 6a7ee08532 Big Osmocom update to the latest code
* Update libosmocore with GB fixes and endian.h work
* Update libosmo-netif for rtp header changes
* Update OpenGGSN that now has libosmocore logging
* Update OpenBSC with many new features, subscriber queue
  rework and more
2015-06-26 09:39:36 +02:00
Holger Hans Peter Freyther 17a8ba8c03 sysmocom-odu: Barebox doesn't build anymore. Disable it for now 2015-06-24 13:20:39 +02:00
Henning Heinold 576577f9c9 busybox/init-ifupdown: do not use ifplugd on master
- remove file with wrong path to ifplugd
  recipes-core/busybox/files/busybox-ifplugd.sh
  DAEMON=/usr/bin/ifplugd vs. /usr/sbin/ifplugd

- use lambda expression for sysmobts/sysmobsc-kernel to
  include busybox-ifplugd or not

- use different defconfig files between master
  and dora to enable ifplugd or not

- use different interfaces files between master
  and dora to enable auto stanza or not
  for the dhcp interface

Fixes:  SYS#868 and SYS#1535

[hfreyther: Try to pick an option less likely to break the
Dora support but allowing us to move forward. Not entirely
compile tested due IO load of the system]
2015-06-23 20:48:25 +02:00
Henning Heinold 29faf705ed packagegroup-sysmobts-sob: add iproute2-misc package
Fixes: SYS#1609
2015-06-20 21:26:49 +02:00
Henning Heinold 1716d4ffae iproute2: enable lnstat and package all commands from misc into its own package
* disable arpd because db_185.h is not installed from the berkely db
  recipe

Fixes: SYS#1609
2015-06-20 21:26:36 +02:00
Jan Luebbe ffd5888c91 barebox: fix uImage booting
Also set the watchdog timeout to 60 seconds.
2015-06-15 17:21:27 +02:00
Jan Luebbe 6fdbf6bc94 sysmocom-image: build a squashfs image as well
The /boot directory is excluded from the squashfs image only, as in that
case it is stored separately. This allows booting normal sysmocom images
as rauc slots.
2015-06-15 17:18:44 +02:00
Jan Luebbe 1624c59731 barebox-sysmocom-odu-mlo: disable SPI support
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:39:23 +02:00
Jan Luebbe 2d2854e820 barebox: rebase to 2015.06 2015-06-14 12:39:23 +02:00
Jan Luebbe 66aa807866 barebox: pass CC to make
This should fix a build error with poky master.
2015-06-14 10:34:27 +02:00
Holger Hans Peter Freyther 34467d0c27 rauc: This should work on the BSC as well 2015-06-14 08:43:04 +02:00
Holger Hans Peter Freyther fd1467b902 rauc: Tell it how mksquashfs is called. 2015-06-13 21:07:05 +02:00
Holger Hans Peter Freyther 572347079f linux-sysmocom: Build with the AUFS build fix
The change of SRCREV was wrong we were supposed to build that
version but the push didn't work. It is now rebased.
2015-06-13 20:15:32 +02:00
Holger Hans Peter Freyther 8aba112988 linux-sysmocom_3.2: This is only used for the ODU remove the rest
Remove all traces of the sysmobts from this recipe as we have
not used linux-3.10 there for a very long time.
2015-06-13 19:12:15 +02:00
Holger Hans Peter Freyther e01922e39b linux-sysmocom: Correct the srcrev for 3.2.69 2015-06-13 19:10:00 +02:00
Holger Hans Peter Freyther 6a91c316f0 sysmocom-odu: Make sure we have usb2514 in all images 2015-06-13 18:49:07 +02:00
Jan Luebbe b5586ef6c9 image-rauc-slot-rescue: UBI parameters should be set by the machine
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:48:30 +02:00
Holger Hans Peter Freyther 6b93b56e9b barebox-state: Let OE figure out the architecture automatically
If we apply machine specific patches the result package will be
machine specific.
2015-06-13 18:40:22 +02:00
Jan Luebbe 54a37fcd6e barebox-state: add support for sysmocom-odu
The state data is in a different location than on the sysmobts-v2.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:38:47 +02:00
Jan Luebbe e1aa1be647 image-rauc-slot-rescue: support sysmobts
For the sysmobts we need custom ubi volume layout, so we need to
override IMAGE_CMD_ubi().

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:37:29 +02:00
Jan Luebbe 445244c528 barebox: use uImage instead of zImage
Also move to a combined branch for sysmobts and sysmocom-odu. Disable
bootloader spec support as well.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:27:44 +02:00
Jan Luebbe 99d4e91827 sysmocom-odu: use barebox-sysmocom-odu as the bootloader
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:27:22 +02:00
Jan Luebbe 988645dbe8 barebox: add support for sysmocom-odu
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:26:17 +02:00
Holger Hans Peter Freyther 67a666df1a sysmobts-v2: Build the standard barebox as well 2015-06-13 18:25:29 +02:00
Jan Luebbe d07ecd129b barebox-sysmobts: add recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:24:06 +02:00
Jan Luebbe 3ddf763457 barebox-sysmocom: remove 201407 recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:22:17 +02:00
Jan Luebbe dafdcb0404 initramfs-rauc-slot: pass the rootfstype kernel parameter to mount
This fixes mounting ubifs filesystems.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:05:18 +02:00
Holger Hans Peter Freyther 81ff4d7d75 sysmocom-bsc: Install a custom fstab file
Mount /boot rw so that grub can store/update the state for
rauc. A user can then rm -rf /boot/grub and the machine will
be dead.
2015-06-13 18:01:12 +02:00
Holger Hans Peter Freyther 681966c5e0 rauc: Depend on busybox-state or grub
Rauc is configuted to either invoke busybox-state or grub. Make
sure these are installed when rauc itself is installed.
2015-06-13 17:40:23 +02:00
Holger Hans Peter Freyther 263e63eab6 image-rauc-slot-resuce: Install rauc as well
Install rauc so a user can update/fix the normal slots
2015-06-13 17:33:56 +02:00
Holger Hans Peter Freyther b033024efe sysmocom-idu: Force the ext4/tar.gz
meta/conf/machine/include/ia32-base.inc:13 (ext3 cpio.gz live)
forces the above image formats that are not relevant to us at
all. Found and done by Jan.
2015-06-13 17:31:31 +02:00
Jan Luebbe 1dbb411e3d images: add rauc slot and rescue initramfs images
Add initramfs images for rauc slots.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:23:28 +02:00
Jan Luebbe 51c1b427ec initramfs-framework: override init file to reboot on error
The initramfs-framework from oe-core performs an endless loop of "sleep
3600" when fatal() is called. We need to reboot instead.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:21:24 +02:00
Jan Luebbe 4993c83bcb initramfs-rauc-slot: add recipe to boot a slot using aufs2
This uses the "initramfs-framework" from oe-core.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:19:20 +02:00
Jan Luebbe 2ec9d6401d barebox-state: support sysmobts
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:13:14 +02:00
Jan Luebbe 50a86a5528 rauc: add recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>

[hfreyther: Do not use AUTOREV. Merged all follow-up commits]
2015-06-13 17:12:32 +02:00
Holger Hans Peter Freyther 28ce8b07da linux: Enable squashfs and aufs
* Disable ext2/ext3 (as ext4 can be used to mount them).
* Enable AUFS/Squshfs support
* Misc improvements (e.g. ARM optimized AES code, disable
drivers/frameworks unlikely to be used)
2015-06-13 16:56:33 +02:00
Jan Luebbe 0b5ef67cd9 linux-sysmocom: update to 3.2.69
Enable squashfs, disable OneNAND and update config.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 16:50:54 +02:00
Holger Hans Peter Freyther 74d77d1fc6 linux-sysmocom: Store the extended .config file
Jan prefers to store the fully extended .config file so we will
do it. One advantage is to more easily see what has changed between
two kernel versions.

cp ../build.sysmobts/tmp/work/sysmobts_v2-poky-linux-gnueabi/linux-sysmocom/3.10.80+gitAUTOINC+3122273386-r43/git/.config ./recipes-bsp/linux/files/sysmobts-v2/defconfig
cp ../build.sysmobts/tmp/work/sysmocom_odu-poky-linux-gnueabi/linux-sysmocom/3.2.63+gitAUTOINC+3ed283bea6-r41/git/.config ./recipes-bsp/linux/files/sysmocom-odu/defconfig
cp ../build.sysmobts/tmp/work/sysmocom_bsc-poky-linux/linux-sysmocom/3.10.80+gitAUTOINC+3122273386-r43/git/.config ./recipes-bsp/linux/files/sysmocom-bsc/defconfig
2015-06-13 16:41:28 +02:00
Holger Hans Peter Freyther b93e94b60b linux-sysmocom: Move to 3.10.80 and prepare DT/AUFS
Apply the AUFS patch for 3.10.80 and enable basic DT support
in the board file needed by our image based update system.
2015-06-13 14:52:26 +02:00
Jan Luebbe 9bd713ab35 barebox-state: add recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>

[hfreyther: Use a fixed version of the utilities]
2015-06-13 14:52:26 +02:00
Holger Hans Peter Freyther d6bbef850f sysmobts-2050: Remove left overs from the BTS code 2015-06-13 14:52:26 +02:00
Holger Hans Peter Freyther e8989345d2 sysmobts-v1: Remove the v1 support of our old hardware config
I think the last device we sold was in 2011 and I am not aware
if anyone has used it for the last couple of years. Remove it
to lower the complexity of the builds.
2015-06-13 14:52:26 +02:00
Jan Luebbe 4aabca2c30 glib-2.0: backport 2.40 from Yocto Dizzy
Drop support for gnome-ptest to simplify backporting.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 14:25:17 +02:00
Holger Hans Peter Freyther e5177cd80c task-sysmocom-feed: Build python-enum as well 2015-06-09 23:37:15 +02:00
Henning Heinold 3078014afc python-enum: add recipe
* recipe was stolen from
  http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/plain/meta-openstack/recipes-devtools/python/python-enum_0.4.4.bb

* remove the DEPENDS and RDEPENDS line, because they
  are not needed

* do not build the dev and dbg packages

Fixes: SYS#1082
2015-06-09 23:37:15 +02:00
Henning Heinold dc739f3c27 init-ifupdown: Revert - Take the force solution and make our script available
This reverts commit 9934406ade.

Fixes: SYS#1534
2015-06-09 16:59:41 +02:00
Henning Heinold b48f99da26 iproute2: add misc directory to buildline and package ss, nstat, rtacct and ifstat
Fixes: SYS#1609
2015-06-03 08:00:00 +02:00
Harald Welte 908ebc9836 perl-json: Add two missing dependencies
This resolves an error message like "Can't locate bytes.pm in @INC (@INC contains: /etc/perl /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3 /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3 /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl /usr/lib/perl/5.14.3 .) at /usr/lib/perl/vendor_perl/5.14.3//JSON/backportPP.pm line 668."
2015-05-26 15:47:17 +02:00
Holger Hans Peter Freyther f60431c3b0 libjson-perl: Attempt to fix the LIC_FILES_CHKSUM ping-pong
Somehow master and dora generate different checksums for the
same file. Use a different file and start in the "COPYRIGHT AND
LICENSE" and hope it is stable across these two files.
2015-05-22 11:04:57 +08:00
Holger Hans Peter Freyther e9cb8049b0 ping: Provide a "flood" ping for the sob group
Related: SYS#1657
2015-05-22 00:42:23 +08:00
Harald Welte c9908cfd53 increment nfacct PR to force package rebuild 2015-05-21 17:52:15 +02:00
Harald Welte d57ac4e3e6 nfacct json support: add timestamp to json output 2015-05-21 17:52:15 +02:00
Holger Hans Peter Freyther 3c7a1caef2 libjson-perl: Drop the idea of using libjson-xs-perl
Drop the dependency and more modules. I don't feel like packaging
Types::Serialiser and then their dependencies and so on. The pure
perl based encoding does work and we don't want to run this code
every milli second.
2015-05-21 19:52:00 +08:00
Holger Hans Peter Freyther b792b649e4 libjson-xs-perl: Add needed dependency by the same author
libjson-xs requires another module that is normally not
packaged.
2015-05-21 19:37:00 +08:00
Holger Hans Peter Freyther d454e151c3 libjson: Make the pure-perl version work
Depend on two more modules to have the following code
emit something:

 #use JSON::XS;
use JSON;

my %rec_hash = ('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);
my $json = encode_json \%rec_hash;
print "$json\n";
2015-05-21 19:10:09 +08:00
Holger Hans Peter Freyther 7f9ef4ddb9 libjson-perl: Fix the license file checksum
I am not exactly sure how I managed to skip this step
locally and when I broke it.
2015-05-21 18:37:06 +08:00
Holger Hans Peter Freyther 8161ee10f0 libjson-perl: Fix last minute dependency issue 2015-05-21 18:29:21 +08:00
Holger Hans Peter Freyther bbfff1e487 task-sysmocom-feed: Build perl and include the new modules
We want these modules to be available, specially to
determine the real depedencies and then to fix them.
2015-05-21 18:15:35 +08:00
Holger Hans Peter Freyther 3f26af624b perl/json: Add two libraries needed for perl/JSON handling
Besides DBI we need the JSON module. As far as I can see
JSON can use JSON:XS as a fast encoder/decoder. This is
why both libraries need to be provided.
2015-05-21 18:12:13 +08:00
Holger Hans Peter Freyther a54fdc0570 libdbi/libdbd: Import the perl module needed for a script
We need DBI and the sqlite3 backend support for a small
monitoring application. Make it available. The files were
taken from meta-perl as of yesterday.
2015-05-21 17:34:31 +08:00
Holger Hans Peter Freyther 753b6db019 Create sysmobts-sob task and make sure the real ifupdown is installed
Add the new task to task-sysmocom-feed so it is being built by
default in our CI infrastructure.

make iputils available as well for people wanting to use a real
ping/traceroute/arping.

Related: SYS#1190
2015-05-21 15:17:11 +08:00
Harald Welte d3ae677639 nfacct: Add patches for direct JSON output format
Rather than parsing the existing XML or standard output of the nfacct
utility, and then piping that into a perl/python script for formatting
to JSON, we teach nfacct to generate JSON directly.  This seems like
the proper way to do it.  The patches will be submitted mainline.
2015-05-20 11:00:13 +02:00
Henning Heinold 88f39279bc sysmocom-idu: remove ifplugd from MACHINE_ESSENTIAL_EXTRA_RDEPENDS
[hfreyther: I asked henning to move forward and not test this. We
do not have dhcp/dynamic config in /etc/network/interfaces and the
link will always be up on the idu due it being connected to a switch.
ifplugd is not doing anything useful in this context]

Fixes: SYS#1535
2015-05-19 21:20:50 +02:00
Henning Heinold a89b5587e2 image-static-dns.bb: new image snippet to set a static dns configuration
Fixes: SYS#1126
2015-05-19 21:10:02 +02:00
Holger Hans Peter Freyther 8b5f88e80b syslog: Do not re-create the symbolic link
In SYS#659 we wanted that "file" will always log to a persistent
/var/log. After I changed the /etc/default/volatiles/00_core for
the IDU and made journald persistent we still ended up having the
symlink. It appears to be caused by this script.

* When "buffer" is used we don't need to care about /var/log as
it is not being used at all.

* When "file" is set we make sure that /var/log is not a symlink.

In case of the IDU the journald should now be persistent.

Related: SYS#659
2015-05-15 11:12:39 +02:00
Henning Heinold e374c6bc04 busybox-udhcpc: add default file to control the modification of /etc/resolv.conf
- using commit aee3a65e2a,
  which fixes the route metrics from holger for all machines

Fixes: SYS#1126
2015-05-14 15:32:11 +02:00
Holger Hans Peter Freyther 8073a33e2c qtbase: Cherry-pick ioctl change from Qt 5.4
The log is spammed with:

May 03 06:24:58 kernel[221]: Loading kernel module for a netw....
May 03 06:24:59 kernel: Loading kernel module for a network ...d.

this is because of an ioctl for an invalid device which leads
to the kernel trying to load a module. This occurs many times
a minute.

I have cherry-picked 1910454fe00cce8b815b1abc0a18a04d3d387ccf which
merged without conflicts. It has not been compile tested.

Related: SYS#1610
2015-05-13 12:11:56 +02:00
Holger Hans Peter Freyther bf472b1799 initscripts: Attempt to have /var/log on the root partition
For the IDU we currently want to have persistent log files. We
need to fork the volatiles script (installed as 00_core) and it
is already different between dora and current master of poky.

We are missing an sob-idu-qa check that verifies that /var/log
is not a symlink and that /etc/systemd/system/journald.conf is
set to persistent too.

Related: SYS#659
2015-05-13 09:31:50 +02:00
Holger Hans Peter Freyther 4dafdbcc17 systemd: Make the log persistent for the IDU
Similar to the T-ODU we would like to keep a persistent log.
This commit is completely untested, rushed and not the final
one (/etc/default/volatiles/00_core most likely needs patching
and we want to limit the size of the log as well).

Related: SYS#659
2015-05-13 09:31:50 +02:00
Harald Welte abe0c65892 idu /etc/network/interfaces: Major update
* add interface for connection to Inmarsat
* remove 'br0' and work directly with 'eth2' instead, to avoid bridges
  in vlans of bridges
* bridge the video LAN also into the backbone (for later break-out)
2015-05-12 22:29:49 +02:00
Holger Hans Peter Freyther d97e87f46b dbus: Catch up with yocto-master
dbus is now using version 1.8.16 instead of the old version.
Our patch does not depend on a specific version of dbus, so
let us use a wildcard.
2015-05-11 16:31:37 +02:00
Harald Welte d35fbc4f82 [idu] dnsmasq: Add DHCP range for video subnet 2015-05-10 11:22:49 +02:00
Jan Luebbe 5304e22ff4 busybox: create /etc/default before using it
This fixes an error during do_install for busybox when building on dora.
2015-05-06 11:23:48 +02:00
Harald Welte 35a13a17ee conntrack-tools: Dont have HTML as init script, but actual script 2015-05-05 15:32:44 +02:00
Holger Hans Peter Freyther 1a61dfc20a linux-sysmocom: Really base on 3.10.76 for our kernel
linux-sysmocom_git.bb is used for the BTS, BSC and IDU. Let's
really use 3.10.76 (from 3.10.50 just rebased and not tested
on the device yet). This should fix the Yocto-Master build
tonight.
2015-05-04 21:15:28 +02:00
Daniel Willmann 933d151e84 Merge branch 'hheinold/ntp'
Ticket: SYS#1180
2015-05-04 20:05:53 +02:00
Henning Heinold ef2c9b84d3 busybox: add package for udhcpc which can set the ntp server provided by the dhcpc-server
* the oe udhcpc calls /usr/share/udhcpc/default.script which
  calls run-parts -a "$1" /etc/udhcpc.d, so we can install
  our script as 60ntp

* using /etc/default/udhcpc-ntp to have the possibility
  to disable it on the target, its enabled per default

Related: SYS#1180
2015-05-04 20:03:57 +02:00
Henning Heinold f0278f35a9 dnsmasq: provide the ntp server running on the idu to the dhcp clients
Fixes: SYS#1180
2015-05-04 20:03:05 +02:00
Holger Hans Peter Freyther 4d76f00233 linux-sysmocom: Remove the branch from the SRC_URI
9610e792ffde7fb2599d19ca6d2a03230f2043c6 can not be found
in the linux-3.10.76 branch. Just avoid this branch game.

ERROR: Fetcher failure: Unable to find revision 9610e792ffde7fb2599d19ca6d2a03230f2043c6 in branch linux-3.10.76 even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.76'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/sysmobts_v2-poky-linux-gnueabi/linux-sysmocom/3.10.76+gitAUTOINC+9610e792ff-r43/temp/log.do_fetch.16350
NOTE: recipe linux-sysmocom-3.10.76+gitAUTOINC+9610e792ff-r43: task do_fetch: Failed
ERROR: Task 126 (/home/builder/jenkins/workspace/Yocto-Master/label/OE/meta-sysmocom-bsp/recipes-bsp/linux/linux-sysmocom_git.bb, do_fetch) failed with exit code '1
2015-05-03 23:15:40 +02:00
Harald Welte 809e9cd999 ulogd: Disable building pgsql/mysql output plugins
As ulogd's configure script doesn't support this out of the box, we need
to patch it for this.
2015-05-03 11:37:57 +02:00
Holger Hans Peter Freyther 8753fbf081 yocto-master: We shouldn't need to patch pkgconfig anymore
pkg.m4 has been packaged in the main package for a long
while. We certainly don't need this in master anymore.

ERROR: No recipes available for:
 /ws/meta-sysmocom-bsp/yocto-master/pkgconfig_0.28.bbappend
2015-05-02 21:24:53 +02:00
Harald Welte 3324575ef5 nfacct: RDEPENDS should be ${PN} specific 2015-05-02 19:21:31 +02:00
Harald Welte 6938804c99 nfacct: Add RDEPENDS to kernel modules
nfacct in userspace doesn't work without its kernel counterparts..
2015-05-02 17:33:40 +02:00
Harald Welte 7c6170178d ulogd: Add RDEPENS to respective kernel modules
some sub-packages of ulogd don't make sense without the corresponding
kernel modules
2015-05-02 17:31:34 +02:00
Harald Welte 62856a3a9b [idu/bsc] bump PR of linux-sysmocom_git.bb 2015-05-02 14:18:56 +02:00
Harald Welte 8b9a9895ec [bsc/idu]: keep netfilter/ipsec as modules
It seems like the kernel/package/upgrade/... proceess doesn't deal well
with the fact that some options used to be modules, which are now
built-in.  Let's keep it as modules for the time being.
2015-05-02 14:15:35 +02:00
Harald Welte 1e38dac840 update sysmobts/sysmocom-bsc/sysmocom-idu from 3.10.50 to 3.10.76 2015-05-02 12:28:33 +02:00
Harald Welte f6410166f8 bsc/apu/idu: enable more netfilter / networking features
this enables conntrack events, ipset, ebtables, tc
scheduler/classifiers/ematches and much more.

it also disables the ATM code for which I don't think we have any use
case.
2015-05-02 12:23:23 +02:00
Harald Welte 98a3705d93 ulogd: Import init script (from openembedded.org)
the ulogd-1.x script should simply work for ulogd-2.x
2015-05-02 11:45:46 +02:00
Harald Welte b3923ebb69 conntrack-tools: update from 1.4.0 to 1.4.2 2015-05-02 09:29:48 +02:00
Harald Welte 35af0578bf update libnetfilter-conntrack from 1.0.2 to 1.0.4
... as there's no specific reason to use a 2012 old release.
2015-05-02 09:25:44 +02:00
Harald Welte ef40d4a5fd add libnetfilter-queue from meta-openembedded.git 2015-05-02 09:17:00 +02:00
Harald Welte 9c3c430ea2 add libnetfilter-cthelper and move all libnetfilter-* to one directory 2015-05-02 09:15:20 +02:00
Harald Welte fb51ce8a2e import libnetfilter-cttimeout from meta-openembedded.git
this is required by conntrack-tools.
2015-05-02 09:10:26 +02:00
Harald Welte 66b18ff049 ulogd: split out some plugins in sub-packages
some plugins have external dependencies (jansson for JSON, ...) and we
dont want to pull those dependencies for all users.
2015-05-01 23:29:18 +02:00
Harald Welte 59e8120312 add jansson recipe (from meta-openembedded.git)
jansson is required for the ulogd JSON output plugin.
2015-05-01 23:08:31 +02:00
Harald Welte d22aad22df proper name for ulogd recipe (fixes build) 2015-05-01 23:07:34 +02:00
Harald Welte 4c6162968f ulogd2: Don't intherit update-rc.d as we don't have an init script yet 2015-05-01 19:59:39 +02:00
Harald Welte 51a7495f21 [sysmocom-bsc] linux: Enable more netfilter matches/targets 2015-05-01 19:52:36 +02:00
Harald Welte a3b942cdd9 conntrack-tools: we don't have autotools-brokensep 2015-05-01 19:46:50 +02:00
Harald Welte c2ef6813b8 first attempt at creating a ulogd2 recipe 2015-05-01 18:52:15 +02:00
Harald Welte 3de926bd8d import conntrack-tools from meta-openembedded 2015-05-01 18:45:53 +02:00
Harald Welte 75772d538b import libnetfilter-conntrack from meta-openembedded 2015-05-01 18:44:48 +02:00
Harald Welte a2064b489f import libnetfilter-log from meta-openembedded.git 2015-05-01 18:44:28 +02:00
Harald Welte 25ce796b36 import libnfnetlink from meta-openembedded.git 2015-05-01 18:44:10 +02:00
Harald Welte 8c70168d40 [idu] dnsmasq: Add neptune as upstream DNS resolver 2015-05-01 17:29:32 +02:00
Harald Welte 441293a2cd [idu] dnsmasq: config improvements
* we are the authoritative DHCP server for all local networks
* filter bogus windows DNS queries
* don't respect local resolv.conf (pointing to localhost)
* increase cache size to 1000 entries
2015-05-01 17:23:35 +02:00
Harald Welte 57e1184d07 [idu] dnsmasq: Advertise NTP server to DHCP clients 2015-05-01 16:54:09 +02:00
Harald Welte a9b30a9328 idu: dnsmasq.conf: Last address should be .254, as .255 is broadcast 2015-04-25 16:54:53 +02:00
Harald Welte fd275216a9 idu: Add dnsmasq configuration for WiFi networks 2015-04-25 16:54:17 +02:00
Harald Welte 7c0152141a idu: interfaces: Add VLAN 1001/1002/1003 for WiFi 2015-04-25 16:51:43 +02:00
Harald Welte 90b40a8448 missing change from previous commit :/ 2015-04-20 20:51:37 +02:00
Harald Welte e614c9b5eb IDU: /etc/network/interfaces add host route to neptune public IP
this is taken from SYS#1513
https://projects.sysmocom.de/redmine/issues/1513
2015-04-20 20:22:51 +02:00
Holger Hans Peter Freyther 9934406ade init-ifupdown: Take the force solution and make our script available
Related: SYS#1514
2015-04-20 10:10:18 -04:00
Holger Hans Peter Freyther e0bcee0206 init-ifupdown: Attempt to make our init script available for everyone
Create the /run/network directory for all of our systems. The
proper way with tmpfiles.d ends with a depedency mess that has
no point in being debugged.

My local build hasn't completed yet but we need to rush. Let the
CI test this change and we will see.

Related: SYS#1514
2015-04-20 09:56:16 -04:00
Holger Hans Peter Freyther c32b0df2e3 ifupdown: Revert the tmpfiles.d change as the dir is created too late
It looks like on my tests with the sysmobts I was saved by
busybox-ifplogd executing ifup again. I couldn't figure out
the dependencies between the LSB networking service and the
tmpfiles.d interaction. So instead of winning a beauty contest
we will need to create the directory by hand.

Cause: SYS#1514

Revert "ifupdown: Package the new file as well"
This reverts commit 15dc869cda.
Revert "ifupdown: Try the workdir for the files we copied"
This reverts commit 1ef790672e.
Revert "ifupdown: Create /run/network through a tmpfiles.d"
This reverts commit e0c7f3c621.
2015-04-20 09:56:16 -04:00
Harald Welte 7843fb4085 idu /etc/network/interfaces: Add VLANs for iridium, switch mgmt 2015-04-18 22:32:58 +02:00
Holger Hans Peter Freyther 259e1fa468 dnsmasq: Add DHCP for BTS in the new vlan
Fixes: SYS#1491
2015-04-15 18:37:44 -04:00
Holger Hans Peter Freyther 8d89f603d3 interface: Add Vlan #7 for all GSM basestations
Untested, simply copy and pasted from the ticket

Related: SYS#1491
2015-04-15 18:35:46 -04:00
Holger Hans Peter Freyther e2042ff291 init-ifupdown: Force manual IP configuration for Openport
Interfaces file from roh, not tested by me.

Fixes: IDU#1491
2015-04-15 18:33:17 -04:00
Holger Hans Peter Freyther 9bd8feb83c linux-sysmocom: Enable VLAN modules for the ODU as well
They are available as module for the BSC/IDU and BTS.
This is why I decided to enable this as module as well
2015-04-14 15:09:06 +02:00
Holger Hans Peter Freyther ef36c3e699 busybox: Call the file correctly it is an append 2015-04-13 22:04:42 +02:00
Holger Hans Peter Freyther de697810db busybox: Move the 1.23.1 to 1.23.2 for Yocto master 2015-04-13 18:17:12 +02:00
Holger Hans Peter Freyther fc105b99dd busybox: Catch up with Yocto master 2015-04-13 18:14:45 +02:00
Holger Hans Peter Freyther 15dc869cda ifupdown: Package the new file as well 2015-04-13 18:10:04 +02:00
Holger Hans Peter Freyther 1ef790672e ifupdown: Try the workdir for the files we copied 2015-04-13 17:51:23 +02:00
Holger Hans Peter Freyther e0c7f3c621 ifupdown: Create /run/network through a tmpfiles.d
This way the ifupdown application will not only work
for the IDU/ODU but the BTS, BSC and any other machine
we want to build.

(untested OE modification)
2015-04-13 17:42:34 +02:00
Holger Hans Peter Freyther ba8eee83bd ifupdown: Jesside/SID moved to 0.7.53 and the sources are gone
Instead of trying to see if 0.7.53 is working, fetch 0.7.52
from a hopefully more stable source.
2015-04-13 17:13:55 +02:00
Holger Hans Peter Freyther e7a10f014d linux_2.6.39: Remove all traces from our layer
* Move the "defconfig" back to files/sysmocom-bsc/defconfig
* Remove the linux_2.6.39 recipe
2015-04-13 17:01:19 +02:00
Holger Hans Peter Freyther ad976e4eb3 task-sysmocom-feed: Make the python json rpc available 2015-04-13 16:55:43 +02:00
Henning Heinold 8ba007f078 jsonrpclib: add recipe for jsonrpclib
- the git version was choosen because it has
  some fixes for newer python versions

- test where done with the test file from the github
  repository and some unixsocket tests failed

Related: SYS#1082
2015-04-13 16:55:08 +02:00
Holger Hans Peter Freyther dd3b1def75 tasks-symocom-feed: Make the real ifupdown available and iproute2 2015-04-13 16:54:25 +02:00
Henning Heinold 3665ee11ce images: add snippet for writing the sysmocom.manifest
Fixes: SYS#1470
2015-04-10 19:11:15 +02:00
Holger Hans Peter Freyther 8e95d188c5 interfaces: Add post-up route for the IDU
To be able to talk to the equipment we need to set a route
after the link is up. Assume that no other (e.g. 3G) equipment
is using the same IPv4 address range.

Message-ID: 55279904.9020802@sysmocom.de
2015-04-10 15:28:58 +02:00
Holger Hans Peter Freyther f5acd1801c osmo-pcu: Build new version with Jacob's changes 2015-03-31 20:15:44 +02:00
Holger Hans Peter Freyther f44fee44be libosmocore: Build libosmocore 0.8.0+git 2015-03-31 20:13:45 +02:00
Henning Heinold 1f87162b0b layerconf: changes to let the layer build on dora and master
* removes the components for dizzy, we will skip it
* simplify the mapping from DISTRO_NUMBER to DISTRO_NAME
* remove watchdog.bbappend for master
2015-03-31 20:10:12 +02:00
Henning Heinold 1f660fd4b0 netbase/init-ifupdown: seperate both overrides and remove the appends of netbase for master and dizzy
* historical netbase in edison was not split and files were
  in netbase

Fixes: SYS#1142
2015-03-31 17:06:15 +02:00
Henning Heinold 456f674b22 wireless-tools: Remove the hack for dora too
Related: SYS#922
2015-03-31 17:05:17 +02:00
Henning Heinold b271d31282 ntp: add pool.ntp.org back as default ntp server for ntpdate
Fixes: SYS#1185
2015-03-20 09:41:08 +01:00
Holger Hans Peter Freyther ea1483dd5c wireless-tools: Remove our hack from the package
This is not of general interest for our users. Move the code
somewhere else.

Related: SYS#922
2015-03-18 14:16:40 +01:00
Henning Heinold 21356b7508 initrdscripts: make it possbile to secure grub with a password
* an example setup for the IDU can be found on
  https://projects.sysmocom.de/redmine/projects/sob-idu/wiki/ProvisioningSetup

Fixes: SYS#1130
2015-03-07 22:15:00 +01:00
Holger Hans Peter Freyther 88300710db systemd: Yocto master has moved to system_219.. follow 2015-02-27 11:59:28 +01:00
Holger Hans Peter Freyther 143a630c02 sysmocom-odu: Enable autofs for systemd
Enable autofs support to have the proc-sys-fs-binfmt_misc.automount
be able to mount/load the binfmt support.

Related: SYS#1216
2015-02-27 11:46:03 +01:00
Holger Hans Peter Freyther e4452116a8 cronie: Attempt to fix the bbappend for dora 2015-02-27 09:38:34 +01:00
Holger Hans Peter Freyther 1241f0e762 linux-sysmocom: Attempt to enable the nfacct module
NETFILTER_NETLINK_ACCT defaults to off. Let's enable it
in the config.
2015-02-27 08:44:23 +01:00
Holger Hans Peter Freyther e0675ada31 cronie: Install crontab that cruns daily, weekly, hourly jobs
The crontab installed by cronie doesn't actually run the daily
files. Fix that so that our logrotate application is being called.

Related: SYS#1189
2015-02-24 19:03:39 +01:00
Holger Hans Peter Freyther 9f334509d8 ntp: Bump PR to 6 to allow online upgrades
As pointed out by Harald the PR is lower than the package
that is already on the device. Bump it to 6 then.

Current:
opkg list_installed | grep ntp
ntp - 4.2.8p1-r5.0
ntp-tickadj - 4.2.8p1-r5.0
ntpdate - 4.2.8p1-r5.0
2015-02-24 14:20:05 +01:00
Harald Welte 7daf173e30 ntp: (re-)add pps-tools dependency
otherwise the PPS driver of ntpd will not be built, even with
--enable-ATOM explicitly set during ./configure
2015-02-23 21:47:21 +01:00
Harald Welte d44da082be Import pps-tools recipe from current meta-oe master 2015-02-23 21:43:30 +01:00
Holger Hans Peter Freyther c2356c429d ntp: Upgrade to patch level 1 for additional security fixes
When re-importing the recipe I accidently went back to a
vulnerable version again. *sigh*.

Fixes: SYS#1211
2015-02-23 20:56:50 +01:00
Holger Hans Peter Freyther 2251e090de busybox: After renaming the the bbappend rename the configs we use 2015-02-23 20:55:43 +01:00
Harald Welte 3a5cd732a9 ntp: forgot to add ntp_4.2.8p1.bb 2015-02-23 20:54:11 +01:00
Harald Welte 4de8fd1b08 linux-sysmocom: Add PPS platform device 2015-02-23 20:26:28 +01:00
Harald Welte 1a531a35c3 ntp: Update from 4.2.8 to 4.2.8p1 (6 vulnerability fixes) 2015-02-23 20:26:11 +01:00
Harald Welte 22c055b2f1 ntp: Enable the kernel PPS driver and use it on the ODU 2015-02-23 19:54:34 +01:00
Harald Welte 9b377fd3a9 sysmocom-odu kernel: Enable kernel PPS support
we still need a platform device to attach it to GPIO 115.
2015-02-23 16:15:19 +01:00
Holger Hans Peter Freyther 67d4fc8d40 uucp: Add missing configuration file 2015-02-22 14:31:24 +01:00
Holger Hans Peter Freyther 06fe8c4e40 uucp: Require logrotate and install a config file for UUCP
Related: SYS#1189
2015-02-22 14:25:20 +01:00
Holger Hans Peter Freyther 675690cc52 tasks-sysmocom-feed: Add logrotate to our sysmocom feed.
Related: SYS#1189
2015-02-22 13:29:55 +01:00
Holger Hans Peter Freyther cf53c2b4e0 ntp: Import from meta-networking
Import ntp 4.2.8 from meta-networking. Our version has some weird
dependency issues that create build breakages and more.

Remove the pps-tools dependency compared to meta-networking and
leave the ntp.conf as doneby Harald (e.g. drift on /etc and not
in /var...). Now I have not verified the upgrade path but I sadly
merged testing to stable when the ntp changes were comitted on
monday. This means I can't easily test the upgrade.
2015-02-22 02:04:28 +01:00
Holger Hans Peter Freyther be27d4cc76 busybox: Catch up with yocto-master and rename our recipe 2015-02-20 17:02:49 +01:00
Harald Welte 4235a5776f ntp: Fix/complete update to 4.2.8p1
This new version of ntp has quite a number of changes, e.g.
certain utilities requiring perl, and some programs are now in
/usr/sbin rather than /usr/bin.
2015-02-20 14:29:46 +01:00
Harald Welte 42d9a2747f ntp: bump PR 2015-02-20 12:43:07 +01:00
Harald Welte 21871fa648 ntp: add "--with-yielding-select=yes" requird by 4.2.8p1 2015-02-20 12:40:31 +01:00
Harald Welte f47375cb49 ntp: remove tickadj.c.patch which has been merged upstream 2015-02-20 12:35:42 +01:00
Harald Welte b386e61712 ntp: update md5sum/sha256sum 2015-02-20 12:31:34 +01:00
Harald Welte 823aa457c6 upgrade ntp from 4.2.6p3 to 4.2.8p1
4.2.8 has received fixes for 6 vulnerabilities, see
http://support.ntp.org/bin/view/Main/SecurityNotice#Recent_Vulnerabilities
2015-02-20 12:26:51 +01:00
Harald Welte 979f16d1b1 odu: fix typo: sysmcom -> sysmocom 2015-02-20 12:26:51 +01:00
Harald Welte 74b87851e1 ntp: rename sob-odu/ntp.conf to sysmocom-odu/ntp.conf
the odu specific config file was not packaged
2015-02-20 12:16:29 +01:00
Harald Welte 38d1587db5 add pciutils to task-sysmocom-feed
It is handy to have it on the APU/BSC/NITB/IDU
2015-02-20 11:32:56 +01:00
Harald Welte d7e88c9356 ntp: Add systemd service files + ODU specific configuration
On the ODU, we have a local GPS/GNSS receiver as prefision time source.
2015-02-20 11:29:49 +01:00
Holger Hans Peter Freyther 5de4108c11 i2c-tools: Do not use autotootls as bbclass
The sources are not using autotools and the
build breaks.

ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/log.do_install.10782)
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/log.do_install.10782
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 2 DESTDIR=/home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/image install
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed
| WARNING: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/run.do_install.10782:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5te-poky-linux-gnueabi/i2c-tools/3.1.1-r0/temp/log.do_install.10782)
NOTE: recipe i2c-tools-3.1.1-r0: task do_install: Failed
2015-02-17 19:00:17 +01:00
Holger Hans Peter Freyther 703e99dee6 linux-sysmocom: Backport nfacct patches and enable the module
I have no idea if that works or not. The integration work should
have been done by someone else.

Related: ORT#650
2015-02-17 18:40:33 +01:00
Holger Hans Peter Freyther 5d56fdb07e task-sysmocom-feed: Make sure nfacct is in our feed as well
We want to use nfacct for better monitoring/matching. Put it
into the feed to be able to experiment with it.
2015-02-16 23:42:39 +01:00
Holger Hans Peter Freyther 137b6b0d6a nfacct: Add recipe for nfacct as well
Related: ORT#650
2015-02-16 23:42:39 +01:00
Holger Hans Peter Freyther 77b2c49b65 libnetfilter-acct: Add recipe needed for nfacct
This is the second dependency of nfacct. Create a simple
recipe for it.
2015-02-16 23:34:23 +01:00
Holger Hans Peter Freyther 191503323b libmnl: Import from meta-networking
We need this for nfacct
2015-02-16 23:26:19 +01:00
Holger Hans Peter Freyther a561f17dac osmo-bts: Ignore failures on symlinking
In yocto versions before dizzy/master the build was done
in the source directory and when configure was executed
twice in the same directory we would have a build failure
due the symlink already existing. Simply assume that if
the ln fails the link is already there.

Out of disk space situations are handled more early by
OE and missing files will be found by configure.

In dizzy/master OE will clean the build directory before
calling configure so the issue does not apply there.

Fixes: SYS#1170
2015-02-16 23:15:54 +01:00
Holger Hans Peter Freyther 5ba3282e45 ca-certificates: Fix build and lower default preference
This is a late fall-out of the priority changes done by
Henning. This recipe is not using autotools and doesn't
support src != build dir builds. So let's not use the
autotools class but simply invoke install ourselves. Let's
lower the default preference so the recipe from yocto master
is picked as well.

ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/all-poky-linux/ca-certificates/20120623-r0/temp/log.do_install.16890)
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/all-poky-linux/ca-certificates/20120623-r0/temp/log.do_install.16890
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'common-linux', 'common-glibc', 'allarch-linux', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 2 DESTDIR=/home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/all-poky-linux/ca-certificates/20120623-r0/image install
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed
| WARNING: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/all-poky-linux/ca-certificates/20120623-r0/temp/run.do_install.16890:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/all-poky-linux/ca-certificates/20120623-r0/temp/log.do_install.16890)
NOTE: recipe ca-certificates-20120623-r0: task do_install: Failed
ERROR: Task 3639 (/home/builder/jenkins/workspace/Yocto-Master/label/OE/meta-sysmocom-bsp/recipes-extra/ca-certificates/ca-certificates_20120623.bb, do_install) failed with exit code '1'
2015-02-16 08:31:08 +01:00
Holger Hans Peter Freyther aee3a65e2a simple.script/udhcpc: Do not remove someone's else default route
A lease bound/renewal could lead to the removal of a default
route set by pppd. Apply the same "dev $interface" filter that
would be used when using the "route" command.

Fixes: SYS#1163
2015-02-15 18:20:41 +01:00
Holger Hans Peter Freyther 9e6e792ec1 systemd: Only add the service once...
Keep the journald off on all other targets
2015-02-15 15:03:08 +01:00
Holger Hans Peter Freyther 592c6d7295 systemd: Do not disable the journald on the IDU
The IDU is powerful enough to run the journald. This gives us
some convenienance to have additional output from our services
and we can query them at a later point in time.

This will only be useful for systems that are re-installed
from scratch.

Fixes: SYS#892
2015-02-15 14:35:53 +01:00
Holger Hans Peter Freyther d31db523c8 systemd: Modify legacy.conf to have 775 as file permission for /run/lock
UUCP (cu, uux, uu*) attempts to create locks in /run/lock and it
fails. It fails because the current permission of the directory is
0755 but the binary is owned by uucp:root. Modify the legacy.conf
and change the permission to 0775.
2015-02-15 12:02:53 +01:00
Holger Hans Peter Freyther 08011e961e systemd/legacy.conf: Add the current file for tmpfiles.d 2015-02-15 11:57:42 +01:00
Holger Hans Peter Freyther cfe0753c23 u-boot: Catch up with latest yocto master changes 2015-02-15 09:33:34 +01:00
Holger Hans Peter Freyther ba75c10df7 sispmctl: Add utility to control the power outlet strip
Fixes: SYS#1134
2015-02-15 00:41:02 +01:00
Holger Hans Peter Freyther 846cc6b9ab gpsdate: Add an option to not fork and use it
Fixes: SYS#1152
2015-02-14 23:33:47 +01:00
Holger Hans Peter Freyther a15ce6544e initramfs-live-install: Reboot on panic after 60 seconds
Reboot the machine after a panic.

Related: SYS#1151
2015-02-14 22:00:08 +01:00
Holger Hans Peter Freyther 08d1155752 systemd: Enable the hardware watchdog for the IDU as well
The built-in watchdog even allows setting the watchdog interval
2015-02-14 21:56:35 +01:00
Holger Hans Peter Freyther 78d586c891 linux-sysmocom: Attempt to force a rebuild..
Somehow a kernel was built but still with revision r39.
Atempt to to force it.
2015-02-14 21:00:00 +01:00
Holger Hans Peter Freyther 4f7eba0c66 sysmobts-2050: The machine type is gone.. remove the file
The patching of the system.conf is done as part of the post-install
action of the system.
2015-02-14 20:46:30 +01:00
Holger Hans Peter Freyther 674b7ea989 linux-sysmocom: Build the hardware watchdog available in the APU
Related: SYS#1148
2015-02-14 20:36:07 +01:00
Holger Hans Peter Freyther a5a8a18186 linux-sysmocom: Enable k10temp and i2c-piix4 in the kernel
I edited the config through make menuconfig and then used
savedefconfig but the diff from our config to a minimal
defconfig is too big. So I enabled the temp sensors and i2c
by hand.

Fixes: SYS#1148
2015-02-14 20:31:17 +01:00
Holger Hans Peter Freyther b8915da842 gpsdate: We can't leave the default empty 2015-02-14 20:31:11 +01:00
Holger Hans Peter Freyther f1e0304198 busybox/50default: Start with the metric of 10 for the IDU
For wlan and ppp we want to be able to install another default
route and this is only possible if we can use smaller metrics.
2015-02-14 19:39:47 +01:00
Holger Hans Peter Freyther 60ab5bff4c busybox/05default: Add the script that is used in dora
There was a bugfix in regard to broadcast addresses in
master but I decided to not take the fix as I want to
stay close to the other builds.
2015-02-14 19:38:54 +01:00
Holger Hans Peter Freyther 8c0c8b1229 gpsdate: Upgrade version due machine specific change
The current 1:0.1+git1+019d2535b6-r9.2 is considered to be older
than the new gpsdate_0.1+git0+2326eee789-r10 file. Change the
PE to benefit from an upgrade.
2015-02-14 16:17:04 +01:00
Holger Hans Peter Freyther 7b3ce0e6f7 gpsdate: Provide a default config for the ODU system
The ODU has the GPSD for GNSS/GPS listening on a different
port. In hindsight this was a stupid decision but one we can
only fix once we move to generating the config of the system
at boot time.

Fixes: SYS#906
2015-02-14 16:05:07 +01:00
Holger Hans Peter Freyther 8bff0cbee2 gpsdate: Install the service and provide an empty default config 2015-02-14 15:59:05 +01:00
Holger Hans Peter Freyther 2d93f2256a ifupdown: Launch udhcpc the same we way always do it
In case the port is not in a forwarding state.. don't just
give up but background and move on. This appears to be needed
for the odu to acquire a lease when STP is used.
2015-02-14 14:43:07 +01:00
Holger Hans Peter Freyther 5c4968dd70 wifi2udp: Honor the global default file for the destination address 2015-02-14 13:44:02 +01:00
Holger Hans Peter Freyther adbc448df6 init-ifupdown: Add the specific init file for the ODU as well
For the V-ODU we want to have vlan support as well. This requires
to use the debian ifupdown which means we need a script that creates
/run/network early enough.
2015-02-14 11:48:09 +01:00
Holger Hans Peter Freyther 34d053fbe8 sysmocom-openvpn-config: Always start but rename the config file
For the sysmoBTS (and other devices) we always enable the service
but move the config file to a name that will be ignored by the
systemd generator.
2015-02-14 11:45:22 +01:00
Holger Hans Peter Freyther 3235c311c9 barebox-sysmocom-mlo: Modernize and upgrade as well
The name of the config file was changed and so far
I was hesitant to upgrade the MLO. I think the change
in EEPROM applies to the MLO as well so we should
upgrade it. It has neither been build tested nor tested
on a device.
2015-02-14 08:47:12 +01:00
Holger Hans Peter Freyther f69c396c1d barebox-sysmocom: Update to have access to the right EEPROM 2015-02-14 08:43:48 +01:00
Henning Heinold 38cd265fbc gpsd: add systemd servcie file for the idu
Fixes: SYS#171
2015-02-14 08:31:04 +01:00
Harald Welte 9fd3aad4c9 dnsmasq: update PR to ensure rebuild 2015-02-13 19:30:49 +01:00
Harald Welte f01baf4cfb [idu]: Update /etc/network/interfaces
On eth1 we should also use a network from the 172.16 block rather than
the 10.23 that we used on the sysmoBSC

Also, we now use 172.16.4.0/23 natively on the bridged onboard network,
this is a temporary measure so existing JBs will still connect and get
an IP address before their software is updated to use VLAN6.  After they
(and all APs, BTSs, etc.) have migrated, the 172.16.4.0/23 can be
removed.
2015-02-13 19:23:38 +01:00
Holger Hans Peter Freyther 3f2d2d3381 init-ifupdown: Make sure to create the /run/network directory
For systemd and the Debian ifupdown application we need to
have the /run/network directory. The debian init file is
creating it on the fly and we should do the same for now.
2015-02-13 19:17:16 +01:00
Holger Hans Peter Freyther 3094ddf651 init-ifupdown: Copy the init script from dora 2015-02-13 19:17:16 +01:00
Holger Hans Peter Freyther b6c7e01aee Revert "ifupdown: create a tmpfiles.d file to create /run/network"
networking.service - LSB: Raise network interfaces.
   Loaded: loaded (/etc/init.d/networking)
   Active: failed (Result: exit-code) since Fri 2015-02-13 17:59:17 UTC; 43s ago
  Process: 54 ExecStart=/etc/init.d/networking start (code=exited, status=1/FAILURE)

Feb 13 18:04:47 sysmocom-idu networking[54]: ifup: failed to open lockfile /run
/network/.ifstate.lock: No such file or directory

The creation of /run/network occurs way too late. So we need
to look for another solution.

This reverts commit 86dda7481f.
2015-02-13 19:17:16 +01:00
Harald Welte 272a3538bb dnsmasq IDU config updates
* DHCP range for 'vlan6' onboard network 172.16.2.0/23
* DHCP range for 'native' onboard network 172.16.4.0/23
* DHCP range for 'admin' port eth1 172.16.6.0/24
* domain name vessel.sob.sysmocom.de
* listen on all interfaces, not just one
* allow admin to specify static leases (ODU) in /etc/dnsmasq.dhcp-hosts
2015-02-13 19:13:35 +01:00
Harald Welte 5a09ef71ff dnsmasq: enablle tftp only on IDU 2015-02-13 19:09:20 +01:00
Harald Welte 574fa651d5 dnsmasq: Enable tftp 2015-02-13 18:33:46 +01:00
Holger Hans Peter Freyther ddd36a90fc ifupdown: Attempt to initiliaze the environment in all cases
$ ifup br0.6

would go throup _none_up of links.defn and never call the
set_environ for any of the files. Check for environ being
null and then call the set_environ function to initialize
the PATH. This is changing the semantic to allow the iface,
mode and phase to be NULL. I tried to add proper null checks
2015-02-13 18:19:18 +01:00
Henning Heinold 86dda7481f ifupdown: create a tmpfiles.d file to create /run/network
[hfreyther: Only mention /run/network]
2015-02-13 18:18:14 +01:00
Holger Hans Peter Freyther 9bac297806 init-ifupdown_sysmocom: This is the file with the interfaces
I bumped netbase but that wasn't the right package, this one
has the new interfaces file in it.
2015-02-13 16:59:21 +01:00
Holger Hans Peter Freyther 5457cb39b4 netbase: We added a new OVERRIDE file.. bump the PR
The PR system isn't clever enough to figure out that a different
file would be picked. Update the PR right now.
2015-02-13 16:32:37 +01:00
Holger Hans Peter Freyther 396d421838 ifupdown: Always ignore errors for busybox/Poky
--exit-on-error is not supported by the busybox run-parts
and the easiest way is to make the ignore-errors option
the default.

I didn't test the change on the device but is looks sound.
2015-02-13 15:39:18 +01:00
Harald Welte 122a4cd73c [idu]: br0.6:0 address should be _static_, not _manual_ 2015-02-13 15:29:46 +01:00
Holger Hans Peter Freyther 82613a3015 linux-backports: Rename it to linux-backports for clarity
A lot of things can be backported, we are interested in backports
for the linux kernel.
2015-02-13 15:21:08 +01:00
Henning Heinold c017956120 sysmocom-odu: add defconfig for sysmocom-odu and remove kernel modules from the machine config
Related: SYS#850
2015-02-13 15:21:08 +01:00
Henning Heinold 5297f12bc1 backports: add linux-backports driver package
* needed to copy over the oe-core kernel-module classes
  and modify them because there was no other way to use them and
  name the packages kernel-module-backports

Related: SYS#850
2015-02-13 15:21:08 +01:00
Harald Welte 7d5329ed57 bridge-utils: Add missing FILES_${PN} for ifupdown integration 2015-02-13 15:16:41 +01:00
Harald Welte c68f6ef085 [idu] Add /etc/network/interfaces specifid to the IDU 2015-02-13 15:15:24 +01:00
Harald Welte 61c2d2b6d3 bridge-utils: Add ifupdown integration from Debian packages
bridge-utils.sh was modified to use /usr/sbin/brctl rather than
/sbin/brctl, as OE seems to use the former while Debian uses the latter.
2015-02-13 14:56:30 +01:00
Holger Hans Peter Freyther 485d43fcd6 ifupdown: Attempt to package the debian ifupdown application
This way we can manage bridges and vlans without additional
hacks. This package shouldn't clash with busybox so I need
to install all files with a ${BPN} suffix and then use the
update-alternatives to create the symlinks. The last two parts
were not tested/verified yet.
2015-02-13 12:25:02 +01:00
Holger Hans Peter Freyther 9bcf478f7e bridge-utils: Do the broken src != builddir by hand
dora doesn't have this new bbclass yet. so let's do it
by hand.
2015-02-13 11:25:12 +01:00
Harald Welte 195c848d50 idu: BIOS default is 115200bps, so use the console at that speed, too 2015-02-13 10:48:43 +01:00
Holger Hans Peter Freyther 8cff638993 bridge-utils: Import from meta-oe 2015-02-13 10:17:50 +01:00
Holger Hans Peter Freyther d1bca38043 dnsmasq: Initial configuration for sysmocom
This is untested but in the assembled IDU eth2 is the NJB
link and the range/netmask was taken from the ISC DHCPD
configuration file.
2015-02-13 09:48:22 +01:00
Holger Hans Peter Freyther e69ac76dc0 dnsmasq: Begin with a sysmocom-idu specific config 2015-02-13 09:45:50 +01:00
Holger Hans Peter Freyther 6059b2b275 chrpath: Do not override/replace the default chrpath
Ever since the priority of this layer was raised we shadow
some recipes of the default yocto. Now that we don't need
to target edison, remove some of the legacy work.
2015-02-13 02:01:22 +01:00
Holger Hans Peter Freyther a090c556c5 systemd-compat-units: No reason to mask out dnsmasq
dnsmasq installts a dnsmasq.service and it shouldn't be masked
by default!
2015-02-13 01:57:36 +01:00
Henning Heinold d3d30ca98a socat: update to 1.7.3.0
* the license in README has a new checksum, it now clarifies
  to GPLv2
* bump the layer priority otherwise we could not use the latest version,
  because the yocto layers have a higher priority

Related: SYS#732
2015-02-13 00:47:38 +01:00
Holger Hans Peter Freyther 8f8dae9938 edison: Remove edison support from meta-sysmocom-bsp
This means that currently only Yocto Dora and Yocto Master are
being targeted. The amount of maintenance to get it to work on
Edison again is too high and it is better to focus on a systemd
only world. Remove the symlinks for yocto-edison.

A quick look and some notes from henning pointed me to wget
which is in the default layers, the sysmobts-2050 which is now
handle dby sysmobts and some older notes that are unlikely
to be addressed.
2015-02-13 00:45:13 +01:00
Holger Hans Peter Freyther 53c20998d8 task-sysmocom-feed: Add python-pyserial/python-pexpect as well 2015-02-12 16:30:33 +01:00
Holger Hans Peter Freyther 8f7cc4bd9a pythom-pexpect: Import from meta-python 2015-02-12 16:30:16 +01:00
Holger Hans Peter Freyther f5e3916424 python-pyserial: Import from meta-python 2015-02-12 16:27:02 +01:00
Holger Hans Peter Freyther a0f0c46385 tasks-symocom-feed: Make CU available 2015-02-12 16:24:16 +01:00
Holger Hans Peter Freyther 80b3fe86f6 openbsc: Build newer version for extended rf lock commands
Upgrade the SRCREV, bump the PV and require libpcap as the
measurement code includes pcap/pcap.h
2015-02-12 14:21:26 +01:00
Holger Hans Peter Freyther d91abc18f1 libosmo-abis: Use the latest upstream release for libosmo-abis 2015-02-12 14:06:49 +01:00
Holger Hans Peter Freyther 6314605bd4 Revert "linux-sysmocom: Add some crazy checks to debug a race"
Okay "make modules" will lead to the kernel.release file
being re-created. So kernel.bbclass of Yocto master needs
to be fixed.

This reverts commit 3cdbc49cbb.
2015-02-10 19:47:01 +01:00
Holger Hans Peter Freyther c257a57e17 dnsmasq: It might be eaisier to use dnsmasq than the monsters
dnsmasq allows us to replace bind, dhcpd and atftpd with a
very small binary. Let's do that.
2015-02-10 19:45:05 +01:00
Holger Hans Peter Freyther 3cdbc49cbb linux-sysmocom: Add some crazy checks to debug a race
Somehow the do_shared_workdir tries to access a file that
should be created by do_configure but isn't present then.
Add these items to see what happens during the build.
2015-02-10 14:59:23 +01:00
Holger Hans Peter Freyther 53d7c53805 sysmocom-idu: Listen on localhost for NMEA frames
Listen on localhost for NMEA frames. The frames will be received
on a system and then forwarded to a local gpsd.
2015-02-09 14:58:09 +01:00
Holger Hans Peter Freyther cfc0c70237 atftp: Add files needed by the recipe 2015-02-09 07:54:04 +01:00
Holger Hans Peter Freyther b66bf237e9 atftp: Import the version from meta-networking 2015-02-09 07:47:18 +01:00
Holger Hans Peter Freyther 4514ee3671 lightning: Upgrade with store fixes and closer to 2.0.6 2015-02-07 14:48:51 +01:00
Holger Hans Peter Freyther 35c33239eb u-boot: Move the removal of the write protect to the beginning
ubi part will write to the NAND as well so we should lift the
write protect earlier.
2015-02-06 12:36:18 +01:00
Holger Hans Peter Freyther b99d5d2d50 u-boot: Build new version with "nand rem.nwp"
Now reading the command it should probably be add.nwp or
rem.wp but so is life. We can add an alias for add.nwp in a
future version. The boot, recovery and fwup command have been
changed to issue nand rem.nwp before touching the flash.
2015-02-05 20:34:20 +01:00
Holger Hans Peter Freyther d819f59649 ubl: Prepare for revision F support of the system
Update to the latest version of UBL to get revision F
support. This allows us to toggle the GPIO. It has only
been verified on revision F hardware.
2015-02-05 19:13:41 +01:00
Holger Hans Peter Freyther 0efdefba34 sysmocom-idu: Introduce another machine that optimizes for core2
Harald wants to benefit from i686, sse2 and other optimizations.
Create a new machine (that extends the sysmocom-bsc) to build for
core2.
2015-02-05 16:46:45 +01:00
Holger Hans Peter Freyther dbe4d9513a linux-sysmocom: Change defconfig to allow to use backported module
We want to use backported modules this means we need to make
some thing a module for it to work. Take Daniel's .config file,
run make savedefconfig and update our defconfig.

Related: SYS#850
2015-02-04 08:34:56 +01:00
Holger Hans Peter Freyther e0cffc2ab5 lightning: Build the latest head on the way to 2.0.6 2015-01-25 15:21:14 +01:00
Holger Hans Peter Freyther d6b62f1548 Drop our dropbear extension
* The upstream sysvinit file looks good
* We are using systemd service files anyway
* The 2014.63 version doesn't exist and there is no
  point in renaming the file.
2015-01-12 23:04:44 +01:00
Holger Hans Peter Freyther 8595fee2b2 osmo-bts: Fix the normal bts build
The sysmobts-mgr is now linking to libgps. This means we need to
DEPEND on gpsd to have this library available. The tracking build
for both dora and master is broken due this.
2015-01-11 21:32:37 +01:00
Holger Hans Peter Freyther c48a0a0a4d openbsc: Build with HO fixes and dependency
Allow to have two BTS depend on each other. This is currently
needed for the sysmoBTS2050 and clocking.
2015-01-09 21:29:26 +01:00
Holger Hans Peter Freyther cc7705489c libosmocore: Update with CBCH defines needed for osmo-bts 2015-01-06 19:31:40 +01:00
Holger Hans Peter Freyther 418db40fb6 osmo-bts: Build with calibration support on the BTS 2015-01-06 19:24:31 +01:00
Holger Hans Peter Freyther aef7cf8461 openvpn: Force the server to have a server certificate
This addresses the following warning of OpenVPN:

WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2014-12-30 12:25:11 +01:00
Holger Hans Peter Freyther e068851a66 openvpn: Move to OpenVPN v2.3.6 and systemd service files
Systems that had OpenVPN enabled by default will be migrated
(at least that is the aim).
2014-12-30 12:25:11 +01:00
Holger Hans Peter Freyther 5fac86dde4 osmo-bts: Fix it once again 2014-12-30 12:25:11 +01:00
Holger Hans Peter Freyther 70922d86de libosmocore: Disable PC/SC dependency inside libosmocore 2014-12-30 12:20:41 +01:00
Holger Hans Peter Freyther 7f2807877c osmo-bts: Correct the OpenBSC git revision 2014-12-30 12:19:06 +01:00
Holger Hans Peter Freyther c2c4b576ff osmo-bts: Build with CBCH support 2014-12-30 12:12:20 +01:00
Holger Hans Peter Freyther 873ae51925 libosmocore: Bump version for cell broadcast
This is not a new release but the ABI has changed, force a
re-build of all dependend packages.
2014-12-30 12:07:58 +01:00
Holger Hans Peter Freyther 5fd8dab863 osmo-bts: Build a WIP commit for the 31C3 field trial
Allow to set a unit-id from the eeprom. This way we have a
single config that still identifies a unit uniquely to the
NITB.
2014-12-26 16:30:55 +01:00
Holger Hans Peter Freyther 7d7622db40 linux-sysmocom: Support ${S} != ${B} builds of yocto master
Go back to have our own do_configure. The kernel.bbclass would
execute "oldnoconfig" where we simply executed "oldconfig". Keep
on using our old way (for the legacy of it). E.g. with the question
how we ended up having SMP enabled in the BSC build this might
be the answer.
2014-12-26 12:21:48 +01:00
Holger Hans Peter Freyther 17eb891cc1 osmo-bts: Upgrade osmo-bts to latest master
We want to have the sysmobts-mgr that will do temperature
management and protect us from overheating.
2014-12-25 18:20:25 +01:00
Holger Hans Peter Freyther 09899de8b9 osmo-pcu: Update with the TBF changes of Daniel
We really want to test it on the 31C3. Update it.
2014-12-25 18:06:37 +01:00
Holger Hans Peter Freyther 015f7bc6e8 linux-sysmocom: Catch-up with poky master
OE-Core seems to unpack the kernel sources into another
directory now (e.g. to share the sources with builds for
modules). Use the kernel.bbclass kernel_do_configure and
copy the .config to the build directory.

The kernel is now built in a dedicated build directory.
2014-12-25 14:16:52 +01:00
Holger Hans Peter Freyther 8f84c9539d barebox: Add a git revision to the recipe as well
Make sure that the source version changes so new code is being
fetched. This should fix the build breakaage for the ODU build.
2014-12-25 09:51:14 +01:00
Holger Hans Peter Freyther f244a25089 openbsc: Do not enable any of the services by default
We don't want to enable any of these services by default. E.g.
specially with the BSC/NITB selection we want someone else to
take that decision.
2014-12-24 15:24:57 +01:00
Holger Hans Peter Freyther 5c2c0db842 sdk: Put gpsd-dev into the sdk as well
This will pull ncurses and python into the SDK as well but for
the sysmobts-mgr we need to use libgps and don't have much of
an option.
2014-12-22 15:19:06 +01:00
Holger Hans Peter Freyther 1e2ecae72c linux-sysmocom: Force building a new kernel after the last commit
After the defconfig was changed we should build a new kernel. Bump
the PR to force a build.
2014-12-22 15:14:18 +01:00
Holger Hans Peter Freyther 70f7b22580 lightning: Build a newer version with ARMv5t fixes 2014-12-22 15:11:13 +01:00
Harald Welte c19888095e ODU: remove RTC driver for AM335x internal RTC
We actually only use the PMIC (TPS65910) RTC in the hardware,
and not the AM335x RTC.  Having a driver for a hardware that doesn't
receive actual backup voltage doesn't make sense.
2014-12-20 21:30:24 +01:00
Harald Welte 6bd60417a1 update gpsdate to version permitting non-standard gpsd ports 2014-12-20 16:13:41 +01:00
Harald Welte 121196bbd4 ODU: add new odu-gpiotool script
The odu-gpiotool is a small script created by roh to selectively reset
individual peripherals of the system by the administrator. It originates
from ticket https://projects.sysmocom.de/ortelius/issues/655
2014-12-19 18:09:39 +01:00
Harald Welte 45ed0caa79 update to recent sob-odu kernel, including v3 hardware support 2014-12-18 23:55:37 +01:00
Harald Welte 53f89ad74d usb2514: skip gpio script on kernels that export GPIOs themselves 2014-12-18 23:29:06 +01:00
Harald Welte eefee096cd usb2514: Support for board v3+
We use the new sysfs file to obtain the board version number and
configure the port swapping accordingly.  If the board_version sysfs
attribute is not present, we default to v2.

We also integrate resetting the hub chip from within this tool right
befeore writing the new register values via I2C.
2014-12-18 23:22:57 +01:00
Henning Heinold 5c189003c5 openvpn: clean update from sysv-rc to systemd for the startup files
[hfreyther: We assume that the user might install OpenVPN with
a different priority but that it will always be available in the
runlevel two (e.g. even if the user changed the default runlevel)]

Related: SYS#517
2014-12-16 17:23:36 +01:00
Henning Heinold 078c48f8f1 openvpn: update 2.3.4 to 2.3.6
Fixes: SYS#836
2014-12-16 09:26:03 +01:00
Henning Heinold 1ed9350964 sysmocom-udhcpd-config: start the udhcpd on the sysmocom-bsc only when eth1 is present
* the change affects the config file, so the package number
  is bumped

Related: SYS#735
2014-12-12 18:49:38 +01:00
Henning Heinold 036d66a47c odu-static-devicenames: rename static-devicenames-odu to odu-static-devicenames
[hfreyther: I asked to follow machine-name pattern]

Related: SYS#732
2014-12-12 17:10:13 +01:00
Holger Hans Peter Freyther 1c59f2af08 dbus: Catch up with master changes of Poky tonight 2014-12-04 19:46:38 +01:00
Holger Hans Peter Freyther 74c9120eeb master/dizzy: Catch up with upstream renames
Latest upstream has moved to newer version of netbase and opkg.
Catch up with these renames.
2014-11-26 21:00:24 +01:00
Holger Hans Peter Freyther 52f8db743c sysmobts: Simplify and work with all versions of 1.5
Similiae to the layer code we simplify the machine include to work
for all versions of a 1.5 release. Poky 1.5.4 has been released and
we don't want to continue to play this game.
2014-11-26 20:57:58 +01:00
Holger Hans Peter Freyther d43fa5e76f openvpn: I have no idea who creates the /run/openvpn directory
I have no idea who creates the /run/openvpn directory on Debian.
The path is not in a tmpfiles.d and I don't see the generator
creating it or the service file indicating that it needs to be
created. Place the file with openvpn.NAME.status into the /run
directory which appears to work on the device.
2014-11-22 21:50:24 +01:00
Holger Hans Peter Freyther 37deb6091c libspatialite: Upgrade to version 4.2.0
Package the new sqlite3 plugin into a new package and skip
the dev-so qa issue. Add some extra depends that are now used
by the library.
2014-11-22 15:13:04 +01:00
Holger Hans Peter Freyther 188f5fc60c Import from meta-oe to have a spatial enabled sqlite 2014-11-22 13:54:17 +01:00
Holger Hans Peter Freyther f7004f3315 openvpn: Always restart the OpenVPN service
We want the OpenVPN service to be always restarted. I am not sure
how "forking" and restart will work together but we will need to
give it a try.
2014-11-22 00:05:29 +01:00
Holger Hans Peter Freyther 6909960948 openvpn: Use the debian generator and service files for OpenVPN
We want to use systemd for managing the lifetime of OpenVPN. Take
the debian generator (which should work with busybox ash) and the
openvpn.service (to inhibit the sysvinit script) and the target
file and install it.

On systems that have ran "update-rc.d openvpn defaults" one need
to manually execute a systemctl enable openvpn.service. This is
not done through a post-inst script and I am not sure if we should
do it. This means there is a danger of ending with a unit that
doesn't start OpenVPN automatically after upgrade!

The scripts/packages have not been tested on a device yet.
2014-11-22 00:02:03 +01:00
Holger Hans Peter Freyther 812eceaea3 openvpn: Add OpenVPN 2.3.4 recipe from upstream OpenEmbedded
We should use a more recent version of the OpenVPN client. Import
it from the meta-networking layer like we did before. The sysvinit
script has just minor whitespace differences and wasn't imported.

We need to test opkg upgrades of OpenVPN through the VPN. We don't
want to kill the tunnel on such upgrade.
2014-11-21 23:42:42 +01:00
Holger Hans Peter Freyther 626c0f3256 lightning: Upgrade with LDR* fixes on ARMv5te or later ISAs
The code mixed the source/dest registers and violated the
ISA of needing an even register as the start. Some other
fixes as well.
2014-11-21 16:59:18 +01:00
Holger Hans Peter Freyther d5e3023c8f smalltalk: Fix the library name, it is sqlite3
Fixes:
ERROR: Nothing PROVIDES 'libsqlite3' (but /home/builder/jenkins/workspace/Yocto-Dora/label/OE/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk_3.2.91.1.bb DEPENDS on or otherwise requires it). Close matches:
  sqlite3
2014-11-20 23:30:21 +01:00
Holger Hans Peter Freyther 2c75d4a418 openbsc: Fix the non-confirming SDP file
There must be a session name inside the SDP file, build a newer
version of OpenBSC to fix that.
2014-11-20 23:20:44 +01:00
Holger Hans Peter Freyther dbb3fa65cd barebox-sysmocom: Upgrade to send LLDP frame during boot
One might need to erase the environment but with a default
environment barebox will now send a LLDP during boot up. This
way we can see if a device is on a local link or not.

Fixes: SYS#488
2014-11-20 21:51:33 +01:00
Holger Hans Peter Freyther e7ed2b458e barebox-sysmocom: Update with password propmpt
Change the name of the config, bump the SRCREV. The new default
password is "odu-stop".

Fixes: SYS#487
2014-11-20 20:04:32 +01:00
Henning Heinold 7ff5c445d1 apu: add networking support the new apu
* split out rtl-nic firmware from the big
  linux-firmware package

[hfreyther: For whatever reasons the NIC works without
additional firmware as well. I couldn't see in the driver
source when that is the case and which features are missing]
2014-11-20 17:47:26 +01:00
Henning Heinold 164cd1af2b static-devicenames-odu: add stable device names for the gsm-modems on the odu
Fixes: SYS#732

[hfreyther: I removed the MACHINE_ESSENTIAL_EXTRA_RDEPENDS as applications
that use the symlinks should rdepend on the package]
[hfreyther: Changed mismatch of tabs/spaces]
2014-11-20 17:45:34 +01:00
Holger Hans Peter Freyther 29294fa7d1 linux-sysmocom: Build the watchdog into the kernel
We want to enable the watchdog in the bootloader already and
for this to be failsafe we need to have a kernel that can boot
and get ethernet without any additional modules. Now systemd
would not be able to trigger the watchdog and the system would
reboot within 60 seconds. I am not sure how the kernel upgrade
will go and we need to try this.

Related: SYS#374
2014-11-20 17:43:24 +01:00
Holger Hans Peter Freyther 60ade1ce56 openbsc: Upgrade for AudioCodes workaround
Mostly SGSN fixes, one OML correctness fix. The reason for the
upgrade is the audio codes work around we added.
2014-11-19 16:24:23 +01:00
Holger Hans Peter Freyther 73bf175225 lightning: Build without binutils dependency
GNU lightning can link to binutils to benefit from the built-in
disassembler. We do not want this dependency right now and just
disable it.
2014-11-19 16:20:21 +01:00
Holger Hans Peter Freyther 3f165fa232 lightning: Allow it to be built for the native system 2014-11-19 10:28:01 +01:00
Holger Hans Peter Freyther a0d473e869 smalltalk: We are using sqlite3, depend on it 2014-11-19 10:27:36 +01:00
Holger Hans Peter Freyther dff7d234e3 linux: Enable FHANDLE needed for newer udev
Without fhandle the getty for ttyS0 will not work.

http://lists.freedesktop.org/archives/systemd-devel/2014-February/016927.html
2014-11-18 15:26:46 +01:00
Holger Hans Peter Freyther e1298b0b9d wireless-tools: Attempt to fix memory leak
We would leak all the results for all the scans. At some point in
time the kernel OOM would kick-in and kill the process. Enable
building with -ggdb3 for debug symbols and remmeber the old list
head so we can free it.

==32240== 756 bytes in 3 blocks are definitely lost in loss record 7 of 8
==32240==    at 0x40291CC: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==32240==    by 0x804BCF5: iw_process_scanning_token (iwlib.c:3059)
==32240==    by 0x804BCF5: iw_process_scan (iwlib.c:3255)
==32240==    by 0x804BEAF: iw_scan (iwlib.c:3310)
==32240==    by 0x8048FD8: scan_wifi (wifi2udp.c:72)
==32240==    by 0x8048DB2: main (wifi2udp.c:143)
2014-11-18 09:37:53 +01:00
Holger Hans Peter Freyther 43d3a03b72 packagegroup: Catch up and rename the bbappend as well 2014-11-14 14:39:33 +01:00
Holger Hans Peter Freyther ffdbc76ae8 misc: Start using "packagegroup-osmocom"
The notion of "task" has been deprecated for a long time because
the word is used for different things. The new word is "packagegroup"
which describes the usage of "task-*" in a more obvious way. Dora
and master builds can fully use packagegroup-* for everything and
for edison we would need to spend some time to add a provides for
packagegroup-* to the task- group. I don't intend to work on the
edison part right now.
2014-11-14 14:16:31 +01:00
Holger Hans Peter Freyther bef17822a7 misc: Modernize and call it packagegroup-
The notion of task- has been deprecated a long time ago. Call
it packagegroup now and for "packagegroup-osmocom" provide the
compability. This has not been compile tested.

The edison build will require a bbappend to provide packagegroup
now but I will do this once I need to build for Edison again.
2014-11-14 14:14:14 +01:00
Holger Hans Peter Freyther e7e42a79ae u-boot: Catch up with upstream version bump and rename
Not build tested yet.
2014-11-14 13:58:10 +01:00
Henning Heinold 682ec7043f gpsd: RSUGGESTS the gpsd-udev
* switching gpsd-udev to RSUGGESTS on udev, makes
  it possible to not install gpsd-udev by default

* increase minor PR

FIXES: SYS#756
2014-11-11 21:53:40 +01:00
Holger Hans Peter Freyther 98c407d28c linux-sysmocom: Another speculative compile/fetch fix for dizzy
Not specifying a branch leads to "master" being fetched. This
means we now need to specify the rightbranch. Do that depending
on what we build.
2014-11-10 09:58:03 +01:00
Holger Hans Peter Freyther cf35573837 linux-sysmocom: Remove the branch name as it breaks on dizzy
IIRC the branch name is not used in edison and it breaks in
dizzy as the commit is noth within the branch.
2014-11-10 08:50:11 +01:00
Holger Hans Peter Freyther e38684d612 watchdog: Catch up with upstream changes 2014-11-09 15:19:31 +01:00
Holger Hans Peter Freyther 338900b630 sysmobts: Reduce the number of images we build
We need a jffs2/ubi depending on the age of the hardware and
maybe a tar.bz2 so we can easily inspect an image without
playing with mtdram. We almost never need a ubifs and certainly
not a cpio.
2014-11-09 14:35:57 +01:00
Holger Hans Peter Freyther d75837883d busybox: Only apply the patch on busybox 1.21
The ifplugd patch was backported and doesn't need to be applied
on later versions.
2014-11-09 14:02:56 +01:00
Holger Hans Peter Freyther 380d53ece8 systemd: DISTRO_FEATURES_INITMAN is gone in master
The DISTRO_FEATURES_INITMAN variable has been removed, use
VIRTUAL-RUNTIME_init_manager which is still present. We have
already defined the later in our poky builds
2014-11-09 14:02:09 +01:00
Holger Hans Peter Freyther c5a267a946 systemd: Make it work for dora and master
systemd-compat-units does not install any files anymore and
the machineid and other scripts are gone. We want to continue
to install the alignment file though.

This has not been tested on dora systemd yet.
2014-11-09 14:00:05 +01:00
Holger Hans Peter Freyther 050a39766e sbts2050-util: Add checksum in case it is fetched through http 2014-11-09 02:34:51 +01:00
Holger Hans Peter Freyther 2e2d464894 tcpdump: Speculative fix for dora
In dora there is no autotools-brokensep bbclass. So let's just
set the build directory to the source directory ourselves. I have
not built the package for dora though/
2014-11-08 19:55:22 +01:00
Holger Hans Peter Freyther 0755723dd8 sysmobts-firmware: When fetching using http include needed checksum
When using HTTP to fetch the firmware we need to have a checksum
in our recipe. Add it.
2014-11-08 19:53:58 +01:00
Holger Hans Peter Freyther 240b08dde9 tcpdump: Upgrade to version 4.6.1 to fix cross-builds
Poky dizzy is more strict with -I/usr/include and the old
tcpdump could pick-up "/usr/bin/pcap-config" from the host
and fail. Just upgrade to a newer version of tcpdump and be
done with it.
2014-11-08 14:44:45 +01:00
Holger Hans Peter Freyther da06a847b5 misc: poky/LICENSE has changed.. reference a hopefully more stable file
Only reference the COPYING.MIT as it is unlikely to change in
the next upgrade.
2014-11-08 14:44:34 +01:00
Holger Hans Peter Freyther 3e709b24b6 interfaces: Remove eth1 configuration from the file
While the phytec devboard has multiple external ethernet interfaces
the odu has only one to the outside. Remove it from the config.

Fixes: ORT#653
2014-11-08 14:23:34 +01:00
Henning Heinold 4fb99f81c4 sysmocom-udhcpd-config: fix network mask
* the entry "option	subnet" takes the
  subnet mask not the subnet address,
  while the busybox dhcp-client was
  fine with it, the isc-dhcp-client complained with
  Error: an inet prefix is expected rather than "10.23.24.113/10.23.24.0".
2014-11-04 23:51:13 +01:00
Henning Heinold 8800a441a1 sysmocom-udhcpd-config: add systemd startup file
Fixes: SYS#735
2014-11-04 23:50:25 +01:00
Holger Hans Peter Freyther 00578db05d ubl: Make sure we pass in the real compiler
Starting with gcc-4.9.1 we will need to pass the --sysroot
variable as otherwise the "stdint.h" of glibc will not be
found.
2014-11-04 23:49:41 +01:00
Holger Hans Peter Freyther 07c37e9902 ortp: Fix DEPENDS based on QA issue
WARNING: QA Issue: ortp rdepends on libcrypto, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: ortp rdepends on libssl, but it isn't a build dependency? [build-deps]
2014-11-03 08:03:13 +01:00
Holger Hans Peter Freyther 96977638a1 lightning: Add GNU lightning 2.0.x needed for GNU Smalltalk
GNU lightning is a macro-assembler/jit that is used by GNU
Smalltalk. It supports x86 and ARM backends.
2014-11-02 12:46:14 +01:00
Holger Hans Peter Freyther c665acff46 lcr: inherit pkgconfig to have autoreconf have PKG_CHECK_MODULES
lcr/1.14+gitrAUTOINC+38fce218f8-r4/git/configure: line 16440: `PKG_CHECK_MODULES(OPENCORE_AMRNB, opencore-amrnb >= 0.1.0, , found_opencore_amrnb=no)'
2014-11-02 11:58:22 +01:00
Holger Hans Peter Freyther b2daa5e888 asterisk: Drop the very old version from meta-telephony
We used asterisk to be able to speak SIP with the outside. LCR
has gained this capability in the past and we haven't used asterisk
in more than two years.

Asterisk doesn't seem to compile with master/dizzy and there is
little point in figuring out why.
2014-11-02 11:04:21 +01:00
Holger Hans Peter Freyther 563dd4e6e3 misc: poky/LICENSE has changed.. reference a hopefully more stable file
Only reference the COPYING.MIT as it is unlikely to change in
the next upgrade.
2014-11-02 09:53:32 +01:00
Holger Hans Peter Freyther 8d200f2fc3 misc: poky/LICENSE has changed.. reference a hopefully more stable file
Only reference the COPYING.MIT as it is unlikely to change in
the next upgrade.
2014-11-02 09:47:12 +01:00
Holger Hans Peter Freyther e292b90761 openbsc: Upgrade with SGSN, GBproxy and BSC ping/pong changes
Related: SYS#713
2014-10-29 10:21:39 +01:00
Henning 074b580797 busybox: make it possible to have permanent logfiles
* bump the PRINC

[holger: Depending on some global settings /var/log will be a
symlink to "volatile". But when we log to a file we want it to
be persistent. So make sure /var/log is not pointing to volatile
but a real directory]
2014-10-28 15:28:51 +01:00
Henning Heinold db14ffd17b i2c-tools: add the i2c-tools
* use the recipe from oe-core master
* add it to task-sysmocom-feed

Fixes: SYS#692
2014-10-28 15:23:03 +01:00
Daniel Willmann 39cbb4ee51 meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers 2014-10-26 20:21:33 +01:00
Holger Hans Peter Freyther 0fe0571683 misc-images: Remove images we are rarely/not using
The concept of directdisk image is overhauled as we are now
having a initramfs that can flash the next image through USB.
The dedicated E1/IP images are rarely to never used and did
probably bit-rot. For the next time we provide such a system
we can simply (write a script to) install the additional feed.
2014-10-24 20:16:44 +02:00
Harald Welte 0f9508c924 linux for ODU: Enable second I2C bus on UEXT connector
.. which is needed for the light sensor daughterboard.
2014-10-24 15:05:06 +02:00
Harald Welte 286c8a1166 busybox: Make sure we keep re-trying to obtain a lease
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS was set to '-n' which means
"Exit with failure if lease cannot be immediately negotiated."

What we'd rather want is for udhcpc to continue to run until a lease can
finally obtain.  Otherwise we have a race condition in case the DHCP
server is not reachable for a few seconds during system boot, and end up
having a system that is permanently without an IP address.

This fixes ORT#639
2014-10-17 19:58:53 +02:00
Holger Hans Peter Freyther 39a927390d linux-sysmocom: Enable netfilter and advanced routing for the odu
Allow to use netfilter on the ODU.
2014-10-14 11:44:47 +02:00
Holger Hans Peter Freyther be040d7322 linux-sysmocom: Fix the building of the kernel (or hope I do) 2014-10-07 21:30:22 +02:00
Holger Hans Peter Freyther 35ec4c11d9 task-sysmocom-feed: Provide a real "ip" as well 2014-10-07 21:21:10 +02:00
Holger Hans Peter Freyther c9da6c1e1a linux-sysmocom: Fix pinmux on the ODU kernel 2014-10-07 21:18:38 +02:00
Holger Hans Peter Freyther b28405e6a0 libosmo-abis: Revert parts of the multi-TRX support in libosmo-abis
The line doesn't have the signalling type set yet. It will be set
_after_ the rsl connection is considered up. This is addressing
RSL Connection failures like:

<0001> oml.c:1026 Rx IPA RSL CONNECT IP=1.2.3.4 PORT=3003 STREAM=0x00
<000f> input/ipaccess.c:921 cannot create RSL BTS link: trx_nr (0) does not refer to a signalling link
<0001> oml.c:1030 Error in abis_open(RSL): -22
<0001> oml.c:341 Sending FOM NACK with cause Message cannot be performed.
2014-10-07 17:04:21 +02:00
Henning Heinold 5e186d3d1f meta-toolchain-osmo: create symlink similar to images 2014-10-07 17:03:38 +02:00
Holger Hans Peter Freyther c9952b5155 task-sysmocom-feed: Provide cronie as a cron implementation 2014-10-07 16:59:48 +02:00
Holger Hans Peter Freyther f0be486171 systemd: Make sure we install our custom copy of system.conf
We had a system.conf for the ODU but it was never installed. Fix
it by adding the file to SRC_URI.

Fixes: ORT#612
2014-09-26 11:28:48 +02:00
Holger Hans Peter Freyther c44d0265ee osmo-bts/osmo-pcu: Use autotools and pkgconfig to fix the build
Without inheriting pkgconfig the PKG_CHECK_MODULES macro can not
be expanded in dizzy. Fix it. While being there use "autotools"
for the pcu and not autotools_stage.
2014-09-26 11:24:49 +02:00
Holger Hans Peter Freyther 40c70870b7 osmo-bts/osmo-pcu: Specify the right branch for dizzy
With a wrong branch name the commit can not be found. Fix it.
2014-09-26 11:24:16 +02:00
Holger Hans Peter Freyther f028093d92 sysmobts-2050: These files were never used with edison, remove 2050
We have changed the strategy to support multiple BTS with a single
build but don't remove support from files that are used with Edison.
Linux 3.10 and systemd were not used with edison though. So we can
remove it. As the sysmobts-2050 extended the sysmobts-v2 build most
of the -sysmobts-2050 changes are not needed anyway.
2014-09-25 20:59:19 +02:00
Holger Hans Peter Freyther e00e9ba06c osmo-st-sip: This requires digest for authentication handling 2014-09-25 20:44:04 +02:00
Holger Hans Peter Freyther 59f7705056 smalltalk: Make it compile with srcdir!=builddir
Don't use S but use the build directory to patch the generated
makefile.
2014-09-25 20:38:49 +02:00
Holger Hans Peter Freyther 65238f8530 Osmocom: Upgrade to latest master versions of the software
Build a new ABI release, build the latest libosmo-abis and
libosmo-netif versions and upgrade to OpenBSC master
2014-09-25 20:31:44 +02:00
Holger Hans Peter Freyther 1cafeaaa86 libsmpp34: Fix build with srcdir!=builddir for dizzy
Fix the build by using a newer version and change the PR to be
a proper version number. I havent' checked if upgrading is possible
but is not a big concern right now.
2014-09-25 20:31:44 +02:00
Holger Hans Peter Freyther 3884c62b79 openbsc: We are using pkg-config and need to inherit the bbclass
Without this the configure step will fail on dizzy.
2014-09-25 20:31:44 +02:00
Holger Hans Peter Freyther 592c8ab374 bcg729: Inherit pkgconfig to have PKG_CHECK_MODULES expand
Make sure pkgconfig-native is staged as otherwise autoconf can not
replace the PKG_CHECK_MODULES variable.
2014-09-25 20:00:50 +02:00
Holger Hans Peter Freyther 8e6355d9df packagegroup-core-boot: Continue to provide the old name
We are not ready for the task -> packagegroup rename and provide
the old.
2014-09-25 18:02:31 +02:00
Holger Hans Peter Freyther 79f4f896ae Merge remote-tracking branch 'origin/hheinold/image_improvements' 2014-09-25 17:47:26 +02:00
Henning Heinold d6aabdf6b9 recipes-images: add fragement to install sshkeys
Fixes: partly SYS#518
2014-09-25 17:43:58 +02:00
Henning Heinold 7aba3280c5 recipes: add functions for generating a rootpasswd
The rootpassword can be set via the
enviroment variable ROOT_PASS either in
the local.conf or on the cmdline
before bitbake.

Fixes: partly SYS#518
2014-09-25 17:43:57 +02:00
Holger Hans Peter Freyther 0172c5958a linux-sysmocom: Use the KERNEL_MODULE_PROBECONF on dizzy
This variable doesn't exist on dora and will not break things.

Fixes:
ERROR: Please ensure module rtfifo is listed in KERNEL_MODULE_PROBECONF since module_conf_rtfifo is set
2014-09-25 16:34:42 +02:00
Holger Hans Peter Freyther a04f801241 linux: Select the 3.10 kernel for dizzy as well
We need to provide the right name of the branch as otherwise we
are not able to find the object in the clone.
2014-09-25 16:16:51 +02:00
Holger Hans Peter Freyther 906bdccd4f watchdog: Fix the FILESEXTRAPATHS_prepend
We need to end our string with a ':' to not interfere with other
recipes adding things.
2014-09-25 16:15:53 +02:00
Holger Hans Peter Freyther 20b1decdd2 dizzy: Begin with the Poky/Yocto 1.7 release
We are currently using 1.5 (dora). Copy the bbappends to the
yocto-dizzy directory and update the version numbers. For busybox
enable all features that were enabled between dora and origin/master.

For opkg_svn.bbapend. In dizzy there is a version attached to it.
This means we need to remove it from the yocto-shared directory
and keep it everywhere else.
2014-09-24 18:26:10 +02:00
Holger Hans Peter Freyther 12a661314b update-rc.d: Use _prepend to add to the extras
WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
type of assignment, and don't forget the colon.
Please assign it with the format of:
  FILESEXTRAPATHS_append := ":${THISDIR}/Your_Files_Path" or
  FILESEXTRAPATHS_prepend := "${THISDIR}/Your_Files_Path:"
in your bbappend file
2014-09-24 18:24:09 +02:00
Holger Hans Peter Freyther 84edb39d87 lcr: Fix the packaging on dora
The asterisk package should not include debug symbols
2014-09-24 17:25:56 +02:00
Holger Hans Peter Freyther 4539293919 lcr: Remove directory as it ends in /run when being packaged
ERROR: QA Issue: asterisk: Files/directories were installed but not shipped
  /run
  /run/asterisk
2014-09-24 16:22:05 +02:00
Holger Hans Peter Freyther 2045245f3a sysmocom-backup: Allow to back-up more files than the initial config
Creating a new file in /etc/sysmocom/backup.d/ that ends with .backup
will be read during the backup and then be restored. This way we can
easily extend the files to backup.
2014-09-24 15:52:02 +02:00
Holger Hans Peter Freyther c2f0b660ef libosmo-abis/libosmocore/libosmo-sccp: Kill old releases
These are ancient versions and I don't think anybody is using
them anymore. In general we are building the latest version from
git.
2014-09-24 15:34:38 +02:00
Holger Hans Peter Freyther 76bc1af6c6 sofia-sip: Add missing checksums needed for dora and later 2014-09-24 15:33:25 +02:00
Holger Hans Peter Freyther ddc43d20a7 tasks-sysmocom-feed: Provide lcr in our package feed as well 2014-09-24 15:22:43 +02:00
Holger Hans Peter Freyther 4cf7207051 gpsd: Bump the PR after the latest config change for sysmobts-v2 2014-09-24 15:07:15 +02:00
Holger Hans Peter Freyther 8d296754e7 linux-sysmocom: Upgrade ODU kernel to 3.2.63
This has only been boot tested on the Phytec development board
and not our final system. It has not been tested with USB support
2014-09-24 12:27:44 +02:00
Holger Hans Peter Freyther 528f1fcce3 wifi2udp: Correct the VPN address 2014-09-08 20:26:15 +02:00
Holger Hans Peter Freyther 731393b051 wifi2udp: Increase the pr after changing the patch 2014-09-08 20:07:50 +02:00
Holger Hans Peter Freyther f1296005b2 wifi2udp: Bring the device up before starting the application 2014-09-08 20:05:53 +02:00
Holger Hans Peter Freyther 68e95f14b9 wifi2udp: Update the format of the output 2014-09-08 18:57:08 +02:00
Holger Hans Peter Freyther b84b8a9947 sysmocom-odu: Pull these in through a task as it depends on model 2014-09-08 18:51:03 +02:00
Holger Hans Peter Freyther bc0c670ee3 wireless-tools: Don't break the edison build and only do it on dora 2014-09-08 18:50:57 +02:00
Daniel Willmann 1d29e4db37 wifi2udp: Initial version and as part of a patch to wireless-tools
This is using UDP similiar to gps2udp. Holger has pushed for a
simple solution like this to be replaced by a proper application
that will use AMQP.

Fixes: ORT#586
2014-09-08 18:37:17 +02:00
Daniel Willmann 930665f4b1 meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers 2014-09-08 18:33:01 +02:00
Holger Hans Peter Freyther 2a01e305ca Merge branch 'hheinold/initramfs_features' 2014-09-02 20:25:18 +02:00
Henning Heinold 7a09426da5 initramfs: restore configuration if available
The error case of the backup not properly restoring has not
been tested.

Fixes: SYS#525
2014-09-02 20:24:16 +02:00
Henning Heinold a3a743ecb2 initramfs: set baudrate for grub from cmdline
* take the baudrate for the grub serial console setting
  from the kernel-cmdline which the system was booted from

* better parsing of the options which the install-script
  gets from init

* Video Mode, VGA mode are not used right now and make it
  empty right now.
2014-09-02 20:23:05 +02:00
Holger Hans Peter Freyther 28628cba81 sbts2050-util: Allow to install it on sysmoBTSv2 as well 2014-09-02 18:30:20 +02:00
Holger Hans Peter Freyther 2e1f051a69 Merge branch 'hheinold/initramfs_fixes' 2014-08-28 23:13:38 +02:00
Henning Heinold 7b51764cfa initramfs: grub.cfg with rootfs set to readonly
Fixes: SYS#528
2014-08-28 23:13:34 +02:00
Henning Heinold 0cef8c4fc3 initramfs: install and run e2fsck -f before resize2fs
Fixes: SYS#522
2014-08-28 23:13:34 +02:00
Henning Heinold 1b5a3eb3af initramfs: mount external partitions readonly
Fixes: SYS#521
2014-08-28 23:13:34 +02:00
Henning Heinold 497be38b34 sysmocom-backup: use transform option on restore
* when restoring links e.g. for systemd files
  the links will be created with content// prefix

* use transform instead of strip to remove
  the "content/" prefix

* bump PR
2014-08-28 23:01:32 +02:00
Holger Hans Peter Freyther b39db0cdf7 sysmobts-config: Execute sync to be sure ubifs was in sync 2014-08-28 17:57:02 +02:00
Holger Hans Peter Freyther 4d631d5d71 sysmobts-2050: Add a deprecation notice for the sysmobts-2050 2014-08-28 17:53:10 +02:00
Holger Hans Peter Freyther 313388cac2 task-sysmocom-bts: Include the sysmobts-config application
This way we should be able to use a single image on all devices

Fixes: SYS#559
2014-08-28 17:50:40 +02:00
Holger Hans Peter Freyther fbf5089510 sysmobts-config: Add script with postinst hook
Add post install script that will mangle the config to be the
right one for the given machine. This will be executed once
after the post installation. In case of the getty change the
system must re-start once to be fully usable. E.g. for the
sysmoBTS2050 the PA might not be powered up on first boot.
2014-08-28 17:50:02 +02:00
Holger Hans Peter Freyther ec3635eed8 watchdog: Remove sysmobts-2050 configuration file
The sysmobts-2050 machine does inherit from the generic bts so
we do not need an exact copy of the configuration file.

The watchdog is not used in dora or later images as this functionality
is integrated into the systemd.

Related: SYS#559
2014-08-28 16:56:16 +02:00
Holger Hans Peter Freyther 34fc7b631b tasks-sysmocom-bts: Install packages for the sysmoBTS as well
We want to have a single image that will do the right thing on
the various BTS models we have. This means we will install the
sbts2050 utilitiy (it clashes with sysmobts-mgr anyway) and the
gpsd with a default config for it.

The sysmobts-v2 config file was for a specific usecase and is
obsolete for all intents and purposes. Make it the default

Related: SYS#559
2014-08-28 16:53:24 +02:00
Holger Hans Peter Freyther eda2017371 task-sysmocom-feed: Require iperf as well. We use it for PCU testing 2014-08-25 18:29:42 +02:00
Holger Hans Peter Freyther 40927204e9 osmo-bts: Fix the VTY generation and output power handling
Fix the VTY generation and output power handling for 1100 und
1020 devices have been added.
2014-08-25 16:17:00 +02:00
Holger Hans Peter Freyther fa6475f559 openbsc: The patch is not needed anymore, remove it 2014-08-25 08:44:00 +02:00
Holger Hans Peter Freyther d9a5b19a0a libosmocore/libosmo-abis/openbsc: Move control interface around
The control interface has been moved to libosmocore and a new
library has been created for it. The ipaccess code has moved
from libosmo-abis to libosmocore and new defines for the VTY
and CTRL ports are now available inside libosmocore
2014-08-25 08:38:32 +02:00
Holger Hans Peter Freyther e512a0a363 osmo-bts: Package the sysmobts-mgr.cfg again
The sysmobts-mgr regained VTY support and now has a configuration
file again. Install it and declare it as a conffile
2014-08-25 08:25:04 +02:00
Holger Hans Peter Freyther b4d90d2582 osmo-bts: Upgrade with control command and improved pwr mgmt
This version includes the CTRL interface for clock-calibration
and improved/generic power management.
2014-08-25 08:11:59 +02:00
Holger Hans Peter Freyther 02b15f6048 gpsd: Add custom format for sending data using -l and -m options 2014-08-22 10:08:33 +02:00
Holger Hans Peter Freyther 1e73b53323 openggsn: Build the version with the .service file fix 2014-08-21 16:40:19 +02:00
Holger Hans Peter Freyther bf2a3bdb18 osmo-bts: Install the sysmobts-mgr.service and link it
Just because the the VTY/alarm handling was broken, we still want
to run the sysmobts-mgr.service to gain a response for ipaccess-find.
2014-08-21 15:24:19 +02:00
Holger Hans Peter Freyther 1e059eb7d8 openggsn: Build newer version with updated ggsn service file 2014-08-21 13:29:06 +02:00
Holger Hans Peter Freyther 831475bbfb openbsc: Fix the systemd files to allow easy "systemctl enable" 2014-08-21 13:23:09 +02:00
Holger Hans Peter Freyther c78433d945 systemd-compat-units: Add alignment service and replicate others
We need to replicate the other services that were included with
*.service. Install an additional alignment.service that is required
for ARM. The actual service file is from Daniel and copied from
the postinst and sysmobts service.
2014-08-20 23:36:45 +02:00
Holger Hans Peter Freyther afd38eb11a task-sysmocom-feed: Add openvpn to the list of packages we want 2014-08-14 11:01:38 +02:00
Holger Hans Peter Freyther 0b3bb71871 classes: Allow to specify another package file 2014-08-09 23:47:15 +02:00
Holger Hans Peter Freyther bd7a882db8 osmocom: A round of upgrades of Osmocom components 2014-08-09 07:46:57 +02:00
Holger Hans Peter Freyther 5cc6103cc3 sysmocom-bsc: Further simplify the selection of the kernel
Only on Edison we are stuck with the 'linux' kernel. In Dora and
later we will simply use the linux-sysmocom kernel.
2014-07-31 16:48:00 +02:00
Holger Hans Peter Freyther a425d28ed7 misc: Simplify selection based on targeted distro
I wish I could have made it more simple but at least only compare
the 1.X of the poky version as minor versions generally do not
upgrade the core components
2014-07-31 15:48:09 +02:00
Holger Hans Peter Freyther 808842860d osmo-bts: Update with direct RTP and power ramp up support 2014-07-31 14:47:40 +02:00
Holger Hans Peter Freyther 2b28110051 sysmobts-firmware: Remove the circular constraints as opkg can't handle them
Having:

 osmo-bts requires sysmobts-firmware > 3.11
 sysmobts-firmware requires osmo-bts > 0.4.2

is something opkg can't resolve in one go. One needs two calls to
the opkg command to end up with a fully upgraded version. Make sure
that we require/pull newer firmware when installing a new version
of osmo-bts.
2014-07-31 14:46:03 +02:00
Holger Hans Peter Freyther 4c23137c2f sysmobts: Use 3.10.50 as default kernel 2014-07-31 12:12:40 +02:00
Holger Hans Peter Freyther ab0b6f4248 linux-sysmocom: Rebase to linux 3.10.50
The kernel has been boot tested to mounting the rootfs and nothing
more has been done.
2014-07-30 15:18:33 +02:00
Holger Hans Peter Freyther f85927359a sysmobts: Target firmware version 3.11
* Add sysmobts-firmware 3.11. The firmware will work with the
  previous osmo-bts software and this one (as we don't use the
  new primitives)
* Build newer version of osmo-bts with support for online
  calibration and CMR fixes.
2014-07-30 12:47:48 +02:00
Holger Hans Peter Freyther 2fb98567ea task-sysmocom-bts: Include gpsd/gps-utils in the image
For the slave BTS the GPS receiver will not work with the GPSD
but we can install it anyway as nothing bad will happen.

Fixes: SYS#131
2014-07-25 20:03:39 +02:00
Holger Hans Peter Freyther 1872d0a488 gpsd: Add a default for the sysmobts 2050 device
There is a trimble GPS on this device
2014-07-25 11:21:16 +02:00
Henning Heinold 35ede1bbb3 systemd: backport the fsck.repair options
* bump the PRINC to 22

Fixes: SYS#276
2014-07-22 20:14:41 +02:00
Henning Heinold c134a3bbdd gpsd: Enable systemd support based on DISTRO_FEATURE
Enabling the "systemd" feature will enable the socket activation
feature used by systemd. This way we can (re-)start the GPSD based
on the socket activation.
2014-07-20 18:15:16 +02:00
Holger Hans Peter Freyther 018ef1a599 early-date: Introduce a simple hacked up script to set an initial time
If the year is smaller than < 2014 an initial date will be set. This
has been manually verified by copying ntpdate to ntpdate.off and making
sure that the VPN is coming up. Due the short SSL lifetime of CACert
we will need to update the script once in a while. But our VPN should
now always come up.
2014-07-18 10:59:52 +02:00
Holger Hans Peter Freyther e7fadd8e8e linux-sysmocom: Enable the tun device in the odu config 2014-07-18 09:58:42 +02:00
Holger Hans Peter Freyther 909407e025 usb2514: Bump the PR after the recipe change 2014-07-18 09:58:42 +02:00
Harald Welte 25b22a632e ODU: reset the USB hub before talking to it over I2C 2014-07-17 21:08:13 +02:00
Holger Hans Peter Freyther 2c4d15307b Add a "feed" package with software we want to make available
This should be a task with all the software we want to make available
to our customers. Add the software you need and bump the PR.
2014-07-17 11:50:19 +02:00
Holger Hans Peter Freyther 4bfaa3f7df systemd: Enable the "ShutdownWatchDogSec" and add sysmocom-odu file
The TI Davinci DM644x and the TI Sierra AM335x both feature a
watchdog. Enable it on the AM335x as well. The next part is that
we can enable the watchdog for the shutdown. E.g. in case the
system does not reboot after the shutdown.

The shutdown is executed last and only after the shutdown target
has been reached. For time timeout we need to use the same interval
as the watchdog (as both drivers don't allow to change the timeout
interval).
2014-07-16 20:35:17 +02:00
Henning Heinold b405fd4d9a config: update for dora 1.5.3
* update the anonymous python functions
  for sysmocom-linux and layer.conf
2014-07-15 19:25:39 +02:00
Holger Hans Peter Freyther 7de1fc45c1 barebox: Bump the PR after our change 2014-07-15 19:13:43 +02:00
Holger Hans Peter Freyther e89bd0a3a1 barebox: Build newer versions for 256mb RAM and flash >= 128 MB
We need to build a variant of barebox that deals with only having
256mb of ram and maybe only 128mb of nand flash.
2014-07-15 19:02:52 +02:00
Holger Hans Peter Freyther 26d74189eb gpsd: Do not mess with the argv of the process
Henning got really confused that the "a.b.c:1234" he passed to
gps2udp showed up as "a.b.c 1234" in the kernel cmdline. Use
strdup to take a copy of it.

Fixes: SYS#424
2014-07-15 08:28:42 +02:00
Holger Hans Peter Freyther fd9e8b9cc4 systemd-compat-units: We require networking to run udhcpc for us
On the ODU and probably on the BSC as well we require to have
ifupdown configure the network interfaces. This is not done using
systemd yet.
2014-07-14 16:06:52 +02:00
Holger Hans Peter Freyther c5c1d3a313 init-ifupdown: Bring up eth1 as well as it is done in the existing image
In the existing image we bring up eth1 do it here too
2014-07-14 14:50:43 +02:00
Holger Hans Peter Freyther 5b521afd5d init-ifupdown: Make the script runnable in rc2.d as well
systemd doesn't look in /etc/rcS.d for init scripts so we never
start networking unless we are using ifplugd. We need to check
how this behves on the sysmobts and sysmobsc in case the network
is being started twice.
2014-07-14 14:48:58 +02:00
Holger Hans Peter Freyther 907987c41a init-ifupdown_sysmocom: Bump the right file for changes to interfaces 2014-07-14 14:28:35 +02:00
Holger Hans Peter Freyther 71a8ad1c4e netbase: Provide a custom interfaces for the odu 2014-07-14 14:14:19 +02:00
Holger Hans Peter Freyther a4b2ba6a02 barebox: Upgrade to a version that could fix ethernet.. 2014-07-14 11:29:44 +02:00
Holger Hans Peter Freyther 9fcc062f55 barebox-sysmocom: Have only one provide virtual/bootloader and require lzop 2014-07-14 09:32:10 +02:00
Holger Hans Peter Freyther ce25d19cdc sysmocom-odu: Force the build of barebox-sysmocom (and then the MLO) 2014-07-12 08:39:45 +02:00
Holger Hans Peter Freyther 8f1cfa46fe sysmocom-odu: Force a kernel into the image
We want to have a /boot/uImage file in the rootfs to be used by
the bootloader. This way we can easily upgrade the kernel.
2014-07-11 19:45:00 +02:00
Holger Hans Peter Freyther ff8967feea sysmocom-odu: Do not mention u-boot at all 2014-07-11 19:37:33 +02:00
Holger Hans Peter Freyther 2371fca7c7 sysmocom-odu: We want to have barebox as bootloader
We are using barebox for the sysmocom-odu as the SoM supplier
was already using it.
2014-07-11 19:01:36 +02:00
Holger Hans Peter Freyther da3cf64f1e u-boot: Remove the never working ODU support from u-boot
The u-boot port was never tried on a device and was only added
to get the image building. Remove now that we have barebox support
2014-07-11 18:59:24 +02:00
Holger Hans Peter Freyther f18a674af3 barebox: Build a version of barebox for the ODU
Build a version of barebox that has support for NAND flash and
ubifs. Load the kernel from the device. One needs to flash the
*mlo*.img into the xloader partitions and the other image into
the barebox partition.

erase /dev/nand0.xload.bb
erase /dev/nand0.xload_backup1.bb
erase /dev/nand0.xload_backup2.bb
erase /dev/nand0.xload_backup3.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup1.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup2.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup3.bb
2014-07-11 18:53:23 +02:00
Holger Hans Peter Freyther 7aa38f0755 uboot/ubl: Build newer version for toshiba flash
Build newer version for the toshiba flash. Setting A1CR in the
emif has been moved to ubl and depends on the NAND chip that is
being used.
2014-07-11 12:18:38 +02:00
Holger Hans Peter Freyther 37a977e6f4 Merge remote-tracking branch 'origin/hheinold/usb2514' 2014-07-03 15:32:48 +02:00
Henning Heinold 1a819714c8 linux-sysmocom: odu kernel needs CONFIG_USB_ACM
Related: SYS#294
2014-07-02 22:53:58 +02:00
Henning Heinold 5084446d22 usb2514: add small tool for setting usbrouting
Related: SYS#294
2014-07-02 22:53:58 +02:00
Holger Hans Peter Freyther 2f367aec31 gpsd: Upgrade from 3.9 to 3.10 in the hope the TSIP is working better
Related: SYS#410
2014-06-24 20:28:48 +02:00
Holger Hans Peter Freyther bf0c0ad287 Revert "osmo-bts: Depend on a specific version of the sysmobts-firmware"
This doesn't work like this. We need to know the _exact_ PV/PR
of the package and we don't. Specially with the PR server in dora
and later we can not know the version.

This reverts commit 767d7b6939.
2014-06-22 10:30:10 +02:00
Holger Hans Peter Freyther eadc4c5278 linux-sysmocom: Build 3.2.0 with patches for the ODU
The 3.2.XX kernel doesn't really work. Please see SYS#409
for details and resolution
2014-06-21 10:08:11 +02:00
Holger Hans Peter Freyther 767d7b6939 osmo-bts: Depend on a specific version of the sysmobts-firmware 2014-06-20 18:57:55 +02:00
Holger Hans Peter Freyther 063ce69bb6 osmocom: Update the GSM, MGCP and SIP repositories to the latest version 2014-06-19 12:54:06 +02:00
Holger Hans Peter Freyther 92c3a78288 gpsd: Do not generate an RPATH when we don't need it
So far we have used chrpath to fix the rpath we don't want but
this creates issues with supporting both dora and edison (we need
to depend on different recipes). Instead just force the RPATH to
be off. This can be done by setting the internal _RPATH variable.
I found this in Tool/gnulink.py.
2014-06-17 19:52:43 +02:00
Holger Hans Peter Freyther 85bc905db3 osmo-pcu: Avoid crash with BFI indication of the DSP?
Add the hotfix to not crash on a bad frame received.
2014-06-16 21:52:52 +02:00
Holger Hans Peter Freyther f8960b7bf2 osmo-bts: Do not mention the osmobts-mgr.cfg in the conf files
While the package can be built on dora, it can not be built on
edison. We need to comment it.
2014-06-16 20:52:39 +02:00
Holger Hans Peter Freyther dfe8845a4e osmo-pcu: Upgrade to a newer test version of the PCU
* "upgrade" a TBF that was assigned through the BCCH
* Rip-out the non exit code from the PCU.
2014-06-16 19:40:39 +02:00
Holger Hans Peter Freyther ff29b31d6e sysmobts: Upgrade firmware headers, firmware and the osmo-bts code
This upgrades the firmware from 3.6 to 3.10. This is a significant
firmware upgrade and it changed ABIs too. Try hard to fix the
dependencies as much as possible. This requires the DSP headers
files to be of version 3.10 as well but we can not have versioned
DEPENDS.
2014-06-16 19:27:42 +02:00
Holger Hans Peter Freyther ea7e222c7b osmo-bts: Revert all sysmobgs-mgr related options
The code has not been finished and doesn't meet the quality
standards we have for a product. Comment the sysmobts-mgr
related files that will be back soon.
2014-06-16 18:36:47 +02:00
Henning Heinold 0b39eca559 config: fix python functions for dora 1.5.2 2014-06-16 18:24:46 +02:00
Holger Hans Peter Freyther 023ca5da04 openbsc: Build newer version of OpenBSC and enable transcoding
* Build MGCP with osmux support
* Merged the MGCP transcoding patches
* Fix double RF Channel Release handling
2014-06-16 18:19:36 +02:00
Holger Hans Peter Freyther 723ace7236 bcg729: Add the BCG729, a transcoding library used by linphone 2014-06-16 17:52:06 +02:00
Holger Hans Peter Freyther ccf7536405 linux-sysmocom: Build newer kernel for the ODU kernel
Partially Fixes: SYS#294
2014-06-09 19:46:50 +02:00
Holger Hans Peter Freyther e673cd68ae openbsc: Add osmo-sgsn to the INITSCRIPT_PACKAGES
osmo-sgsn was installing a sysvinit script but it wasn't inside
the INITSCRIPT_PACKAGES so it would not be started by default.
Use the already existing INITSCRIPT_PARAMS/INITSCRIPT_NAME variables
for the osmo-sgsn.

Fixes: SYS#366
2014-06-09 19:29:13 +02:00
Holger Hans Peter Freyther 5b044d777b Merge branch 'hheinold/serial-2050'
We need to reduce the usage of ttyS0 to not conflict with the
sysmobts-mgr that opens and controls the power amplifier. This
is done by instructing systemd by config file to not log much
and disable the getty target.
2014-06-09 15:18:55 +02:00
Henning Heinold 6b49d86355 systemd: silence systemd for sysmobts-2050
* use /etc/systemd/system.conf to silence systemd own
  log messages

* bump PRINC to 20

Fixes: SYS#235
2014-06-09 15:18:07 +02:00
Henning Heinold e12e68dba6 systemd: disable getty on ttyS0 for sysmobts-2050
Fixes: SYS#235
2014-06-09 15:18:07 +02:00
Henning edee5f726a sysmobts-2050: remove extra defconfig file
* the config file from symobts-v2 is enough

Fixes: SYS#235
2014-06-09 15:18:07 +02:00
Holger Hans Peter Freyther 08767f0fa1 smalltalk: Build something more recent with the netlink package 2014-06-04 18:58:09 +02:00
Holger Hans Peter Freyther 93ab0e720a recipes-osmo: Upgrade various components to the latest master version 2014-06-04 16:03:07 +02:00
Holger Hans Peter Freyther ce953afca6 Merge branch 'hheinold/archiver-libgcc'
This is the archiver we are using right now and it is working the
way we want for both edison and dora.
2014-06-03 20:11:42 +02:00
Henning Heinold cadbd162ed sysmocom-archiver: cleanup whitespaces 2014-06-03 20:10:35 +02:00
Henning Heinold 12c250ece5 sysmocom-archiver: whitelist gcc-cross
* archiver discard the source providing
  for all native and shared-work recipes,
  so we whitelist gcc-cross, which covers
  the source code for the runtime libgcc
  package

Fixes: SYS#372
2014-06-03 20:10:35 +02:00
Henning Heinold 4addb52d7b sysmocom-archiver: switch from tabs to spaces 2014-06-03 20:10:35 +02:00
Henning Heinold 38b6c8ae0e archiver.bbclass: rename to sysmocom-archiver 2014-06-03 20:10:35 +02:00
Holger Hans Peter Freyther 0059948af3 Merge branch 'hheinold/nls-sysmocom-bsc'
[Bump the PR and fix some grammar/spelling mistakes in the commit
 message]
2014-06-03 20:06:40 +02:00
Henning Heinold 32746ad2eb bts-images: Remove the nls modules
The nls support to mount fat/vfat filesystems should be enabled
in all sysmocomkernel images.

Fixes: SYS#371
2014-06-03 20:06:12 +02:00
Henning Heinold 205b60bb36 sysmocom-bsc: build nls support into the kernel
* to be able to mount vfat formatted
  usbsticks we need the nls subsystem

* providing nls as modules is a bad idea because
  you need to add them at image creation

* better include them into the kernel,
  like the kernel for bts and bts-2050 does
2014-06-03 20:06:05 +02:00
Holger Hans Peter Freyther 70bfea442d osmo-bts: Apply the sysmobts-mgr hotfix onto the last version
I take the most conversative route and apply the single sysmobts-mgr
patch to get a working "ipaccess-find" again.
2014-06-01 12:12:31 +02:00
Holger Hans Peter Freyther b895e31fd8 iperf: Add the iperf utility for GPRS performance tests
We really need a sysmocom-feed-packagegroup for all the extra
recipes we care about.
2014-05-30 08:43:40 +02:00
Holger Hans Peter Freyther 9fd7612abd ubl/u-boot: Upgrade for NAND redundancy patches
Let's flash multiple copies of UBL and U-Boot to cope better with
NAND bits flipping in these sectors. To fit multiple copies of
U-Boot into the flash we had to move the rootfs a bit to the end.
2014-05-23 09:04:25 +02:00
Henning Heinold 2a1e45a944 sysmocom-bsc-directimage: revert syslinux changes
* setting APPEND in the image file overwrites
  the APPEND from boot-directdisk.bbclass in edison, which
  creates the syslinux.cfg without "root=" stanza

* for dora we do not use syslinux or the image-directdisk
  so revert this paticular changes

Fixes: SYS#373
2014-05-23 09:04:25 +02:00
Holger Hans Peter Freyther 26199eb66b libosmo-netif: Add new recipe for the osmux library 2014-05-22 18:05:13 +02:00
Holger Hans Peter Freyther 3fbe647e14 osmo-bts: Fix the CONFFILES_${PN} introduced recently
Daniel noticed that on upgrade his /etc/osmocom/osmo-bts.cfg
was overwritten. This was due the addition of the sysmobts-mgr
config file and using an assignment instead of an append.
2014-05-21 17:59:02 +02:00
Holger Hans Peter Freyther f3117eaa22 linux-sysmocom: Enable mtdparts handling for the sysmobts-v2
We will change the MTD partitioning for our devices soon. The
kernel needs to honor the cmdline given by the kernel for that.
The rootfs will move a few pages to the back with newer bootloaders.
2014-05-19 19:13:47 +02:00
Harald Welte 7ac3edabb6 update PR for recent changes of sysmocom-backup and udhcpd-config 2014-05-19 18:55:49 +02:00
Harald Welte cc45ecae11 udhcpd.conf: Provide DNS server IP for BTSs
If we don't provide a DNS server via DHCP to the BTSs, then their
ntpdate will not succeed in contacting pool.ntp.org (resolver failure),
which in turn means they have the wrong date, which again in turn leads
to failing opkg update or openvpn certificate verification failures.
2014-05-19 18:53:25 +02:00
Harald Welte 08e4e4c26a sysmocom-backup: Include udhcpd.conf
... as some customers might have customer specific DHCP adresses/ranges
2014-05-19 18:51:30 +02:00
Harald Welte c4956c65a3 sysmocom-backup: Include /etc/lcr for lcr config files in backup
This is needed on all systems where we have customer-specific lcr
configuration.
2014-05-19 18:49:02 +02:00
Harald Welte f9697c1e24 osmo-bts: update git to call osmobts-mgr with config file 2014-05-19 13:04:11 +02:00
Harald Welte 6dbc14b02c osmo-bts: Make sure to install osmobts-mgr.cfg 2014-05-19 12:59:32 +02:00
Harald Welte ba7830e7e1 openbsc: update to current master for MNCC-AMR and TCH/H support 2014-05-19 11:43:07 +02:00
Harald Welte 30caceef90 osmo-bts: Update to current master for CMR in AMR support 2014-05-19 11:39:52 +02:00
Harald Welte eff76c2d8c lcr: update to current master; re-introduce AMR support
Update to current master of lcr, which includes support for AMR
and RTP-bridge.  Master openbsc doesn't support RTP-bridge yet,
but it will work with a transcoding LCR getting all TCH frames
in all codecs (HR/FR/EFR/AMR) via MNCC.
2014-05-19 11:32:16 +02:00
Harald Welte ea7e6ec763 add missing lcr-no_amr.diff from 068f2d676a 2014-05-18 11:06:04 +02:00
Holger Hans Peter Freyther c63ba210da gpsd: Address warning by bitbake about -dev package
The .pc files were already covered by the normal -dev package
glob. No need to do more work here.

Addresses:
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_gpsd-dev ( ${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc).
2014-05-18 10:50:03 +02:00
Holger Hans Peter Freyther b3c600a368 sysmobts: Fix up the targeting of the 3.10.40 kernel 2014-05-18 10:47:57 +02:00
Holger Hans Peter Freyther bb18e3152b linux-sysmocom: Rebae and target latest stable version 2014-05-16 14:19:25 +02:00
Holger Hans Peter Freyther 3213964e17 linux-sysmocom: Enable SMP support for sysmocom-bsc
The new sysmocomNITB product is using a SMP capable system that
is needed for some more transcoding power. Enable SMP in the
kernel.
2014-05-16 14:18:55 +02:00
Holger Hans Peter Freyther 6f02ca5575 sysmocom-bsc: Run olddefconfig on a 3.10.40 kernel 2014-05-16 14:16:22 +02:00
Holger Hans Peter Freyther 7aeb916ea1 sysmocom-backup: Backup a new opkg config file for starterkits
We make the configuration packages for starterkit customers
available in a feed. Backup this feed configuration.

Fixes: SYS#365
2014-05-16 11:51:44 +02:00
Henning Heinold d88a758c4e sysmocom-backup: add the systemd-files for bsc, nitb and sgsn to backup when enabled
Fixes: SYS#261
2014-04-29 20:11:13 +02:00
Henning Heinold 22cb9fef1d init-install.sh: do not rename the network devices after the new kernel/udev scheme
Fixes: SYS#75
2014-04-29 16:52:13 +02:00
Henning Heinold 1638def65e sysmocom-bsc-image: add kernel-module-nls-iso8859-1 and kernel-module-nls-cp437 and disable LINGUAS
Fixes: SYS#75
2014-04-29 16:52:04 +02:00
Holger Hans Peter Freyther f71f5ea031 openbsc: Correct the OpenBSC MGCP GW configuration file 2014-04-23 11:46:05 +02:00
Holger Hans Peter Freyther 4da2963d82 openbsc: Decrease the version number of MNCC to 2 again
Currently OpenBSC and LCR are not compatible with each other.
So far we have only included patches that add new defines and
do not change the wire format of messages. Just revert it so
we can have LCR talk to OpenBSC
2014-04-22 22:09:48 +02:00
Holger Hans Peter Freyther 3bf09d53b8 smalltalk: Package smalltalk-xml separately 2014-04-22 09:48:06 +02:00
Holger Hans Peter Freyther a9f6d1eac6 libsigsegv: Use a shared library for libsigsegv
This helps with the -fPIC situation on AMD64. Simply build it as
a shared library and the problems go away.
2014-04-22 09:47:59 +02:00
Holger Hans Peter Freyther 8ac540640d osmo-bts: Upgrade osmo-bts to fix a stupid handover issue 2014-04-19 19:38:35 +02:00
Holger Hans Peter Freyther 0eafd5637d libdbi-drivers: Add fixes for out-of-bounds write in the sqlite3 driver
While working on the OpenBSC/NITB schema migration I experienced
crashes and traced it down to libdbi-drivers. It was possible that
a special string quote each character and then adding '"\0' would
result in out of bounds write.
2014-04-08 19:46:33 +02:00
Holger Hans Peter Freyther 507dc57c51 libosmocore/libosmo-abis: Upgrade to 0.6.6 and 0.2.0
Upgrade to versions 0.6.6 and 0.2.0. These change the SO
version of the libraries and provide stability and reliability
fixes.
2014-04-08 19:30:51 +02:00
Holger Hans Peter Freyther b0fa1e06d6 Merge remote-tracking branch 'hheinold/bsc-grub-image-install'
These provide us with a nice way to provision/install the BSCs
with grub. This way we can easily upgrade the kernel on the BSC
as well. It is a fix for SYS#75.
2014-04-08 18:09:29 +02:00
Henning Heinold 076f6e1bb0 init-install.sh: resize the install partition 2014-04-08 18:06:51 +02:00
Henning Heinold 45929766a9 core-image-minimal-initramfs: append the image to install charset deps for the vfat kernel modul 2014-04-08 18:06:51 +02:00
Henning Heinold 4433c53b76 initramfs: modify init-install to install our bsc image
Fixes: partly SYS#75
2014-04-08 18:06:27 +02:00
Holger Hans Peter Freyther 8f46ba7045 busybox: Enable dnsd on all the builds
Specially for the sysmobsc it can come in handy to have a DNS
server that will return some static addresses.
2014-04-04 13:09:05 +02:00
Henning Heinold e06fa2ac4d linux-sysmocom/sysmocom-bsc: enable EHCI_HCD to get USB 2.0 support 2014-04-01 19:19:48 +02:00
Holger Hans Peter Freyther 4bbb8117ff osmocom: Upgrade the GNU Smalltalk Osmocom sub projects to the latest version 2014-04-01 16:54:27 +02:00
Holger Hans Peter Freyther 5cd79448e4 tufao1: Fix 204 No Content producing a Message Body bug
This has been reported upstream as https://github.com/vinipsmaker/tufao/issues/41
2014-03-31 21:49:22 +02:00
Holger Hans Peter Freyther d81ab13268 tufao1: Fix the build depends of this recipe 2014-03-31 21:48:04 +02:00
Holger Hans Peter Freyther 032bb13a8e libsystemd-qt: Fix the build depends of this recipe 2014-03-31 21:47:50 +02:00
Holger Hans Peter Freyther 475b32b3fe u-boot: Fix the deployment of symlinks and install SPL/MLO 2014-03-29 13:20:00 +01:00
Holger Hans Peter Freyther 6b4cc713b6 linux-sysmocom: Enable CGROUPS for the sysmocom-odu 2014-03-29 11:27:53 +01:00
Holger Hans Peter Freyther f23a2cbd9a sysmocom-odu: Fix the u-boot and linux recipe
While the kernel resides in a dedicated kernel partition we will
still install the uImage. For u-boot we just want it to be installed.
2014-03-29 10:50:04 +01:00
Holger Hans Peter Freyther 4b1f68ae33 cifs-utils: Move it to the extras like the other extras 2014-03-29 00:17:17 +01:00
Holger Hans Peter Freyther e2853d21b5 cifs-utils: Add recipe based on the 5.x recipe of meta-networking 2014-03-28 22:32:35 +01:00
Holger Hans Peter Freyther d9ebe05799 u-boot: Add something that could build for the sysmocom-odu
We do not intend to use u-boot right now but at least this
version will build. In the first version we will use the
barebox images provided to us by the producer of the SoM.
2014-03-28 21:56:27 +01:00
Holger Hans Peter Freyther 2700d6a642 u-boot: Start to use spaces instead of tabs to follow OE 2014-03-28 21:55:45 +01:00
Holger Hans Peter Freyther 5e84042d37 u-boot: Use PV/PR again as PKGV/PKGR didn't fix the AUTOINC in the filename 2014-03-28 21:55:04 +01:00
Holger Hans Peter Freyther b008109769 linux-sysmocom: We require bc-native for kernel compilation now 2014-03-28 21:36:34 +01:00
Holger Hans Peter Freyther 575be79d5a osmo-bts: Fix the AGCH through PCU socket message 2014-03-27 18:13:21 +01:00
Holger Hans Peter Freyther 369cbe01e5 openbsc: Apply max_power_reduction changes
This version will apply the max_power_reduction when it is
changed through the control interface.
2014-03-27 08:01:49 +01:00
Holger Hans Peter Freyther 318f4e4e52 osmo-bts: Update with max_power_red fixes and apply it
This is fixing max_power_reduction for revC hardware and applies
a new max_power_reduction when it arrives through OML and the
system is already initialized.
2014-03-27 07:57:45 +01:00
Henning Heinold c5e607febc sysmocom-bsc-ip-image-directdisk: do not rename the ethernet interfaces to the new scheme
Fixes: SYS#277
2014-03-23 23:08:30 +01:00
Holger Hans Peter Freyther b694ffd333 openbsc: Update OpenBSC with new NITB/SGSN Control commands 2014-03-23 18:47:39 +01:00
Holger Hans Peter Freyther 29bf1c64da openggsn: Update with a version supporting the logfile command 2014-03-23 10:35:21 +01:00
Holger Hans Peter Freyther 3a96660f64 libsystemd-qt: Add new API for systemd 2014-03-21 20:38:39 +01:00
Holger Hans Peter Freyther c872ce4a46 osmo-bts: Provide the direct PCU mode for the image 2014-03-21 19:28:59 +01:00
Holger Hans Peter Freyther 599e2d3679 systemd: Update osmo-bts/osmo-pcu recipes for newer service files
Some smaller other fixes in the osmo-pcu code
2014-03-21 19:13:23 +01:00
Holger Hans Peter Freyther 5b1ebe6a26 linux-sysmocom: Local hacks to have NAT/MASQ on 3.2 and 3.10 kernels
The name/structure of the NAT configuration was changed. Catch up
and put the new names into the old defconfig too. It is an ugly hack
to have it work with v3.2 and v3.10 kernels. The sysmobsc has been
fixed independently.
2014-03-21 19:13:23 +01:00
Holger Hans Peter Freyther cedace00ed openggsn: Update and install systemd service file
This might require to rebuild the freshly built openggsn to
fix the libgtp0 depedency. I had this issue on Dora without
a PRServer. I am not sure it applies to edison or other configs.

Bump the PR of OpenBSC to force a rebuild of the SGSN.

Fixes: SYS#176
2014-03-21 19:12:46 +01:00
Holger Hans Peter Freyther d496a8d59b openbsc: Build a lot newer version and install sgsn script 2014-03-21 18:32:49 +01:00
Holger Hans Peter Freyther e797a8ac6b sysmobts-firmware: Make the firmware conflict with older bts software
We had an upgrade issue where using newer firmware with older
osmo-bts binaries didn't work. Make sure that the shiny new 0.4.0
binaries are used with firmware starting from 3.2.

Addresses: #158
2014-03-21 16:52:30 +01:00
Holger Hans Peter Freyther 7c453471f1 osmo-pcu: Bump version number and requirements as well
The interface has not knowingly changed but it is good to
have comparable versions installed.
2014-03-21 16:52:30 +01:00
Holger Hans Peter Freyther 9ae58a33bf osmo-bts: Upgrade the version number to 0.4.0 2014-03-21 16:52:29 +01:00
Holger Hans Peter Freyther 99d0f3a51b qtbase: Hacks to shrink qtbase
This can be done more properly in our conf/local.conf but I am
very lazy and do it this way. :}
2014-03-21 15:50:28 +01:00
Holger Hans Peter Freyther b03408e2b4 cmake: Be able to use this layer with Dora 2014-03-21 15:50:28 +01:00
Holger Hans Peter Freyther d736c151e7 libsystemd-qt: Add latest git version of systemd bindings 2014-03-21 15:50:28 +01:00
Holger Hans Peter Freyther 6d25c7dda8 tufao: Add the tufao http server implementation
Add a patch to hardcode some paths as otherwise it tries to install
files into the directories of cmake-native and qmake-native
2014-03-21 14:34:09 +01:00
Holger Hans Peter Freyther 303f97f4a6 qtbase: Allow to build without any QPA backend
When disabling fb, directfb, x11, widgets and OpenGL qtbase will
still complain that no QPA backend is available. Always add the
-no-qpa-platform-guard parameter
2014-03-21 13:43:07 +01:00
Jonathan Liu 1fa7f364f6 licenses: rename NOKIA-TPLA-2.4 to DIGIA-TPLA-2.4
The license agreement doesn't mention Nokia anymore after Qt was
acquired by Digia.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-15 18:52:45 +01:00
Khem Raj 79fcaa9d61 licenses: Fix WARNING: qt3d: No generic license file exists for: PREVIEW.COMMERCIAL in any provider
* Provide the license text

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-15 14:47:28 +01:00
Holger Hans Peter Freyther 1b769147bd sysmocom-odu: We want things to be packaed as uImage (do we?) 2014-03-13 17:08:17 +01:00
Holger Hans Peter Freyther 46098bb42e osmo-pcu: Re-build with some cosmetic and logging changes
Make finding use after free more easy and change some log
regions to help in detecting what is going on.
2014-03-13 17:08:11 +01:00
Holger Hans Peter Freyther ce642cba53 osmo-bts: Build newer version with handover, agch and manager changes 2014-03-13 17:08:08 +01:00
Holger Hans Peter Freyther 2ba19d8e54 femtobts-api: Build the latest git of the header files 2014-03-13 16:48:03 +01:00
Holger Hans Peter Freyther 12ffb5bffe libosmocore: Build newer version with LAPDm fixes by jacob 2014-03-13 16:43:48 +01:00
Holger Hans Peter Freyther 2fa4a818c7 Merge branch 'hheinold/systemd-images' 2014-03-11 18:34:52 +01:00
Henning Heinold 36d4e0119a sysmocom-bsc-image: enable osmo-bsc for sysvinit or systemd 2014-03-11 18:34:43 +01:00
Henning Heinold 72ce4c5203 sysmocom-nitb-image: enable nitb for sysvinit or systemd 2014-03-11 18:34:43 +01:00
Henning Heinold 4a9cc7acdb systemd_sysmocom.inc: disable flushing of journald too
* bump INC_PR

Fixes: SYS#262
2014-03-11 18:30:55 +01:00
Holger Hans Peter Freyther 305426f7cf Merge remote-tracking branch 'hheinold/dora-kernel-bsc-upgrade' 2014-03-11 18:30:04 +01:00
Henning Heinold 6f469116e1 sysmocom-bsc-ip-image-directdisk: switch from ext3 to ext4 filesystem 2014-03-11 18:17:51 +01:00
Henning Heinold b2a5a3a316 sysmocom-bsc: switch to kernelprovider to linux-sysmocom for dora
* use seperate defconfig, because of option changed from 2.6.39 to 3.10
* use python magic to switch between linux and linux-sysmocom
* add sysmocom-bsc to compatible machines for linux-sysmocom
* add new confiugration parameters for syslinux
2014-03-11 18:17:36 +01:00
Martin Jansa 818cc2d11b qtbase: move 0015-Fix-linuxfb-argument-mmsize-parsing.patch to 5.2.1 recipe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-07 01:39:24 +01:00
Henning Heinold 98cf4f54f5 tune-geode: fix syntax for dora 2014-03-06 23:26:41 +01:00
Martin Jansa a93ebb736b qtdeclarative_git: drop 0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch
* drop 0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch
  because it's already applied in upstream commit:
  commit d765ad8e3dabe44f276db9084b1d16164c4535e7
  Author: Florian Hänel <florian.haenel@basyskom.com>
  Date:   Wed Jun 5 19:23:32 2013 +0200
  Subject: Fix wrong calculation of viewPort for transitions

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:31:03 +01:00
Martin Jansa fbf9216fb9 qt5-git: bump SRCREVs to latest in 'release' branch
* in some components there was just
  Bump MODULE_VERSION to 5.2.2
  commit but bump them all for consistencty

* we're testing newer revisions in order to narrow some QML issues
  we're seeing in runtime

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:31:03 +01:00
Martin Jansa a036792a62 qtbase: Replace 0012-qtbase-allow-build-of-examples.patch with -compile-examples option
* -compile-examples option was added in upstream commit:
  commit 8ea19caacf281240411541b5af37c2f9a103a7d1
  Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
  Date:   Tue May 7 17:10:22 2013 +0200
  Subject: add -compile-examples configure option

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:31:03 +01:00
Andreas Müller fc06fb8ceb qtbase.inc: set virtual/mesa and virtual/egl as dependency in PACKAGECONFIG[kms]
* there is no kms around
* mesa is the default implementation for (lib)gbm (see config.tests/qpa/kms)
* in configure we find:
  | if [ "$CFG_KMS" = "yes" ]; then
  |     if [ "$CFG_EGL" = "no" ]; then
  |         echo "The KMS plugin requires EGL support and cannot be built"
  |         exit 101
  |     fi
  | fi

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:28:46 +01:00
Jonathan Liu 201b3b2c89 qtbase: prevent artifacts on raster windows using eglfs plugin
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:25:36 +01:00
Jonathan Liu 8c3c6fda69 qtbase: fix mmsize argument parsing for linuxfb plugin
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:25:24 +01:00
Jonathan Liu ea5d8e0c1b cmake: rename .bbappend to match new version from OE-core
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:03:42 +01:00
Jonathan Liu c63c48b3ca qttools: add missing DEPENDS
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:03:42 +01:00
Andreas Oberritter 2bf30ae1d5 qtwebkit: add packageconfig for gstreamer, qtlocation and qtsensors
Use gstreamer for 1.x, gstreamer010 for 0.10.x.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:03:42 +01:00
Andreas Oberritter c9e332597b qtdeclarative: drop qtsvg dependency, add packageconfig for qtxmlpatterns
The dependency on qtsvg seems to be a leftover from an old version.
Version 5.2.1 of qtdeclarative doesn't include any reference to it.

Depend on qtbase in case qtxmlpatterns gets disabled.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:03:42 +01:00
Andreas Oberritter 69d2f31df6 qtbase/qtwebkit: drop ICU variable
Pango doesn't seem to be a drop-in replacement for ICU, so
using it as a dependency for the -icu option won't work.

QtWebKit has a hard dependency on icu.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 19:03:42 +01:00
Otavio Salvador deb2473ee9 populate_sdk_qt5.bbclass: Add support for qtcreator-debug
This adds a new image feature for easier remote debugging with
QtCreator.

The qtcreator-debug needs to be added as a valid item for image
features and having it inside the populate_sdk_qt5 is too late. User
will see a parser error as OE-Core images does not inherit the classs.
The possible workaround for it is to include it inside layer.conf file
until a kind of "bbclassappend" support is in place.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Giulian Vivan <giulian@ossystems.com.br>
2014-02-28 10:47:04 -03:00
Otavio Salvador 53242713da packagegroup-qt5-qtcreator-debug: Add package group
This allow for easy installation of needed packages for remote
debugging using QtCreator. The qtdeclarative-plugins package provides
the needed infrastructure to remotely debug QML application.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Giulian Vivan <giulian@ossystems.com.br>
2014-02-28 10:47:04 -03:00
Jacob Kroon cee2a75ad6 nativesdk-qtbase-tools: disable Debian-style package renaming
Since commit 8da5017712, libQt5*.so files
are included in the nativesdk-qtbase-tools package. However, this together
with the fact that the binaries are placed in a subdir "qt5" of bin will
confuse the Debian-style package renaming logic in debian.bbclass, causing the
resulting ipk package to be created as "nativesdk-libqt5core5".

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-28 10:46:58 -03:00
Holger Hans Peter Freyther a4ff48fc44 linux: Add support for the sob-odu device
This currently requires the meta-ti layer but we will make sure
that nothing from it will be required in the end. The kernel is
based on linux-3.2 as this is the "default" TI kernel that supports
the SGX (not that we care)
2014-02-26 15:36:09 +01:00
Otavio Salvador e55d3ef36a populate_sdk_qt5.bbclass: Fix symlink location for QtCreator use
The QtCreator is quite broken regarding finding the mkspecs files; so
to workaround it we must to add a symlink to it. The workaround was in
place but in the wrong sysroot, it must to be in the /native/ one.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Jonathan Liu <net147@gmail.com>
2014-02-25 08:36:57 -03:00
Giulian Gonçalves Vivan 0d20b53eb8 qsiv: add the qsiv 1.1 example app
This provides a simple image viewer for demonstration purposes.

Signed-off-by: Giulian Gonçalves Vivan <giulian@ossystems.com.br>
2014-02-24 09:21:21 -03:00
Otavio Salvador 9b4dc4d2cf mallit-plugins-qt5: Don't set OE_QMAKE_PATH_HEADERS
The qmake class now respects the QT_DIR_NAME setting when setting the
headers path, so this change is not needed anymore.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-24 09:21:21 -03:00
Otavio Salvador 8222990922 mallit-framework-qt5: Don't set OE_QMAKE_PATH_HEADERS
The qmake class now respects the QT_DIR_NAME setting when setting the
headers path, so this change is not needed anymore.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-24 09:21:21 -03:00
Otavio Salvador 2bd5fba34d qmake5_paths.bbclass: Use Qt version path for headers
When looking for Qt5 headers we ought to use the Qt5 specific path. In
case the distribution wants to have a flat tree it can set QT_DIR_NAME
and it will still works as expected.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-24 09:21:21 -03:00
Martin Jansa d8b22f3d4a qtwayland: Fix xcomposite-glx and examples build
* egl was building fine, but glx was failing to find
  qwaylandintegration.h
* one example cannot be built without gles2, so make it
  conditional

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 18:33:32 +01:00
Martin Jansa 1279a21d9d qtdeclarative: Fix build with tests enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 18:33:28 +01:00
Martin Jansa 6ec8824564 qtbase: Fix PACKAGECONFIG[tests]
* at least in 5.2.1 tests aren't enabled by default:
  QT_ALL_BUILD_PARTS=" libs tools examples tests "
  QT_DEFAULT_BUILD_PARTS="libs tools examples"
  so without -make option they weren't enabled even with tests in
  PACKAGECONFIG

* add options for other build parts just for completeness

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 14:18:08 +01:00
Martin Jansa 04013e13b1 qtbase: Move remaining few by default enabled options to PACKAGECONFIG_DEFAULT
* more and more people don't want to redefine whole PACKAGECONFIG variable

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 09:14:35 +01:00
Andre McCurdy e6f2641311 qtwebkit-examples: add RDEPENDS for ca-certificates
If qtbase is configured with openssl support then the
qtwebkit browser example apps require CA certificates.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 09:12:13 +01:00
Andre McCurdy b7b624386c qtbase: configure with -openssl-linked instead of -openssl
Configure qtbase with -openssl-linked (instead of -openssl) to ensure
that run-time dependencies on libcryto and libssl are detected.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 09:10:08 +01:00
Mikko Levonmaa 5d4479d19d qtbase: Make it easier to change [release|debug] PACKAGECONFIG
Also add -developer-build to PACKAGECONFIG

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-22 09:08:23 +01:00
Holger Hans Peter Freyther a21e9eef6b osmo-bts: Bump the OpenBSC sha1 to see if that forces the upgrade 2014-02-21 09:25:01 +01:00
Holger Hans Peter Freyther 2435a67b1a osmo-bts: Update the revision number of the osmobts 2014-02-21 09:19:48 +01:00
Holger Hans Peter Freyther 926d082a27 osmo-bts: Update to the handover code 2014-02-20 18:23:34 +01:00
Denys Dmytriyenko 5599656cda nativesdk-qtbase: do qmake replacement in ${D} instead of ${B}
* This way we don't mangle ${B} and can repeat do_install if necessary. And
  previously it would require running do_compile again to restore the proper
  state of ${B}.
* Need to bump PR, since do_compile isn't changing, but needs to re-run to
  re-populate qmake-real binary.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-20 14:22:57 -03:00
Henning Heinold bcc815560a openbsc: package systemd-files for nitb, osmo-bsc-mgcp and osmo-bsc
* services are not enabled by default
2014-02-19 17:11:49 +01:00
Martin Jansa 4375b28f7c qtbase-native: explicitly disable icu
* Jonathan Liu reported that qtbase-native was failing to build for him
  and it looks like qtbase-native was trying to link against icu from his
  host (instead of icu-native because it isn't in DEPENDS)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:33 +01:00
Martin Jansa d0a83ac45e qtbase: add PACKAGECONFIG for mtdev
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:33 +01:00
Andre McCurdy 0d9f550f68 qtbase.inc: don't force ARM_INSTRUCTION_SET to arm
Forcing ARM_INSTRUCTION_SET to arm when building qtbase no longer
seems to be required.

Confirmed by forcing ARM_INSTRUCTION_SET to thumb and building
qtbase 5.1.1 and 5.2.1 tuned for both armv4t and cortexa9thf-neon.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:33 +01:00
Jacob Kroon dc0073bb45 libQt5*.la references OE build directories
I'm trying to get the .la-files for Qt5 dev-packages correct.

What I've come up with so far is attached in the patch (to be applied in
top of "jansa-qt5-5.2.0", b8a236df79)

With the patch applied I can still build both an image and an SDK, and
also the resulting SDK can be used to build my QT5 autotools projects. But
I get these warnings when building for instance "qtxmlpatterns":

WARNING: QA Issue: qtxmlpatterns: The compile log indicates that host
include and/or library paths were used.

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:33 +01:00
Andreas Müller 52e39c35ee qtbase: eglfs: fix egl error for platforms only supporting one window/surface
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:32 +01:00
Andreas Müller 47ec6dbcba qtwayland.inc: fix QA warnings
WARNING: QA Issue: qtwayland: Files/directories were installed but not shipped
  /usr/lib/qt5/plugins/wayland-graphics-integration
  /usr/lib/qt5/plugins/wayland-graphics-integration/client
  /usr/lib/qt5/plugins/wayland-graphics-integration/server
  /usr/lib/qt5/plugins/wayland-graphics-integration/client/libwayland-egl.so
  /usr/lib/qt5/plugins/wayland-graphics-integration/client/.debug
  /usr/lib/qt5/plugins/wayland-graphics-integration/client/.debug/libwayland-egl.so
  /usr/lib/qt5/plugins/wayland-graphics-integration/server/libwayland-egl.so
  /usr/lib/qt5/plugins/wayland-graphics-integration/server/.debug
  /usr/lib/qt5/plugins/wayland-graphics-integration/server/.debug/libwayland-egl.so

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:32 +01:00
Martin Jansa 4b7182a3be qt5: Upgrade from 5.2.0 to 5.2.1
* qtwayland: Use default LICENSE and LIC_FILES_CHKSUM
  * license texts were added in qtwayland commit 26bdc66fe6c4499332b2ead886a806d09aa07a8a
* qtdeclarative, qtserialport: Update QT_MODULE_BRANCH
  * SHA-1 of v5.2.1 tag is only in release branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:32 +01:00
Gabe Johnson 79944bda32 nativesdk-qtbase, nativesdk-qttools: Fix file search paths
* this is useful for using newer meta-qt5 with older oe-core
  release

Signed-off-by: Gabe Johnson <gjohnson@agleader.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-19 11:56:32 +01:00
Otavio Salvador 6e71d92786 nativesdk-qtbase: Remove the datadir as it is not installed
Fixes:

ERROR: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/share

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-18 10:44:19 -03:00
Otavio Salvador 32cee0b6d1 nativesdk-qttools.inc: Fix installation and packaging
We must to fix the installation paths as did in nativesdk-qtbase.inc
and remove the files unused from the packages. This fixes the
packaging errors and allows for a successful build for SDK.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Denys Dmytriyenko <denys@ti.com>
2014-02-17 17:48:04 -03:00
Otavio Salvador 578657f7b6 qmake5_base.bbclass: Fix mkspec path when building nativesdk binaries
When building nativesdk binaries we ought to rely in the native
mkspecs.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Denys Dmytriyenko <denys@ti.com>
2014-02-17 17:47:27 -03:00
Otavio Salvador 8da5017712 nativesdk-qtbase.inc: Fix build failure removal of include and mkspecs
The 7d8f8d6 change (nativesdk-qtbase.inc: Remove unused contents)
introduced a build failure that was not catch in my test. This patch
fixes it avoiding removing the headers and mkspecs files which are
need for the nativesdk-qttools recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-17 13:57:06 -03:00
Otavio Salvador 7d8f8d6b5a nativesdk-qtbase.inc: Remove unused contents
Fixes:

ERROR: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/include
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/share
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib/libQt5Test.so
  /opt/oel/13.0+snapshot/sysroots/i686-oelsdk-linux/usr/lib/libQt5Network.so
  ...

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-14 19:00:40 -02:00
Otavio Salvador 7c5306107c nativesdk-qtbase: Fix install error in case install task is rerun
In case changes are done in do_install and the sstate checksums
change, the task would fail as the qmake binary has already been
replaced. Avoid this error checking for the original filename.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-14 18:58:40 -02:00
Holger Hans Peter Freyther fc6794fe40 openbsc: Enable the RF handling interface in osmo-bsc 2014-02-14 17:42:38 +01:00
Denys Dmytriyenko db9d6b401c meta-toolchain-qt5: add Qt5 SDK standalone meta recipe
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 15:34:46 -02:00
Otavio Salvador f803570841 populate_sdk_qt5.bbclass: Allow generation of toolchain
This allow the toolchain generation using '-c populate_sdk' as it
includes the need host libraries into the SDK.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-11 15:34:46 -02:00
Otavio Salvador 3cc5613d22 packagegroup-qt5-toolchain-target: Add packagegroup
Allow easy inclusion of target packages for the Qt5 SDK or external
toolchain.

The list of the target package is based on the Arago Project, which
has been contribute by Denys Dmytriyenko <denys@ti.com>.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-11 15:34:46 -02:00
Otavio Salvador d768d97528 nativesdk-packagegroup-qt5-toolchain-host: Add packagegroup
Allow easy inclusion of host packages for the Qt5 standalone SDK or
external toolchain.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-07 11:39:50 -02:00
Otavio Salvador 91ac66d5e4 README: Reword the section about github forking
This splits the lines in 80 cols and rework the text a little bit to
easy reading.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-07 11:39:50 -02:00
Henning Heinold d1c958be3e bts2050-util: use INSANE_SKIP so bitbake does not error out 2014-02-05 16:11:34 +01:00
Holger Hans Peter Freyther 5aa0de1de3 osmo-bts: Upgrade to master and install the sysmobts-mgr.service 2014-02-04 13:41:45 +01:00
Holger Hans Peter Freyther 93953d3dd9 linux-sysmocom: Upgrade to version 3.10.28 of the kernel
This is the latest stable kernel. I had hoped some crashes to
go away with it but it turns out to be a compiler issue that
we backported a patch for separately.
2014-02-01 13:56:22 +01:00
Holger Hans Peter Freyther 5d8a24fa4f systemd: Fix the rdepends of systemd by using a new language construct
We don't want to launch the dbus-daemon and we did this by modifying
the RDEPENDS_${PN}. Back then this was okay as dbus was the only
dependency but now kmod got added to the recipe as well. Use the new
language construct to just remove a specific value from the rdepends.
Paul Eggleton was nice enough to point that out.

Fixes: SYS#231
2014-01-30 15:05:30 +01:00
Holger Hans Peter Freyther b606eb9bec busybox: Enable depmod in our busybox as it is enabled in dora too
Make sure that there is at least a basic depmod in the image. This
is needed as fallback for kernel upgrades that execute depmod in the
postinst script. The dora busybox will always have it so we should
have it too. Sync the defconfig with dora.

Addresses: SYS#231
2014-01-30 14:50:48 +01:00
Andreas Oberritter a317282d25 qtwebkit: drop obsolete patch 0001-jsc-Add-licuuc-licui18n-LIBS.patch
This patch caused a linker error:

| linking ../../bin/jsc
| [...]ld: cannot find -licuuc -licui18n

The linker command-line contains:

| [...] -licuuc\ -licui18n [...] -licui18n -licuuc -licudata [...]

So the problem gets caused by the backslash, making the actual library
name "libicuuc -licui18n.so". This may have been caused be the double
quotes used in the patch. However, since both libs are already part
of the command-line, the patch can just get dropped. The patch indicates,
that it was created for a beta version, so I assume that this was
fixed before the 5.2 release.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-29 21:55:25 +01:00
Martin Jansa 7cca3003fa qtmultimedia.inc: Fix duplicating '{'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-29 16:23:30 +01:00
Andreas Oberritter 0b8e8124ed cmake-native: disable test for Qt5Core
Fixes the same build error as 671313d, but for the -native recipe.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-27 13:30:49 +01:00
Holger Hans Peter Freyther 9b3893f4c1 osmo-bts: Build a new version with a crash fix on init 2014-01-23 17:21:27 +01:00
Holger Hans Peter Freyther 9c533b2469 linux-sysmobts: Add preferred version for 1.5.1 and simplify
Simplify the PREFERRED_VERSION version specification and add
dora 1.5.1 to the line.
2014-01-22 12:52:25 +01:00
Holger Hans Peter Freyther 4cd047788e dora: Add 1.5.1 to the list of handled distributions 2014-01-22 12:16:46 +01:00
Harald Welte bb35f69066 osmo-bts: Build latest version with fMaxTxPower fix
As a side note, this also introduces sysmobts-mgr
2014-01-22 02:02:10 +01:00
Holger Hans Peter Freyther 00a590e063 dvnixload: Update with the new toolchain name in place 2014-01-20 11:41:43 +01:00
Holger Hans Peter Freyther c47bdcd180 osmo-bts: This requires a newer version of OpenBSC as well 2014-01-20 11:36:25 +01:00
Holger Hans Peter Freyther 933b68b3e8 osmo-bts: Build latest version of osmo-bts with performance changes 2014-01-20 11:24:21 +01:00
Holger Hans Peter Freyther b4d863a61c libosmocore/libosmo-abis: Upgrade the two libraries including ABI changes
The two libraires moved forward and are updated to the latest
releases now.
2014-01-20 11:21:06 +01:00
Holger Hans Peter Freyther 5227148e4a osmo-pcu: Build the latest sysmocom/master code 2014-01-20 11:10:52 +01:00
Martin Jansa faad8d1df1 qtmultimedia: Use PACKAGECONFIG for gstremer-0.10 and change it to disabled by default
* it doesn't support gst-1.x like qtwebkit yet, disable it by default to
  build images without gst-0.10 where possible.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-19 12:09:17 +01:00
Andreas Müller fc289452b6 qttools: add target build
this does not build much yet but I was looking for qdbus

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-17 17:15:31 +01:00
Holger Hans Peter Freyther 66a2947315 sdk: Use the staticdev packet for libosmo-sccp
libosmo-sccp does not install any dynamically shared libraries
so let us install/depend on the staticdev package installing the
.a files and the -dev package.
2014-01-17 15:31:50 +01:00
Martin Jansa b8a236df79 qt5: Fix cmake config files
* without syncqt cmake config files have empty PRIVATE_INCLUDE_DIRS
  remove pregenerated header files and create .git dir to let qmake
  call syncqt and generate headers like when building from git recipes

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-12 15:03:21 +01:00
Andreas Müller 0b4bdeb6c1 qtbase: remove gstreamer packageconfig
Nothing in qtbase uses gstreamer so the configure option was removed on the way
to 5.2 [1]. Fixes:

| -no-gstreamer: invalid command-line switch

[1] e25a4faf4a

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2014-01-12 15:03:21 +01:00
Martin Jansa c908fe4ebd qt5: upgrade to 5.2.0
* drop 0027-Fix-misaligned-selection-region-with-text-when-cente.patch
  resolved in upstream commit 5d8a882c11201a29475c5ea71cfb76c9de6573f5
* drop 0020-Use-BGRA-extension-in-bindTexture.patch
  resolved in upstream commit e1325cf26e146b68725cc1a0a02b274ce3dfbe5c
* drop 0008-wayland-scanner-disable-silent-rules.patch
  resolved upstream in:
  commit 2ff2a7c32d76b9e58b800f12469f112cfdb6ad3c
  Author: Jan Arne Petersen <jan.petersen@kdab.com>
  Date:   Fri Jul 19 14:35:19 2013 +0200
  Fix wayland-scanner to work with CONFIG+=silent

* squash to match more with structure of
  https://github.com/meta-qt5/qtbase/tree/stable

* qtmodules: bump SRCREVs for 5.2.0 tags
  now all modules using qt5-git should be newer than any 5.1.* version
* qtbase: fix paths in packageconfig *.pc files
  include- and lib-paths contained build-sysroot paths
* qtwebkit: Explicitly add ICU libraries to LIBS
  fails to build without this
* qtjsbackend: remove for git versions
  Found in [1]:
  Qt Qml is now using its own built-in Javascript engine and does not depend on
  V8 anymore. As such the QtJSBackend shared library has disappeared.
  [1] http://blog.qt.digia.com/blog/2013/09/30/qt-5-2-alpha-available/
* qt5: Upgrade 5.1.1 recipes to 5.2.0 to match git recipes
  qtjsbackend is now completely gone
  it allows to share more .patch files and configuration in .inc again

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-12 15:01:37 +01:00
Holger Hans Peter Freyther 456dacd6be Merge branch 'hheinold/journald-removed' 2014-01-08 11:10:31 +01:00
Henning Heinold f0c0ed9f6c systemd: disable journald completely
* mask journald.service and socket in postinst
* change syslog.socket to observe /dev/log
* bump PRINC to 17
2014-01-08 11:10:24 +01:00
Holger Hans Peter Freyther 27f0ed2dc5 osmo-pcu: Update to the latest sysmocom/master version as of today 2014-01-08 10:59:55 +01:00
Henning Heinold d6572a4b3c osmo-pcu: add systemd support
The systemd-service-file was added to sysmocom/master branch so use that.
2014-01-08 10:59:19 +01:00
Martin Jansa 775d77e482 qtwebkit: Depend on gstreamer-1.0 instead of 0.10
* since this commit:
  commit e0debe138cb59c140ebbc69755d36028d2b89459
  Author: Allan Sandfeld Jensen <allan.jensen@digia.com>
  Date:   Thu Feb 28 13:42:27 2013 +0100
  Subject: Switch QtWebKit to GStreamer 1.0.

  qtwebkit supports 1.0 and will use that by default when found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-01 12:54:50 +01:00
André Draszik 57709a4ee2 qt5.inc: allow to set the package arch globally
If Qt5 (qtbase) is machine specific, then all packages depending
on qtbase will also be machine specific, because the (initial)
qtbase configuration becomes part of Qt5/qmake, thus affecting
builds of packages built against this specific version of qtbase.

Since it is not feasible to add PACKAGE_ARCH=... to each and every
recipe that is built using qmake and depends on Qt5, we introduce
a new variable, QT_PACKAGES_ARCH, that can be set by the machine
configuration as needed.

We have to be careful though to only change the architecture of the
resulting packages if we're not compiling a 'native' package.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-21 19:48:14 +01:00
Holger Hans Peter Freyther 7b24b69422 sdk: And bump the global PR for edison 2013-12-20 14:23:08 +01:00
Holger Hans Peter Freyther 00ab996862 sdk: Put the femto BTS headers into the SDK as well
We require these header files to re-build the osmo-bts software.
2013-12-20 14:12:10 +01:00
Holger Hans Peter Freyther 6c18f2de6c misc: Use BBFILES += instead of an immediate assignment
Layers coming after us are forced to expand the DISTRO_VERSION
before it has been set. Fix that by using += instead of an immediate
assignment.
2013-12-20 14:11:20 +01:00
Henning Heinold b0703d4440 linux-sysmocom: update dora to kernel version 3.10.24/commit 1df50cd88f6923db5705d28bbfa63a28d8d6bd66
* seems to fix the update-alternatives error when we saw, when updating busybox
* Fixes:SYS#184
2013-12-20 13:48:51 +01:00
Henning Heinold 6d12c623fc busybox: backport the ifplugd-larger-buffer patch for kernel 3.9 and above
To use the busybox-ipflugd a larger buffer for netdev messages
is needed. This is orginal patch from

http://git.busybox.net/busybox/commit/networking/ifplugd.c?id=da331d779c19d7d5d4ef05152ee467d617913a01

which is needed until a new busybox version is released.

This commit only is only relevant to the dora release of poky.

* bump PRINC
2013-12-20 13:48:16 +01:00
Martin Jansa 72ca958ebf qtlocation, qtsystems: Fix QT_MODULE_BRANCH
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-12 16:32:02 +01:00
Denys Dmytriyenko 343101669c qttools-native: remove previous license workaround
Previously license files were missing for qttools module, so we used to point
to generic files with same license.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-12 16:32:02 +01:00
Denys Dmytriyenko 512c859380 nativesdk-qttools: add nativesdk version of qttools necessary for SDK tools
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-12 16:32:02 +01:00
Denys Dmytriyenko 7b898fdc66 nativesdk-qtbase: add nativesdk version of qtbase necessary for SDK tools
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-12 16:31:58 +01:00
Holger Hans Peter Freyther 2ce4302917 Merge remote-tracking branch 'hheinold/busybox-unified'
Henning manually verified that the sysvinit script is still working.
This recipe should not influence the Edison build.
2013-12-11 19:40:20 +01:00
Henning Heinold 7bfc02130f busybox-syslog: unify configuration place of systemd und sysvinit scripts for dora
* systemd has no way to set flexible enviroment variables,
  though setting or dropping variables based on other settings is not
  possible

* EnvironmentFile option in systemd can only have name value pairs no logic

* Best solution for this problem found at
  http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg05091.html
  using a shell before starting the service

* move the parameter logic from sysvinit startup file to syslog-startup.conf
  and source syslog-startup.conf from the busybox-syslog default file

* /etc/syslog-startup.conf is now the only config file

* works with bash and busybox-shell

* bump PRINC
2013-12-11 19:31:19 +01:00
Harald Welte 068f2d676a lcr: disable AMR support for now, to force GSM FR to be used. 2013-12-04 16:28:31 +01:00
Henning Heinold f5badb8b9e linux-sysmocom: workaround for edison, which derives git${SRCPV} from local bb_persist_data 2013-12-03 18:00:51 +01:00
Holger Hans Peter Freyther 6ed3f9adf5 osmo-pcu: Build my latest testing version of the PCU 2013-12-03 15:38:58 +01:00
Harald Welte dde93d16d6 update lcr to 1.13 + current git 2013-12-02 21:56:26 +01:00
Harald Welte 6d1fc80b26 add recipe for sofia-sip (SIP client library) required by lcr 2013-12-02 20:52:14 +01:00
Harald Welte af181bf461 add recipe for libopencore-amr 2013-12-02 20:41:39 +01:00
Holger Hans Peter Freyther 37ae8d11b7 sysmocom-image: Add package-management as IMAGE_FEATURES
In post edison we will need to ask the package class to not throw
away the /var/lib/opkg directory with the state of installed packages.
2013-11-27 12:25:01 +01:00
Henning Heinold ccd50b5dbe linux-sysmocom: split to v3.10 and v3.2
* The Linux 3.2.X kernel has some funny issues with GCC 4.8 in the
fs/namei.c look up code. It is easier to move to 3.10 than to fully
debug the issue.

* disable the mISDN loop patch for v3.10

* use the hack to make v3.2 compilable for edison and v3.10 for dora
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther 71b2d700c7 linux-sysmocom: Catch up with a newer version of Linux
This is 3.2.48 and we apply two additional patches for GCC 4.7.2+
and the usage of memset in the kernel.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther f688f03b7a linux-sysmocom: Allow to use systemd on the sysmobts v1, v2 and sysmoBSC 2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther 6f4ac52b30 busybox-1.21.1: Update the defconfig and re-enable the following
* ifplugd is enabled again
* blacklisting of modules
* mounting of cifs
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther b18f2815b9 init-ifupdown: netbase was split up in master into two recipes
Re-use the files from the netbase/ directory as we still have
the edision version of netbase that includes interfaces.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther ad936987cc ubl/u-boot: Use PKGV and PKGR instead of PV/PR for the AUTOINC
This should help in having no AUTOINC inside the uboot filename
but it doesn't fix it yet.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther d6f50abeda misc: Target both dora and master by moving around recipe links 2013-11-27 12:25:01 +01:00
Henning Heinold c6dc71c3ae layer: Auto-select the right fixes based on the Poky version 2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther fc071607d1 osmo-bts: Package the sysmobts.service for systemd support
Use the native systemd service file to avoid running a shell script
that is ran from within the screen. This code expects the pcu to have
a .service file itself.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther 921d2e8ec0 systemd/watchdog: Use systemd as watchdogd daemon when available
Provide custom systemd config files to enable the watchdog handling. For
systemd we depend on the image containing and using systemd as init script.

In case we build images without systemd we will need to install the
old watchdog. Maybe it is time to create a MACHINE_FEATURE for watchdog.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther 78f6e55ed9 systemd: Keep the log and address space size down of the journald 2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther f4bf38e765 systemd: We do not want to run the dbus-daemon, do not install the service
We have no other dbus users, do not install the dbus.service and dbus.socket
by default. It only leads to wasting a bit of ram.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther e1acffbebc update-rc.d: Take and modify the angstrom systemd patch
Do not attempt to start/stop the application as part of the upgrade.
This might conflict with systemd .service files that override the
LSB script. The path of systemd has changed so the path was updated
in the script. A better fix would check if the systemd cgroup is mounted
as this is a better indicator for systemd.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther 0a56d11827 dbus: Do not depend on the dbus daemon when using libdbus
systemd can cope without having a dbus-daemon present. This is the
way we want it to operate to conserve a bit of memory. Do not install
the dbus daemon by default. Not having a dbus daemon is breaking the
systemd color output right now but this is something that should be fixable.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther da70ced095 busybox: Change the busybox syslog to use the internal ring buffer again
Revert the logging to the memory buffer to avoid writes to the disk
as the log directory might or might not be on tmpfs.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther 6431d35a85 busybox: Move it to the recipes-core directory to match the naming
Jan pointed out that the original busybox is inside the recipes-core
directory, move it there as well.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther b62f6083a5 master: Move shared recipes into the yocto-edison directory
Master has moved forward and we need to move the bbappends into the
yocto-edison folder. For the task-core-boot it has been renamed to
the packagegroup-core-boot and we do not need to increase the version
number for master.
2013-11-27 12:22:52 +01:00
Martin Jansa 662ff3043a cmake: Rename .bbappend to match new version from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-15 18:52:03 +01:00
Holger Hans Peter Freyther a3c2a2b55c osmo-pcu: Update the PCU to the latest commit in my cleanup branch 2013-11-05 10:23:10 +01:00
Martin Jansa 7327781083 qtwayland: Fix Project ERROR: Module v8 has no public API
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-04 23:12:21 +01:00
Martin Jansa a6753fa646 maliit-framework-qt5: Add missing dependency on qtdeclarative
* it needs also quick and qml, so qtbase wasn't enough

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-04 12:13:11 +01:00
Martin Jansa d6c3d39a70 maliit-framework-qt5: Add missing dependency on qtbase
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-03 22:39:09 +01:00
Martin Jansa faa07fc3a6 cmake: Rename and update .bbappend to match new version from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-03 22:39:09 +01:00
Iktwo Sh f11778340c qtx11extras: Add recipe
Signed-off-by: Iktwo Sh <elmaildeliktwo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-03 22:38:58 +01:00
Nicolas Dechesne ffe8a0e0ad qtwebkit-examples: add missing RDEPENDS for qmlplugins
Some examples require qtwebkit-qmlplugins (flickerview, youtubeview),
and this dependency is not automatically added. Without this patch,
and without manually adding qtwekbit-qmlplugins, we get errors like
this:

qrc:///flickrview.qml:42:1: module "QtWebKit" is not installed

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-03 22:38:58 +01:00
Kristofer Hansson Aspman 9f0f1dc647 qtconnectivity: Add recipe.
Signed-off-by: Kristofer Hansson Aspman <kristofer.hansson-aspman@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-03 22:38:52 +01:00
Jonathan Liu c36be1724a qtbase: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-29 11:48:47 +01:00
Simon Busch 84cd4be249 maliit-framework-qt5: package only ${libdir}/qt5/mkspecs within ${PN}-dev
When we're building maliit with it's input context plugin enable it gets installed into
${libdir}/qt5/plugins/platforminputcontexts which couldn't be added to ${PN} cause it's
already in ${PN}-dev and the only part which should go into ${PN}-dev is
${libdir}/qt5/mksepcs and nothing else from ${libdir}/qt5.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-21 11:54:12 +02:00
Simon Busch a5de4e3856 maliit-plugins-qt5: add dependency on libqt5svg-plugins
Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-20 14:56:34 +02:00
Simon Busch 3763998ed0 maliit-framework-qt5: don't replace directory names for maliit-defines.prf
The values from maliit-defines.prf are only used at runtime and not at compilation time so
we don't have to replace them with the proper staging paths.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-20 14:55:44 +02:00
Simon Busch 5ecfb7dc54 maliit-frameworks-qt5: provide ${datadir} also by EXTRA_QMAKEVARS_PRE
Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-20 14:55:41 +02:00
Harald Welte 2f6561a646 linux: enable advanced routing
this might help us in some installations where there are multiple
back-hauls and we want to base routing decisions not only based
on the destination IP.
2013-10-14 20:12:14 +02:00
Harald Welte 145410f478 update gsmd to include latest AT@COPS fix 2013-10-14 19:52:58 +02:00
Harald Welte 57863a435b update gpsdate to a version that re-connects on gpsd exit 2013-10-14 10:44:20 +02:00
Harald Welte 32d4a2691f update openmoko-gsmd to include AT@COPS=? command support 2013-10-13 20:13:49 +02:00
Martin Jansa e1d2257f60 qtbase: Use bundled freetype by default
* system freetype works only together with fontconfig
* building qbasicfontdatabase fails with system freetype and without
  fontconfig or with freetype completely disabled
  | /home/jenkins/webos-ports/workspace/webos-ports/tmp-eglibc/sysroots/a500/usr/include/ft2build.h:56:38:
    fatal error: freetype/config/ftheader.h: No such file or directory
  |  #include <freetype/config/ftheader.h>
  |                                       ^
  | compilation terminated.
  | make[2]: *** [.obj/release-shared/qbasicfontdatabase.o] Error 1
  | make[2]: *** Waiting for unfinished jobs....

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-12 19:03:49 +02:00
Martin Jansa 4c177a661f qtbase: Disable freetype by default
* building qbasicfontdatabase fails without fontconfig enabled
  | /home/jenkins/webos-ports/workspace/webos-ports/tmp-eglibc/sysroots/a500/usr/include/ft2build.h:56:38:
    fatal error: freetype/config/ftheader.h: No such file or directory
  |  #include <freetype/config/ftheader.h>
  |                                       ^
  | compilation terminated.
  | make[2]: *** [.obj/release-shared/qbasicfontdatabase.o] Error 1
  | make[2]: *** Waiting for unfinished jobs....

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-11 22:12:19 +02:00
Martin Jansa af6014e3bc qtbase: Disable fontconfig by default
* it was explicitly disabled in
  commit 1b14686657
  Author: Philip Craig <phil@blackmoth.com.au>
  Date:   Wed Jun 26 02:13:02 2013 +0000
  Subject: qtbase: disable fontconfig support by default
* and then accidentaly enabled with PACKAGECONFIG changes
  commit ebdd83f6b7
  Author: Martin Jansa <Martin.Jansa@gmail.com>
  Date:   Sat Jul 20 00:02:57 2013 +0200
  Subject: qtbase: explicitly enable or disable all deps
* Thanks to Nicolas Dechesne for reporting it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-10 12:39:36 +02:00
Martin Jansa 3e95350611 qtbase_git: restore 0025-QHttpMultiPart-fix-data-corruption-in-readData-metho.patch in SRC_URI
* commit 105ad2a18e
  Author: Eric B<C3><A9>nard <eric@eukrea.com>
  Date:   Mon Oct 7 22:54:12 2013 +0200
  Subject: qtbase: update to 5.1.1
  removed it from SRC_URI in qtbase.inc, but it's still needed for
  qtbase_git

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-10 12:36:47 +02:00
Jonathan Liu 096a380851 qtbase: add upstream QTBUG-31579 patch for QPainter regression
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-10 12:35:18 +02:00
Harald Welte 46d5e0b697 gpsd: Add patch to enable + configure PPS in TSIP (trimble) driver
In the sysmoBTS 2050, we want to configure the 1PPS output of the
trimble to be active only if it has at least 1 satellite in view,
and want to make the receiver output its time information in UTC,
rather than GPS time.
2013-10-09 23:58:18 +02:00
Harald Welte a349ce5879 update sysmobts/osmo-bts to b2a8a642d65779918f64437b5cbbde8e206222f2
this will add support for transmitting at higher power (model 2050)
as well as restricting the unit to use within those bands indicated
in the EEPROM.
2013-10-09 23:56:36 +02:00
Eric BENARD ee4ef2a303 qt5.inc: extend FILES_${PN}-examples-*
this fix :
ERROR: QA Issue: non debug package contains .debug directory: qtquick1-examples path
/work/armv7a-vfp-neon-oe-linux-gnueabi/qtquick1/5.1.1-r0/packages-split/qtquick1-examples/
usr/share/qt5/examples/declarative/cppextensions/plugins/org/qtproject/TimeExample/.debug/libqmlqtimeexampleplugin.so

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 17:56:23 +02:00
Martin Jansa 040dd25bed qtjsondb: Remove unsupported module
* https://bugreports.qt-project.org/browse/QTBUG-31741

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Andreas Müller 2ecccc2ca2 qtgraphicaleffects, qtquickcontrols: Don't use PN in PN-dev RDEPENDS
* fix do_rootfs for images with dev-pkgs in IMAGE_FEATURES
  | Collected errors:
  |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for qtquickcontrols-dev:
  |  *     qtquickcontrols (= 5.1.0-r0) *
  |  * opkg_install_cmd: Cannot install package qtquickcontrols-dev.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Denys Dmytriyenko 67be006397 qtbase.inc: PACKAGECONFIG[linuxfb] shouldn't depend on nonexistent linuxfb package
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Denys Dmytriyenko 0cf24787ef qtwebkit-examples: enable building and packaging of examples by default
Note: binaries will go into ${PN}-examples, which is qtwebkit-examples-examples

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Eric Bénard 35a7c923cc qt: use 5.1.1 by default
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Eric Bénard c845e487d7 qttools-native: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Eric Bénard 04458354f1 qtserialport: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Eric Bénard aeb1302888 qtquickcontrols: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:10 +02:00
Eric Bénard ca2cac7ed0 qtwebkit-examples: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 070247fe7c qtwebkit: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 4a94c9a0f1 qtlocation: don't depend on qtjsondb
jsondb is not listed a a dependencies on qtlocation in sync.profile
and was removed in more recent versions as qtjsondb is no more
maintained

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard f3681a0c6b qtquick1: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 67cb9cddb1 qtsystems: don't depend on qtjsondb
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 0e5231d08e qtsensors: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 6fbf68d13b qtscript: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 4109beed99 qtmultimedia: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard cdca779691 qtimageformats: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 5f3c5e66fa qtgraphicaleffects: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 976d9af047 qtdeclarative: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 56eb7fdac9 qtxmlpatterns: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard d90d6ed18e qtsvg: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard f40e53b1cb qtjsbackend: update to 5.1.1
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 105ad2a18e qtbase: update to 5.1.1
- patch 10 was update
- patch 19 & 25 are merged so no more needed

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:09 +02:00
Eric Bénard 149e6b6d37 cinematicexperience: add example
for more informations on this demo :
http://kgronholm.blogspot.fr/2012/08/qt5-cinematic-experience.html
http://quitcoding.com/?page=work#cinex

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-08 15:50:05 +02:00
Holger Hans Peter Freyther 079a2cad84 openbsc: Big update needed after the upgrade of libosmo-abis 2013-10-07 18:10:15 +02:00
Holger Hans Peter Freyther 0b2ae79dad libosmo-abis: Upgrade git version with semantic/abi changes 2013-10-06 17:05:19 +02:00
Holger Hans Peter Freyther 83edf1dce4 osmo-bts: Build against the new libosmo-abis library 2013-10-06 17:03:45 +02:00
Martin Jansa d43d777816 README: Add note about qtbase PACKAGECONFIG options
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 14:42:25 +02:00
Martin Jansa d6fc754ac4 qtwebkit: Export RUBYLIB to fix wrong paths hardcoded in native ruby
* when ruby-native is reused from sstate it can contain paths pointing
  to wrong sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 14:42:19 +02:00
Stefan Schmidt d691c44778 maliit: Import maliit recipes from meta-oe
* Imported from rev 13ae5105ee30410136beeae66ec41ee4a8a2e2b0
  This is the first step to move these recipes over to qt5.
* maliit-framework-qt5: Build with qt5
  Switch to new github repo
  Update SRCREV and remove patches which now longer apply
  Disable doc generation and xcb
  Fix packaging
* maliit-plugins-qt5: Build with qt5.
  Switch to new github repo
  Update SRCREV and PV
  Fix packaging
* maliit-*-qt5: Adjust MKSPEC path
* meta-framework-qt5: Cleanup packaging and enable dbus activation.
  Move pkgconfig files, headers and spec files into dev.
  Cleanup packaging rules
  Enable dbus activation to start maliit server on demand
* maliit-plugins-qt5: Set MALIIT_PLUGINS_DATA_DIR to avoid path leakage from host
  If not overriden here MALIIT_PLUGINS_DATA_DIR would point to some host
  paths resulting in e.g. qml files not being found.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
2013-10-05 14:42:08 +02:00
Harald Welte e9ead4c0f3 task-sysmocom-bts: Include sbts2050-util on sysmobts-2050 2013-10-04 23:39:44 +02:00
Harald Welte e003221b02 sbts2050-util: Mark file as executable file 2013-10-04 23:38:25 +02:00
Harald Welte 5cf873f499 Add binary-only package for sbts2050-util
sbts2050-util is a small binary-only userspace program used to
interface with the sysmoBTS 2050 board management controller,
i.e. to enable/disable PA power, read power consumption/temperature
and the like.

This tool is going to disappear once the respective features have been
included in the (open source) sysmobts-util / sysmobts-mgr.  Please be
patient meanwhile.
2013-10-04 22:22:53 +02:00
Harald Welte 3c99769de2 add bb recipes for sysmobts firmware 3.4 and 3.6 2013-10-04 21:53:10 +02:00
Harald Welte a2a2d67e1a femtobts-api: Update to v3.6. Compatible with all v3.x header files. 2013-10-04 21:41:04 +02:00
Harald Welte b16ceec77f update to recent osmo-bts master to include sysmobts-util
sysmobts-util is used to set/get the model_number / trx_nr on the sysmoBTS 2050.
2013-10-04 21:40:30 +02:00
Harald Welte 7fa273ffc2 Initial support for a MACHINE="sysmobts-2050" build
The build differs in that it doesn't use a getty on ttyS0.  In the fuutre,
a modified kernel serial driver as well as a 2050-specific utility
for managing the supervisor processor will follow.
2013-10-04 21:39:52 +02:00
Trevor Woerner f4188229f1 devshell: include PATH for qt5 native applications
If you perform a "bitbake -c devshell <some qt5 recipe>" and then try "which
qmake" in the devshell, you'll find your host's qmake is found (which is most
likely to be based on qt4) rather than the one that is built as part of
meta-qt5. The reason for this is that the qt5 items are installed to
${STAGING_DIR_NATIVE}/usr/bin/qt5 and not ${STAGING_DIR_NATIVE}/usr/bin. The
reason for the extra "qt5" directory at the end is so that qt4-based items
that are built in OE can live side-by-side with things from meta-qt5 without
interfering with each other.

This patch prepends ${STAGING_DIR_NATIVE}/usr/bin/qt5 to the devshell's PATH
so that the qt5-based native tools which are built as part of meta-qt5 will be
found before the host's.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-03 18:03:35 +02:00
Trevor Woerner 918d5d9671 qtwebkit: fix QA issue (bad RPATH)
Building qtwebkit causes a QA issue such that QtWebPluginProcess and
QtWebProcess contain bad RPATHs which point into the build location. This fix
adds a patch to not include the rpath.prf which causes this problem.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-03 18:01:17 +02:00
Tasslehoff Kjappfot f11b1722e2 qtquickcontrols: Add module for 5.1.0 and git versions
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 14:49:33 +02:00
Laszlo Papp f770c5dca9 QtSerialPort: Add 5.1.0 version
Signed-off-by: Laszlo Papp <lpapp@kde.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-13 14:57:38 +02:00
Martin Jansa c67873216b recipes-qt5: Drop 5.0.2 version and 2nd qtwayland recipe
* this will make maintaining meta-qt5 a bit easier

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-13 14:57:38 +02:00
Martin Jansa 671313d0b5 cmake: disable test for Qt5Core
| CMake Error at tmp-eglibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message):
|   The imported target "Qt5::Core" references the file
|
|      "/qmake"
|
|   but this file does not exist.  Possible reasons include:
|
|   * The file was deleted, renamed, or moved to another location.
|
|   * An install or uninstall procedure did not complete successfully.
|
|   * The installation package was faulty and contained
|
|      "tmp-eglibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
|
|   but not all the files it references.
|
| Call Stack (most recent call first):
|   tmp-eglibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:6 (_qt5_Core_check_file_exists)
|   tmp-eglibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:130 (include)
|   Tests/RunCMake/CMakeLists.txt:80 (find_package)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-13 14:57:24 +02:00
Bhooshan Supe 2340ce8714 qttools-native: Add module to build lrelease+lupdate+lconvert
:Release Notes:
Add optional Qt-Tools module.

:Detailed Notes:
Qt provide optional Qt-Tools like "lrelease", etc.
In absence of these tools one can not have i18n and l10n changes automated in build.
Adding "qttools-native" to "meta-qt5" Open Embedded layer provides those tools.
Using Qt-Tools i18n and l10n changes can be auomated.

:Testing Performed:

:QA Notes:

:Issues Addressed:
[GF-11028] Enable build of Qt localization tools in the Qt component

Change-Id: Ieb679249a05501a6ccb25108903a0fd48d4014f0
2013-09-13 14:32:02 +02:00
Martin Jansa 284020d934 qtwebkit: remove examples packages
* fixes:
  NOTE: multiple providers are available for runtime qtwebkit-examples (qtwebkit-examples, qtwebkit)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match qtwebkit-examples
  NOTE: multiple providers are available for runtime qtwebkit-examples-dev (qtwebkit, qtwebkit-examples)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match qtwebkit-examples-dev

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-13 14:07:23 +02:00
Holger Hans Peter Freyther 11897ce530 smalltalk: Build a native libsigsegv and depend on zip-native
These two dependencies are required for building the native package
of GNU Smalltalk on a clean system.
2013-08-30 18:02:16 +02:00
Abhijit Potnis 2868f1a183 qtwebkit-examples: Add module
Signed-off-by: Abhijit Potnis <abhijit_potnis@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-26 09:33:49 +02:00
Simon Busch 7c3a1a208d qtbase: upgrade patches for proper cmake support of native binaries at build time
Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-26 09:33:49 +02:00
Martin Jansa 84c2a25417 qt5-5.1.0: Drop negative D_P
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-19 08:31:16 +02:00
Holger Hans Peter Freyther 8fab0f3222 uucp: opkg works on files and not directories. Create /var/spool/uucp in postinst
Create the spool directory in the post install in case it does
not exist yet. Use the -m 0770 to begin with the right default
for this directory.
2013-08-17 19:14:10 +02:00
Holger Hans Peter Freyther 4f6d4893ce vlan: Add a vlan configuration utility as used on the OHM 2013-08-17 18:50:53 +02:00
Marek Belisko 2d61422b83 Fix download url for qt5-5.0.2.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-15 22:01:24 +02:00
Martin Jansa c3632023e1 qtbase: be more specific in opengl switch with gl in PACKAGECONFIG
* full GL is called desktop in qtbase configure
* without this it will try to autodetect and doesn't fail when
  e.g. mesa wasn't built before qtbase

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-15 12:27:27 +02:00
Martin Jansa 54d1f81e84 Revert "qtserialport: Add module"
* incorrect LIC_FILES_CHKSUMS

This reverts commit 5b19e4bd6f.
2013-08-15 12:26:49 +02:00
Erik Botö 3529eb8055 qt5-5.0.2.inc: update path to sources
They moved the 5.0.2 sources into an archive dir upstream, this updates
the SRC_URI accordingly.

Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-13 09:43:48 +02:00
Jonathan Liu 886e8ee5bd qtbase: add upstream QTBUG-32534 patch for QHttpMultiPart corruption
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-13 09:42:51 +02:00
Martin Jansa 0f7b233426 qt5-versions: Change default version to 5.1.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-13 09:42:51 +02:00
Laszlo Papp 5b19e4bd6f qtserialport: Add module
Signed-off-by: Laszlo Papp <lpapp@kde.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-13 09:40:05 +02:00
Simon Busch d68d26ba4e qtwayland: build and package examples applications too
Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-13 09:40:02 +02:00
Simon Busch ee6c2abf6a classes: cmake_qt5: export all qt5 related paths to cmake
Signed-off-by: Simon Busch <morphis@gravedo.de>
2013-08-02 11:27:25 +02:00
Holger Hans Peter Freyther 57cc5e9c58 osmo-bts: Update to an experimental version that uses libosmo-abis
This is a osmo-bts that will use libosmo-abis for OML and RSL and
is based on master. In one way it should improve quality in another
it is also testing.
2013-08-01 19:45:00 +02:00
Holger Hans Peter Freyther f608e7e4f9 libosmocore/libosmo-abis: Update libosmo-abis to an experimental branch
Update libosmocore to 0.6.2+git and the libosmo-abis to a branch
useful for the osmo-bts.
2013-08-01 19:38:32 +02:00
Simon Busch 4450a42aba qtbase: fix cmake patches to point to correct host binary directory
Signed-off-by: Simon Busch <morphis@gravedo.de>
2013-07-26 10:31:41 +02:00
Simon Busch 6b39eda7a6 classes: add new cmake_qt5 class
A cmake specific qt5 class which sets all required configuration parameters to
successfully compile cmake based applications.

Signed-off-by: Simon Busch <morphis@gravedo.de>
2013-07-25 22:33:59 +02:00
Simon Busch 243e05f1de qtbase: fix cmake files to use our host binaries
* only for qt 5.1.0; didn't had the time to port this to 5.0.2
* client recipes need to export OE_QMAKE_PATH_EXTERNAL_HOST_BINS in EXTRA_OECMAKE

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 22:33:53 +02:00
Simon Busch b0100c1b57 classes: qmake5: move QT_DIR_NAME to qmake5_paths
* qmake5_paths.bbclass refers to QT_DIR_NAME but it's defined on a higher level which
  doesn't makes sense and breaks some use cases

Signed-off-by: Simon Busch <morphis@gravedo.de>
2013-07-25 20:12:14 +00:00
Martin Jansa bb4c8adeeb qtwayland: demote 5.1.0+git version a bit
* 5.0.2+git should stay default for people without qt5-versions.inc
* make sure that % isn't appended twice in qt5-versions.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 17:45:18 +02:00
Christian Gagneraud 07301a1636 qtbase.inc: Fix qtbase-tools runtime depencency on perl
* While building a custom rootfs using poky, meta-oe, meta-ti
  and meta-qt5 (all on Dylan branch), I got the following error:
  [...]
  Computing transaction...error: Can't install
    qtbase-tools-5.0.2-r2.0@armv7a_vfp_neon: no package provides /usr/bin/perl
  [...]
* syncqt is perl script with /usr/bin/perl shebang, that's why rpm
  was complaining (other package managers in OE doesn't check that)

Signed-off-by: Christian Gagneraud <chgans@gna.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:21:12 +02:00
Martin Jansa 43872948d4 qtmultimedia: add gst-plugins-base dependency and openal PACKAGECONFIG
* this will need small patch in qtmultimedia.pro to run
  qtCompileTest(openal) only with OE_OPENAL_ENABLED

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa a4c346ba8f qtwebkit: add dependency on gstreamer and libxslt
* it's autodetected from sysroot, make it deterministic
* maybe I should allow to change gst-0.10 to 1.0 without
  rewriting DEPENDS

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa 2649027bd0 qtimageformats: add dependency on tiff
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa 567a4d462f qt5: drop INC_PR and update PR only in 5.0.2 recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa 3da4d425d0 qt3d, qtjsondb: bump SRCREV and set MODULE_VERSION
* drop INC_PR/PR where possible

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa 5eb22ffbfa qtwayland: add second recipe with latest SRCREV, compatible with qt5 5.1.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa 507c7466ea qt5: bump SRCREVs in git recipes to 5.1.0+
* patches will now be closer to 5.1.0 release

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:12 +02:00
Martin Jansa 902f55b957 qt5: add recipes for 5.1.0
* only rebased patches and updated SRC_URI checksum, haven't even build
  tested it yet

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:11 +02:00
Martin Jansa ca4a0758e1 qmake5_base: add override for HostLibraries
* qtdeclarative was using /usr/lib as HostLibraries causing
  WARNING: QA Issue: qtdeclarative: The compile log indicates that host include and/or library paths were used.
           Please check the log 'qtdeclarative/5.1.0-r0/temp/log.do_compile' for more information.
  DEBUG 1: /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/lib/qt5/mkspecs/features/qt_config.prf:23: QT_MODULE_HOST_LIB_BASE := /usr/lib
* also without this fix qtdeclarative and qtwayland are trying to
  build tools against /usr/lib/libQt5Bootstrap.a (without sysroot
  prefix)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:11 +02:00
Martin Jansa ebd60ffe7e qtwayland: add native recipe
* qtwayland fails, because we'll need to add qtwayland-native to provide
  qtwaylandscanner in QT_EXTERNAL_HOST_BINS location (otherwise build
  will try to use /usr/bin/qt5/qtwaylandscanner)

* native recipe is needed to build qtwayland-scanner which
  is required after this upstream commit

  commit 05d054ad7207764293525661876ebc689940a15c
  Author: Samuel R<C3><B8>dal <samuel.rodal@digia.com>
  Date:   Tue Apr 9 16:52:59 2013 +0200
    Introduced qtwaylandscanner.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:11 +02:00
Martin Jansa 71cc38affe qtjsbackend: refresh patches, move to subdirectory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:11 +02:00
Martin Jansa ebdd83f6b7 qtbase: explicitly enable or disable all deps
* some options are tri-state and PACKAGECONFIG doesn't support that
  if you need the 3rd option, you need to overwrite PACKAGECONFIG[opt]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-25 12:14:08 +02:00
Martin Jansa b9fec03db8 qtbase-5.0.2: refresh patches to apply cleanly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 14:18:37 +02:00
Holger Hans Peter Freyther ffce9e7f87 osmo-pcu: Build a 'hack'/tmp branch that exits the PCU after a BTS loss
This will make the PCU exit after a BTS is lost. This is because the
PCU is not resetting all the state and then BSSGP might not come up
properly.
2013-07-11 17:05:40 +02:00
Holger Hans Peter Freyther 1a9dd62e22 ortp: gcc 4.8 fails to compile this module because of a wrong memset 2013-07-10 12:55:12 +02:00
Eric BENARD 75291e7614 qtbase-native-5.0.2: fix compilation on Fedora 19
the patch 0017-Rename-qAbs-Function-for-timeval.patch is also
needed for native else, on Fedora 19, we get :
| ../../include/QtCore/../../../qtbase-opensource-src-5.0.2/src/corelib/global/qglobal.h:483:27: error: from previous declaration 'constexpr T qAbs(const T&) [with T = timeval]'
|  Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 18:02:12 +02:00
Martin Jansa b9b00aaad4 qmake5: Add trailing space in DEPENDS_prepend instead of QT5TOOLSDEPENDS
* this way it looks better in bitbake -e, instead of:
  ${QT5TOOLSDEPENDS}${BASEDEPENDS}

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-03 19:18:36 +02:00
Martin Jansa 886509518d qtwayland: Add xproto dependency together with libxkbcommon
* xproto provides X11/keysym.h which is used when testing libxkbcommon support:
executing config test xkbcommon
+ cd /OE/work/i586-oe-linux/qtwayland/5.1.0+git/build/config.tests/xkbcommon && /OE/sysroots/x86_64-linux/usr/bin/qt5/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon
+ cd /OE/work/i586-oe-linux/qtwayland/5.1.0+git/build/config.tests/xkbcommon && make      MAKEFLAGS='-j 9'     OE_QMAKE_COMPILER='i586-oe-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_CC='i586-oe-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_CXX='i586-oe-linux-g++  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_CFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types'     OE_QMAKE_CXXFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden'     OE_QMAKE_LINK='i586-oe-linux-g++  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86'     OE_QMAKE_LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed'     OE_QMAKE_AR='i586-oe-linux-ar'     OE_QMAKE_STRIP='echo'     OE_QMAKE_WAYLAND_SCANNER='/OE/sysroots/x86_64-linux/usr/bin/wayland-scanner'
compiling /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon/main.cpp
/OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon/main.cpp:42:24: fatal error: X11/keysym.h: No such file or directory
compilation terminated.
make: *** [.obj/release-shared/main.o] Error 1
test xkbcommon FAILED

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-03 16:44:54 +02:00
Martin Jansa 28753fa6aa qtwebkit: Disable debug info by default
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-26 13:18:49 +02:00
Philip Craig 1b14686657 qtbase: disable fontconfig support by default
Currently fontconfig support is autodetected. It is better to be
deterministic. Since qtbase-fonts is not installed where fontconfig
will find it, it seems that current users are not using fontconfig.

Signed-off-by: Philip Craig <phil@blackmoth.com.au>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-26 09:04:28 +02:00
Holger Hans Peter Freyther f79726fdcc osmo-bts: Move to a new 0.3.0-next release with EEPROM reading 2013-06-24 08:28:02 +02:00
Holger Hans Peter Freyther f5d3fba955 sysmocom-backup: Save two more files from the etc directory
Save the ifplugd.sh script and hostname in the backup as well. I have
a usecase where these two files were modified.
2013-06-22 17:20:57 +02:00
Holger Hans Peter Freyther 03fd342e14 sysmocom-backup: Backup all of /etc/default
Additional applications might store files in /etc/default and it
is the easiest to backup up all of them. This has the danger that
after an upgrade the default file is not compatible/optimal but
we will need to deal with that once it occurs.
2013-06-22 09:48:01 +02:00
Holger Hans Peter Freyther 69d9a0609d sysmocom-backup: Backup the /etc/network/interfaces file 2013-06-22 09:36:02 +02:00
Holger Hans Peter Freyther 6e7383839c gpsd: Mark the /etc/default/gpsd as a CONFFILE 2013-06-20 20:39:11 +02:00
Holger Hans Peter Freyther 6453080cef gpsd: Make sure the sysmobts-v2 gpsd default version is installed
The sysmobts-v2 version was not installed because the file was
not called properly. Rename it to gpsd-default and the sysmobts-v2
version will be picked and installed.
2013-06-20 19:48:56 +02:00
Holger Hans Peter Freyther 57c0346f56 gpsd: Upgrade to version 3.9 in the hope of some crashes being fixed
GPSD 3.7 is somehow exiting without us really knowing the cause. The
version 3.9 has been released and we hope that it might just fix the
issues we are experiencing.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther 040f4432f5 osmo-bts: Upgrade to the latest sysmocom/0.3.0-next version
This introduces the auto-band that will help in managing configurations.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther fea919fa5d osmo-bts: Build the 0.3.0-next branch with further improvements
This is a bigger update and brings the SAPI queue, readv/writev
and realtime scheduling to the sysmobts software. This will greatly
improve the stability of the software under load.
2013-06-20 14:39:39 +02:00
Nicolas Dechesne 11ebf35b16 qtbase: typo about virtual/egl depends
The proper 'virtual' name for EGL is virtual/egl, not virtual/libegl,
as per meta/recipes-graphics/mesa/mesa-common.inc.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-20 12:39:38 +02:00
Holger Hans Peter Freyther 5b35766651 gpsdate: Upgrade with a now fully working init script 2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 3f228b8e6e gpsdate: Use SRCPV in the PV and bump the PE
Follow the Poky conventions and use SRCPV for the git package.
Bump the PR because otherwise the package is not upgradable.
2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 16f9bbb288 gpsdate: Upgrade to a newer git version with improved init scripts 2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 673d53bbf5 linux-sysmocom: Force a rebuild of the kernel with the new config file
The previous change modified the defconfig to not include the legacy
pseudo terminal support. Increase the version for the sysmoBTS to have
a kernel without old terminal files.
2013-06-19 20:45:16 +02:00
Holger Hans Peter Freyther 01e96dd240 linux-sysmocom: Disable the legacy PTY handling in the kernel
There is no need to have the various pty files clobber the /dev
directory when they are never used. Do not force a PR upgrade
right now as we don't have a good upgreade strategy for the v1
and the BSC config.
2013-06-19 18:18:30 +02:00
Holger Hans Peter Freyther b6dc4b91a7 gpsdate_git.bb: Use RDEPENDS_${PN} instead of RDEPENDS for dylan/master 2013-06-19 18:11:37 +02:00
Holger Hans Peter Freyther e9d0aa7cb4 misc: Use ALLOW_EMPTY_${PN} and RDEPENDS_${PN} to silent warnings
Newer versions of poky warn about ALLOW_EMPTY on non _PN versions.
2013-06-19 18:11:28 +02:00
Martin Jansa e02b1ca3c2 qtdeclarative-git: Add 2 patches from 5.0.2
* 0002-Fix-null-pointer-access-in-QQuickVisualDataModelPriv.patch is
  applied in newer SRCREV
* 0001-Fix-wrong-calculation-of-viewPort-for-transitions.patch is still
  pending

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-14 12:24:25 +02:00
Martin Jansa da60ee1856 qtdeclarative: move 5.0.2 specific patches to own directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-14 12:13:40 +02:00
Florian Haenel e1223d648c qtdeclarative-5.0.2: Add 4 patches for runtime issues
* 3 backports from newer qtdeclarative:
  System Hang while moving App Ribbon
  Fix for segfault in some ListView Cases
  Make use of BGRA texture format to improve image upload time
* 1 pending fix:
  Fix for ViewTransitions not working in horizontal ListViews

Signed-off-by: Florian Haenel <florian.haenel@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-14 12:11:50 +02:00
Holger Hans Peter Freyther 286a9a90cf openbsc: Update the OpenBSC SRCREV
* Added NAT MGCP Statistic collection
* SMPP fixes
* BTS type sysmobts is working now
2013-06-13 19:30:15 +02:00
Janne Kiiski 46626d15cd qtwayland: Add temporary hack to build for Qt 5.0.2
* Append MODULE_VERSION to .qmake.conf if missing.
* resolved in newer revision:
  commit 4d124fea48a0d094443ed0e031c8e28ec04611a3
  Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
  Date:   Tue Feb 26 12:56:57 2013 +0100
  Subject: define MODULE_VERSION

Signed-off-by: Janne Kiiski <janne.kiiski@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-07 17:28:46 +02:00
Alexander Irhin ac8a20d754 qtbase: patches for WebKit hardware accelerated rendering support
0018 - Offset support for QOpenGLPaintDevice is required for
       speedup WebKit hardware rendering.
0019 - Fix FBO restoring in QOpenGLTextureGlyphCache
       Jira task
0020 - Uses right texture format to exclude extra convertion.

Signed-off-by: Alexander Irhin <alexander.irhin@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-07 11:43:33 +02:00
Holger Hans Peter Freyther 212ab87663 sysmocom-openvpn-config: Add a recipe with our generic OpenVPN client config
This way I just need to install sysmocom-openvpn-config and copy
a matching key to the device for the VPN config. The configuration
file is marked as a CONFFILE, this means that modifications to it
will not be lost during upgrade.
2013-06-07 10:30:25 +02:00
Holger Hans Peter Freyther ebb83ef4e0 misc: Use RDEPENDS_${PN} instead of RDEPENDS to fix parsing issues 2013-06-02 08:50:33 +02:00
Holger Hans Peter Freyther 0c797643dd gpsdate: Use "" for variable content.
The new poky is more strict. Use quotes around the variable for
the work directory.
2013-06-01 18:54:14 +02:00
Holger Hans Peter Freyther 0ca774fc19 u-boot: Build a new version with the "force" option for the recovery 2013-06-01 18:50:54 +02:00
Martin Jansa 6f4e86b621 qtbase-5.0.2: backport fix for build with gcc-4.8
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 18:20:26 +02:00
Martin Jansa 49319a8617 qtjsbackend: refresh hardfloat patch from stable branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 18:20:26 +02:00
Eric BENARD d8ce75b573 qtjsbackend: hardfloat patch is only needed for 5.0.2
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 18:20:25 +02:00
Eric BENARD 1fdab229df qtbase: install and split package fonts
- fonts were not installed (at least in qt 5.0.2) so install
them manually.
- split the font package in smaller package as done in qt4 to
save space on the target.
- use OE_QMAKE_PATH_LIBS which corresponds with:
  mkspecs/features/qpa/genericunixfontdatabase.prf:    fonts.path = $$[QT_INSTALL_LIBS]/fonts

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 18:20:25 +02:00
Martin Jansa 4a82435fff qtbase: Refresh 0016-configure-add-tslib-support.patch from stable branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 18:20:25 +02:00
Martin Jansa 34bf6934ea qt3d, qtjsondb, qtlocation, qtsensors, qtsystems: bump SRCREV to latest
* WARN: because these modules weren't released yet, we need to make sure to
  use SRCREV compatible with selected PV for other modules, old revisions
  were compatible with 5.0.[01], I need to test these new SRCREVs to test
  git versions
* tested with 5.0.2 and 5.0.2+git%

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 18:19:44 +02:00
Martin Jansa 1496c6ba34 qtbase: refresh patches
* all patches applied in recipes should be also applied in
  https://github.com/meta-qt5/qtbase branches to make it
  easier to upgrade to new version without loosing any
  patches
* apply:
  0013-Disable-mkv8snapshot.patch
  0014-enables-tslib-device-to-be-read-from-env-variable.patch
  0015-qtbase-allow-build-of-examples.patch
  also for git version, only
  0016-configure-add-tslib-support.patch
  is now 5.0.2 specific (similar patch already applied in stable branch)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 15:25:53 +02:00
Martin Jansa f8b065ea11 qt5: drop 5.0.0 and 5.0.1 versions
* maintaining 4 different versions requires a lot more testing of
  changes in .inc files and we have only one version of modules without
  release (only one _git.bb) and it's impossible to find SRCREV which
  would be compatible with all 4 versions.
* 0005-AddSynchoronization-qimagereader.patch was already backported to
  5.0.2 in upstream
* 0001-Flickable-Fix-bug-when-flicking-twice-using-touches.patch was
  already applied in 5.0.2

* 5.0.2 is now default version (based on DEFAULT_PREFERENCE and in
  qt5-versions.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 15:25:25 +02:00
Eric BENARD f52b59a5cc qtbase: add option to enable tslib support
- the tslib support is not enabled by default and configure doesn't have any option
to active it, so add the option to the build system,
- patch tslib support to get the device from the environment variable
(patch taken from https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/tslib.patch
- provide variable to enable tslib support in a bbappend (disabled by default)
- tested on an i.MX5x target with qt 5.0.2

TODO : test with 5.0, 5.0.1 and _git

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:55:11 +02:00
Eric BENARD 7994fc13da qtdeclarative-5.0.2: fix examples compilation
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:55:07 +02:00
Eric BENARD 712d678c3a qtbase-5.0.2: fix v8 and allow build of examples
- fix v8 segfault (at least on armv7)
- examples are only provided as sources but in our case, binaries
are more interesting for user to test the features on the target.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:42:38 +02:00
Eric BENARD 440e7829dc qtbase: remove non existing parts
make/nomake demos doesn't exist in qt5.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:42:32 +02:00
Eric BENARD 7698fc1494 qtbase: add 0004-Disable-mkv8snapshot.patch to 5.0.1
else qml application segfault.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:42:27 +02:00
Eric BENARD c4fe1b8f55 qtjsbackend: fix hardfloat detection in v8
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:42:22 +02:00
Eric BENARD 34bed723f3 qt: package examples
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-28 10:42:15 +02:00
Oleg Shparber a991d0c2ac Allow to control (disable) widgets build 2013-05-28 10:40:19 +02:00
Harald Welte 49ca632e9a busybox: include support for CIFS mounting 2013-05-27 16:48:30 +02:00
Martin Jansa 14f6ec2ca2 qtbase: Don't use immediate expansion for OE_QMAKE_QMAKE_ORIG
* full path is part of sstate checksum with immediate expansion

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-24 19:50:00 +02:00
Martin Jansa 35ccafd9c5 qtbase: refresh patches, drop 2 unused
* drop Change-Ids, add Upstream-Status
* 0010-qmake-property-rename-QT_INSTALL_CONFIGURATION-to-QT.patch was
  rejected upstream, 0007 was only in meta-qt5/qtbase repo, but wasn't
  used in recipes

* 0004-Disable-mkv8snapshot.patch and
  0005-AddSynchoronization-qimagereader.patch are special, because they
  are applied only to 5.0.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-21 22:22:05 +02:00
Martin Jansa 81b7031859 qtbase: fix qlibrayinfo patch
* returning QSettings even without existing qtconfig was causing,
  e.g. QLibraryInfo::location(QLibraryInfo::PluginsPath) returning
  "`pwd`/plugins" instead of correct "/usr/lib/qt5/plugins"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-21 21:45:11 +02:00
Holger Hans Peter Freyther ca9db108e8 smalltalk_package: Append to the RDEPENDS instead of overwriting them 2013-05-15 13:47:57 +02:00
Holger Hans Peter Freyther a144d1c3c0 tasks-sysmocom-tools: Move wget, ca-cacert-rootcert and sysmocom-backup to tools
We have some images that need the real wget for upgrades, the SSL
root certificate of CA-Cert but that doesn't use task-sysmocom to
build the image. Move these utilities into the tools task.
2013-05-15 12:54:27 +02:00
Harald Welte 0c79987641 gpsdate: Update to current git master (includes init script) 2013-05-12 12:00:02 +02:00
Holger Hans Peter Freyther 2761cd97f4 sysmobts-v2: Allow the rootfs to grow to the full size of the flash
The rootfs in the UBI is configured to grow to the full size of the
UBI, currently these are 999 LEBs (when there is no kernel volume)
but we had limited the LEBs the filesystem can hold to 400. After
this change the filesystem will grow from the 42MB to more than 120
MB.

I'm not sure if we really want to have a rootfs of that size but we
can at least experiment with it and see if the failure rate is changing
or not.
2013-05-11 14:32:20 +02:00
Holger Hans Peter Freyther e89d7ce77d images_types_sysmo: Add a new bbclass for creating different ubi images
For the sysmoBTS we want to include a kernel volume inside the UBI as
a fallback in case the mounting of the main kernel is failing. We still
need to modify the boot command of the bootloader to look at this UBI
and to modify the kernel to include the tun/tap modules so the kernel
will be capable of opening a OpenVPN connection.

Currently one needs to write INHERIT += images_types_sysmo into the
conf/local.conf and add ubi-sysmo to the IMAGE_FSTYPES variable.
2013-05-11 14:31:37 +02:00
Holger Hans Peter Freyther 8b772e5edb smalltalk: Depend on libffi/libffi-native as well 2013-05-10 22:18:04 +02:00
Holger Hans Peter Freyther 1bca046d23 u-boot: Build a new u-boot with increase system malloc
This should be more than 10MB and should help with the ubifs
recovery needed during boot.
2013-05-10 18:12:13 +02:00
Martin Jansa 26d8de5404 Add COPYING.MIT to be clear about license of this layer
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-10 14:42:07 +02:00
Martin Jansa 459a144d2e README: add meta-ruby dependency needed for qtwebkit 2013-05-10 12:59:47 +02:00
Holger Hans Peter Freyther c83652a73a gpsd: Even when disabling python we still need it to be available during build 2013-05-10 09:55:38 +02:00
Holger Hans Peter Freyther 709a5684c5 smalltalk: GNU Smalltalk requires libtool for the DLD feature 2013-05-10 09:11:23 +02:00
Martin Jansa 4c197c6223 qmake5_base: Define OE_QMAKE_PATH_QT_* variables
* and move it to separate .bbclass which is easier to
  replace in distro layer when you don't care about
  conflicts with qt4

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 21:41:32 +02:00
Martin Jansa 727b27e936 qmake5: move default do_configure and do_install to qmake5.bbclass
* it's useful for many recipes outside qt5 and easy to overwrite when needed
2013-05-09 19:16:32 +02:00
Martin Jansa 34a4b6bc24 qtbase: drop setting arch and endian
* endian option was removed from configure
* arch/host-arch option is now deprecated and configure shows
  warning when it's used
* both are now autodetected

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 19:15:34 +02:00
Martin Jansa 48138bfb27 qtbase: use EXTRA_OEMAKE also in config.tests executed in do_configure
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 16:54:03 +02:00
Simon Busch 94b2064593 qtbase: move virtual/libgl dependency to extra variable
* makes it easier to change desktop gl to gles2 in .bbappend

* we cannot explicitly disable opengl with -no-opengl, because then it
  fails to build (probably only when mesa headers are found in sysroot)
  /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:62:72: error: 'QPlatformOpenGLContext' has not been declared
  /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp: In constructor 'QEGLPlatformContext::QEGLPlatformContext(const QSurfaceFormat&, int*, EGLDisplay, EGLenum)':
  /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:69:70: error: invalid static_cast from type 'int*' to type 'QEGLPlatformContext*'
  The same with 5.0.2

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:56:49 +02:00
Martin Jansa d8314098bf qmake5: drop QT_DIR_NAME subdirectory from many OE_QMAKE_PATH_* variables and add it back in qt5.inc
* we're using QT_DIR_NAME subdirectory mostly to prevent conflicts with existing files from qt4
  but setting it in all OE_QMAKE_PATH_* variables causes all apps which are just using qmake to
  build to install e.g. in /qt5 which for stuff like qterminal or something doesn't
  sound right (as long as there isn't qterminal4 and qterminal5 recipe)

* some variables are kept with default QT_DIR_NAME, e.g. qml, imports, plugins we can assume that
  every application which installs some QML files will install them in location shared by all

* add qt5-native.inc which also adds this QT_DIR_NAME and common
  inherits (later will be used also by qtwayland-native.inc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:56:49 +02:00
Martin Jansa 7caede7850 qmake5: Fix cleaning separate build directory and use it by default
* "${B}/*" in quotes doesn't match anything, better to remove whole directory
  (incluing .files) and recreate it
* not sure why I've added quotes after testing first version, we don't
  expect B with spaces.. but I'm a bit scared with rm -rf ${SOME_VAR}
  after one glibc upgrade cleaned my whole disk and attached NFS array
  when OLD_LOCALE_PATH wasn't detected correctly...
* qmake works well with separate B, use it by default

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:56:49 +02:00
Martin Jansa 56d2c7f18d qmake5_base: export OE_QMAKE variables only in qtbase recipes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:56:49 +02:00
Martin Jansa 1c29e5de8d qt5: drop 'unset LD', qmake should now handle QMAKE_LINK correctly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:56:49 +02:00
Martin Jansa c46260790e qtbase: add patch to fix build with LD exported in env
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:56:49 +02:00
Martin Jansa 1965248b7b qmake5: use QT_CONF_PATH variable in do_generate_qt_config_file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:55:04 +02:00
Martin Jansa 9773d8eb22 qmake5_base: drop default -e from EXTRA_OEMAKE and add variables we want to override
* exports are still needed at least for qtbase configure script (which
  is using our special eval variant of getQ(X)MakeConf functions
  but maybe we should move them only to qtbase now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-09 13:54:57 +02:00
Martin Jansa f40204dc97 qmake5_base: disable debug output by default
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 17:19:10 +02:00
Martin Jansa 9fc8712009 qtlocation: add qtjsondb instead of qtdeclarative dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 16:09:08 +02:00
Martin Jansa 1e41cca4a6 qtwebkit: add qtlocation and qtsensors dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 16:09:08 +02:00
Martin Jansa d24764db1b qtquick1: add qtsvg, qtxmlpatterns and qtwebkit dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 16:09:05 +02:00
Martin Jansa ee50b5f78a qt3d: add qtdeclarative dependency
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 15:58:19 +02:00
Martin Jansa ae45cb478f qt5module: drop it and include only qt5.inc
* not all modules depend on qtbase, qtbase-native dependency is added
  by qmake5.bbclass:
  QT5TOOLSDEPENDS ?= "qtbase-native "
  DEPENDS_prepend = "${QT5TOOLSDEPENDS}"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 15:57:48 +02:00
Martin Jansa c879989531 qtjsondb, qtwebkit: respect ICU variable 2013-05-07 15:37:49 +02:00
Martin Jansa ed6e2f317f qt5: move variables used only in qtbase to qtbase.inc
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 15:37:00 +02:00
Martin Jansa 32165f04d4 qtbase-native: fix install paths
* 5.0.2+git was installing uic in wrong directory STAGING_DIR_NATIVE
  was there twice, while debuging this I've noticed that headers and docs
  are installed in this wrong directory also in other versions

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 12:18:45 +02:00
Martin Jansa f76e45b5a8 qt5: drop EXTRA_ENV
* all variables should be now correctly set by qmake
* setting PARALLEL_MAKE in MAKEFLAGS can cause
  PARALLEL_MAKE * PARALLEL_MAKE processes, because first
  -j is applied on top level directory and then again in
  each subdir, but it's faster then make -j PARALLEL_MAKE
  only in top directory
* setting QMAKE breaks build in src/tools/bootstrap, because it
  forces relative path bin/qmake which isn't correct

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 12:18:41 +02:00
Martin Jansa 956abd44cc qtbase-native: Apply 0001-Always-build-uic.patch for all versions
* when uic does not exist in QT_EXTERNAL_HOST_BINS it will silently switch to
  /usr/bin/qt5/uic and build will fail a bit later

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 11:01:59 +02:00
Martin Jansa d060f11aa5 qt5-versions: lock more modules
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 11:01:59 +02:00
Martin Jansa 26097532fb qt5-*.inc: let module.inc to define LICENSE
* it was working for LIC_FILES_CHKSUM, but not LICENSE
* we need to change order of includes, first version.inc then module.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 11:01:59 +02:00
Martin Jansa 996f91828c qt5: Add recipes for missing versions
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07 11:01:55 +02:00
Martin Jansa 5d2b301bcb qt3d: add .bez and .obj files to PN-qmlplugins
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:32:59 +02:00
Martin Jansa 1f89458946 README: change oe-core URL to github and add -M to send-email
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:03 +02:00
Martin Jansa bd10121a0d qt5: add PN-qmlplugins packages and remove them from modules, use OE_QMAKE_PATH_* variables
* qml and imports go to PN-qmlplugins
* all other plugins go to just PN-plugins

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser 370bbaf80e qtdeclarative: Add qtsvg and qtxmlpatterns to depends
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser 6bc9ccfa01 qtsystems: Add module
* MJ: fix PV
* MJ: simplified to use newer classes
* MJ: Add license information
* MJ: use OE_QMAKE_PATH_QML for packaging definition

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser ce3f6c6f87 qtjsondb: Add module
* MJ: fix PV
* MJ: simplified to use newer classes
* MJ: Add license information
* MJ: use OE_QMAKE_PATH_QML for packaging definition

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser 269ce3d01c qtimageformats: Add module
* MJ: simplified to use newer classes
* MJ: Add license information

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser 3c0d8a8287 qtmultimedia: Add module
* MJ: simplified to use newer classes
* MJ: Add license information
* MJ: use OE_QMAKE_PATH_QML for packaging definition

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser 935d55a076 qtwebkit: Add module
* MJ: simplified to use newer classes
* MJ: Add license information
* MJ: use OE_QMAKE_PATH_QML for packaging definition
* MJ: add missing sqlite3 dependency

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Ian Reinhart Geiser 12259a03ec qtsvg: Add module
* MJ: simplified to use newer classes
* MJ: Add license information

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-06 12:22:02 +02:00
Byungseon Shin 49fe70cda9 qtbase: Fix reentrancy problem in image reading
* Fix GF-2779, by applying Upstream patch QTBUG-29281.

Signed-off-by: Byungseon Shin <sun.shin@lge.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 12:21:30 +02:00
Mikko Levonmaa 188ff8fb52 qtbase: Disable mkv8snapshot
* Disabling this for the time being as it generates invalid
  instructions when the target is arm.

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 12:21:30 +02:00
Mikko Levonmaa 37d0412e34 qtgraphicaleffects: Add recipe
* MJ: Add license information
* MJ: Fix PV

Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
2013-05-06 12:21:30 +02:00
Mikko Levonmaa fc0b7ec73c qtwayland: Add recipe
* Fix shader precision definition
* MJ: Fix license information
* MJ: Fix PV
* MJ: add wayland-native to depends for wayland-scaner
* MJ: add libxkbcommon to depends, but make it easy to remove it

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 12:21:28 +02:00
Mikko Levonmaa db7467e72a qtsensors: Add recipe
* MJ: Add license information
* MJ: Fix PV

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 11:45:13 +02:00
Mikko Levonmaa 92d465ece8 qtlocation: Add recipe
* MJ: Add license information
* MJ: Fix PV

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 11:45:13 +02:00
Mikko Levonmaa aadfcfe976 qtquick1: Add recipe
* MJ: Add license information
* MJ: Fix PV

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 11:45:13 +02:00
Mikko Levonmaa 6600c47c66 qt3d: Add recipe
* MJ: Add license information
  not sure which parts (or maybe all) is under LICENSE.PREVIEW.COMMERCIAL
* MJ: Fix PV

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-06 11:45:08 +02:00
Mikko Levonmaa feca032e52 qtxmlpatterns: Add recipe
* MJ: Add license information
* MJ: Fix PV

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-05 12:56:35 +02:00
Mikko Levonmaa d0c0704464 qtscript: Add recipe
* MJ: Add license information
* MJ: Fix PV

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-05 12:56:35 +02:00
Heikki Paajanen 92881cd8a4 qtdeclarative: Fix flickable event handling
* With isis2 touch mocking there is a situation where flickable doesn't
  process mouse events even if it has mouse grabbed.
* Patch is cherry-picked from upstream.

Signed-off-by: Heikki Paajanen <heikki.paajanen@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-05 12:56:35 +02:00
Mikko Levonmaa bbaf26aec2 qtbase: Find wayland-scanner correctly
* Remove silent rules for wayland-scanner

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-05 12:56:34 +02:00
Mikko Levonmaa 92aba5ebaf qt5-git: Provide a way to configure the git repo branch from a module
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2013-05-05 12:56:34 +02:00
Martin Jansa d57e27ec08 qt5: Instead of fixing paths after installation, fix them in Makefile before
* thanks to Mikko Levonmaa
* move it from qt5.inc to qmake5_base.bbclass, because it can be useful
  for other apps too

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-05 12:56:34 +02:00
Martin Jansa cd2ac1d786 qt5-git: rename recipes and include file
* some modules weren't released yet, so we still need some recipes with
  PV = "4.999+5.0.0-beta1+git${SRCPV}"
  so having 5.0.2 in .inc filename is a bit misleading
* .inc file still sets default PV (now "5.0.2+git${SRCPV}"), all modules
  where SRCREV corresponds to different versions need to set PV inside

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-05 12:56:34 +02:00
Martin Jansa 66c091481c qmake5_base: define variables for paths used by qmake in one place
* makes it easier to change them, should be reused also in FILES_*
  variables
* table of path variables and their different names available at
  https://github.com/meta-qt5/meta-qt5/wiki/Building-with-OE
* all variables have OE_QMAKE_PATH_ prefix and then name from qmake
  varaible

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-05 12:56:34 +02:00
Martin Jansa 18d2e711d8 qmake5_base: add qmake5_base_do_configure which allows to declare QMAKE_VARSUBST_*
* don't export it, let recipe decide where to call it or even if it
  should be called (native recipes are not using it)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-05 12:56:32 +02:00
Holger Hans Peter Freyther f2d9e2e9b0 smalltalk: Add an alpha version and provide a specific no-doc patch 2013-04-28 18:00:52 +02:00
Martin Jansa d4a726ccf6 qt5module.inc: move shared logic to new .inc file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 15:55:10 +02:00
Martin Jansa 7d3f0711ee qt5: move do_install modifications to shared qt5.inc and reuse do_configure 2013-04-28 15:55:10 +02:00
Martin Jansa 0a88f92505 qtbase: refresh patches and add missing to 5.0.2 and git versions 2013-04-28 15:55:10 +02:00
Martin Jansa 2790c1607e qmake5: drop exports already exported in qmake5_base 2013-04-28 15:55:10 +02:00
Martin Jansa 45c98c921e qt5: use consistent naming for LICENSE 2013-04-28 15:55:10 +02:00
Martin Jansa a0099515d2 qtdeclarative: Update LICENSE info
* 5.0.2 and git recipes have the same LICENSE as qtbase (defined in qt5-${PV}.inc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 15:55:10 +02:00
Martin Jansa 7354b4ffe5 qtjsbackend: Update LICENSE info
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 15:55:10 +02:00
Martin Jansa 4d0f51ce9a qtjsbackend: remove PARALLEL_MAKE setting
* it seems to work fine with modified v8.pro
2013-04-28 15:55:10 +02:00
Martin Jansa 54a6379be4 qtbase: remove some dead code 2013-04-28 15:55:09 +02:00
Martin Jansa 3a91c4dc3d qt5: allow to change -release/-debug for some modules 2013-04-28 15:55:09 +02:00
Martin Jansa eed206da36 qt5: move SSTATE_SCAN_FILES to qmake5_base.bbclass
* penalty for more replacements is better then to forget to add this
  in some component which will also install .prl files
2013-04-28 15:55:09 +02:00
Martin Jansa 40cf086347 qtbase: Remove QT_DIR_NAME, QT_BASE_NAME
* QT_DIR_NAME is set in qmake5_base
* QT_BASE_NAME isn't used
2013-04-28 15:55:09 +02:00
Martin Jansa 783c979664 qtbase: Fix INCDIR/LIBDIR paths in .prl files 2013-04-28 15:55:09 +02:00
Martin Jansa e88c694530 qtdeclarative: Fix installation and packaging
* now it's also prefixed with sysroot like in qtbase

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 15:55:09 +02:00
Martin Jansa ca4c4eea5f qtjsbackend: Fix installation, now it's also prefixed with sysroot
* like in qtbase

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 15:55:09 +02:00
Martin Jansa c2c53514ad qtjsbackend: Use better patch to respect external-host-bindir
* mkv8snapshot isn't in default PATH when it's in ${bindir}/${QT_DIR_NAME}

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 15:55:09 +02:00
Martin Jansa a5783e1a09 qtbase: Override all paths and export sysroot
* otherwise sysroot from native build can leak to target build
* missing paths like Qml2Imports were defaulting to devault /usr/qml
* synchronize values between qt.conf and configure params
2013-04-28 15:55:05 +02:00
Martin Jansa b3abb65f6a qtbase: add patches to fix wrong libdir/include dirs in pkgconfig and libtool files
* qt_module.prf replacements were creating -L/usr/lib in .pc files which is bad for cross-compilation
* also use '=' for sysroot in libtool files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:57 +02:00
Martin Jansa 92705869f7 qtjsbackend: add .pri and .prl to SSTATE_SCAN_FILES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:57 +02:00
Martin Jansa d2d5b7804e qt5: package files with and without QT_DIR_NAME prefix
* makes it easier to modify paths without QA warnings about unpackaged files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:57 +02:00
Martin Jansa 38de259db8 qtjsbackend-native: Use separate build directory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:57 +02:00
Martin Jansa 09516373c0 qmake: allow to disable debug output
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:57 +02:00
Martin Jansa af9d25bbe7 qtbase-native: Enable debug output from Makefile generation 2013-04-28 13:39:57 +02:00
Martin Jansa e89e33fd17 qmake_base: remove QT_DIR_NAME from libdir
* using ${libdir}/${QT_DIR_NAME} is causing pkgconfig files to be
  installed in this prefix too
* modify ArchData variable to move mkspecs files to qt5 prefix (so that
  they don't conflict with qt4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:57 +02:00
Martin Jansa 9b97567e9c 5.0.2+git: bump SRCREVs a bit more
* it's close to 5.1.0
2013-04-28 13:39:33 +02:00
Martin Jansa ea8d37c17d qtdeclarative: Fix SEPB build, remove module_qmake.conf
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:33 +02:00
Martin Jansa 9fddbb70bd qtjsbackend: Fix SEPB build and work around wrong mkspec install path
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:33 +02:00
Martin Jansa a86304a384 qt5: Add mkspecs package and update FILES to package ${QT_DIR_NAME} directories
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:33 +02:00
Martin Jansa 06ae6e8c9e qtbase5_base: move binaries and libs to QT_DIR_NAME
* mkspecs are now installed to libdir/${QT_DIR_NAME}
* use the same qt.conf for all qtbase5_base, only qtbase-native is different now
2013-04-28 13:39:33 +02:00
Martin Jansa 812c33e0c6 qtbase: temporary disable target qmake build and add PN-mkspecs 2013-04-28 13:39:32 +02:00
Martin Jansa def240608a qmake5_base: add Plugins settings
* otherwise plugins are installed in /lib/plugins
2013-04-28 13:39:32 +02:00
Martin Jansa 40436b7fc9 qmake5_base: don't push AR to EXTRA_ENV
* it overwrites value set from shell env in qmake.conf and ar is loosing cqs params
  mkspecs/linux-oe-g++/qmake.conf:QMAKE_AR = $(OE_QMAKE_AR) cqs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-28 13:39:32 +02:00
Martin Jansa 861b62f51e qt5-versions.inc: add include file to select PREFERRED_VERSIONs of qt5 components 2013-04-28 13:39:28 +02:00
Martin Jansa 6fb40c8d03 qt5-git: bump revision in git recipes to latest stable branch
* there are important fixes in qtbase bootstrapping
* create also own directory for patches, easier for many versions to coexist for now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 00:05:07 +02:00
Martin Jansa 42ab168449 qt5: add 5.0.2
* patch files are kept in separate dir, because I expect that 5.0.1
  will have to live a bit longer for e.g. webkit-qt developers to adapt

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 00:05:07 +02:00
Martin Jansa 239e292d02 qt5: restore 5.0.0 recipes
* there are some issues with 5.0.1 and qt-webkit, keep 5.0.0 available
  until everybody is ready to upgrade to 5.0.2 or newer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 00:05:07 +02:00
Martin Jansa fe65aed339 qtbase: improve internal build system to support OE way of building qt
* add linux-oe-g++ mkspec directly with patch
* add functions to read and eval OE_QMAKE functions from mkspec and
  also export them with QMakeVar to be available also for config.tests
* add external-host-bindir parameter to skip building native tools
  even when we're in fact cross-compiling (because we have them from
  qtbase-native build already).
* use separated ${B} and ${S} and clean ${B} when reconfiguring
  stalled qmake cache can be used when configure is reexecuted
  cleaning ${B} prevents that and provide cleaner separation
* OE_QMAKE_AR cqs is added by Makefile, having it here too was causing
  issues
* isEmpty(QT_EXTERNAL_HOST_BINS) doesn't work, so lets use exist()
  even when it allows to incorrectly set wrong directory and build
  native tools again (instead of skipping them)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-26 00:04:56 +02:00
Holger Hans Peter Freyther 9c0bc73006 smalltalk: Depend on the external libsigsegv 2013-04-25 16:31:58 +02:00
Holger Hans Peter Freyther 0978b0e878 libsigsegv: Add the latest libsigsegv 2.10 release 2013-04-25 16:24:53 +02:00
Holger Hans Peter Freyther 2dff10d3e1 iliad: Fix the fix for the multiple select 2013-04-25 16:06:45 +02:00
Holger Hans Peter Freyther 6bec0faf4a osmo-st-*: Add missing rdepends between the packages 2013-04-25 11:33:52 +02:00
Holger Hans Peter Freyther 9be7273d0f iliad: Upgrade iliad to the master version with bug fixes
* Upgrade to the master version for a newer (but older than from
  what I patched it) jquery
* Queries to js and stylesheet do not appear to add the ?_=NR that
  allow caching of requests in chrome
2013-04-25 10:47:59 +02:00
Holger Hans Peter Freyther 27391a1826 smalltalk: Enable the readline support on the cli
The detection code appears to distinguish between libedit (BSD
re-implementation of readline) and GNU readline and it does that
by executing the code.
2013-04-25 10:45:11 +02:00
Holger Hans Peter Freyther c05c4ca9ef iliad: Add grease and add more dependencies to it 2013-04-24 17:49:30 +02:00
Holger Hans Peter Freyther 6c8ddf8d6d misc: Use RDEPENDS_${PN} to avoid warnings on new poky 2013-04-24 17:29:40 +02:00
Holger Hans Peter Freyther 582607011a smalltalk: Make it work with the latest Poky version
* disable dev-so for the plugin libraries
* split into more packages
2013-04-24 17:28:47 +02:00
Holger Hans Peter Freyther dd26be3587 smalltalk: Make sure that TCL/TK is disabled when building it 2013-04-24 16:02:24 +02:00
Martin Jansa 97738e9d62 qt5: unify indentation
* use 4 spaces everywhere like meta-oe and other layers do now
2013-04-17 16:49:18 +02:00
Martin Jansa 1e5520a64f qt5-5.0.1: use QT_VERSION_DIR, just for consistence"
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-17 16:49:02 +02:00
Martin Jansa e16556b8c7 qtbase: add udev to DEPENDS
* it's autodetected, causing undeterministic builds

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-17 16:18:37 +02:00
Martin Jansa 1a2ad7b702 qmake5_base: drop unused exports
UIC/MOC/RCC are no longer defined in generated Makefiles
2013-04-17 16:10:02 +02:00
Martin Jansa 1a272bc79d qtbase: disable gdb_dwarf_index
* qmake is trying to call native gdb and we don't depend on gdb-native
  (or even provide gdb-native)
* fixes errors like this:
  /bin/sh: gdb: command not found
  /bin/sh: line 0: test: -gt: unary operator expected
  which are not fatal, but still misleading in do_configure output
2013-04-17 16:10:02 +02:00
Martin Jansa b78a292a58 qtbase: replace g++.conf and linux.conf with qmake.conf
* g++.conf and linux.conf were outdated a lot, lacking new options like
  QMAKE_COMPILER causing a lot of warning like:
  Project WARNING: qmake spec does not announce the compiler family. Guessed gcc.

* Instead of replacing whole common files, use custom qmake.conf which
  overwrites common setting after including it
2013-04-17 16:10:02 +02:00
Martin Jansa de250e3d0e qtbase: drop qmake.conf.sh and qplatformdefs
* defaults in linux-g++ are correct, we need only to modify common
  linux.conf and g++-unix.conf
2013-04-17 16:10:02 +02:00
Martin Jansa 85b0bb6445 qtbase: correctly configure 2013-04-17 16:10:02 +02:00
Martin Jansa 2b5c531b22 qtbase: don't touch STAGING and bypass sstate
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-17 16:10:01 +02:00
Martin Jansa eb1ad81906 qtbase: add patch to eval QMAKE_CXX
* fixes errors in log.do_configure trying to call wrong CXX
2013-04-17 16:10:01 +02:00
Martin Jansa 94ca12bf49 qmake5_base: define both QMAKESPEC and let recipe select which one to use
* different platform/xplatform can enable cross-compile build in upstream qmake
  but that's not the same as what recipes are doing (upstream builds native tools
  when bootstraping target qtbase, recipes build native tools with separate
  qtbase-native and then want to skip building tools)
* still separate variables for both QMAKESPECs can be useful e.g. for
  other native recipes
2013-04-17 16:10:01 +02:00
Martin Jansa e9c61a9e6f qmake: fix MAKEFLAGS when PARALLEL_MAKE has space
* quotes are needed, because some people have '-j 9' instead of '-j9'
* this can in theory cause PARALLEL_MAKE x PARALLEL_MAKE threads, because
  MAKE itself is using PARALLEL_MAKE threads to run inner makes
2013-04-17 16:10:01 +02:00
Martin Jansa c27dac3e4e qtbase: use the same patch for qt.conf override for target and native 2013-04-17 16:10:01 +02:00
Martin Jansa 70b1b233b2 qt5-native, qtjsbackend-native: fix .pri and .prl pointing to WORKDIR or absolute sysroot
* fix paralel build
* default make does good job, cleans mkspecs, installs all headers and
  libs needed for qtjsbackend-native
* move native tools to QT_DIR_NAME prefix, this way qt4 and qt5 can be
  staged at the same time
* only variables referencing WORKDIR are now QMAKE_PRL_BUILD_DIR
  ./x86_64-linux/usr/lib/libQt5Network.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/network/
  ./x86_64-linux/usr/lib/libQt5Xml.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/xml/
  ./x86_64-linux/usr/lib/libQt5Bootstrap.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/tools/bootstrap/
  ./x86_64-linux/usr/lib/libQt5Concurrent.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/concurrent/
  ./x86_64-linux/usr/lib/libQt5Core.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/corelib/
  ./x86_64-linux/usr/lib/libQt5Test.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/testlib/
  ./x86_64-linux/usr/lib/libQt5Sql.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/sql/
  ./x86_64-linux/usr/lib/libQt5DBus.prl:QMAKE_PRL_BUILD_DIR = /OE/oe-core/tmp-eglibc/work/x86_64-linux/qt5-native/5.0.1-r0.0/qtbase-opensource-src-5.0.1/src/dbus/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-17 16:09:56 +02:00
Martin Jansa 5d5ba83cc6 qt5-native: rename to qtbase-native to avoid confusion
* we also had PROVIDES for qt5-tools-native, this makes it a bit easier to see what is what
* drop FILESEXTRAPATHS, not needed after renaming to match BPN with qtbase patches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-17 16:08:56 +02:00
Holger Hans Peter Freyther f9d158b747 watchdog: Rename the master version 2013-04-11 18:44:32 +02:00
Holger Hans Peter Freyther 96c91eb8d6 watchdog: Bump the pr, depend on the $localfs to fix the systemd init
systemd is using the depedencies of the LSB section and according to
the debian documentation all applications accessing /var should depend
on the localfs. This makes the watchdog start properly on systemd systems.
2013-04-11 18:44:20 +02:00
Holger Hans Peter Freyther 9c3b75040a misc: Cleanup the RDEPENDS warning by the latest bitbake parser
This is addressing:
Variable RDEPENDS is set as not being package specific, please
fix this.
2013-04-11 18:44:07 +02:00
Holger Hans Peter Freyther 5e475b6b99 images: Remove the sanity check for including an ext3 filesystem
This sanity check is included in the used bbclass directly and to
support both Edison and master we will need to remove the custom
python code due a change in indention in the python code.
2013-04-11 18:43:51 +02:00
Holger Hans Peter Freyther 8b40a0c2f9 task-sysmocom-debug: Remove oprofile as it is quite outdated
We should use perf for future performance problems but it might
require more work (e.g. not to install the source into the -dbg
package, adding newt, etc.). But oprofile is not very nice to
use right now anyway.
2013-04-11 18:43:35 +02:00
Holger Hans Peter Freyther 4214e03720 misc: Bump PR after fixing warnings in OE-core master 2013-04-11 18:40:58 +02:00
Harald Welte fcfffacfa8 update gpsdate to git master 2013-04-10 15:17:43 +02:00
Harald Welte 920b27acba add new gpsdate recipe 2013-04-10 14:11:41 +02:00
Holger Hans Peter Freyther 336c4212e5 lmsensors-apps: Ask lmsensors to install man pages to the right directory
Ask the buildsystem to install the manpages to the mandir. This will avoid
the following warning.

WARNING: QA Issue: lmsensors-apps: Files/directories were installed but not shipped
  /usr/man
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 40075f5141 misc: Ignore files generated by vi 2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 661e10551b gpsd: Fix a warning with newer bitbake parsers
RROR: There is a confusing multiline, partially commented expression on line 22 of file /home/ich/firmen/gesmokom/source/meta-sysmocom-bsp/recipes-extra/gpsd/gpsd_3.7.bb (SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98").
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 4a35eb9273 openbsc: Build a newer version with a linker fix for newer gcc/binutils 2013-04-07 14:57:03 +02:00
Holger Hans Peter Freyther 7782174da7 misc: Fix warnings in OE-core master to be included in the future 2013-04-07 14:57:03 +02:00
Harald Welte 558d76a412 openggsn: Add patch to reduce queue depth / memory usage 2013-03-24 09:07:25 +01:00
Holger Hans Peter Freyther 8e4991163e linux-sysmocom: Enable ext3/ext4 support for sysmobts-v1 as well
Some of our target applications require ext3/ext4 support for mounting
an MMC card. While the sysmobts-v1 hardware does not have an external
MMC card slot it is nice to have the same image available for this
hardware.
2013-03-23 09:04:12 +01:00
Christopher Larson 3a01a4f2bc layer.conf: avoid unnecessary early expansion with :=
bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-03-21 08:17:50 +01:00
Christopher Larson 66dbe39b2b layer.conf: avoid unnecessary early expansion with :=
bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-03-21 08:14:36 +01:00
Holger Hans Peter Freyther cd0d240314 meta-toolchain-sysmobts: Introduce a toolchain target for the BTS
Install the sysmobts firmware headers on top of the Osmocom toolchain.
This way the SDK can be used to re-compile both the OpenBSC and the
osmo-bts software.

Make sure the -dev package of the femtobts-api has not runtime
dependencies to a library that does not exist.
2013-03-19 19:54:02 +01:00
Holger Hans Peter Freyther 7059d16861 task-sdk-host-nativesdk: Remove qemu from the depedencies
This is a hack and has the risk of "forgetting" a dependency that
we need. This needs to be re-evaluated for each OE-Core version.
2013-03-19 19:54:02 +01:00
Holger Hans Peter Freyther d01ad496af femtobts-api_git.bb: Do not use symbolic names for the SRCREV
The name will be resolved to the hash during parse time. This will
not work when not having access to the internet. Use the sha1 sum
to make offline builds work.
2013-03-19 19:54:02 +01:00
Harald Welte 3cf0f9d338 update libosmocore 2013-03-19 10:39:40 +01:00
Harald Welte 27edfb7481 libosmocore: update to git master (log level everything fix) 2013-03-19 10:18:02 +01:00
Holger Hans Peter Freyther 6e5e1f8b9e meta-toolchain-osmo: Include the builddate in the toolchain
When updating libosmocore and other libraries we would like to
know which toolchain version is used. Add the datetime to the
filename.
2013-03-18 19:38:47 +01:00
Holger Hans Peter Freyther d9a117ed21 busybox-syslog: Increase back to notice (6) for the logging
This sadly still prints the firmware reload messages. But this is
necessary right now. The fpgadl/dspdl drivers do not log fatal
failures so the 'success' is the only information we have. This
is to be fixed in the driver.
2013-03-17 19:46:41 +01:00
Holger Hans Peter Freyther 84f23b2203 syslog: Use /media/mmcblk0p1/log to match /var/log
The nitb configuration expects /media/mmcblk0p1/log and to make it
work and match with unix naming use the singular version.
2013-03-17 19:23:39 +01:00
Harald Welte 1c3982289e osmo-bts: fix git revision. 2013-03-17 17:43:45 +01:00
Harald Welte c793b65258 osmo-pcu: Use parenthesis for osmo-bts version in RDEPENDS 2013-03-17 17:42:00 +01:00
Harald Welte 2bae25e4cd osmo-pcu: make sure to use RDEPENDS to osmo-bts with PCU IF v5
As Holger points out, we need a runtime dependency, not build time
2013-03-17 17:36:56 +01:00
Holger Hans Peter Freyther 7cb8c8d1b5 linux-sysmocom: Always compile MMC support into the kernel
Make mounting using mountall work during the first boot by putting
MMC, MMC-block and the TI Davinci into the kernel.
2013-03-17 17:31:30 +01:00
Harald Welte 410d086a5a update omso-pcu + osmo-bts to current master
This uses PCU API version 5 including RSSI measurements
2013-03-17 17:20:41 +01:00
Holger Hans Peter Freyther 87f47c8586 busybox-syslog: Log to the MMC card if present
If the first partition of a MMC card is mounted and has a logs/
directory syslog will start to write log messages to the MMC card
in the directory /media/mmcblk0p1.
2013-03-17 15:09:44 +01:00
Harald Welte 23689a489f update gsmd to current master 2013-03-17 14:48:22 +01:00
Holger Hans Peter Freyther 7389f6f2b1 busybox-ifplugd: Disable the restart target as it is not working
This issue is documented in PRJ#72. The easiest is to to keep the
old software running as everything else is racy and start-stop-daemon
does not appear to implement the --retry command. Let's see how
far we get with this workaround.
2013-03-17 14:22:55 +01:00
Holger Hans Peter Freyther b7f2cddc23 busybox: Copy the new OE-core syslog startup for the loglevel handling
We want to only log a given loglevel, backport the start up script
from OE-Core to get the LOGLEVEL variable. This removes the MARKINT
and adds DROPDUPLICATES and LOGLEVEL.
2013-03-17 13:59:28 +01:00
Holger Hans Peter Freyther 2257338267 osmo-bts: Update once more for sysvinit related scripts
* The /etc/init.d/sysmobts stop target is now working. It will
  terminate the screen, the run loop, the sysmobts and osmo-pcu.
2013-03-16 23:35:08 +01:00
Holger Hans Peter Freyther 63085244df openmoko-gsmd: Update gsmd/wavecom vendor to fix an unaligned memory access
gsmd/wavecom created unaligned memory access due making a 32bit store
to a 16bit location. The code is now using %hx to avoid this.
2013-03-16 22:27:27 +01:00
Holger Hans Peter Freyther a5d6d983ec openmoko-gsmd: Build a new version with log level changes of the syslog
* The patch is now included in a temporary branch
* LOGL_NOTICE is now used instead og the LOGL_INFO level which will
  be ignored by default on sysmocom systems.
2013-03-16 22:13:01 +01:00
Holger Hans Peter Freyther 41a683d627 linux-sysmocom: Upgrade to 3.2.40 and add two more UARTS
The kernel has been rebased to target 3.2.40 with various bug
fixes in the upstream work. The sysmobts v2 config has been
changed to allocate space for two more UARTs. These are required
for the multi-trx configuration and they make a warning go away.
2013-03-16 20:25:45 +01:00
Holger Hans Peter Freyther 99a6840eb4 osmo-bts: Upgrade for change in respawn scripts and misc fixes
* Fix the link timeout handling as found in post-review.
* Fix the set bts attr parsing due a funny parsing error.
* Sleep 10 seconds after the execution, reload DSP and FPGA firmware
2013-03-16 19:19:36 +01:00
Holger Hans Peter Freyther de0f9b5f3d uucp: We are forced to chown this after the installation
We could use "fakeroot do_install() {}" but this will still not
make the spool directory be owned by uucp. Use a postinst script
to make this up. The logic is copied from the cronie bitbake file
and we will see how this works at image creation time.
2013-03-16 18:24:41 +01:00
Holger Hans Peter Freyther aea5136f30 gpsd: Make the stop work with the busybox start-stop-daemon
The stop command did not stop the GPSD. Let the start-stop-daemon
command stop the command based only on the PID.
2013-03-16 18:01:57 +01:00
Holger Hans Peter Freyther ec29824f84 openmoko-gsmd: Use the shared osmo-service-respawn start script
* The shared script is compatible to the one currently used but
  it has the benefit of being used by more applications.
2013-03-16 11:49:22 +01:00
Holger Hans Peter Freyther 1b7bb4ae95 osmo-service-respawn: Add a shell script that spawns and respawns services
Adjust the oom_score_adj of the shell script to avoid ever beeing
killed. Adjust the score of the child and nice it. Sleep a given
interval before respawning it.

This script creates a .pid file so it can be used by a sysv init
script to stop the respawner and the client.
2013-03-16 11:34:01 +01:00
Holger Hans Peter Freyther 85d5ea4aae openbsc: Fix a typo in the variable name 2013-03-16 11:25:39 +01:00
Holger Hans Peter Freyther 675a2f814f gsmd: Fix the name of the script as it was copied from the gsmd one 2013-03-16 11:09:59 +01:00
Holger Hans Peter Freyther 0f3ea35f17 gpsd: Make sure the chrpath-native is built before packaging gpsd 2013-03-16 09:14:34 +01:00
Holger Hans Peter Freyther a7c614b3dd gsmd: This appears to be a race-free oom adjustment
Use the "() &" syntax to adjust the score before executing the new
command. This is removing the reace from the previous commit. Update
the PR to force rebuilding new packages.
2013-03-15 23:27:55 +01:00
Holger Hans Peter Freyther 3e7dbdcdba gsmd: Adjust the oom score of the monitor process
Adjust the score for the monitor process. The issue is that the
score is inherited by the process. Right now the score of the
child is adjusted _after_ the process has been spawned. This is
obviously a race condition.
2013-03-15 23:21:22 +01:00
Holger Hans Peter Freyther 90d152fcff gsmd: Simplify killing of the children
Kill the entire process group by sending it to pid 0. Found while
searching for better exec examples.
2013-03-15 22:56:26 +01:00
Holger Hans Peter Freyther 7aa59c430e gsmd: Work on stopping the respawn script and children
This is using some brute force. Make the shell script write a PID
file and on stop kill the respawn script and then all process names
that are spawned. For the stop we need to know that this is a bash
script.
2013-03-15 22:37:17 +01:00
Harald Welte 35ff59937b openmoko-gsmd: Update to git master
* reset modem at gsmd startup
* include CME ERROR 515 workaround
* include runtime loglevel setting
2013-03-15 13:05:04 +01:00
Harald Welte 209d4ec0be uucp: make sure /etc/uucp is the config path, not /usr/conf/uucp 2013-03-15 13:02:06 +01:00
Harald Welte cbb7200e61 Add UUCP recipe 2013-03-15 11:52:47 +01:00
Harald Welte fc1c332a7e add libsmpp32-dev and gpsd-dev to osmocom SDK/toolchain
libsmpp34 is needed for OsmoNITB SMPP support, and some of our systems
now run gpsd, thus people might wnat to compile applications against
libgps.
2013-03-15 10:29:56 +01:00
Harald Welte 8d7bfd23e9 ggsn.conf update: use 127.0.0.2 on sysmobts-v2 2013-03-14 22:56:05 +01:00
Harald Welte 85a4948d4b add sysmobts-v2 specific GPSD config file
FIXME: this will actually assume a GPS that is indirectly attached
to a GSM Modem which will be handled by openmoko-gsmd and forwarded via
UDP.  However, we might have a GPS receiver attached directly to the
GPS UART in other hardware versions!
2013-03-14 21:17:30 +01:00
Harald Welte 6c31e6c557 update gsmd to current master for GPS/AIS UDP forward support 2013-03-14 20:56:51 +01:00
Holger Hans Peter Freyther b6780a5826 sysmobts-firmware: Remove comment about both versions being installed
As of issue #48 we do not separate firmware for revc and revd. Remove
the comment about both versions being installed in parallel.
2013-03-14 14:03:40 +01:00
Harald Welte 29263f1625 Build openbsc with SMPP interface 2013-03-13 15:54:58 +01:00
Harald Welte b7d4da72b6 openbsc: Use git revision without SMPP build problem 2013-03-13 15:45:40 +01:00
Harald Welte 2b21fe5ad9 update libosmocore to 0.6.0 and openbsc to 0.13.0
this includes the Osmocom SMPP extensions
2013-03-13 15:33:18 +01:00
Harald Welte b67bed4d3a Add recipes for firmware v3.2 and v3.3 2013-03-13 13:48:43 +01:00
Harald Welte c71b4ead63 osmo-bts: Update to current git master
This will include
* Fix of CHAN_NR IEI in common channel RSL messages generated by BTS
* zecke/request_queueing
* Improve shutdown of DSP on exit
* various calib updates
* GSMTAP: use RxLevel and RxQual
* DSP power control bypass on ul_power_target==0
* Add radio link timeout procedure
2013-03-13 12:47:14 +01:00
Harald Welte b1be0d9702 openbsc: update to 8b29180cad875b396288a22fb252e158fa2a060a 2013-03-12 14:01:30 +01:00
Harald Welte 5b6ad0ce9d osmo-pcu: Make sure to actually build sysmobts support on v2 2013-03-09 01:05:03 +00:00
Harald Welte 766aabc563 import gpsd_3.7 recipe, taken from oe-meta.git, modified
* no longer depen on python
 * no longer depend on dbus
 * disable lots of compile options we don't need
2013-03-02 17:07:30 +01:00
Harald Welte e518a3224a osmo-pcu: Only build DSP support on sysmobts v2, not also v1 2013-03-02 15:22:21 +01:00
Harald Welte ad495228e2 update gsmd to current master, MCC fix in cell log as well as GPS/AIS FWD 2013-03-02 15:20:58 +01:00
Eric Blade a376cc61ed qt5: upgrade to 5.0.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-18 00:55:04 +01:00
Mikko Levonmaa a812c654db qt5-native: Getting rid of printf statements in qmake
They will cause the building of cmake-native to fail as it
will parse the output of qmake -query and is not expecting
to find the added lines in the output

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2013-02-17 10:04:10 +01:00
Holger Hans Peter Freyther 2b59ca73fe task-sysmocom: Add the new sysmocom-backup as dependency
Make sure the sysmocom-backup scripts are installed on the device
so customers can backup and restore these files.
2013-02-16 16:03:39 +01:00
Holger Hans Peter Freyther c4c453a1db sysmocom-backup: Create two shell scripts for backup/restore
Create shell scripts that backup and restore configuration files
used by the sysmocom products.
2013-02-16 16:02:37 +01:00
Holger Hans Peter Freyther e9379558e3 dropbear: Do not kill client connections when restarting the daemon
The upgrade of the unit broke due killing all client connections. opkg
got a SIGHUP and didn't write out the state files. Do not kill the
client connections on upgrade.
2013-02-15 19:23:36 +01:00
Harald Welte cf29168330 update osmo-bts for further ortp fixes 2013-02-09 14:19:12 +01:00
Harald Welte bcf7764458 update osmo-bts for the "rtp bind-ip" related fixes 2013-02-09 13:30:42 +01:00
Harald Welte 0925b23f06 update libosmo-abis to include connect() / getaddrinfo() fix 2013-02-09 12:20:01 +01:00
Harald Welte 489f392cc6 update udhcp.conf to add router/subnet/broadcast
... otherwise busybox-udhcpc is not happy with it
2013-02-07 15:44:22 +01:00
Harald Welte 7a9a2ddecb update openbsc to current git master, including DB revision 3 2013-02-07 15:04:24 +01:00
Holger Hans Peter Freyther 73b77fe9ba libsmpp: Fix the parsing error by removing trailing " 2013-02-06 15:51:56 +01:00
Harald Welte d0d30fee99 sysmobts-firmware_v2.7: Fix build on sysmobts_v1 2013-02-06 15:35:17 +01:00
Harald Welte 4aad63620b openbsc: Add config file and init script for SGSN 2013-01-29 19:54:07 +01:00
Harald Welte 557e1b47ba femtobts-api: ensure SRCREV is set on non-sysmobts machines.
COMPATIBLE_MACHINE didn't work, unfortunately.
2013-01-29 15:25:42 +01:00
Holger Hans Peter Freyther c88a4fb4c4 openmoko-gsmd: Add a cell-log patch to use the RF Ctrl interface 2013-01-20 20:16:56 +01:00
Holger Hans Peter Freyther b726969f84 linux-sysmocom: Disable the debug message of the DSPDL loading code 2013-01-17 09:23:16 +01:00
Holger Hans Peter Freyther fd02a175f6 linux-sysmocom: Upgrade the BTS kernel to 3.2.36 2013-01-15 14:10:39 +01:00
Holger Hans Peter Freyther 8b61400347 task-core-boot: Make sure the 'kernel' package is installed
The modules depend on kernel-base (renamed kernel-3.2.35) package,
the tasks depend on some modules and nothing needed the kernel package.

In OE Core/Poky the machines depend on kernel-modules which will pull
the kernel package into the rootfs. We do it by hand using the essential
depends and bumping the PR for the task-core-boot.

I have verified that on a kernel ugrade task-core-boot will be updated
and the kernel package is installed.
2013-01-14 20:28:45 +01:00
Holger Hans Peter Freyther c7dc800cc5 dropbear: Bump the PRINC after the init script fix 2013-01-14 08:53:20 +01:00
Harald Welte aff7df713e bump version number in order to avoid backwards 'gitr3 -> gitr1' 2013-01-14 02:06:56 +01:00
Holger Hans Peter Freyther b92f71e94b dropbear: Make sure the dropbear key is generated on first boot
The previous patch made sure a truncated key would be re-generated
but it broke the case that there is no key at all. This code is
handling both cases now. Use quotes as code outside this method
is using them too. Use the -a and not the && operator to work with
the busybox version of [ and ].
2013-01-14 01:18:28 +01:00
Harald Welte d8a23bc008 add recipe for libsmpp34 from git.osmocom.org
this is our local version of libsmpp34 with some fixes/extensions,
mostly related to the build system.
2013-01-14 01:17:41 +01:00
Harald Welte be7111d6c6 osmo-pcu: Update to most recent version including configuration file 2013-01-14 01:16:01 +01:00
Harald Welte 5b7eff1c95 update osmo-bts to current git head
this introduces (among other things) pcu start + re-spawning support
2013-01-14 01:16:01 +01:00
Harald Welte 350981f9a8 update osmo-pcu; enable direct DSP queue access 2013-01-14 01:16:01 +01:00
Harald Welte 8c57364452 update libosmocore to current de6e4983e7f83794e45af5a70b036ed9f4437ab5
this introduces tlvp_val16_unal() and friends.
2013-01-11 19:06:38 +01:00
Harald Welte df64e62c45 update PCU git version to include NS VTY support 2013-01-11 18:46:16 +01:00
Harald Welte e74231478d task-sysmocom-bts needs to be PACKAGE_ARCH=MACHINE_ARCH
otherwise we would still end up with a sysmobts-calib dependency on the v1
hardware.
2013-01-11 18:45:15 +01:00
Harald Welte 98b850cdb7 task-sysmocom-bts: calib is sysmobts-v2-only 2013-01-11 18:45:13 +01:00
Holger Hans Peter Freyther 38d2ca2f36 osmo-bts: Go back to the version from before the congress 2013-01-06 21:11:09 +01:00
Holger Hans Peter Freyther 343068cf92 shampoo: Add the shampoo remote development package 2013-01-05 23:20:57 +08:00
Holger Hans Peter Freyther c155d94108 misc: Ignore the usual files in this repository 2013-01-05 20:19:35 +08:00
Holger Hans Peter Freyther 056de69a16 misc: Use SRCPV inside the PV instead of the SRCREV 2013-01-05 20:17:17 +08:00
Holger Hans Peter Freyther cfeca91906 misc: At least use the right key for the description of the package 2013-01-05 20:13:57 +08:00
Holger Hans Peter Freyther 9028fc799b iliad: Package the iliad stable release
This is not the offifical iliad but with some updates to jquery
and the addition of jqueryui.
2013-01-05 20:03:30 +08:00
Holger Hans Peter Freyther 081e7870ae meta-smalltalk: Make this a proper overlay 2013-01-05 19:48:58 +08:00
Holger Hans Peter Freyther 4780150164 osmo-st: Move all osmosocom smalltalk packages to a new directory 2013-01-05 19:48:47 +08:00
Holger Hans Peter Freyther a57be384e1 osmo-st: Upgrade all osmo smalltalk recipes to the latest version 2013-01-05 19:38:50 +08:00
Holger Hans Peter Freyther 3e60b7a4d2 smalltalk: Build an unreleases git version as 3.2.4.99
We build a tarball as this avoids us having to deal with cross-compiling
the genvm, genprim, genbc application.
2013-01-05 18:14:29 +08:00
Holger Hans Peter Freyther c5ddf5162c misc: Add LICENSE and LIC_FILE_CHKSUM for all smalltalk recipes 2013-01-04 20:38:25 +08:00
Holger Hans Peter Freyther b8018837e3 gnu-smalltalk: Make it compile 2013-01-04 20:37:29 +08:00
Holger Hans Peter Freyther 7563b0a378 smalltalk: Introduce the code from an internal git repository 2013-01-04 06:32:56 +08:00
Holger Hans Peter Freyther 8431d916a5 dropbear: Add an init script that removes truncated keys
It is possible that the key is truncated, remove it in this case.
2013-01-03 22:47:14 +01:00
Martin Jansa 9f04cb7bb6 qt5: move module specific files to own directories
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-01 20:32:34 +01:00
Martin Jansa 319a61802d qt5: remove unused qmake-build.conf.sh
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-01 20:32:20 +01:00
Holger Hans Peter Freyther f9756a1ec6 osmo-bts: Another downgrade to look at broken channels 2012-12-30 16:59:42 +01:00
Holger Hans Peter Freyther 1c5bff88f1 osmo-bts: Another downgrade from the experimental branch 2012-12-30 16:50:39 +01:00
Holger Hans Peter Freyther f63bb56056 osmo-bts: Downgrade OpenBSC to have a sacch_deact variable 2012-12-30 15:56:26 +01:00
Holger Hans Peter Freyther 671337f9c8 osmo-bts: Go back to a un-modified channel release handling 2012-12-30 15:43:19 +01:00
Holger Hans Peter Freyther 99d3462a72 osmo-bts: More experimental version with channel ack/release changes/fixes 2012-12-30 11:38:39 +01:00
Holger Hans Peter Freyther 99fabcdfd6 osmo-bts: Upgrade to a test version for channel act and deact 2012-12-29 13:29:31 +01:00
Holger Hans Peter Freyther 0f9b8cb7e6 libosmocore: Upgrade for some LAPDm fixes 2012-12-27 00:29:06 +01:00
Holger Hans Peter Freyther 6f27e12588 sysmobts-firmware: Install both 3.0.1pre and 3.1 and add symlinks
The latest release currently does not support the RevC hardware. Install
both 3.0.1pre and 3.1 (luckily ubifs compresses them) and set a symlink.
Use the EEPROM size as an indicator if we are on revD or revC hardware
and then set the symlink. It has been tested for revC and needs to be tested
on revD hardware.
2012-12-22 12:16:00 +01:00
Holger Hans Peter Freyther a02d4dfabf openbsc: Upgrade the OpenBSC code for the new libosmocore 2012-12-21 18:52:32 +01:00
Holger Hans Peter Freyther 3e4ffca0b3 libosmocore: Upgrade for the tlvp_val16.. code
This code has an ABI incompatible change, bump the meta-telephony
version to force a rebuild of downstream.
2012-12-21 18:44:43 +01:00
Holger Hans Peter Freyther f36b6907a9 osmo-bts: Upgrade to master to get file based calibration 2012-12-21 18:39:18 +01:00
Martin Jansa 597f9bf624 qt5: upgrade recipes to use 5.0.0 tarballs
* and change DEFAULT_PREFERRENCE for git recipes negative again
* bump SRCREV in git recipes to latest and update PV

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-20 12:12:15 +01:00
Martin Jansa 1ecc46ac42 qtbase: don't touch STAGING_DATADIR
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-19 17:53:14 +01:00
Harald Welte 55b7b92f34 osmo-bts: Update git rev + recipe changes for sysmobts v1 support
sysmobts-calib is currently only compatible with (and built for) v2.
2012-12-18 22:23:18 +01:00
Harald Welte a1aad22e4e sysmobts-firmware: Re-work the firmware and header for v1 and v2
Re-work the way we distribute the header and firmware files. The header
files may be accessed by everyone but the firmware may only be used by
owners of our device. Create a header only repository with all the header
versions of the firmware and create tarballs for specific releases that
will be provided to our customers. Use COMPATIBLE_MACHINE to pick the right
firmware and API version depending on sysmoBTSv1 and sysmoBTSv2.
2012-12-18 22:23:18 +01:00
Harald Welte 638474f669 osmo-bts: update osmo-bts to version 0.1.0 including calibration support 2012-12-18 21:02:22 +01:00
Holger Hans Peter Freyther b272d37c60 osmo-pcu: 3ef16cc04a096ea5bbec5bb4e3988cc5d16766e9 has been GCed
Upgrade the osmo-pcu version to the jolly_merge branch and change
the way the PCU is enabled for the sysmoBTSv2 hardware.
2012-12-18 20:56:29 +01:00
Holger Hans Peter Freyther 9e2fce0fba linux: Fix the symlinking of the uImage symlink in /boot/
This has been fixed in upstream of OE-Core and in newer versions
of Yocto. For Edison provide our own version of the pkg_postinst
and pkg_postrm routines. It is not clear yet if this conflicts with
newer versions of poky but all that could happen is that the symlink
is changed twice and removed twice but the command ends with a || true
so this should not cause any kind of fault.
2012-12-18 18:08:50 +01:00
Holger Hans Peter Freyther 12a1b8ea4b libsmpp34: Switch to the osmocom fork, apps are not installed anymore 2012-12-18 15:20:12 +01:00
Holger Hans Peter Freyther 9e130f1ac1 libsmpp34: Add the C Open SMPP34 implementation 2012-12-18 15:20:07 +01:00
Holger Hans Peter Freyther dbb57efcd1 u-boot: Upgrade for sysmoBTSv2 revision D
Build a newer u-boot for revision D hardware
2012-12-18 15:08:08 +01:00
Holger Hans Peter Freyther d6fd5c09d0 linux-sysmocom: Upgrade to 3.2.35 for RevD and general fixes 2012-12-18 15:02:35 +01:00
Martin Jansa 6a07d6efce qtbase, qtdeclarative: bump SRCREV to latest
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-17 20:33:14 +01:00
Otavio Salvador 22b5908bfe Merge pull request #7 from levonmaa/master
Fix up prl and pkgconfig file generation and paths for the qt.conf
2012-12-17 11:14:48 -08:00
Mikko Levonmaa 34d4955894 qmake5: library path correction in generated qt.conf
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-14 16:46:41 -08:00
Mikko Levonmaa b93420ad8f qtbase: fix up prl and pkgconfig file generation
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-14 16:40:39 -08:00
Martin Jansa 6b7dd87f92 qt5: fixup FILES_ entries
* some are not needed as they are included in default value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 20:08:47 +01:00
Martin Jansa 7b3138f369 qt5: use lastest SRCREV in stable branches
* master branches were removed today and old SRCREVs are invalid now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 20:08:47 +01:00
Martin Jansa 20091a9f08 qtjsbackend: use common qt5.inc
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 20:08:47 +01:00
Martin Jansa 0ff97f9e6a qtdeclarative: use common qt5.inc, fix invalid PACKAGES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 20:08:47 +01:00
Martin Jansa 97f4709e4c qt5: move qtbase specific stuff from qt5.inc to qtbase.inc
* qt5.inc should be used by all qtmodule.inc
* add missing PACKAGES in qt5.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 20:08:40 +01:00
Martin Jansa a03f6cc2bf qtbase: disable xcb
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 06:13:33 +01:00
Otavio Salvador 6ce8dc82b7 Merge pull request #6 from levonmaa/qtjsbackend-native-fix
fix qtjsbackend-native build
2012-12-11 18:50:58 -08:00
Mikko Levonmaa bfe100c179 qtjsbackend: fix native dependency
Also fixes the broken qtjsbackent-native recipe

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-11 14:42:35 -08:00
Martin Jansa 921546e328 qtdeclarative: fix typo
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:52 +01:00
Martin Jansa ffc2911bce qtjsbackend: fix SRC_URI formatting
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:52 +01:00
Martin Jansa b7cdb5428d qtjsbackend_4.999+git: use common structure and bump SRCREV to latest
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:52 +01:00
Martin Jansa a52f36a63c qtdeclarative_4.999+git: use common structure and bump SRCREV to latest
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:51 +01:00
Martin Jansa 458e15b19e qtdeclarative: LIC_FILES_CHKSUM should be in source, not COMMON_LICENSE_DIR
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:50 +01:00
Martin Jansa ccb4d199df qt5-4.999+git.inc: update PV for SRCREVs after 5.0.0-rc1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:49 +01:00
Martin Jansa 0879ad08aa qtbase, qt5-native: upgrade to 5.0.0-rc1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 02:09:41 +01:00
Martin Jansa d6c825767c qt5-4.999+git.inc: fix PV format
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 00:20:18 +01:00
Martin Jansa 436fab1083 qtbase-4.999+git: bump SRCREV to latest
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 00:19:33 +01:00
Martin Jansa c460ac223b qt5-native-4.999+git: bump SRCREV to latest
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 00:18:05 +01:00
Otavio Salvador d4ff67c8f7 Merge pull request #5 from levonmaa/master
Fixed installations and recipes for qtjsbackend and qtdeclarative
2012-12-10 11:27:37 -08:00
Mikko Levonmaa 9f3d14a2fc qtdeclarative: packaging update and recipe cleanup
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-09 13:56:34 -08:00
Mikko Levonmaa 14f60829d8 qtjsbackend: SHA bump
Also uses the same qmake.conf as other modules

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-09 13:56:02 -08:00
Mikko Levonmaa bd6c9c28c2 qtbase: fix installations
Created new variables OE_CROSS_INSTALL_DATA and OE_CROSS_HOST_DATA
to support the installation and configuration of qtbase and dependant
modules.

Added paths for Qml2Imports

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-09 13:50:26 -08:00
Mikko Levonmaa 5dc4d0616a qt5-native, qtbase: Git version is preferred
Atleast until qt5 is offciall released. Also updated git SHAs

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-09 13:45:11 -08:00
Mikko Levonmaa 16e4143ba5 qtdeclarative: Initial recipe
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-07 09:02:32 -08:00
Mikko Levonmaa 18b6ac18c7 qtjsbackend: fixed packaging
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-07 08:54:33 -08:00
Mikko Levonmaa a45a6a184f qtjsbackend: Initial recipe
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-07 08:54:20 -08:00
Mikko Levonmaa b514c5d67a Updated QT_CONF_PATH default values in qmake5_base
This allows the subsequent modules to install correctly. Also during
do_configure we stage target specific file into the staging area and
modify some prf files inorder to make the module (qt_lib_<module>.pri)
files install correctly

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-07 08:48:15 -08:00
Otavio Salvador b0fc5cab61 Merge pull request #3 from levonmaa/master
qtbase: mkspecs are now staged correctly
2012-12-05 03:47:16 -08:00
Mikko Levonmaa 17d2bf1cdd qtbase: mkspecs are now staged correctly
They are placed under STAGING_DATADIR as they need to be
kept separate from the native side. The reason for doing so
is that some qt modules require native tools and the mkspecs
in STAGING_DATADIR_NATIVE cannot be polluted with the target
mkspecs

There are still some packaging issues

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-04 17:03:14 -08:00
Martin Jansa 93fc33ea28 qt5-native: explicitly disable xcb
* otherwise we need for -system-xcb
  libxcb-native libxau-native libxdmcp-native xcb-util-wm-native
  xcb-util-image-native xcb-util-keysyms-native
  or for -qt-xcb
  libxcb-native libxau-native libxdmcp-native
  and fix underlinking in xcb linking test (QMAKE_LIBS_XCB)
  | linking xcb
  | /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libXau.so.6, needed by /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libxcb.so, not found (try using -rpath or -rpath-link)
  | /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libXdmcp.so.6, needed by /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libxcb.so, not found (try using -rpath or -rpath-link)
  | /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libxcb.so: undefined reference to `XauDisposeAuth'
  | /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libxcb.so: undefined reference to `XauGetBestAuthByAddr'
  | /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libxcb.so: undefined reference to `XdmcpWrap'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-04 02:27:46 +01:00
Martin 'JaMa' Jansa 9914f2c64f Merge pull request #2 from levonmaa/master
Updating recipes to use correct tools and fixing installations
2012-12-03 17:26:02 -08:00
Mikko Levonmaa 2dd5038560 Preserve the PARALLEL_MAKE value when compiling
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-03 11:15:35 -08:00
Mikko Levonmaa ff173560e2 qtbase: partially resolves module pri installation
The pri files get correctly placed under the work dir, but fail
to stage correctly. Also there are some packaging issues

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-03 11:15:35 -08:00
Mikko Levonmaa c3e8e8de59 qt5-native: mkspecs are now installed correctly
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-03 11:15:35 -08:00
Mikko Levonmaa cba28bbc10 qtbase: use the correct tools from the native sysroot
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-03 11:14:35 -08:00
Mikko Levonmaa 05d88f867d qt5-native: Always compile and install uic
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-12-03 11:11:58 -08:00
Holger Hans Peter Freyther 9106dd27b9 sysmobts: Do not print the queue underrun as notice but as debug 2012-11-25 23:04:27 +01:00
Holger Hans Peter Freyther 16aafee394 sysmobts: Build experimental version for a possible LAPDm UI idle frame fix 2012-11-25 21:13:13 +01:00
Otavio Salvador ead13659ca qt5-native: Allow override of qt.conf path
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-11-19 17:27:34 -02:00
Otavio Salvador bb72ea51a1 qtbase: Replace patch to allow specification of qt.conf file
This patch has been cleaned to the minimum version and is ready for
sending to upstream. Once it is accepted, a backport of the final
version will be included here.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-11-19 17:25:59 -02:00
Otavio Salvador 5bd1456605 qtbase: Drop unused patch for setting qt.conf override support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-11-19 10:41:57 -02:00
Martin Jansa 95e49bf0f4 qt5: split QT_CONFIG_FLAGS to more separate variables
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-18 18:02:52 +01:00
Martin Jansa edb7f7413e qt5-native: add -qt-xcb to EXTRA_OECONF
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-18 18:01:21 +01:00
Martin Jansa 870536b3be qtbase: add recipe for 5.0.0-beta2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-15 21:57:23 +01:00
Mikko Levonmaa 13ed17b2ba qtbase: add recipe for git version
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-15 21:57:18 +01:00
Mikko Levonmaa 4ec2e9d2d8 qt5-native: install mkspecs and our g++.conf + linux.conf
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-15 21:40:54 +01:00
Martin Jansa 8eec015508 qt5-native: change PV of 5.0.0-beta2 to sort lower then 5.0.0 when it's released
* also add version specific .inc files and move all version specific
  variables to it
* upgrade 5.0.0-beta1 to 5.0.0-beta2 and add include for latest git

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-15 21:40:50 +01:00
Martin Jansa 3546f08c5b qt5-native: install all native tools
* e.g. we need qdbusxml2cpp to build connman-qt

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-15 19:04:56 +01:00
Harald Welte b13eaf470f update git revision of osmo-bts and osmo-pcu 2012-11-02 14:00:32 +01:00
Holger Hans Peter Freyther 3279c6791f libosmo-abis: Build a git version of libosmo-abis for a leak fix
Build new unreleased version of libosmo-abis for a memory leak fix.
2012-11-02 13:50:47 +01:00
Holger Hans Peter Freyther 6f54e1b374 gsmd: Increase the PR after changing the default file 2012-11-02 13:50:17 +01:00
Harald Welte d1e0a1f78d gsmd: Use /dev/ttyS2 on sysmobts v2
only the first prototype board (on the v2B mainboard) was using ttyS0, messing
up console access.  This has been fixed in v2.x of the db9 daughterboard for
the v2C mainboards.
2012-11-02 13:50:14 +01:00
Harald Welte 6ae5eefa93 update libosmocore_git to 8ec7f901bb1843b7c29335d5ea0531e7a1527210
this includes a fix for the nasty missing "logging filter" while writing the
config bug.
2012-11-02 13:50:10 +01:00
Harald Welte d07870af73 update libosmocore and openbsc 2012-11-02 13:50:05 +01:00
Martin Jansa bc43214dd2 qt5-native: disable demos
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-27 22:30:55 +02:00
Martin 'JaMa' Jansa 94f916248e Merge pull request #1 from levonmaa/master
qt5-native now compiles and installs
2012-10-27 13:24:29 -07:00
Mikko Levonmaa 671410bb40 qt5-native now compiles and installs
Disabled tests and exmaples in the native build. Also do_install
now installs the qmake host binary

Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
2012-10-24 15:46:25 -07:00
Martin Jansa c1d83958f5 layer.conf: fix BBFILE_PRIORITY
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-23 20:13:45 +02:00
Otavio Salvador 4927bd8c56 qt5-native: Add initial draft
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-10-23 15:51:25 -02:00
Otavio Salvador ec0ac6e5b1 Add layer basic structure
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-10-23 15:50:41 -02:00
Jan Luebbe 5e17d8e537 Attempt to target multiple versions of Poky at the same time
The idea is that the basic extension resides inside the the normal
recipe directories. Depending on the version of poky the bbappends
need to be included. Appends applying to all versions will be put
into the shared folder, specific ones into the specific directory.
Once a bbappend can not be shared anymore it needs to be copied.
2012-09-15 17:44:57 +02:00
Holger Hans Peter Freyther 2ae26ee3fa openbsc: Improve the init scripts, do not write counters
Make the start/stop of the NITB, BSC and MGCP HW work, remove the
force-reload option as it didn't do anything and omit writing counters
into the database.
2012-09-15 16:34:21 +02:00
Holger Hans Peter Freyther aeb390d1cf libosmocore: Upgrade to newer version with libosmovty improvements 2012-09-13 21:20:19 +02:00
Holger Hans Peter Freyther 6a4abb5830 lmsensors-apps: Package the *.a into a new -staticdev package 2012-09-04 14:14:00 +02:00
Holger Hans Peter Freyther b8b0dff3d4 watchdog: Target both edison and HEAD in this overlay
One needs to use BBMASK or delete depending on the targeted
OE-Core/Poky version.
2012-09-04 14:13:26 +02:00
Holger Hans Peter Freyther 4f78b6ef78 netbase: Target both edison and HEAD in this overlay
One needs to use BBMASK or delete depending on the targeted
OE-Core/Poky version.
2012-09-04 14:12:38 +02:00
Holger Hans Peter Freyther 97ba83f17a busybox: Target both edison and HEAD in this overlay
One needs to use BBMASK or delete depending on the targeted
OE-Core/Poky version.
2012-09-04 14:11:51 +02:00
Holger Hans Peter Freyther 4f61482461 openggsn: Package the *.a into a new -staticdev package 2012-09-04 14:08:36 +02:00
Holger Hans Peter Freyther a6cbcf75d5 libdbi-drivers: Introduce INC_PR for this recipe 2012-09-04 14:07:17 +02:00
Holger Hans Peter Freyther 25a726eea5 libdbi-drivers: Package the *.a into a new -staticdev package 2012-09-04 14:06:23 +02:00
Holger Hans Peter Freyther 1579cdf0fe libdbi-drivers: Add checksums for version 0.8.3 2012-09-03 13:37:41 +02:00
Holger Hans Peter Freyther c0cbc30d4c libdbi: Add checksums for version 0.8.3 2012-09-03 12:18:54 +02:00
Holger Hans Peter Freyther d6415c8069 sysmocom: Make dvnixload and ubl accessible via public git
dvnixload and ubl are available via public git.
2012-08-21 15:14:47 +02:00
Holger Hans Peter Freyther a4331e9bee openggsn-config: Fix the name of the ggsn.conf for the sysmocom-bsc 2012-08-20 23:41:48 +02:00
Holger Hans Peter Freyther 138ac3bc45 libgsm_1.0.13: Add necessary " for the variable assignment
Newer versions of BitBake are more picky about it. Add the quotes.
2012-08-20 21:26:19 +02:00
Holger Hans Peter Freyther c35fa18841 linux-sysmocom.inc: Add quotes around the value for newer versions of bitbake
BitBake is finally more picky about variable assignments. Add the
necessary quotes.
2012-08-20 21:25:04 +02:00
Holger Hans Peter Freyther d9150d375c openggsn-config: Add the GGSN configuration to this layer 2012-08-20 19:34:56 +02:00
Holger Hans Peter Freyther fd604f8497 sysmocom-*-image: Add the IP and E1 image to this layer
Add a BSC IP and BSC E1 image to the meta-sysmocom-bsp.
2012-08-20 19:30:02 +02:00
Holger Hans Peter Freyther bbbc805a2d femtobts: Drop the old femtobts calibration utility
A new version can be found inside the osmo-bts repository.
2012-08-20 19:26:31 +02:00
Holger Hans Peter Freyther ba44e70c38 sysmocom-bsc-e1: Introduce a sysmocom-bsc-e1 machine type 2012-08-20 18:50:58 +02:00
Holger Hans Peter Freyther f5b92b4bf2 u-boot: Upgrade to a version with the recovery mode 2012-08-15 21:34:25 +02:00
Holger Hans Peter Freyther 2d8f097946 openvpn: Introduce OpenVPN from meta-openembedded 2012-08-15 17:50:48 +02:00
Holger Hans Peter Freyther f88c9a6fbd libosmocore: Build a 0.5.3+ version and force rebuild
The behavior of the OSMO_MIN/OSMO_MAX has been fixed. Update
the library and force the rebuild.
2012-08-15 17:09:28 +02:00
Holger Hans Peter Freyther 62e7f7f1bc osmo-bts: Build the latest version of osmo-bts
This has a GSM band selection fix. GSM1900 band is now working properly.
2012-08-15 16:40:03 +02:00
Holger Hans Peter Freyther d03aa9c516 osmo-bts,osmo-pcu: Both applications should be rebuild on osmocore upgrades
Rebuild the BTS and PCU when the SOVERSION of a libosmocore library
is changing. Do that by adding the ${META_TELEPHONY_OSMO_INC} into
the PR.
2012-08-15 16:35:58 +02:00
Harald Welte 2be99ac429 Add a new task 'task-gprscore' containing sgsn/ggsn/routing 2012-08-15 16:34:10 +02:00
Harald Welte 6734e9a695 add osmo-pcu for GPRS support on sysmobts 2012-08-15 16:33:29 +02:00
Harald Welte 5928a0374a update to firware + api version 2.4 2012-08-15 16:30:41 +02:00
Holger Hans Peter Freyther 8479f83f39 libosmocore: Introduce 0.5.3 and bump the META_TELEPHONY_OSMO_INC
META_TELEPHONY_OSMO_INC functions as kind of a reverse dependency,
packages using libosmocore will now rebuild and link to the newer
soversion of the libraries. Upgrade OpenBSC due an ABI change in
the GPRS/GB code.
2012-08-15 16:28:09 +02:00
Harald Welte 73295758f9 libosmocore: update to more recent version including a BSSGP fix 2012-08-15 16:23:56 +02:00
Holger Hans Peter Freyther 4e2ab7017f misc: Move from SSH to Git protocol for the sysmocom source 2012-08-15 08:18:53 +02:00
Holger Hans Peter Freyther 9f0744ce76 debootstrap: Add a version of debootstrap to bootstrap debian images 2012-07-21 18:10:27 +02:00
Holger Hans Peter Freyther 21c475ae4a gnupg/libksba: Add gnupg/libksba from openembedded-contrib for debootstrap 2012-07-21 18:10:27 +02:00
Holger Hans Peter Freyther f4320dd67f dahdi-tools: Build dahdi_pcap and fix the installation of the perl modules 2012-07-21 18:05:25 +02:00
Holger Hans Peter Freyther 1f71735516 dahdi-linux: Enable the mirror mode required for dahdi_pcap, cleanups
Enable the mirror mode to be able to use the dahdi_pcap utility of
dahdi_tools.
2012-07-21 18:05:25 +02:00
Holger Hans Peter Freyther fe53a9d4aa dahdi: Upgrade from 2.5.0.1 to 2.6.0 2012-07-21 18:05:25 +02:00
Holger Hans Peter Freyther 9416f178b1 dvnixload: Deal with UBL being gone but U-Boot is present.
Upgrade the dvnixload to a version that will always flash the
UBL payload to the device.
2012-07-11 14:26:51 +02:00
Holger Hans Peter Freyther d838ac6e80 ubl/dvnixload: Update both ubl and dvnixload for recovery
The UBL allows to interrupt the NAND boot mode and switch to the
UART mode for recovery. Everyone with physical access will be able
to interrupt the boot.
2012-07-11 09:05:53 +02:00
Holger Hans Peter Freyther e2ab56be8f ubl: Initialize the UART0/UART1 on the sysmobts-v2
This is fixing the early printf inside u-boot.
2012-07-11 07:33:19 +02:00
Holger Hans Peter Freyther e0bf4c7fea sysmobts-calib: Build, package and make sure it is installed
Install the sysmobts calibration utility. task-sysmocom-bts is
installed on every bts and will now pull in the calibration utility.
The sysmobts screen needs to be stopped before this application
can run.
2012-07-10 00:17:15 +02:00
Holger Hans Peter Freyther a6ae74f721 ca-cacert-rootcert.bb: Have the complete root for CACert 2012-07-09 17:05:52 +02:00
Holger Hans Peter Freyther be68ad33d2 ca-cacert-rootcert.bb: Create symlinks for all fingerprints of the cert 2012-07-09 16:38:38 +02:00
Holger Hans Peter Freyther 4df5621826 ca-cacert-root: Do not use the full-blown ca-certificates
First ca-certificates does not create a symlink from /etc/ssl/certs
to /usr/lib/ssl/certs, second it does not run the c_rehash perl utility
making the recipe pretty useless and third it trusts way too many
cert authorities.
2012-07-09 16:19:40 +02:00
Holger Hans Peter Freyther e423b30a83 task-sysmocom: Install wget and certificates for ssl 2012-07-09 14:49:46 +02:00
Holger Hans Peter Freyther ae891be609 ca-certificates: Taken from meta-openembedded needed for wget
I upgraded it to 20120623 and updated checksums.
2012-07-09 14:49:41 +02:00
Holger Hans Peter Freyther 33fe48f3b7 openbsc: Upgrade to version v0.12.0 of OpenBSC
This has split out the GPRS library and some bugfixes.
2012-07-09 10:35:55 +02:00
Holger Hans Peter Freyther 794c0e73e6 libosmocore: Upgrade to version 0.5.2 for the libgb split
libosmocore gained a new GPRS helper library.
2012-07-09 10:35:55 +02:00
Holger Hans Peter Freyther d1d9f99eb6 libosmo-abis: Add 0.1.3 with buildsystem changes and minor bugfixes 2012-07-09 10:35:55 +02:00
Holger Hans Peter Freyther e568fa2c27 osmo-bts: The start script is using nice, depend on coreutils for that
Our version of busybox does not provide the nice command, use the
fullblown coreutils instead.
2012-07-09 10:28:22 +02:00
Holger Hans Peter Freyther e6ec2228da osmo-bts: Upgrade the osmo-bts version for various bugfixes
This is fixing the GSMTAP debug support and permanent paging.
2012-07-09 10:25:00 +02:00
Holger Hans Peter Freyther 9257e4b8a1 femtobts-api: Force an upgrade due some local modifications for supporting RevB hardware 2012-07-09 10:08:47 +02:00
Holger Hans Peter Freyther 0f6a89c788 linux-sysmocom: Build the kernel with MMC support, package the modules
Autoload mmc_block and the davinci_mmc module. This will load the mmc_core
module as another dependency.
2012-07-09 10:08:42 +02:00
Holger Hans Peter Freyther c1625ee284 openmoko-gsmd: Package the cell_log separately and respawn 2012-07-09 10:07:46 +02:00
Holger Hans Peter Freyther 90a211eb56 meta-sysmocom-bsp: Backport the archives 2012-06-26 19:07:11 +02:00
Holger Hans Peter Freyther f3f2d7149d u-boot: Modified the configuration in regrd to boot interruption
Typing bts-delay will interrupt the boot and enter the command
line of the bootloader.
2012-06-15 23:42:24 +02:00
Holger Hans Peter Freyther 4fed144378 openmoko-gsmd: Add support for the sysmobts_v2 with a modem daughterboard 2012-06-11 08:39:36 +02:00
Holger Hans Peter Freyther 914296ad20 sysmobts-v1: Change the defconfig to hide a kallsysms issue 2012-06-10 20:23:33 +02:00
Holger Hans Peter Freyther c0663ce337 osmo-bts: Upgrade the osmo-bts version for a sysmobts-v1 fix and v2 improvement 2012-06-10 20:01:12 +02:00
Holger Hans Peter Freyther 420ea289a2 linux-sysmocom: Upgrade to 3.2.19, this requires a manual symlink
Kernel upgrades on a live system is not well tested, right now the
symlink is not updated but for some reason the old uImage is kept
installed.
2012-06-10 17:16:55 +02:00
Holger Hans Peter Freyther d9a77eb641 task-core-boot.bbappend: Increase PR due the moving of the watchdog
Make sure that on opkg upgrade the watchdog will now be installed due
the new task-core-boot package.
2012-06-10 16:48:00 +02:00
Holger Hans Peter Freyther 17acc4a562 task-sysmocom-bts: Do not package the femtobts-example
This is not available in this layer, remove it.
2012-06-10 15:53:20 +02:00
Holger Hans Peter Freyther 45580f23e8 Merge remote-tracking branch 'origin/master' 2012-06-09 23:21:53 +02:00
Holger Hans Peter Freyther 62ac580831 sysmobts: Upgrade to a BTS version with fixed 2bis SI scheduling
This is a hot fix for the 2bis case, the more generic scheduling
patch needs to be tested a bit more.
2012-06-09 23:17:07 +02:00
Holger Hans Peter Freyther be8f70e8a1 linux: Change the sysmocom-bsc kernel config in regard to USB and FS
* Enable verbose detection, add CP2012 based serial adapter support
* Only enable USB1.1 HCD for now to fix the detection of the USB serial
  adapters
* Enable more filesystems in the config to allow upgrading the boot
  partition during the runtime (after installing the right codepage)
2012-06-09 23:17:07 +02:00
Holger Hans Peter Freyther c29b5d8bb4 pkgconfig: Place the pkg.m4 into the main package
The pkg.m4 should be in the main package, the -dev package will attempt
to pull in X11 header files and will require too much filesystem space.
2012-06-09 23:17:07 +02:00
Holger Hans Peter Freyther 03c9643695 watchdog: Let the machine provide the watchdog dependency
Not every machine has a hardware watchog, let the machine decide
if a watchdog should end up in every image.
2012-06-09 23:17:07 +02:00
Harald Welte ce6f4b0bce update osmo-bts to recent git which adds RF ACTIVE LED support 2012-06-09 23:17:07 +02:00
Holger Hans Peter Freyther 9f86fa35a2 openmoko-gsmd: Add the Openmoko GSMD recipe
This is based on the gsmd recipe from OE classic. There will be
some more tweaking for respawn and the cell log utility.
2012-06-09 22:59:13 +02:00
Harald Welte 242922ceae SDK: make sure to include libosmo-abis, libdbi and libgtp headers
This enables the SDK to do a full openbsc build.
2012-06-09 22:59:05 +02:00
Harald Welte a79df5e650 update osmo-bts to include RF LED / rf_lock support 2012-06-02 01:08:10 +02:00
Harald Welte df89bf00e7 add ntpdate to task-sysmocom-tools 2012-06-02 01:06:43 +02:00
Harald Welte a3c1f02557 import ntp recipe from OE (we need ntpdate) 2012-06-01 16:44:35 +02:00
Holger Hans Peter Freyther 5508643b52 wget: Be more specific about the version of GPL 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 910852c052 linux-sysmocom: Be more specific about the license of linux 2012-05-31 14:46:57 +08:00
Dexuan Cui 842d3ece07 socat: add the latest stable version 1.7.2.0
socat is useful for the self-hosted-image work.

The original recipe is from OE:
http://git.openembedded.org/openembedded/tree/recipes/socat/
and I upgraded it to 1.7.2.0.

Thank Koen Kooi <koen@dominion.thruhere.net> for suggesting
how to assign the LICENSE field with a proper value.

(From OE-Core rev: b1771ff0ad39250678bd53b0ae7543c9365572f5)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 7aaa4cc880 watchdog: Start the watchdog script in rcS.d as early as possible
This needs to be started after udev, after loading modules.
2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 6d69dba610 watchdog: Install a init script and add config file to conffiles 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther aed232262e watchdog: Add machine specific watchdog file 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 6dcaf7d614 osmo-bts: Upgrade to a version that reloads the firmware on every start 2012-05-31 14:46:57 +08:00
Harald Welte 77f660aa0d update to sysmobts-v2 API/firmware version v2.1 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 39d7350b90 sysmobts-v2: Allow to override the flash parameters
RevB and RevC feature different kind of nand flash. RevB is still
pre-production hardware so for the few units allow to set the right
flash parameters in the local.conf.
2012-05-31 14:46:57 +08:00
Harald Welte 967184aef7 sysmobts-v2 has the same NAND flash as -v1, so use same UBI parameters 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther bdbd14a8d5 u-boot: Fix the u-boot git version in our public git repository 2012-05-31 14:46:57 +08:00
Harald Welte b9d489c543 add the sysmobts-remot program to the "task-sysmocom-bts"
This is primarily used for development, but as it is such a small tool, it
makes sense to always include it in the build.
2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther 2a378aa333 firmware: The package depends on the machine, set the right arch 2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther f1ce2c13e5 image: Make sure that everything from the machine rdepends is built
Make sure that everything the machine needs to install is built.
2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther 999cf4843e image: Depend on wget to have password authentication for the feeds
wget implements HTTP authentication, this means one can use opkg to
access password protected feeds for upgrades.
2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther b863e59aa6 wget: Add wget from meta-oe
Having wget available will allow to use it for online updates with opkg.
2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther 73bcda3f97 bts: Build a jffs2 image as well, make sure the firmware is built 2012-05-31 14:46:56 +08:00
Holger Hans Peter Freyther dd6f9356b1 meta-sysmocom-bsp: Create bsp for the sysmocom hardware
This layer will power our hardware. This includes the sysmoBSC, sysmoBTS v1
and the sysmoBTS v2.
2012-05-31 14:46:42 +08:00
Holger Hans Peter Freyther 1e224b39ae libdbi-drivers: Remove redundant LICENSE assignment 2012-05-30 19:23:22 +08:00
Holger Hans Peter Freyther 39b09a8849 dahdi: Be more specific about the version of GPL. 2012-05-30 19:23:06 +08:00
Holger Hans Peter Freyther 8caa70df0a ortp: Be more specific about the version of the LGPL 2012-05-30 19:23:01 +08:00
Holger Hans Peter Freyther 5a11d46c4e libdbi: Be more precise about the license of libdbi and libdbi-drivers 2012-05-30 19:17:49 +08:00
Holger Hans Peter Freyther d24c97d308 osmocom: Fix the license of the libraries
GPL is too unspecific, point to the right versions
2012-05-30 17:51:30 +08:00
Holger Hans Peter Freyther 96a864f527 libosmocore: Upgrade to get GSM_LCHAN_PDTCH 2012-04-28 22:38:54 +08:00
Holger Hans Peter Freyther e005f8d60e openbsc: Fix the name of the MGCP MGW start script
The binary was renamed in the master branch, catch up.
2012-04-14 19:39:29 +08:00
Holger Hans Peter Freyther fab01cc657 osmocom: Upgrade libosmocore and openbsc to newer versions
Build newer versions of libosmocore and openbsc.
2012-04-13 03:21:01 +08:00
Holger Hans Peter Freyther 9d939cbe6c ortp: Move back to the savannah infrastructure
mirror.its.uidaho.edu is not reachable anymore and savannah appears
to be working again.
2012-04-07 21:57:42 +08:00
Holger Hans Peter Freyther aeca0842f3 osmocom-tcpdump: Correct the provides name in the start script 2012-04-06 21:00:44 +08:00
Holger Hans Peter Freyther e08238ed3d osmocom-tcpdump: Add a tcpdump wrapper that logs to finite space
tcpdump can create a new log file every couple of bytes, it can also
be asked to limit the number of logfiles and wraps the counter back to
zero, and at least tcpdump 4.1 can also compress the log file with an
external script. Create a start script around this feature to log to
a given directory but not use more space than allowed to. The script
was created by Jan Luebbe and then modified.
2012-03-05 02:47:43 +08:00
Holger Hans Peter Freyther 904300e21a openggsn_git: Upgrade to the latest git revision
This version includes a libgtp.pc that is required to compile the
osmo-sgsn.
2012-02-16 03:44:32 +08:00
Holger Hans Peter Freyther a56c10d89a lcr: Clean out the default config files 2012-01-23 02:32:32 +08:00
Holger Hans Peter Freyther 75abc06f34 lcr: Remove not installed files from the CONFFILES 2012-01-23 02:25:15 +08:00
Holger Hans Peter Freyther 23dbc00a4e openbsc: Upgrade git version to track 0.10.1+ 2012-01-16 16:38:41 +08:00
Holger Hans Peter Freyther 73bcd9a75c libosmocore: Upgrade git to after the 0.4.1 release
In this git version LAPDm is fixed in a way that it is working
for the osmo-bts again.
2012-01-16 16:38:41 +08:00
Holger Hans Peter Freyther 6e64338f29 libosmo-abis: Add recipe for upstream version 0.1.1 2012-01-16 16:38:41 +08:00
Holger Hans Peter Freyther 8f3955af20 lcr: Upgrade to post 1.10 and build from my personal branch
Update to 1.10 to work with newer osmo-nitb, including the version
handshake that was introduced.
2012-01-16 16:38:41 +08:00
Holger Hans Peter Freyther e77df798a7 asterisk: Band aid for a crash on RTP RTCP message
This might be a general TLS issue with Asterisk on ARM. I have not
looked into why this is happening. Create a band-aid.

Crash:
(gdb) bt
it crashed when formating/printing the &addr in the rtcp recv method
...

RTCP:
Packet generated from Ekiga 3.2.7 (Debian Unstable).

Cause:
Not very clear, maybe something with TLS handling of asterisk
2012-01-16 16:38:41 +08:00
Holger Hans Peter Freyther 9566715405 asterisk: Upgrade from version 1.8.7.0 to 1.8.8.1
Move along the stable track.
2012-01-16 16:38:37 +08:00
Holger Hans Peter Freyther c2d998c9b4 mISDN: Upgrade the mISDNuser library to post 2.0.5 2012-01-16 16:06:09 +08:00
Holger Hans Peter Freyther 8946d523ed libosmocore: Update the git recipe to include latest LAPD fix 2012-01-11 20:44:34 +08:00
Holger Hans Peter Freyther 183d75b24d libosmocore: Add version 0.4.1 of libosmocore, force re-build 2011-12-11 23:12:26 +01:00
Holger Hans Peter Freyther dca725b368 osmocom: Introduce META_TELEPHONY_OSMO_INC to easily bump version
For libosmocore updates we need a nice way to rebuild all libraries
using it. This can be done using the META_TELEPHONY_OSMO_INC variable.
2011-12-11 22:08:19 +01:00
Holger Hans Peter Freyther f58538edcd asterisk: Remove the CONFFILES that are not provided here 2011-12-11 21:38:31 +01:00
Holger Hans Peter Freyther 9d9e971a87 task: Add a task to build everything in this layer
Add a task to build test everything that is in this layer.
2011-12-11 17:36:35 +01:00
Holger Hans Peter Freyther f75ebc3f4b meta-toolchain-osmo: Include without direct addresssing
Use the BBPATH to find the recipe instead of assuming where this
layer has been placed.
2011-12-11 15:20:51 +01:00
Holger Hans Peter Freyther 447e9fa77d conf: Introduce the conf/layer.conf to make it work as a layer 2011-12-11 15:19:18 +01:00
Holger Hans Peter Freyther 8083eb0be3 openggsn: Remove the ggsn.conf in CONFFILES as the file is not here 2011-11-14 20:41:20 +08:00
Holger Hans Peter Freyther 1d9cbe012b libosmocore: Build the latest git version of libosmocore 2011-11-11 22:15:00 +08:00
Holger Hans Peter Freyther 0b0ef8aae6 lcr: Introduce 1.10 of LCR with a custom start script for it. 2011-11-11 21:41:31 +08:00
Holger Hans Peter Freyther 6fe3d67299 misdn: Build the userspace library
Apply a local patch to increase the the buffer size, on different
platforms the kernel structs have holes that this calculation did
not account for.
2011-11-11 21:37:15 +08:00
Holger Hans Peter Freyther b49f5121bb libgsm: Introduce libgsm-1.0.13 recipe for LCR/mISDN 2011-11-11 21:36:15 +08:00
Holger Hans Peter Freyther f52b4a6ba8 asterisk: Introduce asterisk recipe for 1.8.7.0 2011-11-11 21:34:38 +08:00
Holger Hans Peter Freyther ba3023edbc ggsn: Remove the empty config file this should come from the machine integration
The integrator should install a config as he can decide on the IP
addresses and policy to be used.
2011-11-11 21:34:38 +08:00
Holger Hans Peter Freyther 60ee4cd504 Add existing sysmocom recipes 2011-11-11 21:26:06 +08:00
703 changed files with 41070 additions and 0 deletions

11
merge-all.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
merge()
{
git subtree pull --prefix=$1 rem-$1 master
}
merge meta-telephony
merge meta-sysmocom-bsp
merge meta-smalltalk
merge meta-qt5

17
merge-init.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
merge()
{
echo $1
git remote add rem-$1 $2
git fetch rem-$1
git subtree add --prefix=$1 rem-$1/master
}
merge meta-telephony git://github.com/sysmocom/meta-telephony.git
merge meta-sysmocom-bsp git://git.sysmocom.de/poky/meta-sysmocom-bsp
merge meta-smalltalk git://github.com/sysmocom/meta-smalltalk.git
merge meta-qt5 git://github.com/sysmocom/meta-qt5.git

17
meta-qt5/COPYING.MIT Normal file
View File

@ -0,0 +1,17 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

32
meta-qt5/README Normal file
View File

@ -0,0 +1,32 @@
This layer depends on:
URI: git://github.com/openembedded/oe-core.git
branch: master
revision: HEAD
URI: git://github.com/openembedded/meta-oe.git
layers: meta-ruby
branch: master
revision: HEAD
When building stuff like qtdeclarative, qtquick, qtwebkit, make sure that
you have required PACKAGECONFIG options enabled in qtbase build, see qtbase.inc
for detail.
Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-qt5]' in the subject'
When sending single patches, please using something like:
'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-qt5][PATCH'
You are encouraged to fork the mirror on github[1] to share your
patches. This is preferred for patch sets consisting of more than one
patch. Other services like gitorious, repo.or.cz or self hosted setups
are of course accepted as well, 'git fetch <remote>' works the same on
all of them. We recommend github because it is free, easy to use, has
been proven to be reliable and has a really good web GUI.
1. https://github.com/meta-qt5/meta-qt5/
Main layer maintainers:
Martin 'JaMa' Jansa <martin.jansa@gmail.com>
Otavio Salvador <otavio@ossystems.com.br>

View File

@ -0,0 +1,33 @@
inherit cmake
inherit qmake5_paths
EXTRA_OECMAKE += " \
-DOE_QMAKE_PATH_PREFIX=${OE_QMAKE_PATH_PREFIX} \
-DOE_QMAKE_PATH_HEADERS=${OE_QMAKE_PATH_HEADERS} \
-DOE_QMAKE_PATH_LIBS=${OE_QMAKE_PATH_LIBS} \
-DOE_QMAKE_PATH_ARCHDATA=${OE_QMAKE_PATH_ARCHDATA} \
-DOE_QMAKE_PATH_DATA=${OE_QMAKE_PATH_DATA} \
-DOE_QMAKE_PATH_BINS=${OE_QMAKE_PATH_BINS} \
-DOE_QMAKE_PATH_LIBEXECS=${OE_QMAKE_PATH_LIBEXECS} \
-DOE_QMAKE_PATH_PLUGINS=${OE_QMAKE_PATH_PLUGINS} \
-DOE_QMAKE_PATH_IMPORTS=${OE_QMAKE_PATH_IMPORTS} \
-DOE_QMAKE_PATH_QML=${OE_QMAKE_PATH_QML} \
-DOE_QMAKE_PATH_TRANSLATIONS=${OE_QMAKE_PATH_TRANSLATIONS} \
-DOE_QMAKE_PATH_DOCS=${OE_QMAKE_PATH_DOCS} \
-DOE_QMAKE_PATH_SETTINGS=${OE_QMAKE_PATH_SETTINGS} \
-DOE_QMAKE_PATH_EXAMPLES=${OE_QMAKE_PATH_EXAMPLES} \
-DOE_QMAKE_PATH_TESTS=${OE_QMAKE_PATH_TESTS} \
-DOE_QMAKE_PATH_HOST_PREFIX=${OE_QMAKE_PATH_HOST_PREFIX} \
-DOE_QMAKE_PATH_HOST_BINS=${OE_QMAKE_PATH_HOST_BINS} \
-DOE_QMAKE_PATH_HOST_DATA=${OE_QMAKE_PATH_HOST_DATA} \
-DOE_QMAKE_PATH_HOST_LIBS=${OE_QMAKE_PATH_HOST_LIBS} \
-DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \
-DOE_QMAKE_PATH_QT_HEADERS=${OE_QMAKE_PATH_QT_HEADERS} \
-DOE_QMAKE_PATH_QT_ARCHDATA=${OE_QMAKE_PATH_QT_ARCHDATA} \
-DOE_QMAKE_PATH_QT_DATA=${OE_QMAKE_PATH_QT_DATA} \
-DOE_QMAKE_PATH_QT_BINS=${OE_QMAKE_PATH_QT_BINS} \
-DOE_QMAKE_PATH_QT_TRANSLATIONS=${OE_QMAKE_PATH_QT_TRANSLATIONS} \
-DOE_QMAKE_PATH_QT_DOCS=${OE_QMAKE_PATH_QT_DOCS} \
-DOE_QMAKE_PATH_QT_SETTINGS=${OE_QMAKE_PATH_QT_SETTINGS} \
-DOE_QMAKE_PATH_QT_EXAMPLES=${OE_QMAKE_PATH_QT_EXAMPLES} \
-DOE_QMAKE_PATH_QT_TESTS=${OE_QMAKE_PATH_QT_TESTS}"

View File

@ -0,0 +1,56 @@
# Copyright (C) 2014 O.S. Systems Software LTDA.
TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-qt5-toolchain-host"
TOOLCHAIN_TARGET_TASK += "packagegroup-qt5-toolchain-target"
# This allow reuse of Qt paths
inherit qmake5_paths
toolchain_create_sdk_env_script_append () {
echo 'export PATH=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}:$PATH' >> $script
echo 'export OE_QMAKE_CFLAGS="$CFLAGS"' >> $script
echo 'export OE_QMAKE_CXXFLAGS="$CXXFLAGS"' >> $script
echo 'export OE_QMAKE_LDFLAGS="$LDFLAGS"' >> $script
echo 'export OE_QMAKE_CC=$CC' >> $script
echo 'export OE_QMAKE_CXX=$CXX' >> $script
echo 'export OE_QMAKE_LINK=$CXX' >> $script
echo 'export OE_QMAKE_AR=$AR' >> $script
echo 'export OE_QMAKE_LIBDIR_QT=${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}' >> $script
echo 'export OE_QMAKE_INCDIR_QT=${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_HEADERS}' >> $script
echo 'export OE_QMAKE_MOC=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/moc' >> $script
echo 'export OE_QMAKE_UIC=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/uic' >> $script
echo 'export OE_QMAKE_RCC=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/rcc' >> $script
echo 'export OE_QMAKE_QDBUSCPP2XML=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qdbuscpp2xml' >> $script
echo 'export OE_QMAKE_QDBUSXML2CPP=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qdbusxml2cpp' >> $script
echo 'export OE_QMAKE_QT_CONFIG=${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}/${QT_DIR_NAME}/mkspecs/qconfig.pri' >> $script
echo 'export QMAKESPEC=${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}/${QT_DIR_NAME}/mkspecs/linux-oe-g++' >> $script
echo 'export QT_CONF_PATH=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf' >> $script
# make a symbolic link to mkspecs for compatibility with QTCreator
(cd ${SDK_OUTPUT}/${SDKPATHNATIVE}; \
ln -sf ${SDKTARGETSYSROOT}${libdir}/${QT_DIR_NAME}/mkspecs mkspecs;)
# Generate a qt.conf file to be deployed with the SDK
qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf
touch $qtconf
echo '[Paths]' >> $qtconf
echo 'Prefix = ${SDKTARGETSYSROOT}' >> $qtconf
echo 'Headers = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_HEADERS}' >> $qtconf
echo 'Libraries = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}' >> $qtconf
echo 'ArchData = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_ARCHDATA}' >> $qtconf
echo 'Data = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_DATA}' >> $qtconf
echo 'Binaries = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_BINS}' >> $qtconf
echo 'LibraryExecutables = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBEXECS}' >> $qtconf
echo 'Plugins = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_PLUGINS}' >> $qtconf
echo 'Imports = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_IMPORTS}' >> $qtconf
echo 'Qml2Imports = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QML}' >> $qtconf
echo 'Translations = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_TRANSLATIONS}' >> $qtconf
echo 'Documentation = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_DOCS}' >> $qtconf
echo 'Settings = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_SETTINGS}' >> $qtconf
echo 'Examples = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_EXAMPLES}' >> $qtconf
echo 'Tests = ${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_TESTS}' >> $qtconf
echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf
echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf
}
PACKAGE_GROUP_qtcreator-debug = "packagegroup-qt5-qtcreator-debug"

View File

@ -0,0 +1,15 @@
#
# QMake variables for Qt
#
inherit qmake5_base
QT5TOOLSDEPENDS ?= "qtbase-native"
DEPENDS_prepend = "${QT5TOOLSDEPENDS} "
do_configure() {
qmake5_base_do_configure
}
do_install() {
qmake5_base_do_install
}

View File

@ -0,0 +1,186 @@
# This is useful for target recipes to reference native mkspecs
QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}/${QT_DIR_NAME}"
QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}/${QT_DIR_NAME}"
QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}"
QMAKE_MKSPEC_PATH_class-native = "${QMAKE_MKSPEC_PATH_NATIVE}"
QMAKE_MKSPEC_PATH_class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}"
# hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds
OE_QMAKE_PLATFORM_NATIVE = "linux-oe-g++"
OE_QMAKE_PLATFORM = "linux-oe-g++"
# Add -d to show debug output from every qmake call, but it prints *a lot*, better to add it only to debugged recipe
OE_QMAKE_DEBUG_OUTPUT ?= ""
# Paths in .prl files contain SYSROOT value
SSTATE_SCAN_FILES += "*.pri *.prl"
# drop default -e and add needed OE_QMAKE vars explicitly
# the problem is that when generated Makefile has:
# CFLAGS = -pipe $(OE_QMAKE_CFLAGS) -O2 -pthread -D_REENTRANT -Wall -W -fPIC $(DEFINES)
# then OE_QMAKE_CFLAGS are exported and used correctly, but then whole CFLAGS is overwritten from env (and -fPIC lost and build fails)
EXTRA_OEMAKE = " \
MAKEFLAGS='${PARALLEL_MAKE}' \
OE_QMAKE_COMPILER='${OE_QMAKE_COMPILER}' \
OE_QMAKE_CC='${OE_QMAKE_CC}' \
OE_QMAKE_CXX='${OE_QMAKE_CXX}' \
OE_QMAKE_CFLAGS='${OE_QMAKE_CFLAGS}' \
OE_QMAKE_CXXFLAGS='${OE_QMAKE_CXXFLAGS}' \
OE_QMAKE_LINK='${OE_QMAKE_LINK}' \
OE_QMAKE_LDFLAGS='${OE_QMAKE_LDFLAGS}' \
OE_QMAKE_AR='${OE_QMAKE_AR}' \
OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \
OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \
"
OE_QMAKESPEC = "${QMAKE_MKSPEC_PATH_NATIVE}/mkspecs/${OE_QMAKE_PLATFORM_NATIVE}"
OE_XQMAKESPEC = "${QMAKE_MKSPEC_PATH}/mkspecs/${OE_QMAKE_PLATFORM}"
OE_QMAKE_QMAKE = "${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake"
OE_QMAKE_COMPILER = "${CC}"
OE_QMAKE_CC = "${CC}"
OE_QMAKE_CFLAGS = "${CFLAGS}"
OE_QMAKE_CXX = "${CXX}"
OE_QMAKE_CXXFLAGS = "${CXXFLAGS}"
OE_QMAKE_LINK = "${CXX}"
OE_QMAKE_LDFLAGS = "${LDFLAGS}"
OE_QMAKE_AR = "${AR}"
OE_QMAKE_STRIP = "echo"
OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/wayland-scanner"
# this one needs to be exported, because qmake reads it from shell env
export QT_CONF_PATH = "${WORKDIR}/qt.conf"
inherit qmake5_paths
do_generate_qt_config_file() {
cat > ${QT_CONF_PATH} <<EOF
[Paths]
Prefix = ${OE_QMAKE_PATH_PREFIX}
Headers = ${OE_QMAKE_PATH_HEADERS}
Libraries = ${OE_QMAKE_PATH_LIBS}
ArchData = ${OE_QMAKE_PATH_ARCHDATA}
Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Imports = ${OE_QMAKE_PATH_IMPORTS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
Examples = ${OE_QMAKE_PATH_EXAMPLES}
Tests = ${OE_QMAKE_PATH_TESTS}
HostBinaries = ${OE_QMAKE_PATH_HOST_BINS}
HostData = ${OE_QMAKE_PATH_HOST_DATA}
HostLibraries = ${OE_QMAKE_PATH_HOST_LIBS}
HostSpec = ${OE_QMAKESPEC}
TartgetSpec = ${OE_XQMAKESPEC}
ExternalHostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
Sysroot = ${STAGING_DIR_TARGET}
EOF
}
#
# Allows to override following values (as in version 5.0.1)
# Prefix The default prefix for all paths.
# Documentation The location for documentation upon install.
# Headers The location for all headers.
# Libraries The location of installed libraries.
# LibraryExecutables The location of installed executables required by libraries at runtime.
# Binaries The location of installed Qt binaries (tools and applications).
# Plugins The location of installed Qt plugins.
# Imports The location of installed QML extensions to import (QML 1.x).
# Qml2Imports The location of installed QML extensions to import (QML 2.x).
# ArchData The location of general architecture-dependent Qt data.
# Data The location of general architecture-independent Qt data.
# Translations The location of translation information for Qt strings.
# Examples The location for examples upon install.
# Tests The location of installed Qt testcases.
# Settings The location for Qt settings. Not applicable on Windows.
# For bootstrapped
# Sysroot The location of target sysroot
# HostPrefix The prefix for host tools when cross compiling (building tools for both systems)
# HostBinaries The location where to install host tools
# HostData The location where to install host data
# ExternalHostBinaries The location where we already have host tools (when cross compiling, but reusing existing tools)
# TargetSpec The location where to install target mkspec
# HostSpec The location where to install host mkspec
# qmake works fine with separate B, use it by default
SEPB = "${WORKDIR}/build"
B = "${SEPB}"
CONFIGURESTAMPFILE = "${WORKDIR}/qmake5_base_configure.sstate"
qmake5_base_preconfigure() {
if [ -n "${CONFIGURESTAMPFILE}" -a -e "${CONFIGURESTAMPFILE}" ]; then
if [ "`cat ${CONFIGURESTAMPFILE}`" != "${BB_TASKHASH}" -a "${S}" != "${B}" ]; then
echo "Previously configured separate build directory detected, cleaning ${B}"
rm -rf ${B}
mkdir ${B}
fi
fi
}
qmake5_base_postconfigure(){
if [ -n "${CONFIGURESTAMPFILE}" ]; then
echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE}
fi
}
EXTRAQCONFFUNCS ??= ""
do_configure[prefuncs] += "qmake5_base_preconfigure ${EXTRAQCONFFUNCS}"
do_configure[postfuncs] += "qmake5_base_postconfigure"
addtask generate_qt_config_file after do_patch before do_configure
qmake5_base_do_configure () {
if [ -z "${QMAKE_PROFILES}" ]; then
PROFILES="`ls ${S}/*.pro`"
else
PROFILES="${QMAKE_PROFILES}"
bbnote "qmake using profiles: '${QMAKE_PROFILES}'"
fi
if [ ! -z "${EXTRA_QMAKEVARS_POST}" ]; then
AFTER="-after"
QMAKE_VARSUBST_POST="${EXTRA_QMAKEVARS_POST}"
bbnote "qmake postvar substitution: '${EXTRA_QMAKEVARS_POST}'"
fi
if [ ! -z "${EXTRA_QMAKEVARS_PRE}" ]; then
QMAKE_VARSUBST_PRE="${EXTRA_QMAKEVARS_PRE}"
bbnote "qmake prevar substitution: '${EXTRA_QMAKEVARS_PRE}'"
fi
# for config.tests to read this
export QMAKE_MAKE_ARGS="${EXTRA_OEMAKE}"
CMD="${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} -r $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST"
${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} -r $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling $CMD"
}
qmake5_base_do_install() {
# Fix install paths for all
find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g"
oe_runmake install INSTALL_ROOT=${D}
# everything except HostData and HostBinaries is prefixed with sysroot value,
# but we cannot remove sysroot override, because that's useful for pkg-config etc
# In some cases like QtQmlDevTools in qtdeclarative, the sed above does not work,
# fix them manually
if [ -d ${D}${STAGING_DIR_TARGET} ] ; then
echo "Some files are installed in wrong directory ${D}${STAGING_DIR_TARGET}"
cp -ra ${D}${STAGING_DIR_TARGET}/* ${D}
rm -rf ${D}${STAGING_DIR_TARGET}
# remove empty dirs
TMP=`dirname ${D}/${STAGING_DIR_TARGET}`
while test ${TMP} != ${D}; do
rmdir ${TMP}
TMP=`dirname ${TMP}`;
done
fi
}

View File

@ -0,0 +1,41 @@
# If your distribution supports only qt5, or you don't care
# about conflicts with qt4, then you can add qmake5_paths.bbclass
# to your distro layer and flatten all QT_DIR_NAME directories
QT_DIR_NAME ?= "qt5"
OE_QMAKE_PATH_PREFIX = "${prefix}"
OE_QMAKE_PATH_HEADERS = "${includedir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_LIBS = "${libdir}"
OE_QMAKE_PATH_ARCHDATA = "${libdir}"
OE_QMAKE_PATH_DATA = "${datadir}"
OE_QMAKE_PATH_BINS = "${bindir}"
OE_QMAKE_PATH_LIBEXECS = "${libdir}/${QT_DIR_NAME}/libexec"
OE_QMAKE_PATH_PLUGINS = "${libdir}/${QT_DIR_NAME}/plugins"
OE_QMAKE_PATH_IMPORTS = "${libdir}/${QT_DIR_NAME}/imports"
OE_QMAKE_PATH_QML = "${libdir}/${QT_DIR_NAME}/qml"
OE_QMAKE_PATH_TRANSLATIONS = "${datadir}/translations"
OE_QMAKE_PATH_DOCS = "${docdir}"
OE_QMAKE_PATH_SETTINGS = "${sysconfdir}"
OE_QMAKE_PATH_EXAMPLES = "${datadir}/examples"
OE_QMAKE_PATH_TESTS = "${datadir}/tests"
OE_QMAKE_PATH_HOST_PREFIX = ""
OE_QMAKE_PATH_HOST_BINS = "${bindir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_HOST_DATA = "${QMAKE_MKSPEC_PATH_TARGET}"
OE_QMAKE_PATH_HOST_LIBS = "${STAGING_LIBDIR}"
OE_QMAKE_PATH_EXTERNAL_HOST_BINS = "${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}"
# for qt5 components we're using QT_DIR_NAME subdirectory in more
# variables, because we don't want conflicts with qt4
# This block is usefull for components which install their
# own files without QT_DIR_NAME but need to reference paths e.g.
# with QT headers
OE_QMAKE_PATH_QT_HEADERS = "${includedir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_QT_ARCHDATA = "${libdir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_QT_DATA = "${datadir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_QT_BINS = "${bindir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_QT_TRANSLATIONS = "${datadir}/${QT_DIR_NAME}/translations"
OE_QMAKE_PATH_QT_DOCS = "${docdir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_QT_SETTINGS = "${sysconfdir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_QT_EXAMPLES = "${datadir}/${QT_DIR_NAME}/examples"
OE_QMAKE_PATH_QT_TESTS = "${datadir}/${QT_DIR_NAME}/tests"

View File

@ -0,0 +1,23 @@
# Select which version you prefer by defining QT5_VERSION and including this file
# possible values now "5.2.1", "5.2.1+git%"
QT5_VERSION ?= "5.2.1"
PREFERRED_VERSION_qtbase-native = "${QT5_VERSION}"
PREFERRED_VERSION_qtbase = "${QT5_VERSION}"
PREFERRED_VERSION_qtdeclarative = "${QT5_VERSION}"
PREFERRED_VERSION_qtjsbackend = "${QT5_VERSION}"
PREFERRED_VERSION_qtjsbackend-native = "${QT5_VERSION}"
PREFERRED_VERSION_qtgraphicaleffects = "${QT5_VERSION}"
PREFERRED_VERSION_qtimageformats = "${QT5_VERSION}"
PREFERRED_VERSION_qtmultimedia = "${QT5_VERSION}"
PREFERRED_VERSION_qtquick1 = "${QT5_VERSION}"
PREFERRED_VERSION_qtquickcontrols = "${QT5_VERSION}"
PREFERRED_VERSION_qtsensors = "${QT5_VERSION}"
PREFERRED_VERSION_qtserialport = "${QT5_VERSION}"
PREFERRED_VERSION_qtscript = "${QT5_VERSION}"
PREFERRED_VERSION_qtsvg = "${QT5_VERSION}"
PREFERRED_VERSION_qttools-native = "${QT5_VERSION}"
PREFERRED_VERSION_qtwebkit = "${QT5_VERSION}"
PREFERRED_VERSION_qtwebkit-examples = "${QT5_VERSION}"
PREFERRED_VERSION_qtxmlpatterns = "${QT5_VERSION}"

33
meta-qt5/conf/layer.conf Normal file
View File

@ -0,0 +1,33 @@
# It really depends on order of the layers appearing in BBLAYERS
# variable in toplevel bblayers.conf file, where bitbake will search
# for .inc files and others where bitbake uses BBPATH since it will
# search the directories from first to last as specified in BBPATH
# Therefore if you want a given layer to be considered high priority
# for the .inc and .conf etc. then consider it adding at the beginning
# of BBPATH. For bblayers bitbake will use BBFILES_PRIORITY to resolve
# the recipe contention so the order of directories in BBFILES does
# not matter.
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
# Add hacks for dora or master..
BBFILES_META_QT5 = "${LAYERDIR}/yocto-${@dict([('1.5', 'dora')]).get(d.getVar('DISTRO_VERSION', True)[0:3],'master')}/*.bbappend"
BBFILES += "{BBFILES_META_QT5}"
BBFILE_COLLECTIONS += "qt5-layer"
BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/"
# Define the priority for recipes (.bb files) from this layer,
# choosing carefully how this layer interacts with all of the
# other layers.
BBFILE_PRIORITY_qt5-layer = "7"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"

View File

@ -0,0 +1,628 @@
TECHNOLOGY PREVIEW LICENSE AGREEMENT
For individuals and/or legal entities resident in the Americas (North
America, Central America and South America), the applicable licensing
terms are specified under the heading "Technology Preview License
Agreement: The Americas".
For individuals and/or legal entities not resident in The Americas, the
applicable licensing terms are specified under the heading "Technology
Preview License Agreement: Rest of the World".
TECHNOLOGY PREVIEW LICENSE AGREEMENT: The Americas
Agreement version 2.4
This Technology Preview License Agreement ("Agreement")is a legal agreement
between Digia USA, Inc. ("Digia"), with its registered office at 32 W.
Loockerman Street, Suite 201, City of Dover, County of Kent, Delaware 19904,
U.S.A. and you (either an individual or a legal entity) ("Licensee")
for the Licensed Software (as defined below).
1. DEFINITIONS
"Affiliate" of a Party shall mean an entity (i) which is directly or
indirectly controlling such Party; (ii) which is under the same direct
or indirect ownership or control as such Party; or (iii) which is
directly or indirectly owned or controlled by such Party. For these
purposes, an entity shall be treated as being controlled by another if
that other entity has fifty percent (50 %) or more of the votes in such
entity, is able to direct its affairs and/or to control the composition
of its board of directors or equivalent body.
"Applications" shall mean Licensee's software products created using the
Licensed Software which may include portions of the Licensed Software.
"Term" shall mean the period of time six (6) months from the later of
(a) the Effective Date; or (b) the date the Licensed Software was
initially delivered to Licensee by Digia. If no specific Effective Date
is set forth in the Agreement, the Effective Date shall be deemed to be
the date the Licensed Software was initially delivered to Licensee.
"Licensed Software" shall mean the computer software, "online" or
electronic documentation, associated media and printed materials,
including the source code, example programs and the documentation
delivered by Digia to Licensee in conjunction with this Agreement.
"Party" or "Parties" shall mean Licensee and/or Digia.
2. OWNERSHIP
The Licensed Software is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The Licensed Software is licensed, not sold.
If Licensee provides any findings, proposals, suggestions or other
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
shall own all right, title and interest including the intellectual
property rights in and to such Feedback, excluding however any existing
patent rights of Licensee. To the extent Licensee owns or controls any
patents for such Feedback Licensee hereby grants to Digia and its
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
royalty-free license to (i) use, copy and modify Feedback and to create
derivative works thereof, (ii) to make (and have made), use, import,
sell, offer for sale, lease, dispose, offer for disposal or otherwise
exploit any products or services of Digia containing Feedback, and
(iii) sublicense all the foregoing rights to third party licensees and
customers of Digia and/or its Affiliates.
3. VALIDITY OF THE AGREEMENT
By installing, copying, or otherwise using the Licensed Software,
Licensee agrees to be bound by the terms of this Agreement. If Licensee
does not agree to the terms of this Agreement, Licensee may not install,
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
of the terms and conditions of this Agreement, Digia grants Licensee the
right to use the Licensed Software in the manner provided below.
4. LICENSES
4.1. Using and Copying
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
license to use and copy the Licensed Software for sole purpose of
designing, developing and testing Applications, and evaluating and the
Licensed Software during the Term.
Licensee may install copies of the Licensed Software on an unlimited
number of computers provided that (a) if an individual, only such
individual; or (b) if a legal entity only its employees; use the
Licensed Software for the authorized purposes.
4.2 No Distribution or Modifications
Licensee may not disclose, modify, sell, market, commercialise,
distribute, loan, rent, lease, or license the Licensed Software or any
copy of it or use the Licensed Software for any purpose that is not
expressly granted in this Section 4. Licensee may not alter or remove
any details of ownership, copyright, trademark or other property right
connected with the Licensed Software. Licensee may not distribute any
software statically or dynamically linked with the Licensed Software.
4.3 No Technical Support
Digia has no obligation to furnish Licensee with any technical support
whatsoever. Any such support is subject to separate agreement between
the Parties.
5. PRE-RELEASE CODE
The Licensed Software contains pre-release code that is not at the level
of performance and compatibility of a final, generally available,
product offering. The Licensed Software may not operate correctly and
may be substantially modified prior to the first commercial product
release, if any. Digia is not obligated to make this or any later
version of the Licensed Software commercially available. The License
Software is "Not for Commercial Use" and may only be used for the
purposes described in Section 4. The Licensed Software may not be used
in a live operating environment where it may be relied upon to perform
in the same manner as a commercially released product or with data that
has not been sufficiently backed up.
6. THIRD PARTY SOFTWARE
The Licensed Software may provide links to third party libraries or code
(collectively "Third Party Software") to implement various functions.
Third Party Software does not comprise part of the Licensed Software. In
some cases, access to Third Party Software may be included along with
the Licensed Software delivery as a convenience for development and
testing only. Such source code and libraries may be listed in the
".../src/3rdparty" source tree delivered with the Licensed Software or
documented in the Licensed Software where the Third Party Software is
used, as may be amended from time to time, do not comprise the Licensed
Software. Licensee acknowledges (1) that some part of Third Party
Software may require additional licensing of copyright and patents from
the owners of such, and (2) that distribution of any of the Licensed
Software referencing any portion of a Third Party Software may require
appropriate licensing from such third parties.
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
The Licensed Software is licensed to Licensee "as is". To the maximum
extent permitted by applicable law, Digia on behalf of itself and its
suppliers, disclaims all warranties and conditions, either express or
implied, including, but not limited to, implied warranties of
merchantability, fitness for a particular purpose, title and
non-infringement with regard to the Licensed Software.
8. LIMITATION OF LIABILITY
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
Licensee, whether in contract, tort or any other legal theory, based on
the Licensed Software, Digia's entire liability to Licensee and
Licensee's exclusive remedy shall be, at Digia's option, either (A)
return of the price Licensee paid for the Licensed Software, or (B)
repair or replacement of the Licensed Software, provided Licensee
returns to Digia all copies of the Licensed Software as originally
delivered to Licensee. Digia shall not under any circumstances be liable
to Licensee based on failure of the Licensed Software if the failure
resulted from accident, abuse or misapplication, nor shall Digia under
any circumstances be liable for special damages, punitive or exemplary
damages, damages for loss of profits or interruption of business or for
loss or corruption of data. Any award of damages from Digia to Licensee
shall not exceed the total amount Licensee has paid to Digia in
connection with this Agreement.
9. CONFIDENTIALITY
Each party acknowledges that during the Term of this Agreement it shall
have access to information about the other party's business, business
methods, business plans, customers, business relations, technology, and
other information, including the terms of this Agreement, that is
confidential and of great value to the other party, and the value of
which would be significantly reduced if disclosed to third parties (the
"Confidential Information"). Accordingly, when a party (the "Receiving
Party") receives Confidential Information from another party (the
"Disclosing Party"), the Receiving Party shall, and shall obligate its
employees and agents and employees and agents of its Affiliates to: (i)
maintain the Confidential Information in strict confidence; (ii) not
disclose the Confidential Information to a third party without the
Disclosing Party's prior written approval; and (iii) not, directly or
indirectly, use the Confidential Information for any purpose other than
for exercising its rights and fulfilling its responsibilities pursuant
to this Agreement. Each party shall take reasonable measures to protect
the Confidential Information of the other party, which measures shall
not be less than the measures taken by such party to protect its own
confidential and proprietary information.
"Confidential Information" shall not include information that (a) is or
becomes generally known to the public through no act or omission of the
Receiving Party; (b) was in the Receiving Party's lawful possession
prior to the disclosure hereunder and was not subject to limitations on
disclosure or use; (c) is developed by the Receiving Party without
access to the Confidential Information of the Disclosing Party or by
persons who have not had access to the Confidential Information of the
Disclosing Party as proven by the written records of the Receiving
Party; (d) is lawfully disclosed to the Receiving Party without
restrictions, by a third party not under an obligation of
confidentiality; or (e) the Receiving Party is legally compelled to
disclose the information, in which case the Receiving Party shall assert
the privileged and confidential nature of the information and cooperate
fully with the Disclosing Party to protect against and prevent
disclosure of any Confidential Information and to limit the scope of
disclosure and the dissemination of disclosed Confidential Information
by all legally available means.
The obligations of the Receiving Party under this Section shall continue
during the Initial Term and for a period of five (5) years after
expiration or termination of this Agreement. To the extent that the
terms of the Non-Disclosure Agreement between Digia and Licensee
conflict with the terms of this Section 9, this Section 9 shall be
controlling over the terms of the Non-Disclosure Agreement.
10. GENERAL PROVISIONS
10.1 No Assignment
Licensee shall not be entitled to assign or transfer all or any of its
rights, benefits and obligations under this Agreement without the prior
written consent of Digia, which shall not be unreasonably withheld.
10.2 Termination
Digia may terminate the Agreement at any time immediately upon written
notice by Digia to Licensee if Licensee breaches this Agreement.
Upon termination of this Agreement, Licensee shall return to Digia all
copies of Licensed Software that were supplied by Digia. All other
copies of Licensed Software in the possession or control of Licensee
must be erased or destroyed. An officer of Licensee must promptly
deliver to Digia a written confirmation that this has occurred.
10.3 Surviving Sections
Any terms and conditions that by their nature or otherwise reasonably
should survive a cancellation or termination of this Agreement shall
also be deemed to survive. Such terms and conditions include, but are
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
10.5, 10.6, 10.7, and 10.8 of this Agreement.
10.4 Entire Agreement
This Agreement constitutes the complete agreement between the parties
and supersedes all prior or contemporaneous discussions,
representations, and proposals, written or oral, with respect to the
subject matters discussed herein, with the exception of the
non-disclosure agreement executed by the parties in connection with this
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
Section 9. No modification of this Agreement shall be effective unless
contained in a writing executed by an authorized representative of each
party. No term or condition contained in Licensee's purchase order shall
apply unless expressly accepted by Digia in writing. If any provision of
the Agreement is found void or unenforceable, the remainder shall remain
valid and enforceable according to its terms. If any remedy provided is
determined to have failed for its essential purpose, all limitations of
liability and exclusions of damages set forth in this Agreement shall
remain in effect.
10.5 Export Control
Licensee acknowledges that the Licensed Software may be subject to
export control restrictions of various countries. Licensee shall fully
comply with all applicable export license restrictions and requirements
as well as with all laws and regulations relating to the importation of
the Licensed Software and shall procure all necessary governmental
authorizations, including without limitation, all necessary licenses,
approvals, permissions or consents, where necessary for the
re-exportation of the Licensed Software.,
10.6 Governing Law and Legal Venue
This Agreement shall be governed by and construed in accordance with the
federal laws of the United States of America and the internal laws of
the State of New York without given effect to any choice of law rule
that would result in the application of the laws of any other
jurisdiction. The United Nations Convention on Contracts for the
International Sale of Goods (CISG) shall not apply. Each Party (a)
hereby irrevocably submits itself to and consents to the jurisdiction of
the United States District Court for the Southern District of New York
(or if such court lacks jurisdiction, the state courts of the State of
New York) for the purposes of any action, claim, suit or proceeding
between the Parties in connection with any controversy, claim, or
dispute arising out of or relating to this Agreement; and (b) hereby
waives, and agrees not to assert by way of motion, as a defense or
otherwise, in any such action, claim, suit or proceeding, any claim that
is not personally subject to the jurisdiction of such court(s), that the
action, claim, suit or proceeding is brought in an inconvenient forum or
that the venue of the action, claim, suit or proceeding is improper.
Notwithstanding the foregoing, nothing in this Section 9.6 is intended
to, or shall be deemed to, constitute a submission or consent to, or
selection of, jurisdiction, forum or venue for any action for patent
infringement, whether or not such action relates to this Agreement.
10.7 No Implied License
There are no implied licenses or other implied rights granted under this
Agreement, and all rights, save for those expressly granted hereunder,
shall remain with Digia and its licensors. In addition, no licenses or
immunities are granted to the combination of the Licensed Software with
any other software or hardware not delivered by Digia under this
Agreement.
10.8 Government End Users
A "U.S. Government End User" shall mean any agency or entity of the
government of the United States. The following shall apply if Licensee
is a U.S. Government End User. The Licensed Software is a "commercial
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
consisting of "commercial computer software" and "commercial computer
software documentation," as such terms are used in 48 C.F.R. 12.212
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
the Licensed Software with only those rights set forth herein. The
Licensed Software (including related documentation) is provided to U.S.
Government End Users: (a) only as a commercial end item; and (b) only
pursuant to this Agreement.
TECHNOLOGY PREVIEW LICENSE AGREEMENT: Rest of the World
Agreement version 2.4
This Technology Preview License Agreement ("Agreement") is a legal
agreement between Digia Finland Ltd ("Digia"), with its registered office at
Valimotie 21,FI-00380 Helsinki, Finland and you (either an individual or a
legal entity) ("Licensee") for the Licensed Software.
1. DEFINITIONS
"Affiliate" of a Party shall mean an entity (i) which is directly or
indirectly controlling such Party; (ii) which is under the same direct
or indirect ownership or control as such Party; or (iii) which is
directly or indirectly owned or controlled by such Party. For these
purposes, an entity shall be treated as being controlled by another if
that other entity has fifty percent (50 %) or more of the votes in such
entity, is able to direct its affairs and/or to control the composition
of its board of directors or equivalent body.
"Applications" shall mean Licensee's software products created using the
Licensed Software which may include portions of the Licensed Software.
"Term" shall mean the period of time six (6) months from the later of
(a) the Effective Date; or (b) the date the Licensed Software was
initially delivered to Licensee by Digia. If no specific Effective Date
is set forth in the Agreement, the Effective Date shall be deemed to be
the date the Licensed Software was initially delivered to Licensee.
"Licensed Software" shall mean the computer software, "online" or
electronic documentation, associated media and printed materials,
including the source code, example programs and the documentation
delivered by Digia to Licensee in conjunction with this Agreement.
"Party" or "Parties" shall mean Licensee and/or Digia.
2. OWNERSHIP
The Licensed Software is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The Licensed Software is licensed, not sold.
If Licensee provides any findings, proposals, suggestions or other
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
shall own all right, title and interest including the intellectual
property rights in and to such Feedback, excluding however any existing
patent rights of Licensee. To the extent Licensee owns or controls any
patents for such Feedback Licensee hereby grants to Digia and its
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
royalty-free license to (i) use, copy and modify Feedback and to create
derivative works thereof, (ii) to make (and have made), use, import,
sell, offer for sale, lease, dispose, offer for disposal or otherwise
exploit any products or services of Digia containing Feedback, and
(iii) sublicense all the foregoing rights to third party licensees and
customers of Digia and/or its Affiliates.
3. VALIDITY OF THE AGREEMENT
By installing, copying, or otherwise using the Licensed Software,
Licensee agrees to be bound by the terms of this Agreement. If Licensee
does not agree to the terms of this Agreement, Licensee may not install,
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
of the terms and conditions of this Agreement, Digia grants Licensee the
right to use the Licensed Software in the manner provided below.
4. LICENSES
4.1. Using and Copying
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
license to use and copy the Licensed Software for sole purpose of
designing, developing and testing Applications, and evaluating and the
Licensed Software during the Term.
Licensee may install copies of the Licensed Software on an unlimited
number of computers provided that (a) if an individual, only such
individual; or (b) if a legal entity only its employees; use the
Licensed Software for the authorized purposes.
4.2 No Distribution or Modifications
Licensee may not disclose, modify, sell, market, commercialise,
distribute, loan, rent, lease, or license the Licensed Software or any
copy of it or use the Licensed Software for any purpose that is not
expressly granted in this Section 4. Licensee may not alter or remove
any details of ownership, copyright, trademark or other property right
connected with the Licensed Software. Licensee may not distribute any
software statically or dynamically linked with the Licensed Software.
4.3 No Technical Support
Digia has no obligation to furnish Licensee with any technical support
whatsoever. Any such support is subject to separate agreement between
the Parties.
5. PRE-RELEASE CODE
The Licensed Software contains pre-release code that is not at the level
of performance and compatibility of a final, generally available,
product offering. The Licensed Software may not operate correctly and
may be substantially modified prior to the first commercial product
release, if any. Digia is not obligated to make this or any later
version of the Licensed Software commercially available. The License
Software is "Not for Commercial Use" and may only be used for the
purposes described in Section 4. The Licensed Software may not be used
in a live operating environment where it may be relied upon to perform
in the same manner as a commercially released product or with data that
has not been sufficiently backed up.
6. THIRD PARTY SOFTWARE
The Licensed Software may provide links to third party libraries or code
(collectively "Third Party Software") to implement various functions.
Third Party Software does not comprise part of the Licensed Software. In
some cases, access to Third Party Software may be included along with
the Licensed Software delivery as a convenience for development and
testing only. Such source code and libraries may be listed in the
".../src/3rdparty" source tree delivered with the Licensed Software or
documented in the Licensed Software where the Third Party Software is
used, as may be amended from time to time, do not comprise the Licensed
Software. Licensee acknowledges (1) that some part of Third Party
Software may require additional licensing of copyright and patents from
the owners of such, and (2) that distribution of any of the Licensed
Software referencing any portion of a Third Party Software may require
appropriate licensing from such third parties.
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
The Licensed Software is licensed to Licensee "as is". To the maximum
extent permitted by applicable law, Digia on behalf of itself and its
suppliers, disclaims all warranties and conditions, either express or
implied, including, but not limited to, implied warranties of
merchantability, fitness for a particular purpose, title and
non-infringement with regard to the Licensed Software.
8. LIMITATION OF LIABILITY
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
Licensee, whether in contract, tort or any other legal theory, based on
the Licensed Software, Digia's entire liability to Licensee and
Licensee's exclusive remedy shall be, at Digia's option, either (A)
return of the price Licensee paid for the Licensed Software, or (B)
repair or replacement of the Licensed Software, provided Licensee
returns to Digia all copies of the Licensed Software as originally
delivered to Licensee. Digia shall not under any circumstances be liable
to Licensee based on failure of the Licensed Software if the failure
resulted from accident, abuse or misapplication, nor shall Digia under
any circumstances be liable for special damages, punitive or exemplary
damages, damages for loss of profits or interruption of business or for
loss or corruption of data. Any award of damages from Digia to Licensee
shall not exceed the total amount Licensee has paid to Digia in
connection with this Agreement.
9. CONFIDENTIALITY
Each party acknowledges that during the Term of this Agreement it shall
have access to information about the other party's business, business
methods, business plans, customers, business relations, technology, and
other information, including the terms of this Agreement, that is
confidential and of great value to the other party, and the value of
which would be significantly reduced if disclosed to third parties (the
"Confidential Information"). Accordingly, when a party (the "Receiving
Party") receives Confidential Information from another party (the
"Disclosing Party"), the Receiving Party shall, and shall obligate its
employees and agents and employees and agents of its Affiliates to: (i)
maintain the Confidential Information in strict confidence; (ii) not
disclose the Confidential Information to a third party without the
Disclosing Party's prior written approval; and (iii) not, directly or
indirectly, use the Confidential Information for any purpose other than
for exercising its rights and fulfilling its responsibilities pursuant
to this Agreement. Each party shall take reasonable measures to protect
the Confidential Information of the other party, which measures shall
not be less than the measures taken by such party to protect its own
confidential and proprietary information.
"Confidential Information" shall not include information that (a) is or
becomes generally known to the public through no act or omission of the
Receiving Party; (b) was in the Receiving Party's lawful possession
prior to the disclosure hereunder and was not subject to limitations on
disclosure or use; (c) is developed by the Receiving Party without
access to the Confidential Information of the Disclosing Party or by
persons who have not had access to the Confidential Information of the
Disclosing Party as proven by the written records of the Receiving
Party; (d) is lawfully disclosed to the Receiving Party without
restrictions, by a third party not under an obligation of
confidentiality; or (e) the Receiving Party is legally compelled to
disclose the information, in which case the Receiving Party shall assert
the privileged and confidential nature of the information and cooperate
fully with the Disclosing Party to protect against and prevent
disclosure of any Confidential Information and to limit the scope of
disclosure and the dissemination of disclosed Confidential Information
by all legally available means.
The obligations of the Receiving Party under this Section shall continue
during the Initial Term and for a period of five (5) years after
expiration or termination of this Agreement. To the extent that the
terms of the Non-Disclosure Agreement between Digia and Licensee
conflict with the terms of this Section 9, this Section 9 shall be
controlling over the terms of the Non-Disclosure Agreement.
10. GENERAL PROVISIONS
10.1 No Assignment
Licensee shall not be entitled to assign or transfer all or any of its
rights, benefits and obligations under this Agreement without the prior
written consent of Digia, which shall not be unreasonably withheld.
10.2 Termination
Digia may terminate the Agreement at any time immediately upon written
notice by Digia to Licensee if Licensee breaches this Agreement.
Upon termination of this Agreement, Licensee shall return to Digia all
copies of Licensed Software that were supplied by Digia. All other
copies of Licensed Software in the possession or control of Licensee
must be erased or destroyed. An officer of Licensee must promptly
deliver to Digia a written confirmation that this has occurred.
10.3 Surviving Sections
Any terms and conditions that by their nature or otherwise reasonably
should survive a cancellation or termination of this Agreement shall
also be deemed to survive. Such terms and conditions include, but are
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
10.5, 10.6, 10.7, and 10.8 of this Agreement.
10.4 Entire Agreement
This Agreement constitutes the complete agreement between the parties
and supersedes all prior or contemporaneous discussions,
representations, and proposals, written or oral, with respect to the
subject matters discussed herein, with the exception of the
non-disclosure agreement executed by the parties in connection with this
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
Section 9. No modification of this Agreement shall be effective unless
contained in a writing executed by an authorized representative of each
party. No term or condition contained in Licensee's purchase order shall
apply unless expressly accepted by Digia in writing. If any provision of
the Agreement is found void or unenforceable, the remainder shall remain
valid and enforceable according to its terms. If any remedy provided is
determined to have failed for its essential purpose, all limitations of
liability and exclusions of damages set forth in this Agreement shall
remain in effect.
10.5 Export Control
Licensee acknowledges that the Licensed Software may be subject to
export control restrictions of various countries. Licensee shall fully
comply with all applicable export license restrictions and requirements
as well as with all laws and regulations relating to the importation of
the Licensed Software and shall procure all necessary governmental
authorizations, including without limitation, all necessary licenses,
approvals, permissions or consents, where necessary for the
re-exportation of the Licensed Software.,
10.6 Governing Law and Legal Venue
This Agreement shall be construed and interpreted in accordance with the
laws of Finland, excluding its choice of law provisions. Any disputes
arising out of or relating to this Agreement shall be resolved in
arbitration under the Rules of Arbitration of the Chamber of Commerce of
Helsinki, Finland. The arbitration tribunal shall consist of one (1), or
if either Party so requires, of three (3), arbitrators. The award shall
be final and binding and enforceable in any court of competent
jurisdiction. The arbitration shall be held in Helsinki, Finland and the
process shall be conducted in the English language.
10.7 No Implied License
There are no implied licenses or other implied rights granted under this
Agreement, and all rights, save for those expressly granted hereunder,
shall remain with Digia and its licensors. In addition, no licenses or
immunities are granted to the combination of the Licensed Software with
any other software or hardware not delivered by Digia under this
Agreement.
10.8 Government End Users
A "U.S. Government End User" shall mean any agency or entity of the
government of the United States. The following shall apply if Licensee
is a U.S. Government End User. The Licensed Software is a "commercial
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
consisting of "commercial computer software" and "commercial computer
software documentation," as such terms are used in 48 C.F.R. 12.212
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
the Licensed Software with only those rights set forth herein. The
Licensed Software (including related documentation) is provided to U.S.
Government End Users: (a) only as a commercial end item; and (b) only
pursuant to this Agreement.

View File

@ -0,0 +1,40 @@
SUMMARY = "Qt5 technology demo"
DESCRIPTION = "Cinematic Experience collects many of the new Qt5 QtQuick 2.0 features into the same UX demo application. It uses particles, sprites, path animation, custom shaders etc. features which Qt5 introduces for QML UIs."
HOMEPAGE = "http://quitcoding.com/?page=work#cinex"
LICENSE = "CC-BY-3.0"
LIC_FILES_CHKSUM = "file://README;beginline=38;endline=50;md5=51babd597624b70752069953876aaa18"
SRC_URI = "http://quitcoding.com/download/Qt5_CinematicExperience_rpi_1.0.tgz"
SRC_URI[md5sum] = "935a5db0a6b2a72c67236e72f52be7d1"
SRC_URI[sha256sum] = "0dd602983ced5f7c0cfd5ad0fbfe2b0b7e3c9ff715e4ef23eef818ccc2b6c60b"
S = "${WORKDIR}/Qt5_CinematicExperience_rpi_${PV}/"
# other version available for small screens
#SRC_URI = "http://quitcoding.com/download/Qt5_CinematicExperience_1.0.tgz"
#SRC_URI[md5sum] = "1c4f9bf5411c985fc5d3dbfc5d826a29"
#SRC_URI[sha256sum] = "0e547e0259667915a24e84ade5efdcd0c553f81786734452c2c8dbce19a19f44"
#S = "${WORKDIR}/Qt5_CinematicExperience_${PV}/"
DEPENDS = "qtdeclarative qtgraphicaleffects"
RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins"
require recipes-qt/qt5/qt5.inc
do_install() {
install -d ${D}${datadir}/${P}
install -m 0755 ${B}/Qt5_CinematicExperience ${D}${datadir}/${P}
cp -a ${S}/content ${D}${datadir}/${P}
install -m 0644 ${S}/Qt5_CinematicExperience.qml ${D}${datadir}/${P}
install -d ${D}${bindir}
echo "#!/bin/sh" > ${D}${bindir}/Qt5_CinematicExperience
echo "export QML_IMPORT_PATH=${datadir}/${P}" >> ${D}${bindir}/Qt5_CinematicExperience
echo "export QML2_IMPORT_PATH=${datadir}/${P}" >> ${D}${bindir}/Qt5_CinematicExperience
echo "${datadir}/${P}/Qt5_CinematicExperience \$* " >> ${D}${bindir}/Qt5_CinematicExperience
chmod +x ${D}${bindir}/Qt5_CinematicExperience
}
FILES_${PN}-dbg += "${datadir}/${P}/.debug"
FILES_${PN} += "${datadir}"

View File

@ -0,0 +1,71 @@
From 0b30c0e223f35ec7e27b04142135afc3f298a776 Mon Sep 17 00:00:00 2001
From: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Date: Fri, 21 Mar 2014 20:25:19 +0100
Subject: [PATCH] Add wrapper for the resetFailedUnit command
---
src/sdmanager.cpp | 14 ++++++++++++++
src/sdmanager.h | 2 ++
src/sdmanager_p.h | 1 +
3 files changed, 17 insertions(+)
diff --git a/src/sdmanager.cpp b/src/sdmanager.cpp
index 6bcd459..b3b41f7 100644
--- a/src/sdmanager.cpp
+++ b/src/sdmanager.cpp
@@ -333,6 +333,15 @@ Job::Ptr SystemdPrivate::stopUnit(const QString &name, const Systemd::Mode mode)
return job;
}
+void SystemdPrivate::resetFailedUnit(const QString& name)
+{
+ QDBusPendingReply<QDBusObjectPath> reply = isdface.ResetFailedUnit(name);
+ reply.waitForFinished();
+
+ if (reply.isError())
+ qDebug() << reply.error().message();
+}
+
QString SystemdPrivate::modeToString(const Systemd::Mode mode)
{
switch(mode) {
@@ -447,6 +456,11 @@ Job::Ptr Systemd::stopUnit(const QString &name, const Systemd::Mode mode)
return globalSystemd()->stopUnit(name, mode);
}
+void Systemd::resetFailedUnit(const QString &name)
+{
+ return globalSystemd()->resetFailedUnit(name);
+}
+
Notifier* Systemd::notifier()
{
return globalSystemd();
diff --git a/src/sdmanager.h b/src/sdmanager.h
index 80fb25a..de09f43 100644
--- a/src/sdmanager.h
+++ b/src/sdmanager.h
@@ -185,6 +185,8 @@ namespace Systemd
*/
SDQT_EXPORT Job::Ptr stopUnit(const QString &name, const Mode mode);
+ SDQT_EXPORT void resetFailedUnit(const QString &name);
+
SDQT_EXPORT Notifier* notifier();
}
diff --git a/src/sdmanager_p.h b/src/sdmanager_p.h
index defee8f..674ce4f 100644
--- a/src/sdmanager_p.h
+++ b/src/sdmanager_p.h
@@ -53,6 +53,7 @@ public:
Job::Ptr restartUnit(const QString &name, const Mode mode);
Job::Ptr startUnit(const QString &name, const Mode mode);
Job::Ptr stopUnit(const QString &name, const Mode mode);
+ void resetFailedUnit(const QString &name);
protected Q_SLOTS:
void onJobNew(const uint id, const QDBusObjectPath &job, const QString &unit);
--
1.9.0

View File

@ -0,0 +1,18 @@
diff --git a/QtSystemd.pc.cmake b/QtSystemd.pc.cmake
index 6b6c0e5..c3bdd42 100644
--- a/QtSystemd.pc.cmake
+++ b/QtSystemd.pc.cmake
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@
+libdir=${prefix}/lib@LIB_SUFFIX@
includedir=${prefix}/include/QtSystemd
Name: QtSystemd
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires: systemd
Cflags: -I${includedir} @CMAKE_INCLUDE_PATH@
-Libs: -L${libdir} -lQtSystemd @CMAKE_LIBRARY_PATH@
+Libs: -L${libdir} -lQtSystemd

View File

@ -0,0 +1,20 @@
DESCRIPTION = "Qt Wrapper for systemd"
HOMEPAGE = "https://github.com/ilpianista/libsystemd-qt"
LICENSE = "LGPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
inherit cmake_qt5
DEPENDS += "systemd qtbase"
RDEPENDS_${PN} = "dbus"
PV = "208+git${SRCPV}"
SRC_URI = "git://github.com/ilpianista/libsystemd-qt;branch=master \
file://fix-pkgconfig.patch \
file://0001-Add-wrapper-for-the-resetFailedUnit-command.patch "
S= "${WORKDIR}/git"
SRCREV = "398056b33314fc583dd8d8422e5c2f8b797fdb3b"
FILES_${PN}-dev += "${libdir}/cmake/* ${libdir}/qt5/mkspecs/features/*"

View File

@ -0,0 +1,34 @@
From 33554f9b3fd493c7e28617fd01466ffa87251f27 Mon Sep 17 00:00:00 2001
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
Date: Wed, 1 Aug 2012 13:21:51 +0200
Subject: [PATCH] Fix MALIIT_INSTALL_PRF to allow the build with openembedded
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
config.pri | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/config.pri b/config.pri
index b037b8c..43409f3 100644
--- a/config.pri
+++ b/config.pri
@@ -161,9 +161,11 @@ contains(QT_MAJOR_VERSION, 4) {
QT_WIDGETS = gui widgets
}
-MALIIT_INSTALL_PRF = $$[QT_INSTALL_DATA]/mkspecs/features
-local-install {
- MALIIT_INSTALL_PRF = $$replace(MALIIT_INSTALL_PRF, $$[QT_INSTALL_PREFIX], $$PREFIX)
+isEmpty(MALIIT_INSTALL_PRF) {
+ MALIIT_INSTALL_PRF = $$[QT_INSTALL_DATA]/mkspecs/features
+ local-install {
+ MALIIT_INSTALL_PRF = $$replace(MALIIT_INSTALL_PRF, $$[QT_INSTALL_PREFIX], $$PREFIX)
+ }
}
defineTest(outputFile) {
--
1.7.9.5

View File

@ -0,0 +1,34 @@
From fb6acbd2af9ed288c1c4f4200fc73d8d9955486a Mon Sep 17 00:00:00 2001
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
Date: Wed, 1 Aug 2012 13:33:10 +0200
Subject: [PATCH] Fix QT_IM_PLUGIN_PATH to allow openembedded to build Maliit
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
input-context/input-context.pri | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/input-context/input-context.pri b/input-context/input-context.pri
index d94e6a3..d460e70 100644
--- a/input-context/input-context.pri
+++ b/input-context/input-context.pri
@@ -25,8 +25,10 @@ for(OPTION,$$list($$lower($$COV_OPTION))){
QMAKE_CLEAN += $$OBJECTS_DIR/*.gcno $$OBJECTS_DIR/*.gcda
-QT_IM_PLUGIN_PATH = $$[QT_INSTALL_PLUGINS]/inputmethods
-QT_PREFIX = $$[QT_INSTALL_PREFIX]
-local-install {
- QT_IM_PLUGIN_PATH = $$replace(QT_IM_PLUGIN_PATH, $$QT_PREFIX, $$PREFIX)
+isEmpty(QT_IM_PLUGIN_PATH) {
+ QT_IM_PLUGIN_PATH = $$[QT_INSTALL_PLUGINS]/inputmethods
+ QT_PREFIX = $$[QT_INSTALL_PREFIX]
+ local-install {
+ QT_IM_PLUGIN_PATH = $$replace(QT_IM_PLUGIN_PATH, $$QT_PREFIX, $$PREFIX)
+ }
}
--
1.7.9.5

View File

@ -0,0 +1,23 @@
From cc33efdedbec9e9a55e9a0c6756516fd84d42e53 Mon Sep 17 00:00:00 2001
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
Date: Fri, 1 Mar 2013 11:31:41 +0100
Subject: [PATCH] Link to libmaliit-1,0 in inputcontext plugin
Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
---
.../input-context-plugin/input-context-plugin.pro | 2 ++
1 file changed, 2 insertions(+)
diff --git a/input-context/input-context-plugin/input-context-plugin.pro b/input-context/input-context-plugin/input-context-plugin.pro
index eefbe93..296e2fa 100644
--- a/input-context/input-context-plugin/input-context-plugin.pro
+++ b/input-context/input-context-plugin/input-context-plugin.pro
@@ -15,3 +15,5 @@ CONFIG += plugin
INSTALLS += target
target.path += $$QT_IM_PLUGIN_PATH
+
+LIBS += -L../../lib -l"maliit-1.0"
--
1.7.9.5

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Maliit server
Exec=/usr/bin/maliit-server
Icon=
Type=Application
Categories=Utility;

View File

@ -0,0 +1,94 @@
DESCRIPTION = "A virtual keyboard for touch-screen based user interfaces"
HOMEPAGE = "https://wiki.maliit.org/Main_Page"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=5c917f6ce94ceb8d8d5e16e2fca5b9ad"
inherit qmake5
SRC_URI = "git://github.com/maliit/framework.git;branch=master \
file://0001-Fix-MALIIT_INSTALL_PRF-to-allow-the-build-with-opene.patch \
file://maliit-server.desktop \
"
SRCREV = "dbc0403f329d7f6ce2f5a09e6ff5adbd2548a8c9"
PV = "0.99.0+git${SRCPV}"
PACKAGES =+ "${PN}-gtk"
GTKIMMODULES_PACKAGES = "${PN}-gtk"
DEPENDS = "qtdeclarative"
# FIXME: Do we need something like this with qt5?
#RDEPENDS_${PN} = "qt4-plugin-inputmethod-imsw-multi libqtsvg4"
RRECOMMENDS_${PN} = "maliit-plugins-qt5"
FILES_${PN} += "\
${libdir}/*.so* \
${bindir} \
${datadir}/applications/maliit-server.desktop \
${datadir}/dbus-1 \
"
FILES_${PN}-dbg += "\
${libdir}/maliit-framework-tests \
"
FILES_${PN}-dev += "\
${includedir}/maliit \
${libdir}/pkgconfig \
${libdir}/qt5/mkspecs \
"
EXTRA_QMAKEVARS_PRE = "\
PREFIX=${prefix} \
LIBDIR=${libdir} \
DATADIR=${datadir} \
QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \
MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
SCHEMADIR=${sysconfdir}/gconf/schemas \
CONFIG+=disable-gconf \
CONFIG+=disable-gtk-cache-update \
CONFIG+=local-install \
CONFIG+=nosdk \
CONFIG+=nodoc \
CONFIG+=noxcb \
CONFIG+=enable-dbus-activation \
"
EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
do_install_append() {
#Fix absolute paths
sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-framework.prf
sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-plugins.prf
install -d ${D}${datadir}/applications
install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications
}
pkg_postinst_${PN} () {
#!/bin/sh
# should run online
if [ "x$D" != "x" ]; then
exit 1
fi
echo "export QT_IM_MODULE=Maliit" >> /etc/xprofile
ln -s /usr/share/applications/maliit-server.desktop /etc/xdg/autostart/maliit-server.desktop
}
pkg_postrm_${PN} () {
#!/bin/sh
# should run online
if [ "x$D" = "x" ]; then
exit 1
fi
if [ -e "/etc/xprofile" ]; then
sed -i -e "g|export QT_IM_MODULE=Maliit|d" /etc/xprofile
fi
rm -f /etc/xdg/autostart/maliit-server.desktop
}
S = "${WORKDIR}/git"

View File

@ -0,0 +1,35 @@
DESCRIPTION = "Plugins for a virtual keyboard for touch-screen based user interfaces"
HOMEPAGE = "https://wiki.maliit.org/Main_Page"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f29b21caa8e460097bfad9c026a33621"
inherit qmake5
DEPENDS = "maliit-framework-qt5"
RDEPENDS_${PN} += "qtsvg-plugins"
SRC_URI = "git://github.com/maliit/plugins.git;branch=master"
SRCREV = "c6a348592607248a771a3dde5a0e33dc3c433a2a"
PV = "0.99.0+git${SRCPV}"
EXTRA_QMAKEVARS_PRE = "\
PREFIX=${prefix} \
MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
MALIIT_PLUGINS_DATA_DIR=${datadir} \
LIBDIR=${libdir} \
CONFIG+=nodoc \
"
FILES_${PN} += "\
${libdir}/maliit \
${datadir} \
"
FILES_${PN}-dbg += "${libdir}/maliit/plugins/.debug"
S= "${WORKDIR}/git"
EXTRA_OEMAKE += "INSTALL_ROOT=${D}"

View File

@ -0,0 +1,7 @@
SUMMARY = "Meta package for building an installable Qt5 toolchain and SDK"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit populate_sdk populate_sdk_qt5

View File

@ -0,0 +1,14 @@
# Copyright (C) 2014 O.S. Systems Software LTDA.
SUMMARY = "Host packages for the Qt5 standalone SDK or external toolchain"
LICENSE = "MIT"
inherit nativesdk packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS_${PN} += " \
nativesdk-packagegroup-sdk-host \
nativesdk-qttools \
nativesdk-qtbase-tools \
"

View File

@ -0,0 +1,16 @@
# Copyright (C) 2014 O.S. Systems Software LTDA.
SUMMARY = "Remote debugging tools for QtCreator integration"
LICENSE = "MIT"
inherit packagegroup
# Override by distro if needed
VIRTUAL-RUNTIME_qtcreator-debug-ssh-daemon ?= "openssh-sshd"
RDEPENDS_${PN} = " \
gdbserver \
${VIRTUAL-RUNTIME_qtcreator-debug-ssh-daemon} \
openssh-sftp-server \
qtdeclarative-plugins \
"

View File

@ -0,0 +1,40 @@
# Copyright (C) 2014 O.S. Systems Software LTDA.
DESCRIPTION = "Target packages for Qt5 SDK"
LICENSE = "MIT"
inherit packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
# Requires meta-ruby to work
USE_RUBY = " \
qtwebkit-mkspecs \
qtwebkit-dev \
"
RDEPENDS_${PN} += " \
packagegroup-core-standalone-sdk-target \
libsqlite3-dev \
qtbase-mkspecs \
qtscript-mkspecs \
qtxmlpatterns-mkspecs \
qtdeclarative-mkspecs \
qtsensors-mkspecs \
qt3d-mkspecs \
qtlocation-mkspecs \
qtsvg-mkspecs \
qtbase-dev \
qtdeclarative-dev \
qtscript-dev \
qt3d-dev \
qtlocation-dev \
qtsensors-dev \
qtsvg-dev \
qtxmlpatterns-dev \
qtdeclarative-dev \
qtdeclarative-plugins \
qtdeclarative-qmlplugins \
qtgraphicaleffects-dev \
${@base_contains('BBFILE_COLLECTIONS', 'ruby-layer', '${USE_RUBY}', '', d)} \
"

View File

@ -0,0 +1,28 @@
SUMMARY = "Qt Simple Image Viewer"
DESCRIPTION = "A simple image viewer using a mix of C++ and qml code for demonstration."
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=11c7965a9059e287de5d93b98adf6d1a"
DEPENDS = "qtdeclarative"
SRCREV = "7b9810b0f02f9ac74fae3ead6e2e9fb5c1382173"
SRC_URI = "git://code.ossystems.com.br/qt/qsiv;protocol=http"
S = "${WORKDIR}/git"
inherit qmake5
EXTRA_QMAKEVARS_PRE += "target.path=${libdir}/${P}"
do_install_append() {
install -d ${D}${bindir}
echo "#!/bin/sh" > ${D}${bindir}/qsiv
echo "export QML_IMPORT_PATH=${libdir}/${P}/qml/qsiv" >> ${D}${bindir}/qsiv
echo "export QML2_IMPORT_PATH=${libdir}/${P}/qml/qsiv" >> ${D}${bindir}/qsiv
echo "${libdir}/${P}/qsiv \$* " >> ${D}${bindir}/qsiv
chmod +x ${D}${bindir}/qsiv
}
FILES_${PN} += "${libdir}/${P}"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins"
FILES_${PN}-dbg += "${libdir}/${P}/.debug"

View File

@ -0,0 +1,12 @@
inherit nativesdk qmake5_base
# we don't want conflicts with qt4
OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
OE_QMAKE_PATH_ARCHDATA = "${OE_QMAKE_PATH_QT_ARCHDATA}"
OE_QMAKE_PATH_DATA = "${OE_QMAKE_PATH_QT_DATA}"
OE_QMAKE_PATH_BINS = "${OE_QMAKE_PATH_QT_BINS}"
OE_QMAKE_PATH_TRANSLATIONS = "${OE_QMAKE_PATH_QT_TRANSLATIONS}"
OE_QMAKE_PATH_DOCS = "${OE_QMAKE_PATH_QT_DOCS}"
OE_QMAKE_PATH_SETTINGS = "${OE_QMAKE_PATH_QT_SETTINGS}"
OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}"
OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}"

View File

@ -0,0 +1,223 @@
DESCRIPTION = "SDK version of Qt/[X11|Mac|Embedded]"
DEPENDS = "nativesdk-zlib nativesdk-dbus qtbase-native"
SECTION = "libs"
HOMEPAGE = "http://qt-project.org"
QT_MODULE = "qtbase"
require nativesdk-qt5.inc
# it's already included with newer oe-core, but include it here for dylan
FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:"
PR = "r1"
# common with -native and target version
SRC_URI += "\
file://0001-Add-linux-oe-g-platform.patch \
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
file://0003-Add-external-hostbindir-option.patch \
file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
file://0005-qt_module-Fix-pkgconfig-replacement.patch \
file://0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch \
file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \
file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \
"
# common with -native
SRC_URI += " \
file://0010-Always-build-uic.patch \
"
# specific for nativesdk version
SRC_URI += " \
file://0011-configure-preserve-built-qmake-and-swap-with-native-.patch \
file://0012-configure-bump-path-length-from-256-to-512-character.patch \
"
PACKAGES = "${PN}-tools-dbg ${PN}-tools-dev ${PN}-tools-staticdev ${PN}-tools"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
FILES_${PN}-tools-dev = " \
${includedir} \
${FILES_SOLIBSDEV} ${libdir}/*.la \
${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
"
FILES_${PN}-tools-staticdev = " \
${libdir}/libQt5Bootstrap.a \
"
FILES_${PN}-tools-dbg = " \
${libdir}/.debug \
${OE_QMAKE_PATH_BINS}/.debug \
"
FILES_${PN}-tools = " \
${libdir}/lib*${SOLIBS} \
${OE_QMAKE_PATH_BINS}/* \
"
# qttools binaries are placed in a subdir of bin in order to avoid
# collisions with qt4. This would trigger debian.bbclass to rename the
# package, since it doesn't detect binaries in subdirs. Explicitly
# disable package auto-renaming for the tools-package.
DEBIAN_NOAUTONAME_${PN}-tools = "1"
QT_CONFIG_FLAGS += " \
-reduce-relocations \
-shared \
-silent \
-no-pch \
-no-rpath \
-pkg-config \
${EXTRA_OECONF} \
"
# qtbase is exception, as these are used as install path for sysroots
OE_QMAKE_PATH_HOST_DATA = "${libdir}/${QT_DIR_NAME}"
OE_QMAKE_PATH_HOST_LIBS = "${libdir}"
do_generate_qt_config_file() {
cat > ${QT_CONF_PATH} <<EOF
[Paths]
Prefix = ${OE_QMAKE_PATH_PREFIX}
Headers = ${OE_QMAKE_PATH_HEADERS}
Libraries = ${OE_QMAKE_PATH_LIBS}
ArchData = ${OE_QMAKE_PATH_ARCHDATA}
Data = ${OE_QMAKE_PATH_DATA}
Binaries = ${OE_QMAKE_PATH_BINS}
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
Plugins = ${OE_QMAKE_PATH_PLUGINS}
Imports = ${OE_QMAKE_PATH_IMPORTS}
Qml2Imports = ${OE_QMAKE_PATH_QML}
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
Documentation = ${OE_QMAKE_PATH_DOCS}
Settings = ${OE_QMAKE_PATH_SETTINGS}
Examples = ${OE_QMAKE_PATH_EXAMPLES}
Tests = ${OE_QMAKE_PATH_TESTS}
HostBinaries = ${OE_QMAKE_PATH_HOST_BINS}
HostData = ${OE_QMAKE_PATH_HOST_DATA}
HostLibraries = ${OE_QMAKE_PATH_HOST_LIBS}
HostSpec = ${OE_QMAKESPEC}
TartgetSpec = ${OE_XQMAKESPEC}
ExternalHostBinaries = ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}
Sysroot =
EOF
}
do_generate_qt_config_file_append() {
cat >> ${QT_CONF_PATH} <<EOF
[EffectivePaths]
Prefix=..
EOF
}
# qtbase is exception, we need to use mkspecs from ${S}
QMAKE_MKSPEC_PATH = "${B}"
# qtbase is exception, configure script is using our get(X)QEvalMakeConf and setBootstrapEvalVariable functions to read it from shell
export OE_QMAKE_COMPILER
export OE_QMAKE_CC
export OE_QMAKE_CFLAGS
export OE_QMAKE_CXX
export OE_QMAKE_CXXFLAGS
export OE_QMAKE_LINK
export OE_QMAKE_LDFLAGS
export OE_QMAKE_AR
export OE_QMAKE_STRIP
# another exception is that we need to run bin/qmake, because EffectivePaths are relative to qmake location
OE_QMAKE_QMAKE_ORIG = "${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake"
OE_QMAKE_QMAKE = "bin/qmake"
do_configure() {
# we need symlink in path relative to source, because
# EffectivePaths:Prefix is relative to qmake location
# Also, configure expects qmake-native to swap with real one
if [ ! -e ${B}/bin/qmake-native ]; then
mkdir ${B}/bin
ln -sf ${OE_QMAKE_QMAKE_ORIG} ${B}/bin/qmake-native
fi
${S}/configure -v \
-dont-process \
-opensource -confirm-license \
-sysroot ${STAGING_DIR_NATIVE} \
-no-gcc-sysroot \
-system-zlib \
-no-libjpeg \
-no-libpng \
-no-gif \
-no-accessibility \
-no-cups \
-no-nis \
-no-gui \
-no-qml-debug \
-no-sql-mysql \
-no-sql-sqlite \
-no-opengl \
-no-openssl \
-no-xcb \
-verbose \
-release \
-prefix ${OE_QMAKE_PATH_PREFIX} \
-bindir ${OE_QMAKE_PATH_BINS} \
-libdir ${OE_QMAKE_PATH_LIBS} \
-datadir ${OE_QMAKE_PATH_DATA} \
-sysconfdir ${OE_QMAKE_PATH_SETTINGS} \
-docdir ${OE_QMAKE_PATH_DOCS} \
-headerdir ${OE_QMAKE_PATH_HEADERS} \
-archdatadir ${OE_QMAKE_PATH_ARCHDATA} \
-libexecdir ${OE_QMAKE_PATH_LIBEXECS} \
-plugindir ${OE_QMAKE_PATH_PLUGINS} \
-importdir ${OE_QMAKE_PATH_IMPORTS} \
-qmldir ${OE_QMAKE_PATH_QML} \
-translationdir ${OE_QMAKE_PATH_TRANSLATIONS} \
-testsdir ${OE_QMAKE_PATH_TESTS} \
-hostbindir ${OE_QMAKE_PATH_HOST_BINS} \
-hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \
-external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \
-no-glib \
-no-iconv \
-silent \
-nomake examples \
-nomake tests \
-nomake libs \
-no-compile-examples \
-no-rpath \
-platform ${OE_QMAKESPEC} \
-xplatform linux-oe-g++ \
${QT_CONFIG_FLAGS}
bin/qmake ${OE_QMAKE_DEBUG_OUTPUT} ${S} -o Makefile || die "Configuring qt with qmake failed. EXTRA_OECONF was ${EXTRA_OECONF}"
}
do_install() {
# Fix install paths for all
find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g"
oe_runmake install INSTALL_ROOT=${D}
# replace the native qmake installed above with nativesdk version
rm -rf ${D}${OE_QMAKE_PATH_HOST_BINS}/qmake
install -m 755 ${B}/bin/qmake-real ${D}${OE_QMAKE_PATH_HOST_BINS}/qmake
# for modules which are still using syncqt and call qtPrepareTool(QMAKE_SYNCQT, syncqt)
# e.g. qt3d, qtwayland
ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
# remove things unused in nativesdk, we need the headers, Qt5Core
# and Qt5Bootstrap.
rm -rf ${D}${datadir} \
${D}/${OE_QMAKE_PATH_PLUGINS} \
${D}${libdir}/cmake \
${D}${libdir}/pkgconfig
find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
-not -name 'libQt5Core.so*' -and \
-not -name 'libQt5Bootstrap.a' \
-exec rm '{}' ';'
}

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "fa005301a2000b92b61b63edc042567b"
SRC_URI[sha256sum] = "acdfd1aa2548ebea1d922e8e24e5c59f5fc3b2beae7c8003ba47d773bfcc94c0"

View File

@ -0,0 +1,34 @@
DEPENDS = "nativesdk-qtbase qtbase-native"
QT_MODULE = "qttools"
require nativesdk-qt5.inc
# it's already included with newer oe-core, but include it here for dylan
FILESEXTRAPATHS =. "${FILE_DIRNAME}/qttools:"
SRC_URI += "file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
FILES_${PN}-dbg = " \
${OE_QMAKE_PATH_BINS}/.debug \
"
FILES_${PN} = " \
${OE_QMAKE_PATH_BINS}/* \
"
do_configure() {
${OE_QMAKE_QMAKE} ${OE_QMAKE_DEBUG_OUTPUT} -r ${S} CONFIG+=linguistonly
}
do_install() {
# Fix install paths for all
find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g"
oe_runmake install INSTALL_ROOT=${D}
# remove things unused in nativesdk
rm -rf ${D}${libdir}
}

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "f56b2e6c537f6853d9bf10380c39418b"
SRC_URI[sha256sum] = "ff2f850f63798441aaaa0b18c741460acdd62c74d6a9e6a76521956e4bcb27d5"

View File

@ -0,0 +1,16 @@
require qt5.inc
DEPENDS += "qtdeclarative"
LICENSE = "GFDL-1.3 & LGPL-2.1 & DIGIA-TPLA-2.4 | GPL-3.0"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
file://LICENSE.PREVIEW.COMMERCIAL;md5=9d94dadfab8b246782ffea02082ee13a \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
"
FILES_${PN}-qmlplugins += " \
${OE_QMAKE_PATH_QML}/*/*/*.bez \
${OE_QMAKE_PATH_QML}/*/*/*.obj \
"

View File

@ -0,0 +1,14 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "master"
# last tag before this SRCREV is 5.0.0-beta1, but version says 5.3.0 already
SRCREV = "d3338a9f7fcac109d7bc7f600d5974ff333782ad"
do_configure_prepend() {
# Temporary hack to get qt3d build for Qt 5.1.0
if ! grep -q MODULE_VERSION ${S}/.qmake.conf; then
echo "MODULE_VERSION = 5.3.0" >> ${S}/.qmake.conf
fi
}

View File

@ -0,0 +1,19 @@
# Copyright (C) 2012 O.S. Systems Software LTDA.
# Copyright (C) 2013 Martin Jansa <martin.jansa@gmail.com>
QT_VERSION ?= "${PV}"
# it's different for RC versions
QT_VERSION_DIR ?= "5.2"
SRC_URI += " \
http://download.qt-project.org/official_releases/qt/${QT_VERSION_DIR}/${QT_VERSION}/submodules/${QT_MODULE}-opensource-src-${QT_VERSION}.tar.xz \
"
S = "${WORKDIR}/${QT_MODULE}-opensource-src-${QT_VERSION}"
LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"

View File

@ -0,0 +1,23 @@
# Copyright (C) 2012 O.S. Systems Software LTDA.
# Copyright (C) 2013-2014 Martin Jansa <martin.jansa@gmail.com>
QT_MODULE_BRANCH ?= "stable"
# each module needs to define valid SRCREV
SRC_URI += " \
git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
"
S = "${WORKDIR}/git"
PV = "5.2.1+git${SRCPV}"
FILESEXTRAPATHS =. "${FILE_DIRNAME}/${BPN}-git:"
DEFAULT_PREFERENCE = "-1"
LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"

View File

@ -0,0 +1,19 @@
inherit native qmake5_base
# we don't want conflicts with qt4
OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
OE_QMAKE_PATH_ARCHDATA = "${OE_QMAKE_PATH_QT_ARCHDATA}"
OE_QMAKE_PATH_DATA = "${OE_QMAKE_PATH_QT_DATA}"
OE_QMAKE_PATH_BINS = "${OE_QMAKE_PATH_QT_BINS}"
OE_QMAKE_PATH_TRANSLATIONS = "${OE_QMAKE_PATH_QT_TRANSLATIONS}"
OE_QMAKE_PATH_DOCS = "${OE_QMAKE_PATH_QT_DOCS}"
OE_QMAKE_PATH_SETTINGS = "${OE_QMAKE_PATH_QT_SETTINGS}"
OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}"
OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}"
# Regenerate header files when they are included in source tarball
# Otherwise cmake files don't set PRIVATE_HEADERS correctly
do_configure_prepend() {
rm -rf ${S}/include
mkdir -p ${S}/.git || true
}

View File

@ -0,0 +1,161 @@
# Copyright (C) 2012 O.S. Systems Software LTDA.
# Copyright (C) 2013 Martin Jansa <martin.jansa@gmail.com>
inherit qmake5
PACKAGECONFIG_OPENSSL ?= "openssl"
QT_MODULE ?= "${BPN}"
# we don't want conflicts with qt4
OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
OE_QMAKE_PATH_ARCHDATA = "${OE_QMAKE_PATH_QT_ARCHDATA}"
OE_QMAKE_PATH_DATA = "${OE_QMAKE_PATH_QT_DATA}"
OE_QMAKE_PATH_BINS = "${OE_QMAKE_PATH_QT_BINS}"
OE_QMAKE_PATH_TRANSLATIONS = "${OE_QMAKE_PATH_QT_TRANSLATIONS}"
OE_QMAKE_PATH_DOCS = "${OE_QMAKE_PATH_QT_DOCS}"
OE_QMAKE_PATH_SETTINGS = "${OE_QMAKE_PATH_QT_SETTINGS}"
OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}"
OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}"
# If Qt5 (qtbase) is machine specific, then everything will be,
# because the (initial) qtbase configuration becomes part of Qt5/qmake
python __anonymous() {
barch = d.getVar("BUILD_ARCH", True) or ''
tarch = d.getVar("TARGET_ARCH", True) or ''
# do not do anything if we are building a native package
if barch != tarch:
tarch = d.getVar("QT_PACKAGES_ARCH", True) or ''
if tarch:
d.setVar("PACKAGE_ARCH", tarch)
}
# Regenerate header files when they are included in source tarball
# Otherwise cmake files don't set PRIVATE_HEADERS correctly
do_configure_prepend() {
rm -rf ${S}/include
mkdir -p ${S}/.git || true
}
PACKAGES =. "${PN}-qmlplugins-dbg ${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-mkspecs ${PN}-examples-dev ${PN}-examples-staticdev ${PN}-examples-dbg ${PN}-examples "
# extra -dbg packages
FILES_${PN}-qmlplugins-dbg = " \
${OE_QMAKE_PATH_QML}/*/.debug \
${OE_QMAKE_PATH_QML}/*/*/.debug \
${OE_QMAKE_PATH_QML}/*/*/*/.debug \
${OE_QMAKE_PATH_IMPORTS}/*/.debug \
${OE_QMAKE_PATH_IMPORTS}/*/*/.debug \
${OE_QMAKE_PATH_IMPORTS}/*/*/*/.debug \
"
FILES_${PN}-tools-dbg = " \
${OE_QMAKE_PATH_BINS}/.debug \
"
FILES_${PN}-plugins-dbg = " \
${OE_QMAKE_PATH_PLUGINS}/*/.debug/* \
"
# extra packages
# qmlplugins 1-4 levels of subdirs qmldir + *{.so,*.qmltypes,*.qml,*js}
FILES_${PN}-qmlplugins = " \
${OE_QMAKE_PATH_QML}/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_QML}/*/qmldir \
${OE_QMAKE_PATH_QML}/*/*.qmltypes \
${OE_QMAKE_PATH_QML}/*/*.qml \
${OE_QMAKE_PATH_QML}/*/*.js \
${OE_QMAKE_PATH_QML}/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_QML}/*/*/qmldir \
${OE_QMAKE_PATH_QML}/*/*/*.qmltypes \
${OE_QMAKE_PATH_QML}/*/*/*.qml \
${OE_QMAKE_PATH_QML}/*/*/*.js \
${OE_QMAKE_PATH_QML}/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_QML}/*/*/*/qmldir \
${OE_QMAKE_PATH_QML}/*/*/*/*.qmltypes \
${OE_QMAKE_PATH_QML}/*/*/*/*.qml \
${OE_QMAKE_PATH_QML}/*/*/*/*.js \
${OE_QMAKE_PATH_QML}/*/*/*/*.png \
${OE_QMAKE_PATH_QML}/*/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_QML}/*/*/*/*/qmldir \
${OE_QMAKE_PATH_QML}/*/*/*/*/*.qmltypes \
${OE_QMAKE_PATH_QML}/*/*/*/*/*.qml \
${OE_QMAKE_PATH_QML}/*/*/*/*/*.js \
${OE_QMAKE_PATH_QML}/*/*/*/*/*/*.png \
${OE_QMAKE_PATH_IMPORTS}/*.qmltypes \
${OE_QMAKE_PATH_IMPORTS}/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_IMPORTS}/*/*.qmltypes \
${OE_QMAKE_PATH_IMPORTS}/*/qmldir \
${OE_QMAKE_PATH_IMPORTS}/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_IMPORTS}/*/*/*.qmltypes \
${OE_QMAKE_PATH_IMPORTS}/*/*/qmldir \
${OE_QMAKE_PATH_IMPORTS}/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_IMPORTS}/*/*/*/*.qmltypes \
${OE_QMAKE_PATH_IMPORTS}/*/*/*/qmldir \
"
FILES_${PN}-tools = " \
${OE_QMAKE_PATH_BINS}/* \
"
FILES_${PN}-plugins = " \
${OE_QMAKE_PATH_PLUGINS}/*/*${SOLIBSDEV} \
"
FILES_${PN}-mkspecs = "\
${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
"
# modifications to normal packages
FILES_${PN} += " \
${OE_QMAKE_PATH_LIBS}/lib*${SOLIBS} \
${OE_QMAKE_PATH_LIBEXECS} \
"
FILES_${PN}-dev += " \
${OE_QMAKE_PATH_LIBS}/lib*${SOLIBSDEV} \
${OE_QMAKE_PATH_LIBS}/pkgconfig \
${OE_QMAKE_PATH_LIBS}/cmake/* \
${OE_QMAKE_PATH_LIBS}/*.prl \
${OE_QMAKE_PATH_LIBS}/*.la \
${OE_QMAKE_PATH_DATA}/* \
${OE_QMAKE_PATH_HEADERS}/* \
"
FILES_${PN}-dbg += " \
${OE_QMAKE_PATH_LIBS}/.debug \
${OE_QMAKE_PATH_LIBEXECS}/.debug \
"
FILES_${PN}-staticdev += " \
${OE_QMAKE_PATH_LIBS}/*.a \
"
FILES_${PN}-examples = " \
${OE_QMAKE_PATH_EXAMPLES}/*/* \
"
FILES_${PN}-examples-dev = " \
${OE_QMAKE_PATH_EXAMPLES}/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*${SOLIBSDEV} \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*/*${SOLIBSDEV} \
"
FILES_${PN}-examples-dbg = " \
${OE_QMAKE_PATH_EXAMPLES}/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/*/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/.debug \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*/.debug \
"
FILES_${PN}-examples-staticdev = " \
${OE_QMAKE_PATH_EXAMPLES}/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*.a \
${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*/*/*.a \
"
PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"

View File

@ -0,0 +1,107 @@
DESCRIPTION = "Native version of Qt/[X11|Mac|Embedded]"
DEPENDS = "zlib-native dbus-native"
SECTION = "libs"
HOMEPAGE = "http://qt-project.org"
QT_MODULE = "qtbase"
require qt5-native.inc
# common with target version
# common with -native and target version
SRC_URI += "\
file://0001-Add-linux-oe-g-platform.patch \
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
file://0003-Add-external-hostbindir-option.patch \
file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
file://0005-qt_module-Fix-pkgconfig-replacement.patch \
file://0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch \
file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \
file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \
"
# specific for native version
SRC_URI += " \
file://0010-Always-build-uic.patch \
"
QT_CONF_PATH = "${B}/qt.conf"
do_generate_qt_config_file() {
:
}
EXTRA_OECONF = " \
-dont-process \
-prefix ${prefix} \
-sysroot ${STAGING_DIR_NATIVE} \
-no-gcc-sysroot \
-system-zlib \
-no-libjpeg \
-no-libpng \
-no-gif \
-no-accessibility \
-no-cups \
-no-nis \
-no-gui \
-no-qml-debug \
-no-sql-mysql \
-no-sql-sqlite \
-no-opengl \
-no-openssl \
-no-xcb \
-no-icu \
-verbose \
-release \
-prefix ${OE_QMAKE_PATH_PREFIX} \
-bindir ${OE_QMAKE_PATH_BINS} \
-libdir ${OE_QMAKE_PATH_LIBS} \
-headerdir ${OE_QMAKE_PATH_HEADERS} \
-archdatadir ${OE_QMAKE_PATH_ARCHDATA} \
-datadir ${OE_QMAKE_PATH_DATA} \
-docdir ${OE_QMAKE_PATH_DOCS} \
-sysconfdir ${OE_QMAKE_PATH_SETTINGS} \
-no-glib \
-no-iconv \
-silent \
-nomake examples \
-nomake tests \
-no-rpath \
-platform linux-oe-g++ \
"
# qtbase is exception, configure script is using our get(X)QEvalMakeConf and setBootstrapEvalVariable functions to read it from shell
export OE_QMAKE_COMPILER
export OE_QMAKE_CC
export OE_QMAKE_CFLAGS
export OE_QMAKE_CXX
export OE_QMAKE_CXXFLAGS
export OE_QMAKE_LINK
export OE_QMAKE_LDFLAGS
export OE_QMAKE_AR
export OE_QMAKE_STRIP
do_configure_prepend() {
(echo o; echo yes) | ${S}/configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
bin/qmake ${OE_QMAKE_DEBUG_OUTPUT} ${S} -o Makefile || die "Configuring qt with qmake failed. EXTRA_OECONF was ${EXTRA_OECONF}"
}
do_install() {
# Fix install paths for all
find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g"
oe_runmake install INSTALL_ROOT=${D}
if [ -d ${D}${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE} ] ; then
echo "Some files are installed in wrong directory ${D}${STAGING_DIR_NATIVE}"
cp -ra ${D}${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE}/* ${D}${STAGING_DIR_NATIVE}
rm -rf ${D}${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE}
# remove empty dirs
TMP=`dirname ${D}/${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE}`
while test ${TMP} != ${D}${STAGING_DIR_NATIVE}; do
rmdir ${TMP}
TMP=`dirname ${TMP}`;
done
fi
}

View File

@ -0,0 +1,11 @@
require qt5-${PV}.inc
require ${PN}.inc
do_install_append() {
# for modules which are still using syncqt and call qtPrepareTool(QMAKE_SYNCQT, syncqt)
# e.g. qt3d, qtwayland
ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
}
SRC_URI[md5sum] = "fa005301a2000b92b61b63edc042567b"
SRC_URI[sha256sum] = "acdfd1aa2548ebea1d922e8e24e5c59f5fc3b2beae7c8003ba47d773bfcc94c0"

View File

@ -0,0 +1,12 @@
require qt5-git.inc
require ${PN}.inc
do_install_append() {
# for modules which are still using syncqt and call qtPrepareTool(QMAKE_SYNCQT, syncqt)
# e.g. qt3d, qtwayland
ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
}
QT_MODULE_BRANCH = "release"
# v5.2.1 + 168 commits
SRCREV = "08cbbde61778276ccdda73d89fd64d02c623779f"

View File

@ -0,0 +1,247 @@
require qt5.inc
# common with -native
SRC_URI += "\
file://0001-Add-linux-oe-g-platform.patch \
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
file://0003-Add-external-hostbindir-option.patch \
file://0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch \
file://0005-qt_module-Fix-pkgconfig-replacement.patch \
file://0006-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch \
file://0007-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
file://0008-configure-make-pulseaudio-alsa-freetype-a-configurab.patch \
file://0009-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-to-determ.patch \
"
SRC_URI += "\
file://0010-qmake-is-already-built-in-qtbase-native.patch \
file://0011-Allow-building-a-separate-qmake-for-the-target.patch \
file://0013-QOpenGLPaintDevice-sub-area-support.patch \
file://0014-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
file://0016-eglfs-Fix-quad-coordinates.patch \
"
DEPENDS += "qtbase-native"
# for syncqt
RDEPENDS_${PN}-tools += "perl"
# separate some parts of PACKAGECONFIG which are often changed
# be aware that you need to add icu to build qtwebkit, default
# PACKAGECONFIG is kept rather minimal for people who don't need
# stuff like webkit (and it's easier to add options than remove)
# gl or gles needs to be enabled in order to build qtdeclarative
# http://qt.gitorious.org/qt/qtdeclarative/commit/e988998a08b1420ed10bd02d9d4b3b8ed2289df9
PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}"
PACKAGECONFIG_FB ?= "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
PACKAGECONFIG_X11 ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'xcb xvideo xsync xshape xrender xrandr xfixes xinput2 xinput xinerama xcursor gtkstyle', '', d)}"
PACKAGECONFIG_FONTS ?= ""
PACKAGECONFIG_SYSTEM ?= "jpeg libpng zlib"
PACKAGECONFIG_MULTIMEDIA ?= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
PACKAGECONFIG_DISTRO ?= ""
# Either release or debug, can be overridden in bbappends
PACKAGECONFIG_RELEASE ?= "release"
# This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency
# PACKAGECONFIG_OPENSSL ?= "openssl"
PACKAGECONFIG_DEFAULT ?= "dbus udev tools libs"
PACKAGECONFIG ?= " \
${PACKAGECONFIG_RELEASE} \
${PACKAGECONFIG_DEFAULT} \
${PACKAGECONFIG_OPENSSL} \
${PACKAGECONFIG_SYSTEM} \
${PACKAGECONFIG_DISTRO} \
"
PACKAGECONFIG[release] = "-release,-debug"
PACKAGECONFIG[developer] = "-developer-build"
PACKAGECONFIG[sm] = "-sm,-no-sm"
PACKAGECONFIG[tests] = "-make tests,-nomake tests"
PACKAGECONFIG[examples] = "-make examples -compile-examples,-nomake examples"
PACKAGECONFIG[tools] = "-make tools,-nomake tools"
# only for completeness, configure will add libs even if you try to explicitly remove it
PACKAGECONFIG[libs] = "-make libs,-nomake libs"
# accessibility is required to compile qtquickcontrols
PACKAGECONFIG[accessibility] = "-accessibility,-no-accessibility"
PACKAGECONFIG[glib] = "-glib,-no-glib,glib-2.0"
# use either system freetype or bundled freetype, if you disable freetype completely
# fontdatabases/basic/qbasicfontdatabase.cpp will fail to build and system freetype
# works only together with fontconfig
PACKAGECONFIG[freetype] = "-system-freetype,-freetype,freetype"
PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg"
PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng"
PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib"
PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre"
# gl or gles2 is needed in order to build qtdeclarative (qtdeclarative.do_configure fails to find quick module without)
PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl"
PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib"
PACKAGECONFIG[dbus] = "-dbus,-no-dbus,dbus"
PACKAGECONFIG[xcb] = "-xcb,-no-xcb,xcb-util-wm xcb-util-image xcb-util-keysyms"
PACKAGECONFIG[sql-ibase] = "-sql-ibase,-no-sql-ibase"
PACKAGECONFIG[sql-mysql] = "-sql-mysql,-no-sql-mysql,mysql"
PACKAGECONFIG[sql-psql] = "-sql-psql,-no-sql-psql,postgresql"
PACKAGECONFIG[sql-odbc] = "-sql-odbc,-no-sql-odbc"
PACKAGECONFIG[sql-oci] = "-sql-oci,-no-sql-oci"
PACKAGECONFIG[sql-tds] = "-sql-tds,-no-sql-tds"
PACKAGECONFIG[sql-db2] = "-sql-db2,-no-sql-db2"
PACKAGECONFIG[sql-sqlite2] = "-sql-sqlite2,-no-sql-sqlite2,sqlite"
PACKAGECONFIG[sql-sqlite] = "-sql-sqlite,-no-sql-sqlite,sqlite3"
PACKAGECONFIG[xcursor] = "-xcursor,-no-xcursor,libxcursor"
PACKAGECONFIG[xinerama] = "-xinerama,-no-xinerama,libxinerama"
PACKAGECONFIG[xinput] = "-xinput,-no-xinput"
PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2"
PACKAGECONFIG[xfixes] = "-xfixes,-no-xfixes,libxfixes"
PACKAGECONFIG[xrandr] = "-xrandr,-no-xrandr,libxrandr"
PACKAGECONFIG[xrender] = "-xrender,-no-xrender,libxrender"
PACKAGECONFIG[xshape] = "-xshape,-no-xshape"
PACKAGECONFIG[xsync] = "-xsync,-no-xsync"
PACKAGECONFIG[xvideo] = "-xvideo,-no-xvideo"
PACKAGECONFIG[openvg] = "-openvg,-no-openvg"
PACKAGECONFIG[iconv] = "-iconv,-no-iconv,virtual/libiconv"
PACKAGECONFIG[xkb] = "-xkb,-no-xkb,libxkbcommon"
PACKAGECONFIG[evdev] = "-evdev,-no-evdev"
PACKAGECONFIG[mtdev] = "-mtdev,-no-mtdev,mtdev"
# depends on glib
PACKAGECONFIG[fontconfig] = "-fontconfig,-no-fontconfig,fontconfig"
PACKAGECONFIG[gtkstyle] = "-gtkstyle,-no-gtkstyle,gtk+"
PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb"
PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb"
PACKAGECONFIG[mitshm] = "-mitshm,-no-mitshm,mitshm"
PACKAGECONFIG[kms] = "-kms,-no-kms,virtual/mesa virtual/egl"
# needed for qtdeclarative (qtdeclarative.do_configure fails to find quick module without)
PACKAGECONFIG[icu] = "-icu,-no-icu,icu"
PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev"
# use -openssl-linked here to ensure that RDEPENDS for libcrypto and libssl are detected
PACKAGECONFIG[openssl] = "-openssl-linked,-no-openssl,openssl"
PACKAGECONFIG[alsa] = "-alsa,-no-alsa,alsa-lib"
PACKAGECONFIG[pulseaudio] = "-pulseaudio,-no-pulseaudio,pulseaudio"
PACKAGECONFIG[nis] = "-nis,-no-nis"
PACKAGECONFIG[widgets] = "-widgets,-no-widgets"
QT_CONFIG_FLAGS += " \
-reduce-relocations \
-shared \
-silent \
-no-pch \
-no-rpath \
-pkg-config \
-no-qpa-platform-guard \
${EXTRA_OECONF} \
"
do_generate_qt_config_file_append() {
cat >> ${QT_CONF_PATH} <<EOF
[EffectivePaths]
Prefix=..
EOF
}
# qtbase is exception, we need to use mkspecs from ${S}
QMAKE_MKSPEC_PATH = "${B}"
# another exception is that we need to run bin/qmake, because EffectivePaths are relative to qmake location
OE_QMAKE_QMAKE_ORIG = "${STAGING_BINDIR_NATIVE}/${QT_DIR_NAME}/qmake"
OE_QMAKE_QMAKE = "bin/qmake"
# qtbase is exception, configure script is using our get(X)QEvalMakeConf and setBootstrapEvalVariable functions to read it from shell
export OE_QMAKE_COMPILER
export OE_QMAKE_CC
export OE_QMAKE_CFLAGS
export OE_QMAKE_CXX
export OE_QMAKE_CXXFLAGS
export OE_QMAKE_LINK
export OE_QMAKE_LDFLAGS
export OE_QMAKE_AR
export OE_QMAKE_STRIP
do_configure() {
# we need symlink in path relative to source, because
# EffectivePaths:Prefix is relative to qmake location
if [ ! -e ${B}/bin/qmake ]; then
mkdir ${B}/bin
ln -sf ${OE_QMAKE_QMAKE_ORIG} ${B}/bin/qmake
fi
${S}/configure -v \
-dont-process \
-opensource -confirm-license \
-sysroot ${STAGING_DIR_TARGET} \
-no-gcc-sysroot \
-prefix ${OE_QMAKE_PATH_PREFIX} \
-bindir ${OE_QMAKE_PATH_BINS} \
-libdir ${OE_QMAKE_PATH_LIBS} \
-datadir ${OE_QMAKE_PATH_DATA} \
-sysconfdir ${OE_QMAKE_PATH_SETTINGS} \
-docdir ${OE_QMAKE_PATH_DOCS} \
-headerdir ${OE_QMAKE_PATH_HEADERS} \
-archdatadir ${OE_QMAKE_PATH_ARCHDATA} \
-libexecdir ${OE_QMAKE_PATH_LIBEXECS} \
-plugindir ${OE_QMAKE_PATH_PLUGINS} \
-importdir ${OE_QMAKE_PATH_IMPORTS} \
-qmldir ${OE_QMAKE_PATH_QML} \
-translationdir ${OE_QMAKE_PATH_TRANSLATIONS} \
-testsdir ${OE_QMAKE_PATH_TESTS} \
-examplesdir ${OE_QMAKE_PATH_EXAMPLES} \
-hostbindir ${OE_QMAKE_PATH_HOST_BINS} \
-hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \
-external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \
-platform ${OE_QMAKESPEC} \
-xplatform linux-oe-g++ \
${QT_CONFIG_FLAGS}
qmake5_base_do_configure
}
do_compile_append() {
# Build qmake for the target arch
# Disable for now, because doesn't work well with separate ${B}
# cp -ra ${S}/qmake ${B}
# cd ${B}/qmake
# ${OE_QMAKE_QMAKE}
# Fix to use headers in ${B}
# sed '/INCPATH/s#${S}#${B}#g' -i Makefile
# oe_runmake CC="${CC}" CXX="${CXX}"
# cd ${B}
}
do_install_append() {
### Fix up the binaries to the right location
### TODO: FIX
# qemu built on host breaks do_package, remove it here (will be replaces with right qemu when do_compile is fixed
# ERROR: objcopy failed with exit code 1 (cmd was 'arm-oe-linux-gnueabi-objcopy' --only-keep-debug '/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.1-r0.0/package/usr/bin/qmake' '/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.1-r0.0/package/usr/bin/.debug/qmake')
rm -f ${D}/${bindir}/${QT_DIR_NAME}/qmake
# install fonts manually if they are missing
if [ ! -d ${D}/${OE_QMAKE_PATH_LIBS}/fonts ]; then
cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS}
fi
}
PACKAGES =. " \
${PN}-fonts \
${PN}-fonts-ttf-vera \
${PN}-fonts-ttf-dejavu \
${PN}-fonts-pfa \
${PN}-fonts-pfb \
${PN}-fonts-qpf \
"
RRECOMMENDS_${PN}-fonts = " \
${PN}-fonts-ttf-vera \
${PN}-fonts-ttf-dejavu \
${PN}-fonts-pfa \
${PN}-fonts-pfb \
${PN}-fonts-qpf \
"
ALLOW_EMPTY_${PN}-fonts = "1"
FILES_${PN}-fonts-ttf-vera = "${OE_QMAKE_PATH_LIBS}/fonts/Vera*.ttf"
FILES_${PN}-fonts-ttf-dejavu = "${OE_QMAKE_PATH_LIBS}/fonts/DejaVu*.ttf"
FILES_${PN}-fonts-pfa = "${OE_QMAKE_PATH_LIBS}/fonts/*.pfa"
FILES_${PN}-fonts-pfb = "${OE_QMAKE_PATH_LIBS}/fonts/*.pfb"
FILES_${PN}-fonts-qpf = "${OE_QMAKE_PATH_LIBS}/fonts/*.qpf*"
FILES_${PN}-fonts = "${OE_QMAKE_PATH_LIBS}/fonts/README \
${OE_QMAKE_PATH_LIBS}/fonts/fontdir"

View File

@ -0,0 +1,304 @@
From f883ec8652ee603d9bb9def7eb669ed82c493961 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Mon, 15 Apr 2013 04:29:32 +0200
Subject: [PATCH 01/14] Add linux-oe-g++ platform
* This qmake.conf unlike other platforms reads most variables from
shell environment, because it's easier for qt recipes to export
*FLAGS or CC specific for given recipe
* configure: add getQEvalMakeConf and getXQEvalMakeConf
Allow expansion of $(...) references from qmake.conf to generate
qmake environment from shell environment as exported by qmake5_base
* OE_QMAKE_CXX in order to allow compiler version check to succeed
which allows WebKit to be enabled.
* Other variables in order to let config.tests to use our -platform
settings
* Add setBootstrapEvalVariable to bootstrap qmake with our environment
too, this allows us to use -platform linux-oe-g++ also for native
recipe
* disable gdb_dwarf_index
* qmake is trying to call native gdb and we don't depend on gdb-native
(or even provide gdb-native)
* fixes errors like this:
/bin/sh: gdb: command not found
/bin/sh: line 0: test: -gt: unary operator expected
which are not fatal, but still misleading in do_configure output
Upstream-Status: Pending
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
configure | 54 ++++++++++++++++---
mkspecs/linux-oe-g++/qmake.conf | 40 ++++++++++++++
mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++
3 files changed, 187 insertions(+), 7 deletions(-)
create mode 100644 mkspecs/linux-oe-g++/qmake.conf
create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
diff --git a/configure b/configure
index aaa59bd..0e74f29 100755
--- a/configure
+++ b/configure
@@ -324,6 +324,16 @@ getQMakeConf()
getSingleQMakeVariable "$1" "$specvals"
}
+# OE qmake.conf is reading some variables from shell env
+# read them from qmake.conf, replace qmake () syntax with shell and eval
+getQEvalMakeConf()
+{
+ VAL=`getQMakeConf "$1" | sed -n 's/$[(]\([0-9a-zA-Z_]*\)[)]/$\1/pg'`
+ EVAL=`eval "echo ${VAL}"`
+# echo "Running getQEvalMakeConf: var='$1', val='`getQMakeConf \"$1\"`, val-sed='$VAL', eval='$EVAL'" >&2
+ eval "echo ${VAL}"
+}
+
getXQMakeConf()
{
if [ -z "$xspecvals" ]; then
@@ -333,6 +343,16 @@ getXQMakeConf()
getSingleQMakeVariable "$1" "$xspecvals"
}
+# OE qmake.conf is reading some variables from shell env
+# read them from qmake.conf, replace qmake () syntax with shell and eval
+getXQEvalMakeConf()
+{
+ VAL=`getXQMakeConf "$1" | sed -n 's/$[(]\([0-9a-zA-Z_]*\)[)]/$\1/pg'`
+ EVAL=`eval "echo ${VAL}"`
+# echo "Running getXQEvalMakeConf: var='$1', val='`getXQMakeConf \"$1\"`, val-sed='$VAL', eval='$EVAL'" >&2
+ eval "echo ${VAL}"
+}
+
compilerSupportsFlag()
{
cat >conftest.cpp <<EOF
@@ -548,6 +568,18 @@ fi
# initalize variables
#-------------------------------------------------------------------------------
+# Export all OE variables for qmake.conf from shell env to QMakeVars
+OE_VARIABLES="AR CC CFLAGS COMPILER CXX CXXFLAGS LDFLAGS LINK QT_CONFIG STRIP"
+for varname in $OE_VARIABLES; do
+ qmakevarname="${varname}"
+ cmd=`echo \
+'if [ -n "\$OE_QMAKE_'${varname}'" ]; then
+ QMakeVar set OE_QMAKE_'${qmakevarname}' "\$OE_QMAKE_'${varname}'"
+# echo "Exporting OE_QMAKE_'${qmakevarname}' value=\"\$OE_QMAKE_'${varname}'\"" >&2
+fi'`
+ eval "$cmd"
+done
+
SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS"
for varname in $SYSTEM_VARIABLES; do
qmakevarname="${varname}"
@@ -3362,7 +3394,7 @@ if [ "$XPLATFORM_MAC" = "yes" ] && [ "$CFG_QGTKSTYLE" = "auto" ]; then
CFG_QGTKSTYLE=no
fi
-QMAKE_CONF_COMPILER=`getXQMakeConf QMAKE_CXX`
+QMAKE_CONF_COMPILER=`getXQEvalMakeConf QMAKE_CXX`
TEST_COMPILER=$QMAKE_CONF_COMPILER
@@ -3397,7 +3429,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
exit 1
fi
fi
-TEST_COMPILER_CXXFLAGS=`getXQMakeConf QMAKE_CXXFLAGS`
+TEST_COMPILER_CXXFLAGS=`getXQEvalMakeConf QMAKE_CXXFLAGS`
GCC_MACHINE_DUMP=
case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
@@ -3878,6 +3910,14 @@ setBootstrapVariable()
getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
}
+# OE qmake.conf is reading some variables from shell env
+# read them from qmake.conf, replace qmake () syntax with shell and eval
+setBootstrapEvalVariable()
+{
+ getQEvalMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
+}
+
+
# build qmake
if true; then ###[ '!' -f "$outpath/bin/qmake" ];
echo "Creating qmake..."
@@ -3916,11 +3956,11 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
fi
[ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
- setBootstrapVariable QMAKE_CC CC "$CC_TRANSFORM"
- setBootstrapVariable QMAKE_CXX CXX "$CC_TRANSFORM"
- setBootstrapVariable QMAKE_CFLAGS
- setBootstrapVariable QMAKE_CXXFLAGS
- setBootstrapVariable QMAKE_LFLAGS
+ setBootstrapEvalVariable QMAKE_CC CC "$CC_TRANSFORM"
+ setBootstrapEvalVariable QMAKE_CXX CXX "$CC_TRANSFORM"
+ setBootstrapEvalVariable QMAKE_CFLAGS
+ setBootstrapEvalVariable QMAKE_CXXFLAGS
+ setBootstrapEvalVariable QMAKE_LFLAGS
if [ "$CFG_RELEASE_QMAKE" = "yes" ]; then
setBootstrapVariable QMAKE_CFLAGS_RELEASE
diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf
new file mode 100644
index 0000000..ca26b10
--- /dev/null
+++ b/mkspecs/linux-oe-g++/qmake.conf
@@ -0,0 +1,40 @@
+#
+# qmake configuration for linux-g++ with modifications for building with OpenEmbedded
+#
+
+MAKEFILE_GENERATOR = UNIX
+CONFIG += incremental
+QMAKE_INCREMENTAL_STYLE = sublib
+
+include(../common/linux.conf)
+
+# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip
+QMAKE_AR = $(OE_QMAKE_AR) cqs
+QMAKE_STRIP = $(OE_QMAKE_STRIP)
+QMAKE_WAYLAND_SCANNER = $(OE_QMAKE_WAYLAND_SCANNER)
+
+include(../common/gcc-base-unix.conf)
+
+# *FLAGS from gcc-base.conf
+QMAKE_CFLAGS += $(OE_QMAKE_CFLAGS)
+QMAKE_CXXFLAGS += $(OE_QMAKE_CXXFLAGS)
+QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS)
+
+include(../common/g++-unix.conf)
+
+# tc settings from g++-base.conf
+QMAKE_COMPILER = $(OE_QMAKE_COMPILER)
+QMAKE_CC = $(OE_QMAKE_CC)
+QMAKE_CXX = $(OE_QMAKE_CXX)
+
+QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS)
+
+QMAKE_LINK = $(OE_QMAKE_LINK)
+QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK)
+QMAKE_LINK_C = $(OE_QMAKE_LINK)
+QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK)
+
+# for the SDK
+isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG)
+
+load(qt_config)
diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h
new file mode 100644
index 0000000..dd12003
--- /dev/null
+++ b/mkspecs/linux-oe-g++/qplatformdefs.h
@@ -0,0 +1,100 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3.0 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 3.0 requirements will be
+** met: http://www.gnu.org/copyleft/gpl.html.
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QPLATFORMDEFS_H
+#define QPLATFORMDEFS_H
+
+// Get Qt defines/settings
+
+#include "qglobal.h"
+
+// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
+
+// 1) need to reset default environment if _BSD_SOURCE is defined
+// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
+// 3) it seems older glibc need this to include the X/Open stuff
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+
+#include <unistd.h>
+
+
+// We are hot - unistd.h should have turned on the specific APIs we requested
+
+#include <features.h>
+#include <pthread.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <grp.h>
+#include <pwd.h>
+#include <signal.h>
+
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/ipc.h>
+#include <sys/time.h>
+#include <sys/shm.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+#include <netinet/in.h>
+#ifndef QT_NO_IPV6IFNAME
+#include <net/if.h>
+#endif
+
+#define QT_USE_XOPEN_LFS_EXTENSIONS
+#include "../common/posix/qplatformdefs.h"
+
+#undef QT_SOCKLEN_T
+
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+#define QT_SOCKLEN_T socklen_t
+#else
+#define QT_SOCKLEN_T int
+#endif
+
+#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#define QT_SNPRINTF ::snprintf
+#define QT_VSNPRINTF ::vsnprintf
+#endif
+
+#endif // QPLATFORMDEFS_H
--
1.8.5.3

View File

@ -0,0 +1,36 @@
From 841d1f06f3fd2f59f6b18067b02d5fcfc93aaa7a Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke@selfish.org>
Date: Wed, 26 Sep 2012 17:22:30 +0200
Subject: [PATCH 02/14] qlibraryinfo: allow to set qt.conf from the outside
using the environment
Allow to set a qt.conf from the outside using the environment. This allows
to inject new prefixes and other paths into qmake. This is needed when using
the same qmake binary to build qt/x11 and qt/embedded
Upstream-Status: Pending
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/corelib/global/qlibraryinfo.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index 1c3b09f..c647a16 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -149,7 +149,10 @@ QLibrarySettings::QLibrarySettings()
QSettings *QLibraryInfoPrivate::findConfiguration()
{
- QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
+ QByteArray config = getenv("QT_CONF_PATH");
+ QString qtconfig = QFile::decodeName(config);
+ if(!QFile::exists(qtconfig))
+ qtconfig = QStringLiteral(":/qt/etc/qt.conf");
#ifdef QT_BOOTSTRAPPED
if(!QFile::exists(qtconfig))
qtconfig = qt_libraryInfoFile();
--
1.8.5.3

View File

@ -0,0 +1,228 @@
From 3648eeddaed0cf31fba226ec713d2321f398974f Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 6 Apr 2013 13:15:07 +0200
Subject: [PATCH 03/14] Add -external-hostbindir option
* when cross-compiling it's sometimes useful to use existing tools from machine
(or in OpenEmbedded built with separate native recipe) when building for target
* this way we can skip bootstraping tools we already have
* qt_functions: temporary remove isEmpty check
* now we assume that every build will provide QT_EXTERNAL_HOST_BINS value
* isEmpty works correctly only with qmake variables (e.g. $$FOO -
isEmpty(FOO)), but doesn't work with system properties like $$[FOO].
Upstream-Status: Pending
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
configure | 15 +++++++++++++++
mkspecs/features/qt_functions.prf | 9 ++++++++-
mkspecs/features/qt_tool.prf | 3 +--
qmake/property.cpp | 1 +
qtbase.pro | 12 +++++++++---
src/corelib/global/qlibraryinfo.cpp | 3 ++-
src/corelib/global/qlibraryinfo.h | 1 +
tools/configure/configureapp.cpp | 8 ++++++++
8 files changed, 45 insertions(+), 7 deletions(-)
diff --git a/configure b/configure
index 0e74f29..7f3f2f0 100755
--- a/configure
+++ b/configure
@@ -788,6 +788,7 @@ QT_HOST_BINS=
QT_HOST_LIBS=
QT_HOST_DATA=
QT_EXT_PREFIX=
+QT_EXTERNAL_HOST_BINS=
#flags for SQL drivers
QT_CFLAGS_PSQL=
@@ -907,6 +908,7 @@ while [ "$#" -gt 0 ]; do
-testsdir| \
-hostdatadir| \
-hostbindir| \
+ -external-hostbindir| \
-hostlibdir| \
-extprefix| \
-sysroot| \
@@ -1120,6 +1122,9 @@ while [ "$#" -gt 0 ]; do
extprefix)
QT_EXT_PREFIX="$VAL"
;;
+ external-hostbindir)
+ QT_EXTERNAL_HOST_BINS="$VAL"
+ ;;
pkg-config)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_PKGCONFIG="$VAL"
@@ -2236,6 +2241,10 @@ Installation options:
-hostdatadir <dir> . Data used by qmake will be installed to <dir>
(default HOSTPREFIX)
+ -external-hostbindir <dir> Use external host executables instead of building them
+ (not used by defaut)
+
+
Configure options:
The defaults (*) are usually acceptable. A plus (+) denotes a default value
@@ -3151,6 +3160,11 @@ fi
# command line and environment validation
#-------------------------------------------------------------------------------
+# default is empty, don't call makeabs if it is empty
+if [ ! -z "$QT_EXTERNAL_HOST_BINS" ]; then
+ QT_EXTERNAL_HOST_BINS=`"$relpath/config.tests/unix/makeabs" "$QT_EXTERNAL_HOST_BINS"`
+fi
+
# update QT_CONFIG to show our current predefined configuration
CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
case "$CFG_QCONFIG" in
@@ -3838,6 +3852,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = {
"qt_hbinpath=$QT_HOST_BINS",
"qt_hlibpath=$QT_HOST_LIBS",
"qt_hdatpath=$QT_HOST_DATA",
+ "qt_ebinpath=$QT_EXTERNAL_HOST_BINS",
"qt_targspec=$shortxspec",
"qt_hostspec=$shortspec",
#endif
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index 1dacfed..7229845 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -193,7 +193,14 @@ defineTest(qtAddRpathLink) {
defineTest(qtPrepareTool) {
$$1 = $$eval(QT_TOOL.$${2}.binary)
isEmpty($$1) {
- $$1 = $$[QT_HOST_BINS]/$$2
+ $$1 = $$[QT_EXTERNAL_HOST_BINS]/$$2
+ # for some reason isEmpty does not work here, FIXME before submitting upstream
+ # DEBUG 1: mkspecs/features/qt_functions.prf:198: calling built-in isEmpty(/OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/qt5)
+ # DEBUG 1: mkspecs/features/qt_functions.prf:198: test function returned true
+ # DEBUG 1: mkspecs/features/qt_functions.prf:198: taking 'then' branch
+ !exists($$[QT_EXTERNAL_HOST_BINS]/$$2) {
+ $$1 = $$[QT_HOST_BINS]/$$2
+ }
exists($$eval($$1).pl) {
$$1 = perl -w $$eval($$1).pl
} else: contains(QMAKE_HOST.os, Windows) {
diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf
index f0864f9..50bfac8 100644
--- a/mkspecs/features/qt_tool.prf
+++ b/mkspecs/features/qt_tool.prf
@@ -15,8 +15,7 @@ CONFIG += console
# If we are doing a prefix build, create a "module" pri which enables
# qtPrepareTool() to work with the non-installed build.
-# Non-bootstrapped tools always need this because of the environment setup.
-!build_pass:if(!host_build|!force_bootstrap|force_independent) {
+!build_pass:if(!host_build|!force_bootstrap|force_independent):!exists($$[QT_EXTERNAL_HOST_BINS]) {
isEmpty(MODULE):MODULE = $$TARGET
!host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private)
diff --git a/qmake/property.cpp b/qmake/property.cpp
index e50485c..71291ad 100644
--- a/qmake/property.cpp
+++ b/qmake/property.cpp
@@ -75,6 +75,7 @@ static const struct {
{ "QT_HOST_DATA", QLibraryInfo::HostDataPath, true },
{ "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true },
{ "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true },
+ { "QT_EXTERNAL_HOST_BINS", QLibraryInfo::ExternalHostBinariesPath, true },
{ "QMAKE_SPEC", QLibraryInfo::HostSpecPath, true },
{ "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
};
diff --git a/qtbase.pro b/qtbase.pro
index 140a137..4e01d5b 100644
--- a/qtbase.pro
+++ b/qtbase.pro
@@ -70,16 +70,22 @@ CONFIG -= qt
#qmake
qmake.path = $$[QT_HOST_BINS]
+qmake.files = $$OUT_PWD/bin/qmake
+!isEmpty($$[QT_EXTERNAL_HOST_BINS]) {
+ qmake.files = $$[QT_EXTERNAL_HOST_BINS]/bin/qmake
+}
equals(QMAKE_HOST.os, Windows) {
- qmake.files = $$OUT_PWD/bin/qmake.exe
-} else {
- qmake.files = $$OUT_PWD/bin/qmake
+ qmake.files = $${qmake.files}.exe
}
INSTALLS += qmake
#syncqt
syncqt.path = $$[QT_HOST_BINS]
syncqt.files = $$PWD/bin/syncqt.pl
+syncqt.files = $$PWD/bin/syncqt.pl
+!isEmpty($$[QT_EXTERNAL_HOST_BINS]) {
+ syncqt.files = $$[QT_EXTERNAL_HOST_BINS]/bin/syncqt.pl
+}
INSTALLS += syncqt
# If we are doing a prefix build, create a "module" pri which enables
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index c647a16..da82913 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -281,7 +281,7 @@ QLibraryInfo::isDebugBuild()
*/
static const struct {
- char key[19], value[13];
+ char key[21], value[13];
} qtConfEntries[] = {
{ "Prefix", "." },
{ "Documentation", "doc" }, // should be ${Data}/doc
@@ -307,6 +307,7 @@ static const struct {
{ "HostBinaries", "bin" },
{ "HostLibraries", "lib" },
{ "HostData", "." },
+ { "ExternalHostBinaries", "" },
{ "TargetSpec", "" },
{ "HostSpec", "" },
#endif
diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
index 17864b5..a14bc0f 100644
--- a/src/corelib/global/qlibraryinfo.h
+++ b/src/corelib/global/qlibraryinfo.h
@@ -84,6 +84,7 @@ public:
HostBinariesPath,
HostLibrariesPath,
HostDataPath,
+ ExternalHostBinariesPath,
TargetSpecPath,
HostSpecPath,
LastHostPath = HostSpecPath,
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 5ab413a..50a192b 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -1186,6 +1186,13 @@ void Configure::parseCmdLine()
dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i);
}
+ else if (configCmdLine.at(i) == "-external-hostbindir") {
+ ++i;
+ if (i == argCount)
+ break;
+ dictionary[ "QT_EXTERNAL_HOST_BINS" ] = configCmdLine.at(i);
+ }
+
else if (configCmdLine.at(i) == "-make-tool") {
++i;
if (i == argCount)
@@ -3852,6 +3859,7 @@ void Configure::generateQConfigCpp()
<< " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
<< " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
<< " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
+ << " \"qt_ebinpath=" << formatPath(dictionary["QT_EXTERNAL_HOST_BINS"]) << "\"," << endl
<< " \"qt_targspec=" << targSpec << "\"," << endl
<< " \"qt_hostspec=" << hostSpec << "\"," << endl
<< "#endif" << endl
--
1.8.5.3

View File

@ -0,0 +1,29 @@
From 698f073fb8cc6dc1ced277b6ae2056cb9d02f2d5 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 27 Apr 2013 22:33:33 +0200
Subject: [PATCH 04/14] configureapp: Prefix default LIBDIRS and INCDIRS with
SYSROOT
Upstream-Status: Pending
---
tools/configure/configureapp.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 50a192b..46eabe4 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -3213,8 +3213,8 @@ void Configure::generateQConfigPri()
configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl;
if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) {
// FIXME: add detection
- configStream << " QMAKE_DEFAULT_LIBDIRS = /lib /usr/lib" << endl;
- configStream << " QMAKE_DEFAULT_INCDIRS = /usr/include /usr/local/include" << endl;
+ configStream << " QMAKE_DEFAULT_LIBDIRS = $$[QT_SYSROOT]/lib $$[QT_SYSROOT]/usr/lib" << endl;
+ configStream << " QMAKE_DEFAULT_INCDIRS = $$[QT_SYSROOT]/usr/include $$[QT_SYSROOT]/usr/local/include" << endl;
}
configStream << "}" << endl;
if (dictionary["QT_EDITION"].contains("OPENSOURCE"))
--
1.8.5.3

View File

@ -0,0 +1,99 @@
From 7999eeb3f2ab1150aa301ec26ae9bf0788d09c9e Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 27 Apr 2013 23:15:37 +0200
Subject: [PATCH 05/14] qt_module: Fix pkgconfig replacement
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* in situation like this:
QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm
QT_INSTALL_LIBS:/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/lib
QT_INSTALL_LIBS/raw:/usr/lib
QT_INSTALL_LIBS/get:/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/lib
I don't want the replacement like this:
sed
-e "s,/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/include,/usr/include/qt5,g"
-e "s,/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/build/lib,/usr/lib,g"
"../../lib/pkgconfig/Qt5Core.pc"
>"/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.0-r0.0/image/OE/oe-core/tmp-eglibc/sysroots/qemuarm/usr/lib/pkgconfig/Qt5Core.pc"
because that way I'll end with -L/usr/lib in .pc file which is
cross-compile unfriendly, keeping ${libdir}/${includedir} works better
in my case
* qt_module: Fix paths in .prl files
* qmake does not prefix them with QT_SYSROOT when using them
so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE
variable, which is unsafe for cross-compilation
* writting QT_SYSROOT in .prl files is dangerous for sstate when
builds are in different directories, so we need
SSTATE_SCAN_FILES += "*.pri *.prl"
to make them relocateble
* fix paths in packageconfig files
This reverts parts of:
enable path replacement in installed prl files on all platforms
Task-number: QTBUG-33794
Change-Id: Id0d38715673b8a1c0c034e9c15783eb255c4315b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
mkspecs/features/qt_module.prf | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 11509ee..be9b929 100644
--- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf
@@ -135,30 +135,36 @@ load(qt_installs)
rplbase = $$dirname(_QMAKE_SUPER_CACHE_)/[^/][^/]*
else: \
rplbase = $$MODULE_BASE_OUTDIR
-include_replace.match = $$rplbase/include
-include_replace.replace = $$[QT_INSTALL_HEADERS/raw]
-include_replace.CONFIG = path
+pkgconfig_include_replace.match = $$rplbase/include
+pkgconfig_include_replace.replace = "\$$\\{includedir}"
+pkgconfig_include_replace.CONFIG = path
+pkgconfig_lib_replace.match = $$rplbase/lib
+pkgconfig_lib_replace.replace = "\$$\\{libdir}"
+pkgconfig_lib_replace.CONFIG = path
lib_replace.match = $$rplbase/lib
host_build: \
lib_replace.replace = $$[QT_HOST_LIBS]
else: \
lib_replace.replace = $$[QT_INSTALL_LIBS/raw]
lib_replace.CONFIG = path
-QMAKE_PRL_INSTALL_REPLACE += include_replace lib_replace
+lafile_replace.match = "-L$$[QT_INSTALL_LIBS/raw]"
+lafile_replace.replace = ""
+lafile_replace.CONFIG = path
+QMAKE_PRL_INSTALL_REPLACE += lib_replace lafile_replace
unix|win32-g++* {
CONFIG += create_pc
QMAKE_PKGCONFIG_LIBDIR = $$lib_replace.replace
- QMAKE_PKGCONFIG_INCDIR = $$include_replace.replace
+ QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS/raw]
QMAKE_PKGCONFIG_CFLAGS = -I${includedir}/$$MODULE_INCNAME
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
- QMAKE_PKGCONFIG_INSTALL_REPLACE += include_replace lib_replace
+ QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_include_replace pkgconfig_lib_replace
}
unix {
CONFIG += create_libtool explicitlib
QMAKE_LIBTOOL_LIBDIR = $$lib_replace.replace
- QMAKE_LIBTOOL_INSTALL_REPLACE += include_replace lib_replace
+ QMAKE_LIBTOOL_INSTALL_REPLACE += lib_replace lafile_replace
}
unix|win32-g++* {
--
1.8.5.3

View File

@ -0,0 +1,43 @@
From ebd38fc708cf7190e47a75754235f56fa5d86300 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed, 8 May 2013 23:54:35 +0200
Subject: [PATCH 06/14] configure: don't export SYSTEM_VARIABLES to .qmake.vars
* linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is
causing issues as we need g++ to be used as linker
Upstream-Status: Pending
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
configure | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/configure b/configure
index 7f3f2f0..13dd619 100755
--- a/configure
+++ b/configure
@@ -581,20 +581,6 @@ fi'`
done
SYSTEM_VARIABLES="RANLIB STRIP OBJDUMP LD CC CXX CFLAGS CXXFLAGS LDFLAGS"
-for varname in $SYSTEM_VARIABLES; do
- qmakevarname="${varname}"
- # use LDFLAGS for autoconf compat, but qmake uses QMAKE_LFLAGS
- if [ "${varname}" = "LDFLAGS" ]; then
- qmakevarname="LFLAGS"
- elif [ "${varname}" = "LD" ]; then
- qmakevarname="LINK"
- fi
- cmd=`echo \
-'if [ -n "\$'${varname}'" ]; then
- QMakeVar set QMAKE_'${qmakevarname}' "\$'${varname}'"
-fi'`
- eval "$cmd"
-done
# Use CC/CXX to run config.tests
mkdir -p "$outpath/config.tests"
rm -f "$outpath/config.tests/.qmake.cache"
--
1.8.5.3

View File

@ -0,0 +1,37 @@
From 828eecd8f361cb965bd40f535435efa91665c8e5 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Thu, 9 May 2013 10:06:50 +0200
Subject: [PATCH 07/14] configure.prf: Allow to add extra arguments to make
* sometimes we would like to add -e or define some variable and respect it from both
Makefiles used in configure tests and also Makefiles to build the application
Upstream-Status: Pending
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
mkspecs/features/configure.prf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
index 39144e7..de48b07 100644
--- a/mkspecs/features/configure.prf
+++ b/mkspecs/features/configure.prf
@@ -54,12 +54,12 @@ defineTest(qtCompileTest) {
qmake_configs = "\"CONFIG -= qt debug_and_release app_bundle lib_bundle\""
# Clean up after previous run
- exists($$test_out_dir/Makefile):qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE distclean")
+ exists($$test_out_dir/Makefile):qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS) distclean")
mkpath($$test_out_dir)|error("Aborting.")
qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) $$qmake_configs $$shell_quote($$test_dir)") {
- qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") {
+ qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS)") {
log("yes$$escape_expand(\\n)")
msg = "test $$1 succeeded"
write_file($$QMAKE_CONFIG_LOG, msg, append)
--
1.8.5.3

View File

@ -0,0 +1,52 @@
From 3923edc900d1b3dd23e0a6af3a32255707cd497c Mon Sep 17 00:00:00 2001
From: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Tue, 28 Feb 2012 15:10:24 +0000
Subject: [PATCH 08/14] configure: make pulseaudio, alsa, freetype a
configurable option
Allows disabling pulseaudio, alsa, freetype support at configure time
making builds more deterministic.
Upstream-Status: Pending
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
configure | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/configure b/configure
index 13dd619..66c2ae0 100755
--- a/configure
+++ b/configure
@@ -1810,6 +1810,27 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ pulseaudio)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_PULSEAUDIO="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
+ alsa)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_ALSA="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
+ freetype)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "system" ]; then
+ CFG_LIBFREETYPE="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
gtkstyle)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_QGTKSTYLE="$VAL"
--
1.8.5.3

View File

@ -0,0 +1,85 @@
From acbd622d1b91c1aa9ec8c48d10d91354d175345c Mon Sep 17 00:00:00 2001
From: Simon Busch <morphis@gravedo.de>
Date: Mon, 22 Jul 2013 21:09:41 +0000
Subject: [PATCH 09/14] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS to
determine path to host binaries
Upstream-Status: Inappropiate (configuration)
Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++---
src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++--
src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in
index 9bda70e..6e3605a 100644
--- a/src/corelib/Qt5CoreConfigExtras.cmake.in
+++ b/src/corelib/Qt5CoreConfigExtras.cmake.in
@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qmake$$CMAKE_BIN_SUFFIX\")
+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qmake$$CMAKE_BIN_SUFFIX\")
!!ENDIF
_qt5_Core_check_file_exists(${imported_location})
@@ -20,7 +20,7 @@ if (NOT TARGET Qt5::moc)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}moc$$CMAKE_BIN_SUFFIX\")
+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/moc$$CMAKE_BIN_SUFFIX\")
!!ENDIF
_qt5_Core_check_file_exists(${imported_location})
@@ -37,7 +37,7 @@ if (NOT TARGET Qt5::rcc)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
set(imported_location \"${_qt5Core_install_prefix}/$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}rcc$$CMAKE_BIN_SUFFIX\")
+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/rcc$$CMAKE_BIN_SUFFIX\")
!!ENDIF
_qt5_Core_check_file_exists(${imported_location})
diff --git a/src/dbus/Qt5DBusConfigExtras.cmake.in b/src/dbus/Qt5DBusConfigExtras.cmake.in
index 1d94715..617efa8 100644
--- a/src/dbus/Qt5DBusConfigExtras.cmake.in
+++ b/src/dbus/Qt5DBusConfigExtras.cmake.in
@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qdbuscpp2xml)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
!!ENDIF
_qt5_DBus_check_file_exists(${imported_location})
@@ -20,7 +20,7 @@ if (NOT TARGET Qt5::qdbusxml2cpp)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
!!ENDIF
_qt5_DBus_check_file_exists(${imported_location})
diff --git a/src/widgets/Qt5WidgetsConfigExtras.cmake.in b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
index e5650ff..16ff007 100644
--- a/src/widgets/Qt5WidgetsConfigExtras.cmake.in
+++ b/src/widgets/Qt5WidgetsConfigExtras.cmake.in
@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::uic)
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
set(imported_location \"${_qt5Widgets_install_prefix}/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
!!ELSE
- set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
+ set(imported_location \"${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/uic$$CMAKE_BIN_SUFFIX\")
!!ENDIF
_qt5_Widgets_check_file_exists(${imported_location})
--
1.8.5.3

View File

@ -0,0 +1,38 @@
From 8a10c6d053fe438aec007e4a73b60ac59716ccd4 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 16 Nov 2013 00:32:30 +0100
Subject: [PATCH 10/12] Always build uic
Even if we are not building gui or widgets. This tool is needed later
as a native tool when compiling the target.
Change-Id: I257668ac28c22b192e7ec7736e6c23fa3be6bab6
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/src.pro | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/src.pro b/src/src.pro
index b7887a6..8801544 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -145,7 +145,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent
}
}
}
-SUBDIRS += src_plugins src_tools_qdoc
+SUBDIRS += src_plugins src_tools_qdoc src_tools_uic
nacl: SUBDIRS -= src_network src_testlib
@@ -156,4 +156,4 @@ TR_EXCLUDE = \
src_tools_bootstrap_dbus src_tools_qdbusxml2cpp src_tools_qdbuscpp2xml
sub-tools.depends = $$TOOLS
-QMAKE_EXTRA_TARGETS = sub-tools
\ No newline at end of file
+QMAKE_EXTRA_TARGETS = sub-tools
--
1.8.5.3

View File

@ -0,0 +1,30 @@
From 77a18a9fe2d0e4a1dcd95e2d78c85eb37452bc73 Mon Sep 17 00:00:00 2001
From: Michael Krelin <hacker@klever.net>
Date: Mon, 29 Oct 2012 20:07:49 -0700
Subject: [PATCH 10/14] qmake is already built in qtbase-native
Ported from OE by: Yu Ke <ke.yu@intel.com>
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 66c2ae0..ac836aa 100755
--- a/configure
+++ b/configure
@@ -3941,7 +3941,7 @@ setBootstrapEvalVariable()
# build qmake
-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
+if false; then ###[ '!' -f "$outpath/bin/qmake" ];
echo "Creating qmake..."
mkdir -p "$outpath/qmake" || exit
--
1.8.5.3

View File

@ -0,0 +1,30 @@
From dd14f3eda61669c66c95dbcbca3afbd61f9aa746 Mon Sep 17 00:00:00 2001
From: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Mon, 29 Oct 2012 20:26:36 -0700
Subject: [PATCH 11/14] Allow building a separate qmake for the target
Upstream-Status: Inappropriate [config]
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
qmake/qmake.pro | 2 ++
1 file changed, 2 insertions(+)
diff --git a/qmake/qmake.pro b/qmake/qmake.pro
index 89d6ea5..7c605b9 100644
--- a/qmake/qmake.pro
+++ b/qmake/qmake.pro
@@ -8,6 +8,8 @@ CONFIG -= qt
DEFINES += \
QT_BUILD_QMAKE \
PROEVALUATOR_FULL
+DESTDIR = ../bin/
+TARGET = qmake
VPATH += \
../src/corelib/global \
--
1.8.5.3

View File

@ -0,0 +1,30 @@
From 441b2ebc41013505b9f5b6a4db43526506f84e47 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 11 Nov 2013 20:22:34 -0500
Subject: [PATCH 11/12] configure: preserve built qmake and swap with native
one
Let configure script build the real qmake, but right after it's built, swap
it with a native qmake for further internal use, preserving the real one.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 66c2ae0..d423cce 100755
--- a/configure
+++ b/configure
@@ -4085,6 +4085,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
(cd "$outpath/qmake"; "$MAKE") || exit 2
fi # Build qmake
+mv "$outpath/bin/qmake" "$outpath/bin/qmake-real"
+mv "$outpath/bin/qmake-native" "$outpath/bin/qmake"
echo "Running configuration tests..."
--
1.8.5.3

View File

@ -0,0 +1,29 @@
From 63313ba681ad5bb0ef83c3b8908387939c2b41d5 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 11 Nov 2013 20:27:30 -0500
Subject: [PATCH 12/12] configure: bump path length from 256 to 512 characters
Increase the path length that gets hardcoded into generated config.cpp file
from 256 to 512 characters, as nativesdk path can be quite long.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index d423cce..1ea4102 100755
--- a/configure
+++ b/configure
@@ -3823,7 +3823,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
static const char qt_configure_installation [12+11] = "qt_instdate=`date +%Y-%m-%d`";
/* Installation Info */
-static const char qt_configure_prefix_path_strs[][256 + 12] = {
+static const char qt_configure_prefix_path_strs[][512 + 12] = {
#ifndef QT_BUILD_QMAKE
"qt_prfxpath=$QT_SYSROOT_PREFIX",
"qt_docspath=$QT_SYSROOT_DOCS",
--
1.8.5.3

View File

@ -0,0 +1,154 @@
From 2fad0a6fa3c06577995ac44ed0a2a12eaef819c2 Mon Sep 17 00:00:00 2001
From: Jani Hautakangas <jani.hautakangas@ixonos.com>
Date: Thu, 16 May 2013 09:52:07 +0300
Subject: [PATCH 13/14] QOpenGLPaintDevice sub-area support
Allows creating QOpenGLPaintDevice targetting sub-area
of binded framebuffer.
Upstream-Status: Pending
Change-Id: Ida2f079aa1ac0b87d36b54129e226399dbcdda80
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/gui/opengl/qopenglpaintdevice.cpp | 12 ++++++++++++
src/gui/opengl/qopenglpaintdevice.h | 2 ++
src/gui/opengl/qopenglpaintengine.cpp | 10 +++++++---
src/gui/opengl/qopenglpaintengine_p.h | 1 +
src/gui/opengl/qopengltextureglyphcache.cpp | 2 +-
5 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp
index fa392d1..5df1762 100644
--- a/src/gui/opengl/qopenglpaintdevice.cpp
+++ b/src/gui/opengl/qopenglpaintdevice.cpp
@@ -111,6 +111,7 @@ class QOpenGLPaintDevicePrivate
public:
QOpenGLPaintDevicePrivate(const QSize &size);
+ QPoint offset;
QSize size;
QOpenGLContext *ctx;
@@ -159,6 +160,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height)
{
}
+QOpenGLPaintDevice::QOpenGLPaintDevice(int x, int y, int width, int height)
+ : d_ptr(new QOpenGLPaintDevicePrivate(QSize(width, height)))
+{
+ d_ptr->offset = QPoint(x,y);
+}
+
/*!
Destroys the QOpenGLPaintDevice.
*/
@@ -228,6 +235,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const
return d_ptr->ctx;
}
+QPoint QOpenGLPaintDevice::offset() const
+{
+ return d_ptr->offset;
+}
+
/*!
Returns the pixel size of the paint device.
diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h
index c05571c..01eb1bc 100644
--- a/src/gui/opengl/qopenglpaintdevice.h
+++ b/src/gui/opengl/qopenglpaintdevice.h
@@ -62,12 +62,14 @@ public:
QOpenGLPaintDevice();
explicit QOpenGLPaintDevice(const QSize &size);
QOpenGLPaintDevice(int width, int height);
+ QOpenGLPaintDevice(int x, int y, int width, int height);
virtual ~QOpenGLPaintDevice();
int devType() const { return QInternal::OpenGL; }
QPaintEngine *paintEngine() const;
QOpenGLContext *context() const;
+ QPoint offset() const;
QSize size() const;
void setSize(const QSize &size);
void setDevicePixelRatio(qreal devicePixelRatio);
diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp
index 0513551..f6aeb15 100644
--- a/src/gui/opengl/qopenglpaintengine.cpp
+++ b/src/gui/opengl/qopenglpaintengine.cpp
@@ -1985,7 +1985,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev)
for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i)
d->vertexAttributeArraysEnabledState[i] = false;
+ const QPoint offset = d->device->offset();
const QSize sz = d->device->size();
+ d->x = offset.x();
+ d->y = offset.y();
d->width = sz.width();
d->height = sz.height();
d->mode = BrushDrawingMode;
@@ -2073,7 +2076,7 @@ void QOpenGL2PaintEngineEx::ensureActive()
d->device->ensureActiveTarget();
d->transferMode(BrushDrawingMode);
- glViewport(0, 0, d->width, d->height);
+ glViewport(d->x, d->y, d->width, d->height);
d->needsSync = false;
d->lastMaskTextureUsed = 0;
d->shaderManager->setDirty();
@@ -2116,6 +2119,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
if (bounds == QRect(0, 0, width, height)) {
glDisable(GL_SCISSOR_TEST);
} else {
+ bounds = QRect(bounds.x(), bounds.y(), bounds.width(), bounds.height());
glEnable(GL_SCISSOR_TEST);
setScissor(bounds);
}
@@ -2124,14 +2128,14 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect)
{
- const int left = rect.left();
+ const int left = rect.left() + x;
const int width = rect.width();
int bottom = height - (rect.top() + rect.height());
if (device->paintFlipped()) {
bottom = rect.top();
}
+ bottom += y;
const int height = rect.height();
-
glScissor(left, bottom, width, height);
}
diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h
index d51f0e5..0d4b38d 100644
--- a/src/gui/opengl/qopenglpaintengine_p.h
+++ b/src/gui/opengl/qopenglpaintengine_p.h
@@ -264,6 +264,7 @@ public:
QOpenGL2PaintEngineEx* q;
QOpenGLEngineShaderManager* shaderManager;
QOpenGLPaintDevice* device;
+ int x, y;
int width, height;
QOpenGLContext *ctx;
EngineMode mode;
diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp
index 3b62d1d..a5d1f7e 100644
--- a/src/gui/opengl/qopengltextureglyphcache.cpp
+++ b/src/gui/opengl/qopengltextureglyphcache.cpp
@@ -273,7 +273,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height)
funcs.glBindFramebuffer(GL_FRAMEBUFFER, (GLuint)oldFbo);
if (pex != 0) {
- glViewport(0, 0, pex->width, pex->height);
+ glViewport(pex->x, pex->y, pex->width, pex->height);
pex->updateClipScissorTest();
} else {
m_blitProgram->disableAttributeArray(int(QT_VERTEX_COORDS_ATTR));
--
1.8.5.3

View File

@ -0,0 +1,63 @@
From c8995c6eb6cf4bfa8daf1e3e96bd4885a096f405 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Wed, 5 Feb 2014 18:35:08 +0100
Subject: [PATCH 14/14] eglfs: fix egl error for platforms only supporting one
window/surface
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
running qmlscene -platform eglfs <filename>.qml
caused
EGL Error : Could not create the egl surface: error = 0x3003
Rebased version of [1-2]
Upstream-Status: unknown
[1] http://repository.timesys.com/buildsources/q/qt-everywhere-opensource/qt-everywhere-opensource-5.1.1/qt-everywhere-opensource-5.1.1-qeglfswindow.cpp.patch
[2] https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/qeglfswindow.cpp.patch
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/plugins/platforms/eglfs/qeglfswindow.cpp | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp
index bba00da..567820c 100644
--- a/src/plugins/platforms/eglfs/qeglfswindow.cpp
+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp
@@ -87,6 +87,16 @@ void QEglFSWindow::create()
if (m_flags.testFlag(Created))
return;
+ static EGLSurface __singleWindowSurface;
+ if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::MultipleWindows) && (__singleWindowSurface))
+ {
+ m_surface = __singleWindowSurface;
+#ifdef QEGL_EXTRA_DEBUG
+ qWarning("Surface recreate request, re-using %x\n", m_surface);
+#endif
+ return;
+ }
+
m_flags = Created;
m_wid = newWId();
@@ -130,6 +140,11 @@ void QEglFSWindow::create()
resetSurface();
+ if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::MultipleWindows))
+ {
+ __singleWindowSurface = m_surface;
+ }
+
screen->setPrimarySurface(m_surface);
if (m_flags.testFlag(IsRaster)) {
--
1.8.5.3

View File

@ -0,0 +1,42 @@
From 99979159a404df09495c8ddd6a052837f66b8739 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <syntheticpp@gmx.net>
Date: Fri, 7 Feb 2014 13:12:37 +0100
Subject: [PATCH] Fix linuxfb argument 'mmsize' parsing
Parse first for 'mmsize' because the regex for 'size' also fits to 'mmsize'.
Upstream-Status: Backport
Task-number: QTBUG-29133
Change-Id: Idc4950270818e496d5d94a97a172b7c780f069b1
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp
index 735a43d..33a9523 100644
--- a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp
+++ b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp
@@ -333,6 +333,8 @@ bool QLinuxFbScreen::initialize()
foreach (const QString &arg, mArgs) {
if (arg == QLatin1String("nographicsmodeswitch"))
doSwitchToGraphicsMode = false;
+ else if (mmSizeRx.indexIn(arg) != -1)
+ userMmSize = QSize(mmSizeRx.cap(1).toInt(), mmSizeRx.cap(2).toInt());
else if (sizeRx.indexIn(arg) != -1)
userGeometry.setSize(QSize(sizeRx.cap(1).toInt(), sizeRx.cap(2).toInt()));
else if (offsetRx.indexIn(arg) != -1)
@@ -341,8 +343,6 @@ bool QLinuxFbScreen::initialize()
ttyDevice = ttyRx.cap(1);
else if (fbRx.indexIn(arg) != -1)
fbDevice = fbRx.cap(1);
- else if (mmSizeRx.indexIn(arg) != -1)
- userMmSize = QSize(mmSizeRx.cap(1).toInt(), mmSizeRx.cap(2).toInt());
}
if (fbDevice.isEmpty()) {
--
1.7.1

View File

@ -0,0 +1,39 @@
From 84756d94c73885803ad8044099ab47c0c49b5076 Mon Sep 17 00:00:00 2001
From: Laszlo Agocs <laszlo.agocs@digia.com>
Date: Thu, 23 Jan 2014 11:45:22 +0100
Subject: [PATCH] eglfs: Fix quad coordinates
Prevent artifacts on raster windows by properly mapping
the coordinates to [-1,1].
Upstream-Status: Backport
Task-number: QTBUG-36370
Change-Id: I95d0d03952f597ef4ce6a950c6533a3af2df964a
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
src/plugins/platforms/eglfs/qeglfscompositor.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/plugins/platforms/eglfs/qeglfscompositor.cpp b/src/plugins/platforms/eglfs/qeglfscompositor.cpp
index 845bb5b..1efc4f7 100644
--- a/src/plugins/platforms/eglfs/qeglfscompositor.cpp
+++ b/src/plugins/platforms/eglfs/qeglfscompositor.cpp
@@ -153,10 +153,11 @@ void QEglFSCompositor::render(QEglFSWindow *window, uint texture, bool raster)
QPoint tl = r.topLeft();
QPoint br = r.bottomRight();
+ // Map to [-1,1]
GLfloat x1 = (tl.x() / sr.width()) * 2 - 1;
- GLfloat x2 = (br.x() / sr.width()) * 2 - 1;
GLfloat y1 = ((sr.height() - tl.y()) / sr.height()) * 2 - 1;
- GLfloat y2 = ((sr.height() - br.y()) / sr.height()) * 2 - 1;
+ GLfloat x2 = ((br.x() + 1) / sr.width()) * 2 - 1;
+ GLfloat y2 = ((sr.height() - (br.y() + 1)) / sr.height()) * 2 - 1;
if (!raster)
qSwap(y1, y2);
--
1.7.1

View File

@ -0,0 +1,84 @@
From bcca9b3cd8a7699b68a296a8b606df8a4065e527 Mon Sep 17 00:00:00 2001
From: Tom Hirst <tom.hirst@ipe-systems.co.uk>
Date: Fri, 10 Oct 2014 17:02:17 +0100
Subject: [PATCH] prevent if_nametoindex being called with empty string
Calling if_nametoindex with an empty string will always return 0, but
on ARM linux platforms this call seems to be very expensive (~30ms),
adding a large overhead to calls such as QUdpSocket::writeDatagram()
Task-number: QTBUG-37092
Change-Id: Iad00867585d9534af1ddaee936dd4e4dc5e03611
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
---
src/network/socket/qnativesocketengine_unix.cpp | 33 ++++++++++++++++---------
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/src/network/socket/qnativesocketengine_unix.cpp b/src/network/socket/qnativesocketengine_unix.cpp
index e076f2b..88ef5a0 100644
--- a/src/network/socket/qnativesocketengine_unix.cpp
+++ b/src/network/socket/qnativesocketengine_unix.cpp
@@ -378,12 +378,15 @@ bool QNativeSocketEnginePrivate::nativeConnect(const QHostAddress &addr, quint16
sockAddrIPv6.sin6_port = htons(port);
QString scopeid = addr.scopeId();
- bool ok;
- sockAddrIPv6.sin6_scope_id = scopeid.toInt(&ok);
+
+ if (!scopeid.isEmpty()) {
+ bool ok;
+ sockAddrIPv6.sin6_scope_id = scopeid.toInt(&ok);
#ifndef QT_NO_IPV6IFNAME
- if (!ok)
- sockAddrIPv6.sin6_scope_id = ::if_nametoindex(scopeid.toLatin1());
+ if (!ok)
+ sockAddrIPv6.sin6_scope_id = ::if_nametoindex(scopeid.toLatin1());
#endif
+ }
Q_IPV6ADDR ip6 = addr.toIPv6Address();
memcpy(&sockAddrIPv6.sin6_addr.s6_addr, &ip6, sizeof(ip6));
@@ -489,11 +492,16 @@ bool QNativeSocketEnginePrivate::nativeBind(const QHostAddress &address, quint16
memset(&sockAddrIPv6, 0, sizeof(sockAddrIPv6));
sockAddrIPv6.sin6_family = AF_INET6;
sockAddrIPv6.sin6_port = htons(port);
+ QString scopeid = address.scopeId();
+
+ if (!scopeid.isEmpty()) {
+ bool ok;
+ sockAddrIPv6.sin6_scope_id = scopeid.toInt(&ok);
#ifndef QT_NO_IPV6IFNAME
- sockAddrIPv6.sin6_scope_id = ::if_nametoindex(address.scopeId().toLatin1().data());
-#else
- sockAddrIPv6.sin6_scope_id = address.scopeId().toInt();
+ if (!ok)
+ sockAddrIPv6.sin6_scope_id = ::if_nametoindex(scopeid.toLatin1());
#endif
+ }
Q_IPV6ADDR tmp = address.toIPv6Address();
memcpy(&sockAddrIPv6.sin6_addr.s6_addr, &tmp, sizeof(tmp));
sockAddrSize = sizeof(sockAddrIPv6);
@@ -902,12 +910,15 @@ qint64 QNativeSocketEnginePrivate::nativeSendDatagram(const char *data, qint64 l
Q_IPV6ADDR tmp = host.toIPv6Address();
memcpy(&sockAddrIPv6.sin6_addr.s6_addr, &tmp, sizeof(tmp));
QString scopeid = host.scopeId();
- bool ok;
- sockAddrIPv6.sin6_scope_id = scopeid.toInt(&ok);
+
+ if (!scopeid.isEmpty()) {
+ bool ok;
+ sockAddrIPv6.sin6_scope_id = scopeid.toInt(&ok);
#ifndef QT_NO_IPV6IFNAME
- if (!ok)
- sockAddrIPv6.sin6_scope_id = ::if_nametoindex(scopeid.toLatin1());
+ if (!ok)
+ sockAddrIPv6.sin6_scope_id = ::if_nametoindex(scopeid.toLatin1());
#endif
+ }
sockAddrSize = sizeof(sockAddrIPv6);
sockAddrPtr = (struct sockaddr *)&sockAddrIPv6;
} else if (host.protocol() == QAbstractSocket::IPv4Protocol) {
--
2.3.5

View File

@ -0,0 +1,8 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI += "file://0015-Fix-linuxfb-argument-mmsize-parsing.patch \
file://0017-prevent-if_nametoindex-being-called-with-empty-strin.patch"
SRC_URI[md5sum] = "fa005301a2000b92b61b63edc042567b"
SRC_URI[sha256sum] = "acdfd1aa2548ebea1d922e8e24e5c59f5fc3b2beae7c8003ba47d773bfcc94c0"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 172 commits
SRCREV = "bf0336a02502b3ed4d399c1cf5b4a56b1e858d42"

View File

@ -0,0 +1,13 @@
require qt5.inc
DEPENDS += "qtbase qtdeclarative"
PACKAGECONFIG ??= ""
PACKAGECONFIG[bluez4] = ",,bluez4"
do_configure_prepend() {
# disable bluez test if it isn't enabled by PACKAGECONFIG
sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro
}
EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}"

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "cb2ef624b28b6ba61d6a467b8b3c314a"
SRC_URI[sha256sum] = "ec31e1c3cd5aea4d7dff946802a7fde2599bb8a1931d4bb49cb0854371cf1223"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${BPN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 25 commits
SRCREV = "9902dfdbc44934ce2e8072bc237ca8cdbfb3402b"

View File

@ -0,0 +1,18 @@
require qt5.inc
SRC_URI += " \
file://0001-qmltestexample-fix-link.patch \
"
DEPENDS += "qtbase"
PACKAGECONFIG ??= "qtxmlpatterns"
PACKAGECONFIG[qtxmlpatterns] = ",,qtxmlpatterns"
do_configure_prepend() {
# disable qtxmlpatterns test if it isn't enabled by PACKAGECONFIG
sed -e 's/^\(qtHaveModule(xmlpatterns)\)/OE_QTXMLPATTERNS_ENABLED:\1/' -i ${S}/src/imports/imports.pro
sed -e 's/^\(!qtHaveModule(xmlpatterns)\)/!OE_QTXMLPATTERNS_ENABLED|\1/' -i ${S}/tests/auto/quick/quick.pro
}
EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}"

View File

@ -0,0 +1,88 @@
From 64ca7961376fa896d82c2a3db2d42cbb6b68c069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
Date: Sun, 26 May 2013 14:26:19 +0200
Subject: [PATCH 1/2] qmltestexample: fix link
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
else we get :
ld: warning: libQt5Quick.so.5, needed by libQt5QuickTest.so, not found
Upstream-Status: Inappropriate
Change-Id: I63088ff73bec6a8559dfae132f8bd40b62487450
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
examples/qmltest/qmltest/qmltest.pro | 2 +-
tests/auto/qml/qjsengine/qjsengine.pro | 2 +-
tests/auto/qml/qtqmlmodules/qtqmlmodules.pro | 2 +-
tests/auto/qmltest/qmltest.pro | 1 +
tools/qmltestrunner/qmltestrunner.pro | 2 +-
5 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/examples/qmltest/qmltest/qmltest.pro b/examples/qmltest/qmltest/qmltest.pro
index b5893c5..1b00e6c 100644
--- a/examples/qmltest/qmltest/qmltest.pro
+++ b/examples/qmltest/qmltest/qmltest.pro
@@ -14,7 +14,7 @@ TESTDATA += tst_basic.qml tst_item.qml
# This code exists solely for the purpose of building this example
# inside the examples/ hierarchy.
-QT += qml qmltest
+QT += qml qmltest quick
macx: CONFIG -= app_bundle
diff --git a/tests/auto/qml/qjsengine/qjsengine.pro b/tests/auto/qml/qjsengine/qjsengine.pro
index a62eb75..73b6917 100644
--- a/tests/auto/qml/qjsengine/qjsengine.pro
+++ b/tests/auto/qml/qjsengine/qjsengine.pro
@@ -1,7 +1,7 @@
CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qjsengine
-QT += qml qml-private widgets testlib gui-private
+QT += qml qml-private widgets testlib gui-private quick
macx:CONFIG -= app_bundle
SOURCES += tst_qjsengine.cpp
diff --git a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro
index c6d442e..3181dcd 100644
--- a/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro
+++ b/tests/auto/qml/qtqmlmodules/qtqmlmodules.pro
@@ -8,5 +8,5 @@ macx:CONFIG -= app_bundle
TESTDATA = data/*
-QT += core-private qml-private testlib gui gui-private
+QT += core-private qml-private testlib gui gui-private quick
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
diff --git a/tests/auto/qmltest/qmltest.pro b/tests/auto/qmltest/qmltest.pro
index 7662cb1..a8f8ae2 100644
--- a/tests/auto/qmltest/qmltest.pro
+++ b/tests/auto/qmltest/qmltest.pro
@@ -4,6 +4,7 @@ CONFIG += qmltestcase
CONFIG += console
SOURCES += tst_qmltest.cpp
+QT += quick
importFiles.files = borderimage buttonclick createbenchmark events qqmlbinding selftests
diff --git a/tools/qmltestrunner/qmltestrunner.pro b/tools/qmltestrunner/qmltestrunner.pro
index 1bb913e..56f2dd5 100644
--- a/tools/qmltestrunner/qmltestrunner.pro
+++ b/tools/qmltestrunner/qmltestrunner.pro
@@ -1,6 +1,6 @@
SOURCES += main.cpp
-QT += qml qmltest
+QT += qml qmltest quick
CONFIG += no_import_scan
load(qt_tool)
--
1.8.5.3

View File

@ -0,0 +1,41 @@
From a13535b21b8406d65c8f139306d8324bda05443b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20H=C3=A4nel?= <florian.haenel@basyskom.com>
Date: Wed, 5 Jun 2013 19:23:32 +0200
Subject: [PATCH 2/2] Fix wrong calculation of viewPort for transitions
Viewport is calculated wrong for horizontal layout in a second instance
Task-number: QTBUG-29944
Task-Number: QTBUG-31546
Upstream-Status: Pending
Looks like backport of https://codereview.qt-project.org/49226 but this
one was applied in previous patch, this change looks the same but is
in different part of qquickitemview.cpp and ISN'T applied yet in dev
branch.
Signed-off-by: Florian Haenel <florian.haenel@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I136ae4484278d14f796613505e3f38c65ec51ebe
---
src/quick/items/qquickitemview.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/quick/items/qquickitemview.cpp b/src/quick/items/qquickitemview.cpp
index d7b9847..a54d282 100644
--- a/src/quick/items/qquickitemview.cpp
+++ b/src/quick/items/qquickitemview.cpp
@@ -1835,7 +1835,7 @@ void QQuickItemViewPrivate::layout()
prepareVisibleItemTransitions();
- QRectF viewBounds(0, position(), q->width(), q->height());
+ QRectF viewBounds(q->contentX(), q->contentY(), q->width(), q->height());
for (QList<FxViewItem*>::Iterator it = releasePendingTransition.begin();
it != releasePendingTransition.end(); ) {
FxViewItem *item = *it;
--
1.8.5.3

View File

@ -0,0 +1,9 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI += " \
file://0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch \
"
SRC_URI[md5sum] = "a23fba03a4b48f36fe8b51d326d08acc"
SRC_URI[sha256sum] = "7e32b8d6e1d64ca4bdfa92d15f9b4217a1b24239ef40e8826eeccbe918866690"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 81 commits
SRCREV = "7ceefa60ab4f79d5f40e7051edf80c1a77ae7734"

View File

@ -0,0 +1,5 @@
require qt5.inc
DEPENDS += "qtdeclarative"
RDEPENDS_${PN}-dev = ""

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "8dde8593750e33a79f49c5a2f03caf0c"
SRC_URI[sha256sum] = "5abb17ee60d68cf49c4f8f0b69c3f1e4d0a2f7b32cda8d6901d9c35447cc3482"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 3 commits
SRCREV = "1fbbe87e6d5dc84bff70bd90b71d07f9982a8bc3"

View File

@ -0,0 +1,3 @@
require qt5.inc
DEPENDS += "qtbase tiff"

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "9b88aa6f3888c7c7f5253c147ae4bf8f"
SRC_URI[sha256sum] = "a6a0454769566fec1757fb09b1f33c9fc70d4016acbb04ebc6e493ddedfef124"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 1 commits
SRCREV = "dde6daeccdf0a3f8d49fe1777b49046576b12218"

View File

@ -0,0 +1,4 @@
require qt5.inc
DEPENDS += "qtbase qt3d"
# qtsystems qtmultimedia

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "4de8ca8ac1a3e5db20a903286fb78840"
SRC_URI[sha256sum] = "9543fcdcab5cf02be60e395e8145e1ec87d03a3d1f129a0dde92102283a9b536"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 13 commits
SRCREV = "2ba9fd5550eb7766c20b3a61679e88ec4a6c8a54"

View File

@ -0,0 +1,17 @@
require qt5.inc
DEPENDS += "qtdeclarative alsa-lib"
PACKAGECONFIG ??= ""
PACKAGECONFIG[openal] = ",,openal-soft"
PACKAGECONFIG[gstreamer010] = ",,gstreamer gst-plugins-base"
do_configure_prepend() {
# disable openal test if it isn't enabled by PACKAGECONFIG
sed -i 's/^qtCompileTest(openal)/OE_OPENAL_ENABLED:qtCompileTest(openal)/g' ${S}/qtmultimedia.pro
# disable gstreamer-0.10 test if it isn't enabled by PACKAGECONFIG
sed -i 's/^\( *\)qtCompileTest(gstreamer) {/\1OE_GSTREAMER010_ENABLED:qtCompileTest(gstreamer) {/g' ${S}/qtmultimedia.pro
}
EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'openal', 'CONFIG+=OE_OPENAL_ENABLED', '', d)}"
EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gstreamer010', 'CONFIG+=OE_GSTREAMER010_ENABLED', '', d)}"

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "26dc22c59fbbad9fdf0699d5f887166a"
SRC_URI[sha256sum] = "62688cb7d8daa4d7050353fe39536c5edd97228a10185b9662a29b8c8cff1fa2"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 17 commits
SRCREV = "db7f7cc5654ddec60297259bc9f86f5f777749cd"

View File

@ -0,0 +1,4 @@
require qt5.inc
DEPENDS += "qtscript qtsvg qtxmlpatterns qtwebkit"
# qttools

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "6abbf131adffdf3cba63704d5d35f921"
SRC_URI[sha256sum] = "8b2bb3250b9e09a4c568069bc4c7cfeddbdcda50b24f0bfecc7f85df3120ff65"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 2 commits
SRCREV = "07d8ce32b1112dcb590c793ee51cb713e514011b"

View File

@ -0,0 +1,5 @@
require qt5.inc
DEPENDS += "qtdeclarative"
RDEPENDS_${PN}-dev = ""

View File

@ -0,0 +1,6 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "027bc7d05fe740b21284dc909c9f11ac"
SRC_URI[sha256sum] = "eb03a69402576984d588923e994c3cb672d8479ac9b68ed90da15d0c2fd82aac"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 15 commits
SRCREV = "1c54d411ad6e98c3779a412750aec8b93d587872"

View File

@ -0,0 +1,3 @@
require qt5.inc
DEPENDS += "qtbase"

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "b8af09bb297d4c62e64df5418fe99dc9"
SRC_URI[sha256sum] = "6621350d5eff65cb6f9853247246f30a2d4cdb465c14923ff7ccbd8c3a9cdefa"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 1 commits
SRCREV = "f89d64ca722acf4a1a38c5e136bb01eff2525978"

View File

@ -0,0 +1,3 @@
require qt5.inc
DEPENDS += "qtbase qtdeclarative"

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "045f98acba9fba0358a6a50356be0841"
SRC_URI[sha256sum] = "09403e7e088f30da828e452559a6904d7c43420d423a429d6529285f99b1e407"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 2 commits
SRCREV = "9a8319a39a06d6cf3163978301d650b8f3558c62"

View File

@ -0,0 +1,9 @@
require qt5.inc
# whitespace change in LGPL_EXCEPTION.txt and a bit different formating in LICENSE.LGPL
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c \
file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa \
file://LGPL_EXCEPTION.txt;md5=eb6c371255e1262c55ae9b652a90b528\
"
DEPENDS += "qtbase"

View File

@ -0,0 +1,5 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "2993ad7e92a0b6b41e3cb0e0e345d251"
SRC_URI[sha256sum] = "f5754e4ba61843b7dfdf946a91b7d857a5cb470608b840f92452e72f24c67347"

View File

@ -0,0 +1,6 @@
require qt5-git.inc
require ${PN}.inc
QT_MODULE_BRANCH = "release"
# v5.2.1 + 28 commits
SRCREV = "03546732fa696467d23b24224fad2822bc6a9043"

View File

@ -0,0 +1,3 @@
require qt5.inc
DEPENDS += "qtbase"

View File

@ -0,0 +1,6 @@
require qt5-${PV}.inc
require ${PN}.inc
SRC_URI[md5sum] = "3f5487fe2bd5024f18f63a8d0eb4294d"
SRC_URI[sha256sum] = "788f69557ff6d28073d6ef2b3300b42b987fba1d122f7884ba0269023cab44ef"

Some files were not shown because too many files have changed in this diff Show More