Commit graph

1847 commits

Author SHA1 Message Date
Martijn Braam
751f109220
main/postmarketos-welcome: upgrade to 0.6.0 (MR 3392) 2022-08-31 16:57:43 +02:00
Bart Ribbers
4d8d989202
main/postmarketos-ui-plasma-desktop: add maliit-keyboard to _pmb_recommends (MR 3388)
Although qt5-qtvirtualkeyboard is used by SDDM, in a Plasma session
itself maliit-keyboard is used instead

[ci:skip-build]: already built successfully in CI
2022-08-28 23:13:20 +02:00
Martijn Braam
798cef69b5
main/powersupply: drop aport (MR 3383)
This package is now in Alpine
2022-08-25 13:10:11 +02:00
David Wronek
2e11baa90d
main/postmarketos-base: Add alpine-release to replaces (MR 3372)
Upstream changed the alpine-base package. Conflicting files are now in
alpine-release instead of alpine-base.
2022-08-20 21:47:39 +02:00
Dylan Van Assche
2bb6c15cbd
main: bootmac: new pmaport (MR 3360)
Bootmac configures the MAC addresses of WLAN and Bluetooth interfaces at boot.
Bootmac can be invoked in various ways at boot, but currently only udev rules are tested.
Bootmac generates MAC addresses from the `serialno` provided by Android bootloaders
through /proc/cmdline or from /etc/machine-id. The Organizationally Unique Identifier (OUI)
is retrieved from a lookup database macdb by matching deviceinfo_manufacturer
from /etc/deviceinfo with the entries in the database.

