<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — [Hyperbola] Useful links for packaging]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=727</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=727&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Hyperbola] Useful links for packaging.]]></description>
		<lastBuildDate>Tue, 03 Sep 2024 20:51:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8318#p8318</link>
			<description><![CDATA[<p>Closing this thread as we have now a guide in our wiki. Read here: <a href="https://wiki.hyperbola.info/doku.php?id=en:manual:contrib:package_creation">https://wiki.hyperbola.info/doku.php?id … e_creation</a></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Tue, 03 Sep 2024 20:51:55 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8318#p8318</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5901#p5901</link>
			<description><![CDATA[<p>What do people think, did I summarize the packaging steps correctly?</p>]]></description>
			<author><![CDATA[null@example.com (auanta)]]></author>
			<pubDate>Fri, 24 Mar 2023 04:33:30 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5901#p5901</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5865#p5865</link>
			<description><![CDATA[<div class="quotebox"><cite>throgh wrote:</cite><blockquote><p>Hello dear community,</p><p>Hyperbola is done by the community for the community, so this thread is for sure a noted help for everyone interested in packaging and sharing the results later. So if you find sources by yourself post them within here. I start with one helper being useful: <a href="https://github.com/OpenRC/openrc/blob/master/service-script-guide.md">https://github.com/OpenRC/openrc/blob/m … t-guide.md</a></p></blockquote></div><p>Appreciate the link. </p><p>Btw, I keep forgetting to ask Luke, about something specific.</p>]]></description>
			<author><![CDATA[null@example.com (zapper)]]></author>
			<pubDate>Fri, 17 Mar 2023 22:43:04 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5865#p5865</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5860#p5860</link>
			<description><![CDATA[<p>OK so it dawned on me that PKGBUILDS are just bash scripts. This will help. I just need to get familiar with the PKGBUILD functions and consult BASH scripting if I don&#039;t know how to write something</p><p><a href="https://unix.stackexchange.com/questions/451372/how-am-i-supposed-to-inspect-a-pkgbuild">https://unix.stackexchange.com/question … a-pkgbuild</a><br /><a href="https://wiki.archlinux.org/title/PKGBUILD">https://wiki.archlinux.org/title/PKGBUILD</a><br /><a href="https://wiki.archlinux.org/title/Creating_packages">https://wiki.archlinux.org/title/Creating_packages</a></p><p>I see that in my Hyperbola install, I can look at PKGBUILD templates with all the variables under /usr/share/pacman:<br />PKGBUILD.proto : this is the most commonly used template, and you would copy the release version number from the source<br />PKGBUILD-split.proto : this one is used only when the package is a split package (rare and probably never gonna happen in Hyperbola)<br />PKGBUILD-vcs.proto : this one is used only when the source is only available on a version control system like git, in which case all version numbers must be whole integers and not decimal points.<br />proto.install : is a default template for a post-install script, if the source uses one</p><p>In order to package, then, we would consult the package source for the functions we need to include in the PKGBUILD.</p><div class="quotebox"><cite>ArchWiki wrote:</cite><blockquote><p>Download the source tarball of the software you want to package, extract it, and follow the author&#039;s steps to install the program. Make a note of all commands and/or steps needed to compile and install it. You will be repeating those same commands in the PKGBUILD file.</p></blockquote></div><p>For good hygiene, we should create a chroot, follow the compilation and install process and then create a PKGBUILD from that. If the install process fails, we should delete the chroot and start over with a clean one until the package compiles and installs successfully, Then PKGBUILD must draw from a successful install. Then, create a separate chroot for making a nice Hyperbola package, and using the PKGBUILD follow the Hyperbola install process. If it fails, delete chroot and make a fresh one, correct the PKGBUILD file, and try again. Sooner or later, the package will build, and so long as the Hyperbola Packaging Guidelines are followed you will have created a package that can be included.</p>]]></description>
			<author><![CDATA[null@example.com (auanta)]]></author>
			<pubDate>Thu, 16 Mar 2023 03:43:43 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5860#p5860</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4994#p4994</link>
			<description><![CDATA[<p>Oh, sorry. Yes, would be helpful. But I will post the corresponding contents again later. Seems like the most websites from that region are offline for the moment. The content would be for sure helpful for a better understanding!</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Thu, 15 Sep 2022 22:58:45 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4994#p4994</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4993#p4993</link>
			<description><![CDATA[<p>Hello again! Thanks! Looks like there is a dead link in that thread:<br /><a href="https://git.conocimientoslibres.ga/documentation/book.git/tree/libretools/README.md?id=cd301d7a97f912eb05babe14ca98f790d4ce7a2b">https://git.conocimientoslibres.ga/docu … 90d4ce7a2b</a></p><p>The entire website is down! Will I be needing this?</p>]]></description>
			<author><![CDATA[null@example.com (auanta)]]></author>
			<pubDate>Thu, 15 Sep 2022 22:20:22 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4993#p4993</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4990#p4990</link>
			<description><![CDATA[<p>Yes, good to bring the links here and asking: For a first tryout you can look at some packages here provided. You can use all pf them, as example: <a href="https://git.hyperbola.info:50100/packages/extra.git/tree/3proxy">3proxy</a></p><p>The <strong>PKGBUILD</strong> is the central file needed, for the mentioned package there are more besides the source-file: Another local patchset and the service-definitions being used later on. When downloaded within a folder, you can use the command <strong>makepkg</strong> for a local tryout (outside of a clean chroot). When dependencies are missing: <strong>makepkg -s</strong></p><p>When further packages are missed you should for sure add them throughout the same workflow. This is only the first run for starting. I have mentioned the chroot-environment: This would be the next step. Here to read more about: <a href="https://forums.hyperbola.info/viewtopic.php?id=632">https://forums.hyperbola.info/viewtopic.php?id=632</a></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Wed, 14 Sep 2022 10:20:44 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4990#p4990</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4989#p4989</link>
			<description><![CDATA[<p>I only know how to compile things from git. I am new to packaging and have a list of desired packages I want to set up, got done reading the wiki&#039;s <a href="https://wiki.hyperbola.info/doku.php?id=en:manual:contrib:packaging_guidelines">packaging guidelines</a> and still not sure what the specific steps/workflow are to properly compile a package, specifically using libretools and chroot for secure build environment.</p><p>I know what the standards are, but:<br />What are the steps I need to take to follow the security and privacy guidelines?<br />Does it matter if I use chroot, firejail, bubblewrap or containers? </p><p>Should I follow the Parabola workflows? --&gt;<br /><a href="https://wiki.parabola.nu/Package_maintainer_guide">https://wiki.parabola.nu/Package_maintainer_guide</a><br /><a href="https://wiki.parabola.nu/How_to_help">https://wiki.parabola.nu/How_to_help</a><br /><a href="https://wiki.parabola.nu/Category:Packaging">https://wiki.parabola.nu/Category:Packaging</a><br /><a href="https://wiki.parabola.nu/Creating_-libre_packages">https://wiki.parabola.nu/Creating_-libre_packages</a><br /><a href="https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_Clean_Chroot">https://wiki.archlinux.org/title/Develo … ean_Chroot</a><br /><a href="https://wiki.parabola.nu/Libremakepkg">https://wiki.parabola.nu/Libremakepkg</a><br /><a href="https://wiki.parabola.nu/PKGBUILD">https://wiki.parabola.nu/PKGBUILD</a></p><br /><p>I tend to do well if there are some instructiions. So if anyone can recommend some links to guides to make packages on Hyperbola in a way that follows the standards, please post them!</p><p>I plan on learning to do the good practices well for myself before taking on the further responsibility.</p>]]></description>
			<author><![CDATA[null@example.com (auanta)]]></author>
			<pubDate>Wed, 14 Sep 2022 02:58:52 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4989#p4989</guid>
		</item>
		<item>
			<title><![CDATA[[Hyperbola] Useful links for packaging]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=4983#p4983</link>
			<description><![CDATA[<p>Hello dear community,</p><p>Hyperbola is done by the community for the community, so this thread is for sure a noted help for everyone interested in packaging and sharing the results later. So if you find sources by yourself post them within here. I start with one helper being useful: <a href="https://github.com/OpenRC/openrc/blob/master/service-script-guide.md">https://github.com/OpenRC/openrc/blob/m … t-guide.md</a></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 09 Sep 2022 08:08:17 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=4983#p4983</guid>
		</item>
	</channel>
</rss>
