<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — [Hyperbola] Useful links for packaging]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=727&amp;type=atom" />
	<updated>2024-09-03T20:51:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=727</id>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8318#p8318" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2024-09-03T20:51:55Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8318#p8318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5901#p5901" />
			<content type="html"><![CDATA[<p>What do people think, did I summarize the packaging steps correctly?</p>]]></content>
			<author>
				<name><![CDATA[auanta]]></name>
			</author>
			<updated>2023-03-24T04:33:30Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5901#p5901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5865#p5865" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[zapper]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=117</uri>
			</author>
			<updated>2023-03-17T22:43:04Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5865#p5865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5860#p5860" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[auanta]]></name>
			</author>
			<updated>2023-03-16T03:43:43Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5860#p5860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4994#p4994" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-09-15T22:58:45Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4994#p4994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4993#p4993" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[auanta]]></name>
			</author>
			<updated>2022-09-15T22:20:22Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4993#p4993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4990#p4990" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-09-14T10:20:44Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4990#p4990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4989#p4989" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[auanta]]></name>
			</author>
			<updated>2022-09-14T02:58:52Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4989#p4989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[Hyperbola] Useful links for packaging]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=4983#p4983" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-09-09T08:08:17Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=4983#p4983</id>
		</entry>
</feed>
