<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — Java rebranding]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=211</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=211&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Java rebranding.]]></description>
		<lastBuildDate>Wed, 10 Jul 2019 21:39:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Java rebranding]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=985#p985</link>
			<description><![CDATA[<div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>You can be sure I&#039;ve read the packaging guideline at least 10 times and I&#039;m asking this question because it&#039;s still not clear to me what should be done here. What confused me is change made by Hyperbola dev in <a href="https://git.hyperbola.info:50100/packages/extra.git/commit/java8-openjdk?id=8e26e9b2c1074f0f8fd395b68e8cbf4d6c5c9adb">https://git.hyperbola.info:50100/packag … 4d6c5c9adb</a></p></blockquote></div><p>That change was made as workaround while we were completing the system for v0.1. In fact, it was inspired from Arch&#039;s PKGBUILD in conjunction with Debian patches, however it requires be made from scratch because all Java environment in Arch is a disaster in comparison to other distros such as Debian.</p><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>but in other cases the guidelines may just not encompass some specific case, as in <a href="https://forums.hyperbola.info/viewtopic.php?id=176">my post from February</a>. Regardless, I prefer asking when I am not sure about something.</p></blockquote></div><p>I saw your topic now and put a response there <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>Does term &quot;Java packages&quot; refer to stuff written in java (like java-jline, java-guava, java-rhino...) or icedtea8&#039;s bootstrap chain of gcj, icedtea6 and icedtea7? Because the latter is what I was actually asking about and the former is what rest of your post refers to. Is the possibility of bootstrapping a package a desired thing in Hyperbola?</p></blockquote></div><p>&quot;Java packages&quot; refers all related to Java such as the OpenJDK bootstrap chain and its dependencies such Rhino, Maven, Maven artifacts, Ant, etc. The goal here is build Java from scratch with all its dependencies and sub-dependencies from the official source code by following the Debian Java packaging, our packaging guidelines and social contract.</p>]]></description>
			<author><![CDATA[null@example.com (emulatorman)]]></author>
			<pubDate>Wed, 10 Jul 2019 21:39:01 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=985#p985</guid>
		</item>
		<item>
			<title><![CDATA[Re: Java rebranding]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=983#p983</link>
			<description><![CDATA[<div class="quotebox"><cite>Emulatorman wrote:</cite><blockquote><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>OpenJDK7 shall lose RedHat&#039;s support in June 2020, so I guess it&#039;s to be excluded. OpenJDK8 is, however, going to be supported until June 2023.</p><p>question1: Does this mean OpenJDK8&#039;s rebranded version could be included in Canis Major?</p></blockquote></div><p>We haven&#039;t plans to support Java, at least if you or some user would create the rebranded version of OpenJDK [...]</p></blockquote></div><p>Of course, I meant an explicit &quot;If I do it&quot; when asking this question. Sorry for not making this clear.</p><div class="quotebox"><cite>Emulatorman wrote:</cite><blockquote><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>OpenJDK8 can be built from openjdk sources as well as from icedtea sources. From <a href="https://git.hyperbola.info:50100/packages/extra.git/log/java8-openjdk">https://git.hyperbola.info:50100/packag … a8-openjdk</a> one can conclude, that the latter is preferred. Debian patches, however, are made for openjdk sources and are probably dangerous to apply to icedtea. So...</p><p>question2: If answer for question1 is &quot;yes&quot;, should icedtea sources without debian patches or openjdk sources with patches be used? It seems that most icedtea changes have already been incorporated in upstream openjdk but I&#039;m still asking just to be sure <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Hyperbola has its own <a href="https://wiki.hyperbola.info/doku.php?id=en:main:packaging_guidelines">packaging guidelines</a>, it means all packages included in Hyperbola should follow it.</p></blockquote></div><p>You can be sure I&#039;ve read the packaging guideline at least 10 times and I&#039;m asking this question because it&#039;s still not clear to me what should be done here. What confused me is change made by Hyperbola dev in <a href="https://git.hyperbola.info:50100/packages/extra.git/commit/java8-openjdk?id=8e26e9b2c1074f0f8fd395b68e8cbf4d6c5c9adb">https://git.hyperbola.info:50100/packag … 4d6c5c9adb</a>, but in other cases the guidelines may just not encompass some specific case, as in <a href="https://forums.hyperbola.info/viewtopic.php?id=176">my post from February</a>. Regardless, I prefer asking when I am not sure about something.</p><div class="quotebox"><cite>Emulatorman wrote:</cite><blockquote><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>question4: Does it make sense to make this chain of PKGBUILDs, given some of it&#039;s members are or may soon become abandonware? Or maybe all the bootstrap chain should be performed inside single PKGBUILD for jdk8?</p></blockquote></div><p>You should create all those Java packages before rebrand OpenJDK to follow our social contract and packaging guidelines.</p></blockquote></div><p>Does term &quot;Java packages&quot; refer to stuff written in java (like java-jline, java-guava, java-rhino...) or icedtea8&#039;s bootstrap chain of gcj, icedtea6 and icedtea7? Because the latter is what I was actually asking about and the former is what rest of your post refers to. Is the possibility of bootstrapping a package a desired thing in Hyperbola?</p>]]></description>
			<author><![CDATA[null@example.com (koszko)]]></author>
			<pubDate>Wed, 10 Jul 2019 12:20:33 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=983#p983</guid>
		</item>
		<item>
			<title><![CDATA[Re: Java rebranding]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=980#p980</link>
			<description><![CDATA[<div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>I guess it&#039;s going to be somewhere in 2020 because that&#039;s when Milky Way becomes old-stable.</p></blockquote></div><p>That is our plan, however there are high priorities first, such as rebuild all packages (that were inherited from Arch) by following the <a href="https://wiki.hyperbola.info/doku.php?id=en:main:packaging_guidelines">Hyperbola Packaging Guidelines</a>. So since Milky Way is a special version dedicated for structuring, it takes some time to complete and there isn&#039;t an official date for Canis Major. It is so important since we have plans to develop our own operating system aka <a href="https://wiki.hyperbola.info/doku.php?id=en:main:nomenclatures#hyperbolabsd">HyperbolaBSD</a>.</p><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>OpenJDK7 shall lose RedHat&#039;s support in June 2020, so I guess it&#039;s to be excluded. OpenJDK8 is, however, going to be supported until June 2023.</p><p>question1: Does this mean OpenJDK8&#039;s rebranded version could be included in Canis Major?</p></blockquote></div><p>We haven&#039;t plans to support Java, at least if you or some user would create the rebranded version of OpenJDK and its &quot;bunch&quot; of Java packages (missed in Arch) for [community] which is the repository dedicated for packages requested by community. Recently, we put the removal reasons in the <a href="https://www.hyperbola.info/todo/java-removal/">todo</a> for further details.</p><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>OpenJDK8 can be built from openjdk sources as well as from icedtea sources. From <a href="https://git.hyperbola.info:50100/packages/extra.git/log/java8-openjdk">https://git.hyperbola.info:50100/packag … a8-openjdk</a> one can conclude, that the latter is preferred. Debian patches, however, are made for openjdk sources and are probably dangerous to apply to icedtea. So...</p><p>question2: If answer for question1 is &quot;yes&quot;, should icedtea sources without debian patches or openjdk sources with patches be used? It seems that most icedtea changes have already been incorporated in upstream openjdk but I&#039;m still asking just to be sure <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Hyperbola has its own <a href="https://wiki.hyperbola.info/doku.php?id=en:main:packaging_guidelines">packaging guidelines</a>, it means all packages included in Hyperbola should follow it.</p><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>The whole rebranding thing came from the issue with &#039;OpenJDK&#039; trademark. According to <a href="https://www.gnu.org/distros/free-system-distribution-guidelines.html#trademarks">https://www.gnu.org/distros/free-system … trademarks</a> (referenced from Hyperbola&#039;s &#039;Social Contract&#039;) trademarks may or may not make software nonfree.</p><p>question3: &#039;Java&#039; is also a trademark. No, I have not yet found what restrictions Oracle imposes on it&#039;s use. Anyways, may it be that not only jdk but the entire language has to be renamed to something else? I don&#039;t think so, because there was no problem with GNU developing GCJ. But I&#039;m asking just to be sure!</p><p>JDKs can be bootstrapped, but it seems that it requires starting with GCJ to build icedtea6, to build icedtea7, to build icedtea8.</p></blockquote></div><p>Not all trademarks are bad while they don&#039;t make software nonfree. The whole issue here is the OpenJDK trademark with its restrictive name usage, so OpenJDK should be rebranded with a new name to solve this issue.</p><div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>question4: Does it make sense to make this chain of PKGBUILDs, given some of it&#039;s members are or may soon become abandonware? Or maybe all the bootstrap chain should be performed inside single PKGBUILD for jdk8?</p></blockquote></div><p>You should create all those Java packages before rebrand OpenJDK to follow our social contract and packaging guidelines. Before of that, you should check Maven and Ant that contain various pre-compiled and pre-packaged binaries dependencies inside them, each of those binaries require another dependencies missed in Hyperbola by including the reproducible builds and dependencies that require the same package with a previous version. In short, you should build all Java enviroment from scratch by following the <a href="https://wiki.debian.org/Java#Developers_-_Java_packaging_work_in_Debian">Debian Java packaging</a>.</p>]]></description>
			<author><![CDATA[null@example.com (emulatorman)]]></author>
			<pubDate>Wed, 10 Jul 2019 00:21:33 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=980#p980</guid>
		</item>
		<item>
			<title><![CDATA[Re: Java rebranding]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=979#p979</link>
			<description><![CDATA[<div class="quotebox"><cite>Emulatorman wrote:</cite><blockquote><p>Thank you for your efforts, at this time we do not think it is possible to properly package Java without a large amount of hacking first (eg. all current PKGBUILDs that were inherited from Arch are &quot;dirty&quot; in the sense that they download various pre-compiled and pre-packaged binaries).</p></blockquote></div><p>k, I still have some questions tho <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="quotebox"><cite>Emulatorman wrote:</cite><blockquote><p><a href="https://www.hyperbola.info/todo/java-removal/">Java is being removed</a> from our primary repository for v0.4, but you are welcome to keep your own local copy as a potential community package at a future date.</p></blockquote></div><p>I get this means the next Hyperbola version that could possibly have java reincluded would be Canis Major with snapshot date not yet given in <a href="https://wiki.hyperbola.info/doku.php?id=en:main:releases">https://wiki.hyperbola.info/doku.php?id … n:releases</a> (I guess it&#039;s going to be somewhere in 2020 because that&#039;s when Milky Way becomes old-stable).</p><p>OpenJDK7 shall lose RedHat&#039;s support in June 2020, so I guess it&#039;s to be excluded. OpenJDK8 is, however, going to be supported until June 2023.</p><p>question1: Does this mean OpenJDK8&#039;s rebranded version could be included in Canis Major?</p><p>OpenJDK8 can be built from openjdk sources as well as from icedtea sources. From <a href="https://git.hyperbola.info:50100/packages/extra.git/log/java8-openjdk">https://git.hyperbola.info:50100/packag … a8-openjdk</a> one can conclude, that the latter is preferred. Debian patches, however, are made for openjdk sources and are probably dangerous to apply to icedtea. So...</p><p>question2: If answer for question1 is &quot;yes&quot;, should icedtea sources without debian patches or openjdk sources with patches be used? It seems that most icedtea changes have already been incorporated in upstream openjdk but I&#039;m still asking just to be sure <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>The whole rebranding thing came from the issue with &#039;OpenJDK&#039; trademark. According to <a href="https://www.gnu.org/distros/free-system-distribution-guidelines.html#trademarks">https://www.gnu.org/distros/free-system … trademarks</a> (referenced from Hyperbola&#039;s &#039;Social Contract&#039;) trademarks may or may not make software nonfree.</p><p>question3: &#039;Java&#039; is also a trademark. No, I have not yet found what restrictions Oracle imposes on it&#039;s use. Anyways, may it be that not only jdk but the entire language has to be renamed to something else? I don&#039;t think so, because there was no problem with GNU developing GCJ. But I&#039;m asking just to be sure!</p><p>JDKs can be bootstrapped, but it seems that it requires starting with GCJ to build icedtea6, to build icedtea7, to build icedtea8.</p><p>question4: Does it make sense to make this chain of PKGBUILDs, given some of it&#039;s members are or may soon become abandonware? Or maybe all the bootstrap chain should be performed inside single PKGBUILD for jdk8?</p>]]></description>
			<author><![CDATA[null@example.com (koszko)]]></author>
			<pubDate>Tue, 09 Jul 2019 17:48:42 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=979#p979</guid>
		</item>
		<item>
			<title><![CDATA[Re: Java rebranding]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=978#p978</link>
			<description><![CDATA[<div class="quotebox"><cite>koszko wrote:</cite><blockquote><p>In <a href="https://forums.hyperbola.info/viewtopic.php?id=205">https://forums.hyperbola.info/viewtopic.php?id=205</a> It was said that OpenJDK has to be rebranded to avoid trademark issues. I started playing with OpenJDK8 PKGBUILD with hope of helping You guys. 🙂 It turned out that PKGBUILD in <a href="https://git.hyperbola.info:50100/packages/extra.git/tree/java8-openjdk">https://git.hyperbola.info:50100/packag … a8-openjdk</a> has 2 (probably unneeded) files in <em>sources</em> array not present in it&#039;s folder and also a broken link to another file (debian patches tarball). I found the right sources in <a href="https://repo.hyperbola.info:50011/gnu-plus-linux-libre/testing/sources/packages/">https://repo.hyperbola.info:50011/gnu-p … /packages/</a> and spent the rest of my day trying to build the jdk+friends with the branding used so far and encountering weird errors of different kinds. It turns out <em>-fno-plt</em> was added to default <em>CFLAGS</em> and <em>CXXFLAGS</em> in makepkg.conf but it&#039;s not supported by gcc5 and results in <em>./configure</em> failing. Other, more complicated problems arise when trying to compile the icedtea version of openjdk sources using gcc6: once disabled <em>build_with_gcc6.patch</em> fails to apply when re-enabled and while the vm builds without it, it segfaults during test... (perhaps the reason why gcc5 was used when openjdk in Hyperbola was changed to use icedtea sources?). I&#039;m going to keep digging in this if You don&#039;t mind!</p></blockquote></div><p>Thank you for your efforts, at this time we do not think it is possible to properly package Java without a large amount of hacking first (eg. all current PKGBUILDs that were inherited from Arch are <strong>&quot;dirty&quot;</strong> in the sense that they download various pre-compiled and pre-packaged binaries).</p><p><a href="https://www.hyperbola.info/todo/java-removal/">Java is being removed</a> from our primary repository for v0.4, but you are welcome to keep your own local copy as a potential community package at a future date.</p><p>There is a <a href="https://libregit.org/Hyperbola">global git repository made by pekman</a> to host development and PKGBUILDs made by users from our community as proposal to be implemented for Hyperbola such as <a href="https://libregit.org/heckyel/hypervideo">hypervideo</a> which is a project maintained by heckyel. I suggest you ask <a href="https://www.hyperbola.info/members/support-staff/#pekman">pekman</a> or <a href="https://www.hyperbola.info/members/support-staff/#heckyel">heckyel</a> for further details about it.</p>]]></description>
			<author><![CDATA[null@example.com (emulatorman)]]></author>
			<pubDate>Tue, 09 Jul 2019 02:10:14 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=978#p978</guid>
		</item>
		<item>
			<title><![CDATA[Java rebranding]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=977#p977</link>
			<description><![CDATA[<p>In <a href="https://forums.hyperbola.info/viewtopic.php?id=205">https://forums.hyperbola.info/viewtopic.php?id=205</a> It was said that OpenJDK has to be rebranded to avoid trademark issues. I started playing with OpenJDK8 PKGBUILD with hope of helping You guys. 🙂 It turned out that PKGBUILD in <a href="https://git.hyperbola.info:50100/packages/extra.git/tree/java8-openjdk">https://git.hyperbola.info:50100/packag … a8-openjdk</a> has 2 (probably unneeded) files in <em>sources</em> array not present in it&#039;s folder and also a broken link to another file (debian patches tarball). I found the right sources in <a href="https://repo.hyperbola.info:50011/gnu-plus-linux-libre/testing/sources/packages/">https://repo.hyperbola.info:50011/gnu-p … /packages/</a> and spent the rest of my day trying to build the jdk+friends with the branding used so far and encountering weird errors of different kinds. It turns out <em>-fno-plt</em> was added to default <em>CFLAGS</em> and <em>CXXFLAGS</em> in makepkg.conf but it&#039;s not supported by gcc5 and results in <em>./configure</em> failing. Other, more complicated problems arise when trying to compile the icedtea version of openjdk sources using gcc6: once disabled <em>build_with_gcc6.patch</em> fails to apply when re-enabled and while the vm builds without it, it segfaults during test... (perhaps the reason why gcc5 was used when openjdk in Hyperbola was changed to use icedtea sources?). I&#039;m going to keep digging in this if You don&#039;t mind!</p>]]></description>
			<author><![CDATA[null@example.com (koszko)]]></author>
			<pubDate>Mon, 08 Jul 2019 23:24:00 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=977#p977</guid>
		</item>
	</channel>
</rss>
