Bug 213911 - misc/raspberrypi-userland: Update to 20161026
Summary: misc/raspberrypi-userland: Update to 20161026
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: Carlos J. Puga Medina
URL:
Keywords: patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-10-30 08:47 UTC by Mikael Urankar
Modified: 2016-12-25 19:24 UTC (History)
6 users (show)

See Also:


Attachments
update to 20161026 (8.98 KB, patch)
2016-10-30 08:47 UTC, Mikael Urankar
mikael: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2016-10-30 08:47:59 UTC
Created attachment 176301 [details]
update to 20161026

Hi,

Update the port to 20161026

poudriere testport and portlint -AC are both happy.

Thanks in advance
Comment 1 Sylvain Garrigues 2016-11-05 13:01:03 UTC
Voting in favor of this requested change :-)
Comment 2 ekoort 2016-12-08 07:11:26 UTC
Doesn't work for me.
# uname -a
FreeBSD raspel2 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 13:01:42 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2  arm


Patched my port and installed "update 20161026":

# raspistill -t 100 -n -o snap-`date +%Y%m%d-%H%M%S`.jpg
mmal: Unable to set JPEG restart interval
mmal: main: Failed to create encode component
mmal: Failed to run camera app. Please check for firmware updates


Switched back to raspberrypi-userland-20160306 (without reboot) and:

# raspistill -t 100 -n -o snap-`date +%Y%m%d-%H%M%S`.jpg

Jpeg files/images are created successfully and they are "correct".

However. Even with "20160306" there is video recording problem. 
Problem is with videos:

# raspivid -o video.h264.avi -t 10000
produces 10 seconds long totally black video.

Any hints to look or test?
Comment 3 Sylvain Garrigues 2016-12-08 09:11:25 UTC
(In reply to eimar.koort from comment #2)

Are you using the latest firmware from https://github.com/raspberrypi/firmware/tree/master/boot on your SD card?

They made a few changes in the past months regarding raspistill
Comment 4 ekoort 2016-12-09 06:56:05 UTC
(In reply to Sylvain Garrigues from comment #3)

Updated firmware and "raspistill" works now.
"raspivid" still produces completely dark/black videos.
Comment 5 Carlos J. Puga Medina freebsd_committer freebsd_triage 2016-12-17 16:28:13 UTC
If after the update something goes wrong, please, report back.

I'll take care.
Comment 6 Carlos J. Puga Medina freebsd_committer freebsd_triage 2016-12-20 23:21:34 UTC
Waiting for mentor approval to commit the update.
Comment 7 Dmitry Marakasov freebsd_committer freebsd_triage 2016-12-22 17:22:56 UTC
Does it only install pkg-config files, or does it actually call pkgconfig to e.g. get info on depends? If it's only the former, pkg-config dependency is not needed.
Comment 8 Mikael Urankar freebsd_committer freebsd_triage 2016-12-22 19:44:04 UTC
(In reply to Dmitry Marakasov from comment #7)
Does it only install pkg-config files?
Yes

or does it actually call pkgconfig to e.g. get info on depends?
No

If it's only the former, pkg-config dependency is not needed.
Not in my case :) See: https://github.com/gonzoua/userland/blob/master/CMakeLists.txt#L114

I can patch the CMakeLists.txt and remove pkgconfig in the USES list if you want.

Thanks for the review
Comment 9 Dmitry Marakasov freebsd_committer freebsd_triage 2016-12-25 13:19:44 UTC
(In reply to mikael.urankar from comment #8)

> I can patch the CMakeLists.txt and remove pkgconfig in the USES list if you
> want.

Nah, it will increase maintainance burden if patched here and it's not really worth it. It should be fixed upstream instead.

Approved then.
Comment 10 commit-hook freebsd_committer freebsd_triage 2016-12-25 19:23:14 UTC
A commit references this bug:

Author: cpm
Date: Sun Dec 25 19:22:53 UTC 2016
New revision: 429455
URL: https://svnweb.freebsd.org/changeset/ports/429455

Log:
  misc/raspberrypi-userland: Update to 20161026

  PR:		213911
  Submitted by:	mikael.urankar@gmail.com (maintainer)
  Approved by:	amdmi3 (mentor)

Changes:
  head/misc/raspberrypi-userland/Makefile
  head/misc/raspberrypi-userland/distinfo
  head/misc/raspberrypi-userland/files/patch-CMakeLists.txt
  head/misc/raspberrypi-userland/files/patch-host__applications_linux_apps_dtoverlay_CMakeLists.txt
  head/misc/raspberrypi-userland/files/patch-host__applications_linux_apps_hello__pi_Makefile.include
  head/misc/raspberrypi-userland/pkg-plist
Comment 11 Carlos J. Puga Medina freebsd_committer freebsd_triage 2016-12-25 19:24:21 UTC
Committed, thanks!