See https://gitlab.com/postmarketOS/bootmac
2022-08-19 09:35:45 +02:00
Johannes Marbach
ce053e7179
main/unl0kr: upgrade to 0.2.0_git20220817 (MR 3366) 2022-08-18 12:31:45 +03:00
Anri Dellal
3e677782ab
main/postmarketos-ui-weston: hide for downstream kernels (MR 3367)
Weston doesn't have fbdev backend anymore,
so hide it in pmbootstrap init to avoid
confusion.
2022-08-18 12:14:56 +03:00
Bobby The Builder
b341018d89
main/posmarketos-mkinitfs: add -f parameter to parted (MR 3355)
[ci:skip-build]: already built successfully in CI
2022-08-15 17:42:39 +02:00
Oliver Smith
d34f9020da
gcc4, gcc6: rebuild against latest isl (MR 3343)
Bump the pkgrel of gcc4 and gcc6, and regenerate the cross/* versions
with "pmbootstrap aportgen gcc6-armv7" etc.

Should fix these errors:
  Error loading shared library libisl.so.22: No such file or directory (needed by /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1)
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_union_map_free: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_map_from_pw_aff: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_schedule_from_domain: symbol not found
  ...

Related: 54749a5222
[ci:skip-build]: already built successfully in CI
2022-08-05 09:10:00 +02:00
Clayton Craft
d12a0772d5
main/boot-deploy: upgrade to 0.6 (MR 3297) 2022-07-27 08:57:02 +02:00
Anton Bambura
feb91937c1
main/postmarketos-mkinitfs: support mounting with UUIDs (MR 3298) 2022-07-24 16:58:55 +02:00
Anton Bambura
d14ca29400
main/postmarketos-update-depthcharge-kernel: new aport (MR 3290) 2022-07-23 22:07:18 -04:00
Laar3
fca17c6e08 postmarketos-mkinitfs: add option to disable splash (MR 3305)
Add PMOS_NOSPLASH as a kernel command line option to disable
the splash screen to show the logs on the screen for debugging.

See https://wiki.postmarketos.org/wiki/Initramfs_development
on how to use it.
2022-07-23 17:51:37 +00:00
Dylan Van Assche
a3f7bf3e1a
main/postmarketos-base: use setup-devd (MR 3302)
Alpine does not use setup-udev anymore and provides the same
functionality through setup-devd. The setup-udev script was deleted [1]
but postmarketos-base still used it and caused pmbootstrap to fail when
building a device image. Use the rc-service setup directly from
setup-devd.

[1] b56c4c2b9d
2022-07-20 10:05:27 -04:00
Oliver Smith
e6fc18b008
main/postmarketos-ui-*: recommend postprocessd (MR 3292)
Adjust UIs that pre-install megapixels (not megapixels-gtk3) to also
recommend using postprocessd. This pulls in opencv, but overall improves
the usability of megapixels a lot so it seems worth installing by
default.

[ci:skip-vercheck]: _pmb_recommends doesn't need a pkgrel bump
2022-07-17 20:16:05 +02:00
Oliver Smith
aa996d27b0
main/postmarketos-ondev: upgrade to 0.8.1 (MR 3280) 2022-07-11 08:32:04 +02:00
Harry Austen
affa4d24d2
main/qca-swiss-army-knife: new aport (MR 3266)
qca-swiss-army-knife contains a number of utilities to help and debug
Qualcomm Atheros wireless driver development.
2022-07-05 18:37:52 +02:00
Newbyte
469acb86b4
main/msm-firmware-loader: use separate repo as source (MR 3260)
Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1292
2022-06-29 08:07:53 +02:00
Oliver Smith
3a964003e7
main/postmarketos-welcome: upgrade to 0.5.1 (MR 3249) 2022-06-29 07:59:20 +02:00
Shinjo Park
ef0f70f9d7
main/tizen-mkdzimage: new aport (MR 3247)
dzImage generation tool for Tizen devices. The same dzImage format is
used in all Samsung's Tizen devices (Spreadtrum, Qualcomm, Exynos), so
we pick the latest script from the Tizen's Exynos kernel package.
2022-06-22 10:24:07 +00:00
Richard Acayan
e07d1716cd
main/make-dynpart-mappings: upgrade to 10.2.4 (MR 3244) 2022-06-22 09:29:36 +02:00
Richard Acayan
20c7501b50
main/postmarketos-mkinitfs: resize_root_partition: resize dm-* devices (MR 3216)
Prior to this commit, the initramfs was unable to resize the root
partition if it was on a device backed by the device mapper. This commit
fixes that now that it is possible for the root partition to lie on a
device mapper device.
2022-06-16 10:12:07 +02:00
Oliver Smith
f7b5c3bed2
main/postmarketos-release-upgrade: upgrade to 1.2.1 (MR 3237) 2022-06-15 13:09:46 +02:00
Oliver Smith
cc5a379809
main/postmarketos-ui-sxmo-*: fix _pmb_recommends (MR 3236)
gnome-icon-theme has been dropped in alpine edge in favor of
adwaita-icon-theme. Adjust the _pmb_recommends of the Sxmo UI packages.

Fix for:
  package 'gnome-icon-theme' from _pmb_recommends not found for arch 'x86_64'

Related: b24abe8a2c
Related: https://gitlab.com/postmarketOS/pmaports/-/jobs/2593231817
[ci:skip-vercheck]: changing _pmb_recommends doesn't need version bump
2022-06-15 12:24:10 +02:00
Newbyte
50f392df43
main/postmarketos-ui-gnome: don't mark UI as hardware accelerated (MR 3041)
While GNOME does require hardware acceleration, GNOME's X11 mode
(not sure about Wayland mode) does work without DRM support, so
it works fine with software rendering on devices without a working
GPU as long as fbdev works.

I think this raises the question of whether we should rename
pmb:hw-accel to pmb:drm as e.g. Phosh should work without 3D
acceleration if a device e.g. uses a kernel with SimpleDRM support,
but that is out of scope for this MR/commit.

Effectively reverts 638362de63

[ci:skip-vercheck]
2022-06-15 11:33:37 +02:00
Oliver Smith
01e348b3a5
main/postmarketos-release-upgrade: upgrade to 1.2.0 (MR 3232)
Most importantly, this fixes upgrading to edge.

Related: https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/tags/1.2.0
2022-06-14 10:19:20 +02:00
Pablo Correa Gómez
f4783d4c88
main/postmarketos-mkinitfs: provide only a virtual package (MR 3228)
Fixes 02dfe83c4b

The previous `provides="mkinifs=3.6.0"` was a requirement because alpine's
kernels had a minimum dependency in `mkinitfs>=3.6.0` to make sure that
support for compressed modules existed. That requirement is no longer
in place[1], since the dependency is now on the `initramfs-generator`
virtual package. Also, since `initramfs-generator` is a virtual package
and not a real package, versioning it might mess up APK. The documentation
explictly states that virtual packages are those with unversioned provides
and a provider_priority. So to avoid having problems in the future, let's
strictly stick to it.

[1] 4fac61c826
2022-06-14 09:54:04 +02:00
Clayton Craft
c5c0e0f061
main/postmarketos-mkinitfs: add missing ascii nls module (MR 3229)
This is required by fat32, fixes #1555
2022-06-12 10:26:16 -07:00
Jakob Hauser
b6f19a2ed7
main/postmarketos-base: remove udev rule for rt5033 battery refresh (MR 3223)
The refresh method was removed in UPower version 0.99.18 for regular
usage (available in debug mode only).
2022-06-12 15:44:47 +02:00
Clayton Craft
02dfe83c4b
main/postmarketos-mkinitfs: provide initramfs-generator (MR 3219)
Alpine provides a 'initramfs-generator' thing now that the alpine
linux-* depend on explicitly. This sets postmarketos-mkinitfs to be the
preferred provider of that virtual package.

Fixes:
        ERROR: unable to select packages:
          postmarketos-mkinitfs-1.4.1-r5:
            conflicts: mkinitfs-3.6.1-r2[mkinitfs=3.6.0]
            satisfies: postmarketos-base-20-r1[postmarketos-mkinitfs]
                       postmarketos-base-nofde-20-r1[postmarketos-mkinitfs]
                       .pmbootstrap-20220610.215815[postmarketos-mkinitfs]
                       .pmbootstrap-20220610.215815[mkinitfs]
          mkinitfs-3.6.1-r2:
            conflicts: postmarketos-mkinitfs-1.4.1-r5
            satisfies: .pmbootstrap-20220610.215815[mkinitfs]
                       linux-rpi-5.15.45-r1[initramfs-generator]
          .pmbootstrap-20220610.215815:
            masked in: cache
            satisfies: world[.pmbootstrap=20220610.215815]

Also see:
        30d7b88324 (aports) main/mkinitfs: provide initramfs-generator
        4fac61c826 (aports) main/linux-lts: replace mkinitfs with initramfs-generator
2022-06-12 15:33:57 +02:00
Oliver Smith
b3a26d80b7
main/postmarketos-release-upgrade: upgrade to 1.1.2 (MR 3227) 2022-06-12 14:07:09 +02:00
Oliver Smith
bd5fe72ccf
main/postmarketos-welcome: upgrade to 0.5.0 (MR 3226) 2022-06-12 13:01:06 +02:00
Oliver Smith
8c933ef9a0
main/postmarketos-welcome: upgrade to 0.4.2 (MR 3208) 2022-06-10 10:01:09 +02:00
Pablo Correa Gómez
bec9861ec4
main/postmarketos-welcome: version provides (MR 3208)
There was lately a discussion upstream due to apk 2.12.10 breaking
some packages in aports[1]. The conclusion in IRC is that provides
were designed to be either versioned or have a provider_priority.
Otherwise, the provides will be treated as a "virtual package".
Which is not what we want here.

[1] https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10847
2022-06-10 10:01:04 +02:00
Jack Knightly
4912e44aa3
main/postmarketos-base: modify tm2-touchkey udev rule for midas (MR 3192) 2022-06-09 08:08:41 +02:00
Oliver Smith
5eeb86a419
main/postmarketos-welcome: upgrade to 4.0.0 (MR 3207)
[ci:skip-vercheck]: postmarketos-ui-phosh change in _pmb_recommends
doesn't need a version bump
2022-06-08 01:23:50 +02:00
Oliver Smith
8c4e11ab5b
main/postmarketos-release-upgrade: new aport (MR 3197)
[ci:skip-build]: already built successfully in CI
2022-06-07 09:44:48 +02:00
Oliver Smith
5be7308c82
Revert "main/postmarketos-ui-phosh: add yelp to _pmb_recommends (MR 2832)" (MR 3196)
The patch was meant well. But there are problems with yelp in its
current form in postmarketOS:
* It's practically empty. In the default install, there is only one
  application that has some sort of help text, which is Chatty. But
  when you click on the entry, there is only one line of generic
  information about the app. Not useful for users.
* Yelp is not adapted for small screens, the one line of help text is
  cut off on the PinePhone.

So let's not ship it by default in edge and v22.06 for now.
This reverts commit 5ef50b12f2.

[ci:skip-vercheck]: modifying _pmb_recommends doesn't need a version
bump.
2022-06-07 08:17:19 +02:00
Martijn Braam
1f3c16ca9c
main/postmarketos-ui-gnome: autostart bluetooth service (MR 3202) 2022-06-06 16:27:44 +02:00
Minecrell
16c9892a8f
main/postmarketos-mkinitfs: load file system modules dynamically (MR 3166)
At the moment, mkinitfs loads some file system modules always (ext4),
some dynamically (brtfs) and some not at all (f2fs, vfat), expecting
them to be built-in.

To support generic kernels (e.g. from Alpine) properly, use the
partition type detection for both boot and root partition and always
load the necessary modules before mounting.
2022-06-06 10:11:51 +02:00
Minecrell
a0a0b369d5
main/postmarketos-mkinitfs: include vfat in initfs by default (MR 3166)
An increasing number of devices relies on the vfat file system in the
initfs (e.g. for UEFI boot). Having to add all the modules required for
it to work to deviceinfo_modules_initfs is annoying and inconsistent,
in particular for the additionally chosen "nls" modules. Since we
already bundle several file systems by default, let's just add vfat
as well to simplify this.

Ideally mkinitfs should detect the file systems chosen at install time
in the future and only include the necessary modules, but until then
this just adds a couple of kilobytes to the initramfs.
2022-06-06 10:11:51 +02:00
Minecrell
0b5a4f9a44
main/postmarketos-mkinitfs: include crc32c_generic module by default (MR 3166)
CRC32C is required for ext4 to work, otherwise mounting the ext4 rootfs
fails with "Cannot load crc32c driver.".
2022-06-06 10:11:46 +02:00
Clayton Craft
abae34206b
main/osk-sdl: upgrade to 0.67 (MR 3193) 2022-06-06 09:29:21 +02:00
Anjandev Momi
620082575d
add pinephone-keyboard config (MR 3175)
closes #1515

This patch HAS NOT been tested to see if it actually fixes #1515. I do
not have my pinephone keyboard with me and will not till v22.06 is out.
Can someone please test this patch before merging?

Note: this is being merged upstream but needs a refactor of the
Makefile. See:

https://lists.sr.ht/~mil/sxmo-devel/patches/32630

Since we cannot get the refactor of the Makefile out before the next
release, this is the next best thing

[ci:skip-build] already built successfully in CI.
2022-06-01 21:15:09 -07:00
Johannes Marbach
bfb933dec1
main/postmarketos-mkinitfs-hook-debug-shell: add libinput utils (MR 3169)
This adds the libinput program to allow to debug libinput device handling.

[ci:skip-build] already built successfully in CI
2022-05-31 08:36:05 -07:00
Johannes Marbach
aa0f96edb9
main/postmarketos-mkinitfs: Correctly set up udev (MR 3146)
This replaces the previous `udevadm test` hack with a combination of
`udevd`, `udevadm trigger` and `udevadm settle` in order to coldplug all
available devices and make them available for use via libinput / unl0kr.

Relates to: #1411

[ci:skip-build] already built successfully in CI
2022-05-29 12:03:04 -07:00
Newbyte
c528aba4ff
main/postmarketos-ui-phosh: add karlender to _pmb_recommends (MR 3141)
Karlender fits well into GNOME and fills the lack of a calendar app
in Phosh.

[ci:skip-vercheck]
2022-05-27 19:56:58 +02:00
Oliver Smith
023f8cc1c3
main/mesa-pvr-dri-classic: remove (MR 3162)
We decided against pvr hacks, quoting craftyguy from issue 1316:

> We discussed this in our team meeting, and ultimately decided that
> supporting pvr in pmaports/pmOS has many of the same problems that
> we saw when trying to support hallium/libhybris, something we
> decided against. For much of the same reasons, we've decided that we
> want to avoid adding the proprietary userspace components required to
> support pvr in pmOS.

No device port is using this package anymore, but we forgot to remove
it. After branching v22.06 I realized that it doesn't build anymore
and as stated in MR 2702, it's unmaintained.

Related: https://builds.sr.ht/~postmarketos/job/767700
2022-05-27 09:11:13 +02:00
Luca Weiss
d23fd662f2
main/gcc6: fix build (MR 3153)
Fix the build failure when built with newer gcc:

/home/pmos/build/src/gcc-6.4.0/gcc/config/i386/i386.c: In function 'int function_arg_advance_32(CUMULATIVE_ARGS*, machine_mode, const_tree, long int, long int)':
/home/pmos/build/src/gcc-6.4.0/gcc/config/i386/i386.c:8743:18: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]
 8743 |   bool error_p = NULL;
      |                  ^~~~

Patch source: https://svnweb.freebsd.org/ports/head/lang/gcc7/files/patch-gcc_config_i386_i386.c?view=markup&pathrev=545751
2022-05-24 23:48:56 +02:00
Luca Weiss
19809ae262
main/gcc4: fix build (MR 3152)
Fix the build failure when built with newer gcc:

/home/pmos/build/src/gcc-4.9.2/gcc/reload1.c:89:24: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/gcc-4.9.2/gcc/reload1.c:444:7: note: in expansion of macro 'spill_indirect_levels'
  444 |       spill_indirect_levels++;
      |       ^~~~~~~~~~~~~~~~~~~~~

Patch source: https://github.com/ChrisMacGregor/esp-open-sdk/blob/master/1001-fix-reload1-compile-error.patch
2022-05-24 23:05:24 +02:00