<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Update OpenWRT feeds code]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Does anybody know how/where the OpenWRT build system in onion gets the program source and packages from?</p>
<p dir="auto">For example lets say I wanted to use ffmpeg, but the one that is in the OpenWRT build is an old version of the ffmpeg source and i want to force it to download the source for the newest ffmpeg and use that in the package when its building.</p>
<p dir="auto">Does anybody know how to do that?</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/topic/4895/update-openwrt-feeds-code</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 04:43:17 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4895.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Nov 2022 01:49:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update OpenWRT feeds code on Sun, 13 Nov 2022 01:49:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Does anybody know how/where the OpenWRT build system in onion gets the program source and packages from?</p>
<p dir="auto">For example lets say I wanted to use ffmpeg, but the one that is in the OpenWRT build is an old version of the ffmpeg source and i want to force it to download the source for the newest ffmpeg and use that in the package when its building.</p>
<p dir="auto">Does anybody know how to do that?</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/post/24921</link><guid isPermaLink="true">http://community.onion.io/post/24921</guid><dc:creator><![CDATA[nsmith]]></dc:creator><pubDate>Sun, 13 Nov 2022 01:49:35 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Sun, 13 Nov 2022 07:04:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8982">@nsmith</a> This is controlled by the make file which is in &lt;source&gt;/feeds/packages/multimedia//ffmpeg, Take a look at the developer guide for more detail:</p>
<p dir="auto"><a href="https://openwrt.org/docs/guide-developer/package-policies#source_packages" rel="nofollow">https://openwrt.org/docs/guide-developer/package-policies#source_packages</a></p>
]]></description><link>http://community.onion.io/post/24922</link><guid isPermaLink="true">http://community.onion.io/post/24922</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Sun, 13 Nov 2022 07:04:20 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Mon, 14 Nov 2022 13:24:28 GMT]]></title><description><![CDATA[<p dir="auto">Actually the package im using is called gphoto2, the one inside Onion docker is from back in 2017, so its missing 5 years of updates.</p>
<p dir="auto">I would like to know how to update it. Im not an OpenWRT expert, I was hoping there was an easy way like a command I can type or something like that.</p>
<p dir="auto">Or how can I get the Onion developers to update it, or they can just tell me how.</p>
<p dir="auto">Thanks</p>
]]></description><link>http://community.onion.io/post/24924</link><guid isPermaLink="true">http://community.onion.io/post/24924</guid><dc:creator><![CDATA[nsmith]]></dc:creator><pubDate>Mon, 14 Nov 2022 13:24:28 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Mon, 14 Nov 2022 14:07:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8982">@nsmith</a> I took a look at the make file for OpenWrt 18.x gphoto2, it has version 2.5.17, I took a look at the version supported by the Onion build system, it is also version 2.5.17.  I took a look at the version of gphoto2 supported by OpenWrt 21, the version is 2.5.26-3.</p>
<p dir="auto">So no real huge advance in versions of gphoto2, is there something specific you are struggling with? Perhaps a piece of hardware that is not functioning, with more specific details members may be able to find a solution for you, rather than having to sort out a version upgrade.</p>
]]></description><link>http://community.onion.io/post/24925</link><guid isPermaLink="true">http://community.onion.io/post/24925</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Mon, 14 Nov 2022 14:07:22 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Tue, 15 Nov 2022 01:43:36 GMT]]></title><description><![CDATA[<p dir="auto">Gphoto2 uses libgphoto2 so both packages are needed actually. Each new version fixes a lot of bugs. libgphoto2 is up to version 2.5.30 right now, and gphoto2 is at 2.5.28.</p>
<p dir="auto">Version 2.5.17 was released 5 years ago, so a lot of bugs have been fixed during that time.</p>
<p dir="auto">I tried changing the make files in the onion OpenWRT gphoto2 feed to use the latest versions of gphoto and libgphoto, but when i tried building the onion OpenWRT in the onion docker with the new Makefile pointing to the newest version I get the following errors (seems the patch files need to be modified also which i dont know how to do), any ideas?</p>
<p dir="auto">~/source# make -j8<br />
........<br />
touch /root/source/build_dir/target-mipsel_24kc_musl/libgphoto2-2.5.30/.prepared_b116b1072df06e9be7d5fc37461ba5f7_6664517399ebbbc92a37c5bb081b5c53_check<br />
. /root/source/include/shell.sh; bzcat /root/source/dl/libgphoto2-2.5.30.tar.bz2 | tar -C /root/source/build_dir/target-mipsel_24kc_musl/libgphoto2-2.5.30/.. -xf -<br />
[ ! -d ./src/ ] || cp -fpR ./src/. /root/source/build_dir/target-mipsel_24kc_musl/libgphoto2-2.5.30</p>
<p dir="auto">Applying ./patches/001-automake-compat.patch using plaintext:<br />
patching file <a href="http://configure.ac" rel="nofollow">configure.ac</a><br />
Hunk #1 FAILED at 209.<br />
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej<br />
patching file libgphoto2_port/configure.ac<br />
Hunk #1 FAILED at 124.<br />
1 out of 1 hunk FAILED -- saving rejects to file libgphoto2_port/configure.ac.rej<br />
Patch failed!  Please fix ./patches/001-automake-compat.patch!<br />
Makefile:819: recipe for target '/root/source/build_dir/target-mipsel_24kc_musl/libgphoto2-2.5.30/.prepared_b116b1072df06e9be7d5fc37461ba5f7_6664517399ebbbc92a37c5bb081b5c53' failed<br />
make[3]: *** [/root/source/build_dir/target-mipsel_24kc_musl/libgphoto2-2.5.30/.prepared_b116b1072df06e9be7d5fc37461ba5f7_6664517399ebbbc92a37c5bb081b5c53] Error 1<br />
make[3]: Leaving directory '/root/source/feeds/packages/libs/libgphoto2'<br />
Command exited with non-zero status 2<br />
time: package/feeds/packages/libgphoto2/compile#1.19#0.32#1.32<br />
package/Makefile:107: recipe for target 'package/feeds/packages/libgphoto2/compile' failed<br />
make[2]: *** [package/feeds/packages/libgphoto2/compile] Error 2<br />
make[2]: Leaving directory '/root/source'<br />
package/Makefile:103: recipe for target '/root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed<br />
make[1]: *** [/root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2<br />
make[1]: Leaving directory '/root/source'<br />
/root/source/include/toplevel.mk:216: recipe for target 'world' failed<br />
make: *** [world] Error 2<br />
root@407ba1279d99:~/source#</p>
]]></description><link>http://community.onion.io/post/24927</link><guid isPermaLink="true">http://community.onion.io/post/24927</guid><dc:creator><![CDATA[nsmith]]></dc:creator><pubDate>Tue, 15 Nov 2022 01:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Tue, 15 Nov 2022 05:54:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8982">@nsmith</a> modify the makefile like this, to install version 2.5.23, I don't see the hash for .26 which appears to be the most current version:</p>
<pre><code>PKG_NAME:=gphoto2
#PKG_VERSION:=2.5.17
PKG_VERSION:=2.5.23
PKG_RELEASE:=1
PKG_MAINTAINER:=Leonardo Medici &lt;leonardo_medici@me.com&gt;

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/gphoto
#PKG_HASH:=aa571039240c68a053be710ca41645aed0239fa2f0b737b8ec767fef29e3544f
PKG_HASH:=df87092100e7766c9d0a4323217c91908a9c891c0d3670ebf40b76903be458d1
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING

</code></pre>
]]></description><link>http://community.onion.io/post/24930</link><guid isPermaLink="true">http://community.onion.io/post/24930</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 15 Nov 2022 05:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Tue, 15 Nov 2022 06:12:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8982">@nsmith</a> The makefiles for .26 version supported by the current version of OpenWrt are here:</p>
<p dir="auto"><a href="https://github.com/openwrt/packages/tree/openwrt-21.02/libs/libgphoto2" rel="nofollow">https://github.com/openwrt/packages/tree/openwrt-21.02/libs/libgphoto2</a><br />
<a href="https://github.com/openwrt/packages/tree/openwrt-21.02/multimedia/gphoto2" rel="nofollow">https://github.com/openwrt/packages/tree/openwrt-21.02/multimedia/gphoto2</a></p>
<p dir="auto">They build ok on the OpenWrt build system you are using.</p>
]]></description><link>http://community.onion.io/post/24931</link><guid isPermaLink="true">http://community.onion.io/post/24931</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 15 Nov 2022 06:12:39 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Tue, 15 Nov 2022 17:00:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a> I just wanted to use the latest version becuase each release has a lot of bug fixes and upgrades<br />
the latest version are as follows:</p>
<p dir="auto">gphoto2 VERSION 2.5.28<br />
libgphoto2 VERSION 2.5.30</p>
<p dir="auto">I tried putting those versions in the makefile and the matching hashes, but when i compile it gives an error because it seems the patch files that are in there that its trying to apply are from the old version. So i dont know how to fix that is the problem im running into.</p>
]]></description><link>http://community.onion.io/post/24933</link><guid isPermaLink="true">http://community.onion.io/post/24933</guid><dc:creator><![CDATA[nsmith]]></dc:creator><pubDate>Tue, 15 Nov 2022 17:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Update OpenWRT feeds code on Wed, 16 Nov 2022 03:07:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8982">@nsmith</a> The patch files are available in the links I provided, just replace them in your system. The patch files are in the same directory as the make file, under a patches directory:</p>
<p dir="auto">&lt;source&gt;/feeds/packages/multimedia/gphoto2/patches</p>
<p dir="auto">The patch files refer to the version so it's surprising the build is trying to apply them to the wrong version.</p>
]]></description><link>http://community.onion.io/post/24935</link><guid isPermaLink="true">http://community.onion.io/post/24935</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Wed, 16 Nov 2022 03:07:15 GMT</pubDate></item></channel></rss>