Commit graph

1385 commits

Author SHA1 Message Date
Robert Yang
5aa8866347
android-recovery-installer: Use an explicit list of zip file contents (!324)
The working directory can contain other files. For example pmbootstrap uses
the same directory for generating android recovery zip files. Extra files
can end up being archived into the recovery zip.

This change explicitly passes the list of files to be archived.
2019-04-18 21:10:21 +02:00
Oliver Smith
db9611cdab
py3-brotlipy: bump pkgrel after soname bump
Library doesn't exist anymore, so we need to rebuild the package:
so:libpython3.6m.so.1.0
2019-04-18 20:49:58 +02:00
Betty Cooper
4c42992532
main/postmarketos-artwork-wallpapers: new wallpaper (!320)
Use new wallpaper instead of the old one, and only install one wallpaper
file.
2019-04-18 20:34:40 +02:00
Bart Ribbers
3d0b44dded
kde/frameworks*: update to 5.57 (!317)
Built and tested on x86_64, everything works as expected.

[ci:skip-build]: ollieparanoid made sure, that this builds for all
                 relevant arches. With crossdirect, so that means it is
                 pretty stable now \o/
2019-04-15 21:38:24 +02:00
Luca Weiss
de62525708
temp/weston: remove (!319)
Pull request was merged upstream
2019-04-15 21:20:10 +02:00
Luca Weiss
517e93edc0
temp/lightdm: remove (!319)
Pull request was merged upstream
2019-04-15 21:20:04 +02:00
Alexander Polynomdivision
8a58003d56
samsung-herolte: fix wifi firmware path (!316)
This patches the path that the kernel tries to load the Wifi chip's
firmware from. If someone with an Galaxy S7 Edge would test this -
although I have no reason to believe that it would not work on the Edge
- then this patch could also be applied to the linux-samsung-hero2lte
package.

[ci:skip-build]: already built successfully in CI
2019-04-15 20:28:26 +02:00
Oliver Smith
1031ff82a6
CI: enable crossdirect again
All bugs should be ironed out now. Let's get some more testing by
enabling crossdirect in CI again. The crossdirect feature is still only
in pmbootstrap master, not in the latest pmbootstrap release. But if it
works without problems for some time, we're ready to make a release.

This reverts commit 6e3252e401.
2019-04-14 04:11:01 +02:00
Oliver Smith
2c07f28419
cross/crossdirect: use qemu when linking (!318)
Cross linker (e.g. ld from binutils-armhf) does not support any method
of setting additional link paths, and this causes problems when building
various packages. Work around this problem by calling the qemu binary
instead of the cross binary from the native chroot, whenever we are
linking.

I have tested that this allows successfully building hello-world,
coreinfo, libhybris for armhf. So this fixes #227 and fixes #228.

Regarding performance, this is the same way as distcc does it. We would
get a performance gain if we were able to use the cross-linker. But so
far I could not figure out how to patch the binutils source to make it
work like we want to have it. Maybe I'll ask on some binutils mailing
list for advice. In the meantime, this workaround should make
crossdirect work for all use-cases, and it is still faster than the
previous distcc setup, because we can avoid the overhead of setting up
and running a ssh server locally to work around missing authentication
in distcc (see pmbootstrap!1649). Let's test this for some more time,
and then make a pmbootstrap release that rolls out crossdirect for
everyone.
2019-04-14 04:03:21 +02:00
Federico Amedeo Izzo
6b9ef9fda0 nokia-n900: The power button suspends the device in i3. (!313)
With this patch the power button (the one you use to turn it on)
suspends the device. This should allow to save more energy with respect
to just turning the screen off (slider button).

I tested myself on Nokia N900.

[ci:skip-build]: already built successfully in CI
2019-04-12 23:00:02 +00:00
Alexander Polynomdivision
eadb61205e
device-samsung-herolte: new device (Samsung Galaxy S7) (!314)
This is basically just the packages for the Galaxy S7 Edge (hero2lte).
I only needed to change a few Kernel config options, so that the
colors are displayed correctly. The options regarding
CONFIG_PANEL_S6E3HF4_WQHD and CONFIG_PANEL_S6E3HA3_DYNAMIC probably
solve this issue, but I modified the other options as well. I got the
differences by diffing:
arch/arm64/configs/exynos8890-{hero2lte,herolte}_defconfig

Booting, USB networking and the display work! I can't say anything about
flashing via heimdall as this tool scares me. Following what WilliamO7
wrote on the device page, I flashed it by sideloading the android
recovery zip.

[ci:skip-build]: already built successfully in CI
2019-04-13 00:25:10 +02:00
Robert Yang
77706b3b73
temp/qemu: Override upstream qemu package version (!312)
[ci:skip-build]: won't finish in time
2019-04-12 23:17:29 +02:00
Robert Yang
3f05e11467
temp/qemu: Link qemu static against jemalloc (!312)
Work around for issue #1715

