Commit graph

408 commits

Author SHA1 Message Date
Oliver Smith
aee2acaeb9
main/kernel-scripts: bump after openssl switch
Alpine switched from libressl to openssl in edge. And we're lucky, this
is the only package that needs to be rebuilt :)
2018-11-27 07:47:11 +01:00
Oliver Smith
82fb0a2d59
pmbootstrap: update to 1.0.3 2018-11-27 07:47:11 +01:00
pinoaffe
0188930f21
main/postmarketos-mkinitfs: iterate over all block devices and partitions in init_functions.sh:mount_subpartitions() 2018-11-27 07:47:11 +01:00
Attila Szöllősi
ea341e8b2f
Autodetect fstab column order and support flashing to e.g. userdata
Before, flashing was just possible to system / external_sd and not to
userdata ("data").
2018-11-27 07:47:11 +01:00
Pierre Parent
5db8fd724c
main/pmos-mkinitfs: wait for rootfs, framebuffer
Fix Nexus 5 (hammerhead) boot and framebuffer issues at startup by
waiting up to 10 seconds until the rootfs and /dev/fb0 have been
found. Waiting for the framebuffer device can be disabled by setting
deviceinfo_no_framebuffer=true in the deviceinfo.
2018-11-27 07:47:11 +01:00
Luca Weiss
ea0040efc1
pmos-android-recovery-install: copy mtk symlinks
Copy Mediatek /emmc@partitionname symlinks to the chroot. This is
needed on Mediatek devices because the fstab file references the
partitions using those symlinks (which the kernel creates - for
whatever reason - in the root directory) and otherwise we don't know
which partition is which.
2018-11-27 07:47:11 +01:00
Bart Ribbers
bd38a672bb
main/pmbootstrap: update to 1.0.2 2018-11-27 07:47:11 +01:00
PureTryOut
2d2e53e95b
maemo/hildon*: update to latest upstream versions 2018-11-27 07:47:11 +01:00
Luca Weiss
98c88bd9f6
Fairphone 1 support 2018-11-27 07:47:11 +01:00
Daniele Debernardi
9249bf2122
Add support to different deviceinfo variables in mainline/downstream subpackages 2018-11-27 07:47:11 +01:00
Robert Yang
da08bebb0b
devicepkg-dev: Make downstreamkernel_prepare callable from any folder
Removes the need to cd $builddir before calling downstreamkernel_prepare
in a kernel APKBUILD prepare function.
2018-11-27 07:47:11 +01:00
PureTryOut
2274c1326d
Remove internal qmltermwidget from index, resolves #111 2018-11-27 07:47:11 +01:00
Luca Weiss
272820674e
Initial audio support on FP2 2018-11-27 07:47:11 +01:00
Daniele Debernardi
632dac179d
chocolate-doom: Remove package 2018-11-27 07:47:11 +01:00
PureTryOut
9e7e7c4bc4
Add some new KDE applications 2018-11-27 07:47:11 +01:00
Bart Ribbers
c62b3642dc
Remove unnecessary source of /etc/deviceinfo 2018-11-27 07:47:11 +01:00
Daniele Debernardi
f1841337e7
apk-file: Remove package 2018-11-27 07:47:11 +01:00
Oliver Smith
ea45d2d4ed
devicepkg-dev: ship compiler-gcc.h for GCC8
We used to put a "compiler-gcc6.h" file inside every vendor kernel's
aport. This is redundant and only works with GCC6. With this patch,
a common "compiler-gcc.h" file will be used, that works independently
of the GCC version.

