mobian, pinephone camera, and megapixels
#22
(04-28-2021, 04:16 PM)calinb Wrote: Zebulon,

I found this bug (non-POSIX syntax in the /usr/share/megapixels/postprocess.sh). Then I patched my script and reported it to Martijnj. He promptly squashed the tiny (but deadly bug) in his source. I guess it still hasn't rolled out in a Mobian update / upgrade yet?

All you need to do is change == to = to make postprocess.sh work, like this:

Code:
- if [ "$CONVERT" == "convert" ]; then

+ if [ "$CONVERT" = "convert" ]; then

As documented here:
https://git.sr.ht/~martijnbraam/megapixe...process.sh

I thought I described my fix in my last posts in this thread (after mucking my way through the debug effort).

I get .dng and .jpg now so I need to double check that you have the same helper aps that I'm using, which I'll do later today.

-Cal

Must have missed that, I'll make the change and see how it works, thanks!
  Reply


Messages In This Thread
RE: mobian, pinephone camera, and megapixels - by Zebulon Walton - 04-28-2021, 04:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Switching cameras on PPpro Camera app biketool 0 151 11-11-2025, 10:44 AM
Last Post: biketool
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 77 43,748 10-27-2025, 10:19 AM
Last Post: biketool
  cryptocurrency on mobian/pinephone biketool 35 58,639 10-08-2025, 06:21 AM
Last Post: biketool
  Mobian MMS/SMS text problem bcnaz 16 27,341 09-15-2025, 02:42 AM
Last Post: georgegohl888
  XLibre for Mobian Hiraghm 1 2,202 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 277,697 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 1,977 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 2,533 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 2,988 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 2,961 04-29-2025, 02:10 PM
Last Post: mdk

Forum Jump:


Users browsing this thread: 2 Guest(s)