Link qemu static binaries to jemalloc. This malloc implementation does not
appear to be susceptible to the deadlock after fork issue.
2019-04-12 23:16:37 +02:00
Robert Yang
1ec81fcdfe
temp/qemu: Package for x86 and x86_64 only (!312)
This is package is meant to work around the qemu static deadlock while
cross-compiling.

- pmbootstrap binfmt_misc chroots on arm hosts are untested
- upstream jemalloc package has armv7 disabled. It is uncertain what is
  wrong with jemalloc for armv7.

For these reasons, disable the arm packages.
2019-04-12 23:16:37 +02:00
Robert Yang
ea072f89f5
temp/qemu: Import qemu from upstream aports (!312) 2019-04-12 23:16:26 +02:00
Robert Yang
d4a468c24a
temp/jemalloc: Package for x86 and x86_64 only (!312) 2019-04-12 23:14:45 +02:00
Robert Yang
d6fdf52351
temp/jemalloc: Import jemalloc from upstream aports unmaintained repo (!312)
Taken from upstream aports @ 7af8be0e7aab4a5fe4315fb162850fad66aa7cb0
2019-04-12 23:14:38 +02:00
Robert Yang
24814b2ccb
xf86-video-opentegra: Compositing improvements (!311)
Includes pull request 51 from upstream.

[ci:skip-build]: already built successfully in CI
2019-04-12 01:03:28 +02:00
Robert Yang
e66967c06e
libdrm-grate: Caching improvements (!311)
Includes pull request 43 from upstream.
2019-04-12 01:02:57 +02:00
Robert Yang
e752240ee7
libvdpau-tegra: Fix drawing problems on tegra30 (!311) 2019-04-12 01:02:52 +02:00
Luca Weiss
a169c1335a
all: remove install scripts from source (!310) 2019-04-12 00:38:38 +02:00
Martijn Braam
9b88689b9d
new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
Oliver Smith
9b6ea60690
cross/musl-*: update to 1.1.22-r0 2019-04-11 23:48:26 +02:00
Oliver Smith
467338098e
temp/libical: fix db.h: No such file or directory
Fix kcalcore build error. The same fix has been submitted to Alpine.

In file included from /home/pmos/build/src/kcalcore-18.12.3/src/icalformat.cpp:45:
/usr/include/libical/icalss.h:492:10: fatal error: db.h: No such file or directory
 #include <db.h>
          ^~~~~~

Related:
* https://gitlab.com/postmarketOS/pmaports/issues/229
* https://github.com/alpinelinux/aports/pull/6986
2019-04-08 21:55:12 +02:00
Bart Ribbers
40c126b925
kde/plasma*: upgrade to 5.15.4 (!298)
[ci:skip-build]: ollieparanoid made sure that this builds for x86_64,
                 armhf, armv7, aarch64
2019-04-08 21:12:15 +02:00
Oliver Smith
de7e9c1456
kde/kcalcore: rebuild after soname bump
missing depends: so:libical.so.2, so:libicalss.so.2, so:libicalvcal.so.2
2019-04-08 21:10:49 +02:00
km2
2e9beef9f2
samsung-i9003: support gcc8 (!307)
This patch forces the kernel to compile with gcc8 and includes by
default INSTALL_MOD_STRIP=1.
2019-04-08 20:45:42 +02:00
Tadeo Kondrak
1c4980bda5
htc-m7: new device (HTC One M7) (!306)
usb networking works

echo 100 > /sys/devices/platform/msm_fb.590593/leds/lcd-backlight/brightness
cat /sys/devices/virtual/graphics/fb0/modes > /sys/devices/virtual/graphics/fb0/mode

to get screen working

[ci:skip-build]: already built successfully in CI
2019-04-08 20:40:24 +02:00
Martin Piatka
e4aa322e33
htc-ace: switch to armv7 (!304)
Switches htc-ace to armv7. I was able to boot to xfce and everything
seemed to work fine.