The file is from Decatf's android_kernel_samsung_p4 repository, where
it was taken from upstream Linux, but adjusted to work with older
vendor kernels (different #ifndef check at the top etc).

bd0772df21/include/linux/compiler-gcc.h
2018-11-27 07:47:11 +01:00
Pierre Parent
7dca9c4703
Fix hammerhead (Nexus 5) backlight. 2018-11-27 07:47:11 +01:00
Pierre Parent
45d4d7ec58
Remove CONFIG_SERIAL_MSM_CONSOLE from conf to avoid booting loops when no serial cable plugged in.
see https://gitlab.com/postmarketOS/pmaports/issues/105
partial revert of f2a27fc0df
2018-11-27 07:47:11 +01:00
Bart Ribbers
1303b77c08
Bump pkgrel of qt5-qtbase and libphonenumber to resolve soname 2018-11-27 07:47:11 +01:00
Oliver Smith
c2f57b050e
bump pkgrel 2018-11-27 07:47:11 +01:00
Sebastian Fleer
e7f828b07f
networkmanager: use built in dhcp client
Network Manager does not support dhcpcd with IPv6. Fixes issue #45
2018-11-27 07:47:11 +01:00
Daniele Debernardi
084663e6cc
linux-postmarketos-qcom: Enable serial console 2018-11-27 07:47:11 +01:00
Daniele Debernardi
e07a79aa5d
Add initfs hook which causes a kernel panic (useful for debugging) 2018-11-27 07:47:11 +01:00
Oliver Smith
dd17dc5c06
*/gcc6*: properly regenerate aports with aportgen
I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
1b78e64748
*/gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one
kernel. However, to make sure it works with all kernels, let's just add
symlinks for all the binutils.
2018-11-27 07:47:11 +01:00
Oliver Smith
7e89296ab4
*/gcc6*: bump pkgrel [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbef543cd
*/gcc6*: add objdump symlink [skip ci]
Without this symlink, lots of messages like this one appear while
compiling kernels:

/bin/sh: gcc6-armv6-alpine-linux-muslgnueabihf-objdump: not found
2018-11-27 07:47:11 +01:00
Oliver Smith
7bff136eea
main/gcc6: symlink for objcopy is also required
With this commit, pmbootstrap!1699 and a few changes in a linux aport,
it finally compiled successfully with gcc6 \o/

Details described in #103.
2018-11-27 07:47:11 +01:00
Oliver Smith
4101340742
main/gcc6: first changes for gcc6 cross compilers
* remove everything that causes conflicts when installing gcc6 and
  gcc6-armhf side by side
* fix up the existing "if cross compiling" code path to use the
  /usr/gcc6 prefix
* link binutils binaries to the locations they are expected to be
  by gcc (this took me hours to figure out....) as well as by the
  linux build system with CROSS_COMPILE
* link all gcc binaries to /usr/bin/gcc6-*
2018-11-27 07:47:11 +01:00
Oliver Smith
737cff798a
Add gcc6 aport
Based on the last version from Alpine, but installed to /usr/gcc6 and
with pretty much everything disabled except for the C compiler.

We can probably throw out a lot of patches, and make the APKBUILD much
smaller. But let's focus on making it possible to compile old kernels
again first. There's still a lot to do for that, see #103.
2018-11-27 07:47:11 +01:00
Pierre Parent
290bf810d4
main/qtwebbrowser: new aport (!16) 2018-11-27 07:47:17 +01:00
PureTryOut
81822748af Add pmbootstrap as package 2018-09-22 09:36:36 +00:00
Pierre Parent
87e3d17721
plasma-mobile: much nicer keyboard
Got the info from:
<https://developer.puri.sm/Environments/PlasmaMobile.html>
2018-09-17 07:52:21 +02:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Oliver Smith
d7e1a2fb6e
hildon: disable building x86 for all packages
If hildon-desktop doesn't build, then it doesn't make sense to build
the rest right now - and it's likely that this won't build either.
2018-09-14 09:12:38 +02:00
Oliver Smith
6e0781b7ab
main/postmarketos-demos, -ui-weston: disable x86
Weston does not build for x86, because it depends on libunwind. And
libunwind is not available in Alpine for x86. I've also tried to
simply enable x86 in libunwind, but it does not build out of the box.

In order to start building again for x86 at all, let's disable weston
and all packages that depend on it on for now.
2018-09-14 08:52:36 +02:00
Oliver Smith
ee8481e11d
main/libphonenumber: bump pkgrel (soname bump)
so:libprotobuf.so.15 does not exist anymore in Alpine edge
2018-09-04 09:00:57 +02:00
Oliver Smith
a9bca26633
main/linux-postmarketos-*-dev: fix kernel-scripts
When cross compiling, the kernel scripts would be in the native arch
again. That was already fixed in !1234, however the mime type of the
binaries has changed, so we couldn't detect them properly anymore
(#1659).

This commit fixes it again, and also adds a checks so this won't
silently fail in the future.

[skip ci] because this would not run through anyway (building these
packages takes too long). Fixes #1659.
2018-09-04 09:00:57 +02:00
Oliver Smith
67ecea3e25
main/postmarketos-ui-plasma-mobile: bump pkgrel 2018-09-04 09:00:57 +02:00
Jonah Brüchert
779ac2fd7e
Add aport for angelfish 2018-09-04 09:00:57 +02:00
Krait Bosheit Takoj
175645e74b
Update APKBUILD 2018-09-04 09:00:57 +02:00
C0rn3j
6f4bca13bd
make FDE set_passwd notice more flashy 2018-09-04 09:00:57 +02:00
Oliver Smith
dabc26f1c6 linux-pmos: update stable to 4.18.4, mainline to 4.18
[skip ci]
2018-08-23 03:16:34 +02:00
Oliver Smith
925c79e0bd main/libphonenumber: bump pkgrel (soname bump) 2018-08-17 00:35:41 +02:00
Martin
f508cf14b7 recovery zip: support twrp.fstab filename in addition to recovery.fstab (fix for compatibility with TWRP on sony-yuga) 2018-08-16 21:21:45 +00:00
Oliver Smith
9d9d47f04f main/libphonenumber: pkgrel bump
Rebuild libphonenumber, because a soname it depends upon does not exist
anymore: so:libboost_system-mt.so.1.66.0
2018-08-14 04:30:21 +02:00
Marti Raudsepp
ce5a83b978 Add initramfs error message when charging-sdl fails to run
There are devices where charging-sdl/directfb fails (osk-sdl#77).

It's nicer to give an error message than display "Loading..." forever.
2018-08-14 02:02:13 +00:00
NotKit
c5dc9bdba7 Change default user uid to 10000 2018-08-02 20:10:56 +00:00
Grant Miller
b74bf01597 Detect androidboot.bootchg=true
Observed on Samsung Galaxy S4
2018-07-29 17:54:16 -05:00
joshas
1e498ea62a Copy directfbrc config to initfs-extra image 2018-07-28 15:25:47 +03:00
Oliver Smith
c938899431 main/kernel-scripts,temp/weston: don't build x86
They don't build for x86 (in case of weston, because the dependency
libunwind does not exist for x86).
2018-07-22 23:57:39 +02:00
Oliver Smith
3d6da2e4da s/system partition/rootfs: fix remaining mentions
Follow-up to !1373, where `pmbootstrap flasher flash_system` was
replaced with `pmbootstrap flasher flash_rootfs`. We still had used
terms like "system partition" in a lot of places.

This commit replaces it everywhere, so it's clear that we're talking
about the pmOS rootfs (which may or may not be installed to Android's
system partition).
2018-07-15 23:41:31 +02:00
Oliver Smith
095f076659 Merge branch 'qemu-mouse-fixes' into 'master'
Enable hypervisor guest and vmmouse configs for linux-postmarketos x86_64

See merge request postmarketOS/pmbootstrap!1615
2018-07-08 21:39:20 +00:00
Oliver Smith
046bcb7728 main/linux-postmarketos-stable: pkgrel=1 [skip ci] 2018-07-08 21:31:30 +00:00
Oliver Smith
d48f90785a main/linux-postmarketos-mainline: pkgrel=1 [skip ci] 2018-07-08 21:30:38 +00:00
Oliver Smith
987d9c735d Move aports forked from Alpine to aports/temp
Also remove the py-requests, as the version has been updated in Alpine.

Close: #1603
2018-07-06 22:34:38 +02:00
Oliver Smith
51b3c87423 Use Alpine's QEMU rather than host system QEMU (v2) 2018-07-06 19:50:59 +00:00
Oliver Smith
295c3e092a Revert "Merge branch 'alpine-qemu' into 'master'"
This reverts merge request !1612
2018-07-05 17:25:14 +00:00
Oliver Smith
ab4ff21b1e Merge branch 'alpine-qemu' into 'master'
Use Alpine's QEMU rather than host system QEMU

See merge request postmarketOS/pmbootstrap!1612

See also:
https://wiki.postmarketos.org/wiki/Troubleshooting:QEMU

Closes #1150
Closes #543
2018-07-05 17:09:29 +00:00
ryang
8957ce8c3b linux-postmarketos: Enable hypervisor and vmmouse configs for x86_64
The vmmouse driver makes the guest mouse as smooth as native. It is enabled
when running under a hypervisor such as kvm.
2018-07-04 14:11:47 -04:00
ryang
fb32c684ab linux-postmarketos-stable: regenerate configs for 4.16.0-rc6 2018-07-04 14:11:45 -04:00
ryang
7a06206b24 linux-postmarketos-mainline: regenerate configs for 4.16.2 2018-07-04 14:11:44 -04:00
Daniele Debernardi
758c056002 devicepkg-dev kernel prepare function 2018-07-02 00:12:49 +00:00
ryang
b856667d8f main/qemu: Override the pkver of upstream Alpine Linux. 2018-07-01 19:39:00 -04:00
ryang
a1c77ff5f9 main/qemu: Load modules from QEMU_MODULE_PATH env variable 2018-07-01 19:38:58 -04:00
ryang
1be6257820 main/qemu: enable virglrenderer 2018-07-01 19:38:55 -04:00
ryang
7f40954077 main/qemu: Import qemu aport from upstream Alpine Linux
commit:
https://git.alpinelinux.org/cgit/aports/commit/?id=f2abbe83ab2dcb11c6a60cc57e8afdc8ee812d18
2018-07-01 19:38:53 -04:00
Martijn Braam
9771426a39 Updated references for github to gitlab 2018-06-30 16:08:43 +02:00
Oliver Smith
a31244d28a Remove github.com references
* Travis and Coveralls badges
* aports: instead of <https://github.com/postmarketOS>, use
  <https://postmarketos.org>
* References to full URLs to issues and pull requests replaced with
  a hash and the number
* grsec check: simplify error message, remove link to github issue
  (nobody is using that anymore anyway)
2018-06-30 09:00:48 +02:00
Oliver Smith
9a30d85be0 osk-sdl: Update to 0.52 (#1395)
The code got refactored. Updating the version used in pmbootstrap, so
it does not diverge too much.
2018-06-25 20:59:33 +00:00
Bhushan Shah
0e3f710b86 main/postmarketos-base: Disable randomizing mac address while scanning
While this feature is nifty, it doesn't really work with most mobile
wireless drivers. Wireless drivers decide to go in "weird" state when
the mac address changes at runtime.

I remember talking to someone in IRC about this and getting it disabled.
not sure how this ended up here.

See: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1681513

This option is not working with most of the wireless drivers normally.
For example e.g it doesn't really play nice with one of my laptop's
wireless driver.
2018-06-25 22:53:22 +02:00
Oliver Smith
e91d2f7ba3 Don't run dhcpcd on the raspberry pi (#1580)
Adds deviceinfo_disable_dhcpcd and sets it to true for the pi.

Related: #1547.
2018-06-21 21:10:12 +00:00
Oliver Smith
0921c2eaf1 Fix conflict with mkbootimg and android-tools (#1557)
Alpine ships `mkbootimg` with the `android-tools` package now. This
conflicts with the `mkbootimg` fork from osm0sis (see #441).

Changes:
* Rename `mkbootimg` to `mkbootimg-osm0sis` (aport and binary name)
* `mkbootimg-osm0sis`: provides `mkbootimg` now (so we don't need to
  change all the device aports), update version to 2018.05.10
* Adjust our `mkinitfs` script to call `mkbootimg-osm0sis`
* Better aport description
* pkgrel_bump testcase: don't fail on deleted aport
2018-06-17 21:26:34 +00:00
Bart Ribbers
35be4c17e5 Switch mesa and libdrm back to Alpine's repos (#1560)
Both Mesa and libdrm are now newer in Alpine's repos than in ours,
so we can safely remove these again.
2018-06-13 22:25:48 +00:00
steamport
aff6137268 menuconfig: add gconfig/xconfig support (#1509)
* change "pmbootstrap kconfig_check" to "pmbootstrap kconfig check"
* change "pmbootstrap menuconfig" to "pmbootstrap kconfig edit [-x|-g]"
  (with legacy alias, because the first syntax was referenced to a lot)
* enable X11 interfaces: -x: xconfig, -g: gconfig
* new function to copy the xauthority file:
  pmb.chroot.other.copy_xauthority()
* remove menufconfig() function from the kernel template and all kernel
  aports ([skip ci] because it would rebuild all kernels and run out of
  time). Alpine has dropped this as well, and it wouldn't work with the
  new code anyway.
2018-06-09 06:52:24 +00:00
Oliver Smith
d6b53de2e3 main/qt5-qtwebchannel: remove
This was forked from Alpine, but it's no longer necessary.

Close #1530
2018-06-04 23:03:08 +02:00
Bhushan Shah
0d39be5065 aport/main: Add aport for telepathy-ofono (#1512)
Plasma Mobile uses the telepathy-ofono through telepathy,
telepathy-ofono was developed by canonical for ubuntu touch and it is
also used by dialer-app of ubports.

telepathy-ofono is alternative to telepathy-ring.
2018-06-01 21:19:47 +02:00
Bhushan Shah
ff29f3a7db aports/main: Introduce ofono-qt aport (#1512)
This is basically too old stuff from meego times, and is added only
because telepathy-ofono needs it for now, I will talk with ubports
people to get telepathy-ofono ported to libqofono so we can dump this 6
year old unmaintained library.

(patches to make it build with qt5 and modern compiler are taken from
ubuntu packaging)
2018-06-01 21:19:43 +02:00
Bhushan Shah
215bc53a00 aports/main: Add the aport for telepathy-mission-control-5 (#1512)
This is used by the telepathy-ofono/telepathy-ring to provide the
telepathy account which is in turn used by plasma mobile dialer to do
telephony.
2018-06-01 21:19:39 +02:00
Bhushan Shah
3df962da7a aport/main: Add aport for libphonenumber (#1512)
libphonenumber is used by the telepathy-ofono, it is library by Google
to parse, format and validate international phone number
2018-06-01 21:19:35 +02:00
Mayeul Cantan
71010f6d73 Add charging mode detection for kylevess (#1526)
As documented here:
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Trend_lite_(s7390g)

This might be set on other devices as well. This patch also bumps
postmarketos-mkinitfs one minor version.
2018-06-01 12:36:05 +02:00
Oliver Smith
cca32f2610 Only use gtk+2.0-maemo for Hildon (#1445) 2018-05-28 22:12:01 +00:00
yangxuan8282
05c583cced add some plugins for postmarketos-ui-xfce4 (#1503)
* add some plugins for postmarketos-ui-xfce4
* make start_xfce4.sh start xfce4 properly and add related dependencies
2018-05-21 17:53:29 +02:00
Bhushan Shah
01af1c2834 main: Add aport for libqofono (#1502)
libqofono provides the Qt/QML bindings for the ofono, and are used by
Plasma Mobile and nemo/sailfishos.
2018-05-18 10:45:55 +05:30
Bhushan Shah
e911489338 main/linux-postmarketos-qcom: Disable the sample qmi and rpmsg clients (#1485)
This was done for testing locally and is not needed for any
functionality, it managed to slip into the initial qcom kernel package,
but it is not needed.
2018-05-16 23:12:56 +02:00
Bhushan Shah
9edb856684 main/linux-postmarketos-qcom: Turn the remoteproc drivers into modules (#1485)
Upstream suggests to keep remoteproc drivers as modules given they
require the firmware files to be present when they are probed, instead
of putting required firmware files in initramfs due to size
restrictions. We make these drivers modules and load them from
userspace.
2018-05-16 23:12:45 +02:00
Daniele Debernardi
d5a12b1f0f [samsung-klte] Add mainline kernel (linux-postmarketos-qcom) (#1479)
Changes:
* device-samsung-klte with both downstream and mainline kernel
  subpackages
* linux-postmarketos-qcom updated to last commit

What works in mainline kernel:
* internal SD card
* volume and home key buttons
* usb network
2018-05-13 19:47:32 +00:00
Oliver Smith
89be40d875 main/weston: disable backend-rdp 2018-05-13 00:23:00 +02:00
Duncan Guthrie
77b61a05ba matchbox: miscellaneous fixes (#1475) 2018-05-10 21:45:25 +00:00
Luca Weiss
b65ae44275 main/weston: add patch for compilation with freerdp 2.0.0-rc2 (#1480) 2018-05-10 19:53:15 +00:00
Oliver Smith
95ba4c51b9 main/weston: fix build
This makes weston build again on x86_64. (It still won't build for
armhf and aarch64, because Alpine's mesa binary package is currently
stuck there, I'll look into that as well.) Detailed fixes:

1. New makedepends needed, because mesa-libwayland-egl does not exist
   anymore (see Alpine's aports commits 257a236 and 4f8b36b):
     wayland-libs-egl wayland-dev
   This fixes configure errors:

checking for EGL_TESTS... no
configure: error: Package requirements (egl glesv2 wayland-client wayland-egl) were not met:

Package 'wayland-client', required by 'virtual:world', not found
Package 'wayland-egl', required by 'virtual:world', not found

2. Disable RDP backend, because Weston source is incompatible with
   freerdp 2.0.0. This avoids compilation errors like this one:

libweston/compositor-rdp.c:193:5: error: 'SURFACE_BITS_COMMAND {aka struct _SURFACE_BITS_COMMAND}' has no member named 'bpp';
2018-05-10 20:42:11 +02:00
Oliver Smith
e96e183cad main/weston: bump pkgrel after soname bump
This doesn't exist anymore: so:libfreerdp.so.1.2
2018-05-10 00:17:11 +02:00
Oliver Smith
2864fa2bbf main/weston: bump pkgrel (soname bump)
This doesn't exist anymore: so:libfreerdp.so.1.2
2018-05-08 23:33:33 +02:00
opendata26
758b05e1f3 main/linux-postmarketos-qcom: update to latest revision (#1472)
* main/linux-postmarketos-qcom: update to latest revision
2018-05-07 00:02:47 +02:00
Martijn Braam
c813b146b6 linux-postmarketos-qcom: Remove composite usb gadget for networking (#1462)
* linux-postmarketos-qcom: Remove composite USB gadget
* linux-postmarketos-qcom: Fix usb networking
- Enable functionfs so we're able to actually configure the USB
  networking
- Enable the USB serial console for convenience, although not enabled by
  default pre-composed configuration
2018-05-06 22:34:17 +02:00
Martijn Braam
c8616eb683 main/postmarketos-artwork-wallpapers: Added the grass wallpapers (#1471) 2018-05-06 14:12:20 +00:00
Daniele Debernardi
38102885f5 [ui-weston] Set postmarketos artwork as default wallpaper (#1466) 2018-05-05 14:27:13 +00:00
Daniele Debernardi
5f2a577cff [ui-mate] Set postmarketOS artwork as default wallpaper (#1452) 2018-05-05 14:04:12 +00:00