[ci:skip-build]: already built successfully in CI
2019-04-07 16:06:53 +02:00
Martin Piatka
7e742e2ca3 firmware/firmware-aosp-broadcom-wlan: add armv7 arch (!303) 2019-04-06 21:12:51 +02:00
Oliver Smith
3928475fd6 cross/grub-efi-x86: update to 2.02-15 (!302) 2019-04-06 01:30:29 +02:00
Oliver Smith
dfebf60c9b CI: upstream compatibility: add grub-efi-x86 (!302)
Make sure we keep it in sync with Alpine's version.
2019-04-06 01:29:32 +02:00
Alexey Min
fb784b6236
hybris/*: enable building for armv7 (!297)
[ci:skip-build]: simple arch change, building will probably take too
                 long
2019-04-06 00:29:55 +02:00
Oliver Smith
6e3252e401 CI: disable crossdirect for now (!301)
Disable it, until more bugs are ironed out (see pmaports issues,
everything related to crossdirect that is still open). Will be enabled
again soon.
2019-04-06 00:17:55 +02:00
rahmanshaber
8a22cce65e
coreapps/*: update to 2.5.0 (!296)
[ci:skip-build]: already built successfully in CI
2019-04-04 23:42:38 +02:00
Nick Reitemeyer
39971739fa
surftab-wintron7.0: new device (TrekStor Surftab wintron 7.0) (!290)
This device is x86_64 and has a 32-bit UEFI, so I need to install
32-bit grub (AFAIK it's the only bootloader capable of loading a 64-bit
kernel from 32-bit).

The grub-efi-x86 package has been generated with pmbootstrap.
2019-04-04 19:58:24 +02:00
Oliver Smith
9bf7948303 pmaports.cfg: bump version (!299) 2019-04-03 21:26:12 +02:00
Oliver Smith
958f597a6c cross/crossdirect: use ccache, execve, -Werror (!299)
Instead of running compilers directly, let them go through the native
ccache binary. Note that it will still use the foreign arches cache dir
because the native cache dir would be at /native/home/pmos/.ccache.

Use execve instead of setenv and execv, because that didn't work with
LD_LIBRARY_PATH (ccache was complaining that it couldn't load zlib).

Enable -Werror, because we are maintaining this program and it helps
us catching bugs early.
2019-04-03 21:26:12 +02:00
Oliver Smith
9c90da7969 ccache-cross-symlinks: all arches, relative, clang (!299)
Create symlinks for all supported arches (armhf, armv7, aarch64, x86_64,
x86), not only armhf and aarch64. Skip creating symlinks for the arch
that the package gets built for, so we can include x86_64 in the list
without conflicting with the ccache package from Alpine.

Link to ../../../bin/ccache instead of /usr/bin/ccache, so it works
properly with crossdirect (where we mount the native chroot to /native
in the foreign chroot).

Add symlinks for clang and clang++.
2019-04-03 21:26:12 +02:00
Oliver Smith
f540943f0c
main, unity8: bump pkgrels after boost upgrade
$ pmbootstrap pkgrel_bump --auto
Increase 'libphonenumber' pkgrel (5 -> 6), missing depend(s): so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'unity-system-compositor' pkgrel (0 -> 1), missing depend(s): so:libboost_system-mt.so.1.67.0
Increase 'trust-store' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'process-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_iostreams-mt.so.1.67.0
Increase 'mir' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_iostreams-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'location-service' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'ubuntu-download-manager' pkgrel (0 -> 1), missing depend(s): so:libboost_log-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'dbus-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0

[ci:skip-build]: I doubt that this would finish in time
2019-04-03 21:25:34 +02:00
Luca Weiss
40d110fcc9 Change default NetworkManager DHCP client to dhcpcd (!278)
Remove the override in ouya-ouya (and in postmarketos-base) and add an
override for raspbery-pi3

Fixes #210
2019-03-29 14:53:47 +01:00
Federico Amedeo Izzo
97fd10aed4
oneplus-bacon: fix incorrect framebuffer refresh rate in Xorg (!294)
After this patch is applied, the phone boots in Xorg UIs like XFCE.

[ci:skip-build]: already built successfully in CI
2019-03-29 10:19:38 +01:00
Federico Amedeo Izzo
1ee8db41db samsung-klte: fix swapped red and blue (!291)
The problem behind swapped red and blue is inverted byte order in
framebuffer driver pixel format.
This patch sets the correct byte order in the framebuffer driver,
solving the swapped red and blue problem.

[ci:skip-build]: already built successfully in CI
2019-03-29 07:23:27 +00:00
Bart Ribbers
e3b1796552
kde/powerdevil: fix libexec install path (!293)
Change the patch to reflect expected location in
plasma-phone-components.

[ci:skip-build]: already built successfully in CI
2019-03-29 08:12:23 +01:00
Jakub Strzelecki
b19509a8fa
motorola-montana: new device (Motorola Moto G5s) (!286)
Initial starting point to get the device booting. The downstream kernel
repository can be improved, see discussion in the merge request.

[ci:skip-build]: already built successfully in CI
2019-03-29 08:04:13 +01:00
silver
568e035837 galaxy s relay support 2019-03-28 20:51:18 +00:00
Luca Weiss
874a309eed fairphone-fp2: fix swapped red and blue (!292)
Fixes the problem described in #211
2019-03-28 15:06:54 +00:00
Danct12
95198e12e9
xiaomi-santoni: use msm-3.18 upstream kernel (!289)
device-xiaomi-santoni: use mdss-fb-init-hack to refresh the display, and
swapfile to fix "out of memory" when loading proprietary blobs.

I have tested the kernel, USB Networking, Display, USB OTG, Wi-Fi (with
proprietary blobs) works fine, through I haven't figured out how to get
Bluetooth and among of other stuff to work. Audio works. For more
information on how to get Wi-Fi and Audio to work, check out the wiki
page for this device, I have updated it.

[ci:skip-build]: already built successfully in CI
2019-03-26 23:21:06 +01:00
Oliver Smith
c6aae11598
cross/musl-*: update to 1.1.21-r2 2019-03-26 23:19:56 +01:00
Mis012
481bd4493b
asus-me176c: update kernel repository name (!251)
[ci:skip-build]: building takes longer than one hour
2019-03-25 09:50:30 +01:00