diff options
author | David P <megver83@parabola.nu> | 2019-08-14 16:02:33 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2019-08-14 16:02:33 -0400 |
commit | c3abb0dccb33984d8132d507e0c330457cbe1898 (patch) | |
tree | 1b69b7a7f9dad5899dde8de09e97c7e81eed4520 | |
parent | 521554e4908741c39785130ae5c5b1af2d5c3173 (diff) | |
download | abslibre-c3abb0dccb33984d8132d507e0c330457cbe1898.tar.gz abslibre-c3abb0dccb33984d8132d507e0c330457cbe1898.tar.bz2 abslibre-c3abb0dccb33984d8132d507e0c330457cbe1898.zip |
upgpkg: nonsystemd/filesystem 2019.05-2.par1.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r-- | nonsystemd/filesystem/PKGBUILD | 37 | ||||
-rw-r--r-- | nonsystemd/filesystem/issue | 2 | ||||
-rw-r--r-- | nonsystemd/filesystem/os-release | 5 | ||||
-rw-r--r-- | nonsystemd/filesystem/parabola.png | bin | 0 -> 19091 bytes | |||
-rw-r--r-- | nonsystemd/filesystem/parabola.svg | 231 | ||||
-rw-r--r-- | ~megver83/gcc/PKGBUILD | 338 |
6 files changed, 596 insertions, 17 deletions
diff --git a/nonsystemd/filesystem/PKGBUILD b/nonsystemd/filesystem/PKGBUILD index 25b59295a..aa0e1b9be 100644 --- a/nonsystemd/filesystem/PKGBUILD +++ b/nonsystemd/filesystem/PKGBUILD @@ -3,11 +3,12 @@ # Contributor (Arch): Tom Gundersen <teg@jklm.no> pkgname=filesystem -pkgver=2018.8 -pkgrel=1.parabola1 +pkgver=2019.05 +pkgrel=2 +pkgrel+=.par1 pkgrel+=.nonsystemd1 pkgdesc='Base Parabola GNU/Linux-libre files' -arch=('x86_64' 'i686' 'armv7h') +arch=('x86_64' 'i686' 'armv7h' 'ppc64le') license=('GPL') url='https://www.parabola.nu' groups=('base') @@ -21,19 +22,19 @@ backup=('etc/crypttab' 'etc/fstab' 'etc/group' 'etc/gshadow' 'etc/host.conf' source=('crypttab' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts' 'issue' 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release' 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl' - 'sysusers' 'tmpfiles') + 'sysusers' 'tmpfiles' 'parabola.svg' 'parabola.png') sha512sums=('5f268b557257a201c256663b35f510d7fede0093e44645f18dc2a447ece2112d28bd7a60816331b37b72931583eff50d9dc616b9f9e9ff6d8f982db8d5b0c008' 'b2ddf3db123f757e68a84926223b56a227c6e4fa99f1d06972246625b62f2a1b147f934e1bb4534d326127f8441a39afa6856f6ea2c7ecf6be53391bf0083370' '0ade9187a5437076ec7d0f786528b0c4212e4f0c67edb87d8fd71815b144ab2876adeca7d943899d440e26d09ff7f4b3862733dc12decab202048cf640dfd5a8' '2d93356e221aba569c47adf6c882d56fd53ae102e4bb17909a35dab505625860a66efe4dcdd0a33f5e85a6d3eabb4b7f9b9e027f1f157a991242d03ab7cbc85e' 'bc1e8c9be2d4c05992aa640a0862ed6d3822afc0d083d9779268a9a888edcd4527ae49c899f8aaa1878b7650187c9a484d488b159ae58a289a543c4a8cdccbca' '629ff56e5f4fd87de570fe5bc9af703efb9725743811541f21b6ada3c4a6e613c3a010029d7d73f4b706e33b3098337659a1ec5e556d11d952335f350ba108a8' - 'ad1d8521ad3ec1c50a6cca68543bb6c3acbe08832257fcfdfa04f1f8bfe8bc4ff91bde2971c7f5d36ee4f50e81c34ff586e28ee79d0a8d055a0b812001970fbc' + '794f6af7ea5b32cdbbda5637890cc1478ee009007e8e4576cd4a7afdfaf45011e81db53faf6094a3334430c5ad6accbbfa51d0232480d68a15027589c1877fee' '61cc6de0bdc2feab9f8103e8b47b62fd0493e902797b50d3f813ed405058d4d2682c41c120e3fa0e2a8cf7800929054414d1e06b59fcb280585369895392c4e5' 'e48b5f08563117b5fe80d4387a60dd874f3554bcc9e6307671bfc0b081aff398d1bbdc902f4a5cb04069d2f0ce5992758cb756dba33fe582124275295253fc03' 'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e' '5706ecf2cdb02383c39e312117e48a34a78848d89c650456d162c986118790710df01b3371d4cbda089a04053d1b10a93f1502549573dd91705354230455fef0' - 'b8e9b15b7ba65a83c02b1017b9fb9b85486e222cfb5731e8cee350c46c1d67e2209831162465cb9bd191c62ab4aa716a4f38c6899876c5e6e709f784f6350fb4' + '0b0b41845a9a23a4e128bb73d50ad239ed0c55b5f6474cbf788cc1f3ff17277735f1cff2ca5806195041180f1c18e2ab1ccd668164e8447e83fa553f07b45a30' 'df24002d74d2d543be0f8b74b36def1eba7054efd8da1943b4422048ece6d41f3e40248c2169c5c1168ba64ede2dfbd6c21d6e70bbe1ba8c82137834327eecea' '56cdfbfd0d6d89ab7d1f098813b384740358b2880d7ed640e02ac91e2ca6f66957a24a825cc2303739ce06fdeaa4a86acdfd8796ce6728208ed516a18622ae82' '779049d55883fb7edf34ffd050e9d4d09252de529d776f507c1be19fd9688645d9100cf246fcd5b62ca1e1cf5408383ef02f09f3bc11203de33e5ad0ce17cda9' @@ -42,7 +43,9 @@ sha512sums=('5f268b557257a201c256663b35f510d7fede0093e44645f18dc2a447ece2112d28b 'c376b93b91dd181cf50b39a187255326aa1c76fb03972353620abb86ac2014631102c9296e11cc805c7409fb346bee827c4736cfb65fb9acf060fd5ca8957e02' 'c040d3b13b9cb6dea00e88f2d5428c80c4045eeab9b9c1cf47eb1c3bf6b1f613a9f9181cd4133a18a8e15c651de70389d8ecf0ec873259e8a74068da5a24898e' '4258736de8e9c0fef5e32526e1edb899513c43e6d7ad183021382f27e192d05021f6bc8ef3b4f7b33a4fae408fc2354273a2e44e68ef720db5c87d5836170667' - 'bdb116224a39b340a91edf99d8a43ee83e3e661d2c863dd7ea5a4e902982e331ecfa593bee67eb562161c24b45ccbd1c89c8511665881aa6876870a09d9a4794') + 'bdb116224a39b340a91edf99d8a43ee83e3e661d2c863dd7ea5a4e902982e331ecfa593bee67eb562161c24b45ccbd1c89c8511665881aa6876870a09d9a4794' + '29d6c3953a418f0e345b6e96fb0ad7c39ab2f8165fb0e0a9bc2ad0375c2c8dabc2626e55b8b1394dc3b05009497dc4e4495fea850f1ea97cf4e69656c74b25d2' + 'dd67ac882b02f715a9ad91363186f3a3f5a51e8459a3ea19000732bea23560b9275f6e0a9df1d205c512d0e1d954e37814278207bfc0ddd252c9af4e93a002b9') package() { cd "$pkgdir" @@ -73,7 +76,7 @@ package() { done touch etc/parabola-release ln -sv parabola-release etc/arch-release - install -m755 "$srcdir"/locale.sh etc/profile.d/locale.sh + install -m644 "$srcdir"/locale.sh etc/profile.d/locale.sh install -Dm644 "$srcdir"/os-release usr/lib/os-release # setup /var @@ -89,7 +92,7 @@ package() { ln -s ../run/lock var/lock # setup /usr hierarchy - for d in bin include lib share/misc src; do + for d in bin include lib share/{misc,pixmaps} src; do install -d -m755 usr/$d done for d in {1..8}; do @@ -102,6 +105,10 @@ package() { ln -s usr/lib lib64 ln -s lib usr/lib64 } + [[ $CARCH = 'powerpc64le' ]] && { + ln -s usr/lib lib64 + ln -s lib usr/lib64 + } # add bin symlinks ln -s usr/bin bin @@ -115,16 +122,16 @@ package() { ln -s ../man usr/local/share/man # setup sysctl - install -D -m644 "$srcdir"/sysctl usr/lib/sysctl.d/10-parabola.conf - ln -sv 10-parabola.conf usr/lib/sysctl.d/10-arch.conf + install -D -m644 "$srcdir"/sysctl usr/lib/sysctl.d/10-arch.conf # setup opensysusers - install -D -m644 "$srcdir"/sysusers usr/lib/sysusers.d/parabola.conf - ln -sv parabola.conf usr/lib/sysusers.d/arch.conf + install -D -m644 "$srcdir"/sysusers usr/lib/sysusers.d/arch.conf # setup opentmpfiles - install -D -m644 "$srcdir"/tmpfiles usr/lib/tmpfiles.d/parabola.conf - ln -sv parabola.conf usr/lib/tmpfiles.d/arch.conf + install -D -m644 "$srcdir"/tmpfiles usr/lib/tmpfiles.d/arch.conf + + # add logo + install -D -m644 "$srcdir"/parabola.{svg,png} usr/share/pixmaps } # vim:set ts=2 sw=2 et: diff --git a/nonsystemd/filesystem/issue b/nonsystemd/filesystem/issue index b001c55dd..8fc2fbb0b 100644 --- a/nonsystemd/filesystem/issue +++ b/nonsystemd/filesystem/issue @@ -1,2 +1,2 @@ -Parabola GNU/Linux-libre \r (\n) (\l) +Parabola GNU/Linux-libre \r (\l) diff --git a/nonsystemd/filesystem/os-release b/nonsystemd/filesystem/os-release index 9dfb39d50..138b58597 100644 --- a/nonsystemd/filesystem/os-release +++ b/nonsystemd/filesystem/os-release @@ -1,8 +1,11 @@ NAME="Parabola" PRETTY_NAME="Parabola GNU/Linux-libre" ID=parabola -ID_LIKE="arch archlinux" +ID_LIKE=arch +BUILD_ID=rolling ANSI_COLOR="1;35" HOME_URL="https://www.parabola.nu/" +DOCUMENTATION_URL="https://wiki.parabola.nu/" SUPPORT_URL="irc://chat.freenode.net#parabola" BUG_REPORT_URL="https://labs.parabola.nu/" +LOGO=parabola diff --git a/nonsystemd/filesystem/parabola.png b/nonsystemd/filesystem/parabola.png Binary files differnew file mode 100644 index 000000000..b17070d0b --- /dev/null +++ b/nonsystemd/filesystem/parabola.png diff --git a/nonsystemd/filesystem/parabola.svg b/nonsystemd/filesystem/parabola.svg new file mode 100644 index 000000000..da4aeed3d --- /dev/null +++ b/nonsystemd/filesystem/parabola.svg @@ -0,0 +1,231 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + width="350" + height="350" + id="svg4398" + sodipodi:docname="parabola.svg" + inkscape:version="0.92.4 5da689c313, 2019-01-14" + inkscape:export-filename="/home/ovruni/paquetes/libre/filesystem/parabola.svg.png" + inkscape:export-xdpi="97.097145" + inkscape:export-ydpi="97.097145"> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1600" + inkscape:window-height="791" + id="namedview34" + showgrid="false" + inkscape:zoom="1.6094598" + inkscape:cx="180.3849" + inkscape:cy="172.86268" + inkscape:window-x="0" + inkscape:window-y="31" + inkscape:window-maximized="1" + inkscape:current-layer="layer1" /> + <title + id="title5056">Parabola GNU/Linux-libre logo</title> + <defs + id="defs4400" /> + <metadata + id="metadata4403"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>Parabola GNU/Linux-libre logo</dc:title> + <dc:date>18-04-2013</dc:date> + <dc:creator> + <cc:Agent> + <dc:title>Jorge Araya Navarro <elcorreo@deshackra.com></dc:title> + </cc:Agent> + </dc:creator> + <dc:language>English</dc:language> + <dc:description>Parabola GNU/Linux-libre logo.</dc:description> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" /> + <dc:rights> + <cc:Agent> + <dc:title>Parabola GNU/Linux-libre</dc:title> + </cc:Agent> + </dc:rights> + <dc:source>https://repo.parabolagnulinux.org/other/artwork/parabola_gnu+linux-libre_logo.svg</dc:source> + <dc:contributor> + <cc:Agent> + <dc:title>Márcio Alexandre Silva Delgado <coadde@parabola.nu></dc:title> + </cc:Agent> + </dc:contributor> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#ShareAlike" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + transform="translate(-0.19224447,-277.7671)" + id="layer1"> + <g + transform="matrix(0.69103513,0,0,0.69103513,-156.67329,195.18002)" + id="text3940" + style="font-style:normal;font-variant:normal;font-stretch:normal;font-size:92.42671204px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;display:inline;fill:#333333;fill-opacity:1;stroke:none"> + <path + d="m 228.44791,559.67743 h 6.83958 v -27.63559 h 13.12459 c 9.24266,0 14.23372,-1.20155 18.39292,-4.25163 4.43647,-3.23493 6.83957,-8.87297 6.83957,-15.71254 0,-7.85626 -2.95766,-14.04886 -8.13355,-17.09894 -4.25162,-2.58794 -9.42753,-3.60464 -18.20806,-3.60464 h -18.85505 v 68.30334 m 6.83958,-33.82818 v -28.28257 h 9.7048 c 7.85626,0 12.75489,0.64699 15.52769,2.03339 3.97434,2.03338 6.19259,6.37745 6.19259,12.4776 0,5.26832 -2.12582,9.51996 -5.63803,11.46091 -2.86523,1.66368 -6.83958,2.31067 -13.12459,2.31067 h -12.66246" + id="path4361" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 333.42588,509.12002 h -6.83958 v 8.96539 c -4.99104,-7.02442 -11.18364,-10.16694 -19.96417,-10.16694 -15.15796,0 -26.61889,11.46093 -26.61889,26.61889 0,15.06554 11.55335,26.34162 27.08103,26.34162 8.59567,0 14.14129,-2.86524 19.50203,-10.07452 v 8.87297 h 6.83958 v -50.55741 m -26.61889,5.08347 c 11.09119,0 19.77931,8.68812 19.77931,19.96417 0,11.4609 -8.50327,20.4263 -19.40961,20.4263 -11.4609,0 -20.24145,-8.9654 -20.24145,-20.51873 0,-10.99877 8.87298,-19.87174 19.87175,-19.87174" + id="path4363" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 345.12652,559.67743 h 6.83958 v -29.48412 c 0,-9.42752 4.8062,-14.60342 14.32614,-15.52769 v -6.74715 c -7.30171,0.36971 -11.64577,2.86523 -14.32614,8.41083 v -7.20928 h -6.83958 v 50.55741" + id="path4365" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 424.40843,509.12002 h -6.83958 v 8.96539 c -4.99103,-7.02442 -11.18364,-10.16694 -19.96417,-10.16694 -15.15796,0 -26.61889,11.46093 -26.61889,26.61889 0,15.06554 11.55336,26.34162 27.08103,26.34162 8.59567,0 14.14129,-2.86524 19.50203,-10.07452 v 8.87297 h 6.83958 v -50.55741 m -26.61889,5.08347 c 11.09119,0 19.77931,8.68812 19.77931,19.96417 0,11.4609 -8.50326,20.4263 -19.40961,20.4263 -11.4609,0 -20.24145,-8.9654 -20.24145,-20.51873 0,-10.99877 8.87298,-19.87174 19.87175,-19.87174" + id="path4367" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 436.10906,559.67743 h 6.83958 v -8.68811 c 4.25163,6.28501 11.46092,9.88966 19.77932,9.88966 15.25039,0 26.71132,-11.3685 26.71132,-26.52647 0,-14.88069 -11.64578,-26.43404 -26.6189,-26.43404 -8.50325,0 -15.52769,3.51222 -19.87174,9.88966 v -26.43404 h -6.83958 v 68.30334 m 26.52647,-45.47394 c 11.36847,0 19.87174,8.59569 19.87174,19.96417 0,11.64575 -8.59569,20.4263 -19.96417,20.4263 -5.63802,0 -10.25937,-1.94096 -14.23371,-6.00774 -3.97434,-4.06677 -5.82288,-8.68811 -5.82288,-14.41856 0,-11.18362 8.87297,-19.96417 20.14902,-19.96417" + id="path4369" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 523.69637,507.91847 c -14.97311,0 -26.52647,11.3685 -26.52647,26.15676 0,15.52767 11.3685,26.80375 27.08103,26.80375 14.78826,0 25.69463,-11.18365 25.69463,-26.34162 0,-15.43524 -11.09122,-26.61889 -26.24919,-26.61889 m 0,6.28502 c 11.09119,0 19.31718,8.68812 19.31718,20.4263 0,11.55333 -7.94871,19.96417 -18.94747,19.96417 -11.64576,0 -19.96417,-8.50327 -19.96417,-20.33388 0,-11.4609 8.41084,-20.05659 19.59446,-20.05659" + id="path4371" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 559.58538,559.67743 h 6.83958 v -68.30334 h -6.83958 v 68.30334" + id="path4373" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + <path + d="m 629.48018,509.12002 h -6.83958 v 8.96539 c -4.99104,-7.02442 -11.18364,-10.16694 -19.96417,-10.16694 -15.15796,0 -26.61889,11.46093 -26.61889,26.61889 0,15.06554 11.55335,26.34162 27.08102,26.34162 8.59568,0 14.1413,-2.86524 19.50204,-10.07452 v 8.87297 h 6.83958 v -50.55741 m -26.6189,5.08347 c 11.0912,0 19.77932,8.68812 19.77932,19.96417 0,11.4609 -8.50327,20.4263 -19.40961,20.4263 -11.4609,0 -20.24145,-8.9654 -20.24145,-20.51873 0,-10.99877 8.87298,-19.87174 19.87174,-19.87174" + id="path4375" + style="line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Book';text-align:center;text-anchor:middle;fill:#333333" + inkscape:connector-curvature="0" /> + </g> + <path + d="m 249.75485,322.7671 c -6.41679,0.61314 -13.22964,1.74011 -20.33609,3.24308 l -45.02178,46.20458 c 5.16051,0.6208 9.88323,1.64573 14.19328,3.0905 z m 31.70607,2.59446 -62.30559,63.90807 c 17.52279,22.70826 11.35032,68.32339 -25.52507,143.49747 27.28221,-29.7813 146.35032,-177.77887 91.87498,-205.68856 -1.26477,-0.64802 -2.64782,-1.20542 -4.04432,-1.71698 z m -83.02324,9.00438 c -8.6189,2.74272 -17.39179,5.85206 -26.13553,9.15696 l -29.79832,30.56142 c 6.8353,-1.10819 13.31636,-1.85308 19.42041,-2.2511 z m -44.6784,16.44439 C 99.395689,373.17205 50.781464,400.48694 50.781464,400.48694 79.660745,389.66421 105.74253,381.57344 128.50126,376.71693 Z" + id="path3488" + style="fill:#787dab;stroke:none;stroke-width:1.39999986" + inkscape:connector-curvature="0" /> + <g + transform="matrix(0.69446745,0,0,0.69446745,-200.93767,175.40795)" + id="g5438"> + <path + d="m 709.04141,555.45825 h 13.12798 c -1.71607,3.51795 -5.14823,5.57724 -9.30971,5.57724 -6.22076,0 -10.98288,-4.67631 -10.98288,-10.72547 0,-2.74572 1.15835,-5.74885 2.96023,-7.63653 1.84478,-2.01639 4.63341,-3.13184 7.67944,-3.13184 3.68955,0 6.73559,1.45867 8.70908,4.20438 h 6.9072 c -2.05929,-5.70594 -8.58038,-9.86743 -15.48758,-9.86743 -9.26679,0 -16.68883,7.25043 -16.68883,16.34562 0,9.26679 7.50784,16.47432 17.24656,16.47432 4.7621,0 8.88069,-1.67318 12.01252,-4.89081 2.91733,-3.04604 4.5476,-6.99301 4.5476,-11.06869 v -0.77223 h -20.72161 v 5.49144" + id="path4306-9" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:42.90187836px;line-height:82.99999833%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 733.61749,566.14081 h 5.87756 v -23.0383 l 13.25668,23.0383 h 6.56398 v -31.70448 h -5.87755 v 23.08121 l -13.12798,-23.08121 h -6.69269 v 31.70448" + id="path4308-2" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:42.90187836px;line-height:82.99999833%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 765.37494,534.43633 v 20.07808 c 0,3.38924 0.51482,5.53434 1.71607,7.46492 1.84478,2.91733 5.27694,4.71921 8.96649,4.71921 3.43215,0 6.6927,-1.54447 8.58038,-4.07568 1.54447,-2.05929 2.14509,-4.4189 2.14509,-8.10845 v -20.07808 h -5.87755 v 20.07808 c 0,2.3596 -0.17161,3.34634 -0.77224,4.37599 -0.81513,1.32995 -2.3596,2.14509 -4.03277,2.14509 -1.71608,0 -3.26055,-0.81514 -4.07568,-2.14509 -0.60063,-1.02965 -0.77224,-2.01639 -0.77224,-4.37599 v -20.07808 h -5.87755" + id="path4310-5" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:42.90187836px;line-height:82.99999833%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 695.95635,586.32041 h 7.18518 v -2.593 h -4.47342 v -12.03468 h -2.71176 v 14.62768" + id="path5235" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 704.37772,586.32041 h 2.63258 V 575.3546 h -2.63258 v 10.96581" + id="path5259" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 705.74999,571.12432 -1.86151,1.86151 1.74955,1.74955 1.86151,-1.86151 -1.74955,-1.74955" + id="path5237" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 709.13289,586.32041 h 2.63258 v -5.1662 c 0,-1.46475 0.099,-2.09815 0.43547,-2.63259 0.41567,-0.65319 1.10846,-1.00949 1.9398,-1.00949 0.67299,0 1.22722,0.23753 1.58351,0.69279 0.35629,0.47505 0.51464,1.2866 0.51464,2.75135 v 5.36414 h 2.63259 v -5.87878 c 0,-1.95959 -0.19794,-2.9097 -0.79176,-3.76084 -0.71258,-1.02928 -1.90021,-1.58351 -3.42434,-1.58351 -1.24701,0 -2.11795,0.37609 -3.08785,1.3064 v -1.04908 h -2.43464 v 10.96581" + id="path5239" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 730.75987,575.3546 h -2.63259 v 5.1662 c 0,1.44496 -0.099,2.15754 -0.41567,2.63259 -0.37608,0.6334 -1.10846,1.00949 -1.99918,1.00949 -0.67299,0 -1.18764,-0.21773 -1.54393,-0.69279 -0.37608,-0.47505 -0.53443,-1.2866 -0.53443,-2.75135 v -5.36414 h -2.63259 v 5.87878 c 0,1.86063 0.21774,2.81074 0.83135,3.72125 0.73237,1.04908 1.92,1.6231 3.34516,1.6231 1.32619,0 2.15754,-0.33649 3.14723,-1.30639 v 1.04907 h 2.43465 V 575.3546" + id="path5241" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 731.82101,586.32041 h 3.16702 l 2.29609,-3.76084 2.29609,3.76084 h 3.16702 l -3.8994,-5.66105 3.34517,-5.30476 h -2.96908 l -1.9398,3.30558 -1.97939,-3.30558 h -2.96908 l 3.36496,5.30476 -3.8796,5.66105" + id="path5243" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 744.36136,581.78761 h 5.4829 v -2.33567 h -5.4829 v 2.33567" + id="path5245" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 752.27736,586.32041 h 2.63259 v -14.62768 h -2.63259 v 14.62768" + id="path5247" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 757.03253,586.32041 h 2.63259 V 575.3546 h -2.63259 v 10.96581" + id="path5263" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 758.40481,571.12431 -1.86152,1.86153 1.74955,1.74955 1.86152,-1.86153 -1.74955,-1.74955" + id="path5249" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 761.78771,586.32041 h 2.41485 v -1.40536 c 1.12825,1.20742 2.17733,1.66268 3.80043,1.66268 1.70227,0 3.04826,-0.6334 4.05774,-1.92 0.83134,-1.06887 1.2866,-2.43465 1.2866,-3.8994 0,-3.30557 -2.37526,-5.79961 -5.52249,-5.79961 -1.42516,0 -2.39506,0.39588 -3.40455,1.40537 v -4.67136 h -2.63258 v 14.62768 m 5.66105,-8.94683 c 1.88041,0 3.24619,1.44495 3.24619,3.40455 0,1.99918 -1.30639,3.38475 -3.18681,3.38475 -1.90021,0 -3.2462,-1.40537 -3.2462,-3.40455 0,-1.97938 1.34599,-3.38475 3.18682,-3.38475" + id="path5251" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 774.85476,586.32041 h 2.63259 v -6.09651 c 0,-1.70228 0.77196,-2.55341 2.35547,-2.593 v -2.53362 h -0.19794 c -1.12825,0 -1.68248,0.3167 -2.37526,1.32619 v -1.06887 h -2.41486 v 10.96581" + id="path5253" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + <path + d="m 792.06183,582.00535 c 0.0792,-0.37609 0.099,-0.61361 0.099,-1.00949 0,-3.40455 -2.39506,-5.89858 -5.66105,-5.89858 -3.2264,0 -5.77982,2.55341 -5.77982,5.77981 0,3.20661 2.59301,5.70064 5.93817,5.70064 1.80124,0 3.20661,-0.6532 4.35465,-1.97939 0.41567,-0.51464 0.69279,-0.9699 0.87093,-1.52412 h -2.87011 c -0.67299,0.79175 -1.32619,1.08866 -2.41485,1.08866 -1.56372,0 -2.71177,-0.83135 -3.02847,-2.15753 h 8.49158 m -8.57075,-2.31589 c 0.41567,-1.40536 1.48454,-2.17733 3.04826,-2.17733 1.62309,0 2.69196,0.77197 3.02846,2.17733 h -6.07672" + id="path5255" + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:19.79388237px;line-height:125%;font-family:'URW Gothic L';-inkscape-font-specification:'URW Gothic L Semi-Bold';letter-spacing:0px;word-spacing:0px;fill:#787dab;fill-opacity:1;stroke:none" + inkscape:connector-curvature="0" /> + </g> + </g> +</svg> diff --git a/~megver83/gcc/PKGBUILD b/~megver83/gcc/PKGBUILD new file mode 100644 index 000000000..8da0f3cb3 --- /dev/null +++ b/~megver83/gcc/PKGBUILD @@ -0,0 +1,338 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> + +# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc +# NOTE: libtool requires rebuilt with each new gcc version + +# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> +# - removed ada packages +# - removed gnat (ada stuff) from gcc packaging +# - disabled make check, too much stress, kills plugs :( +# - specifid build host, disabled distcc +# - replaced bugurl with our GitHub issue page +# - patch to disable LDRD/STRD instructions on ARMv5 + +noautobuild=1 + +pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go) +pkgver=9.1.0 +_majorver=${pkgver:0:1} +_islver=0.21 +pkgrel=1 +pkgdesc='The GNU Compiler Collection' +arch=(x86_64 armv7h) +license=(GPL LGPL FDL custom) +url='https://gcc.gnu.org' +makedepends=(binutils libmpc doxygen python subversion) +checkdepends=(dejagnu inetutils) +options=(!emptydirs !distcc) +#source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig} +source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig} +#source=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch + http://isl.gforge.inria.fr/isl-${_islver}.tar.xz + c89 c99 + bz90397.patch + bz90949.patch + 0001-ARMv5-disable-LDRD-STRD.patch) +validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org + 86CFFCA918CF3AF47147588051E8B148A9999C34 # evangelos@foutrelis.com + 13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com + 33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek <jakub@redhat.com> +sha256sums=('79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0' + 'SKIP' + '777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960' + 'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931' + '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a' + 'cc20d05bcc6cb35bf0944b391f0b0380af375f2a8a03ce1cd67835884bc41fac' + 'c860819e730faf1621e1286ebe3a0179df6e25182b81a9ca0a3db02633982a14' + '31e24baa9eee826d7d77dbcf8f1a6a44c92f771e52d21677acb8d76fac7ae204') + +_svnrev=264010 +_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch +_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*} + +snapshot() { + svn export -r${_svnrev} ${_svnurl} gcc-r${_svnrev} + + local datestamp basever _pkgver + basever=$(< gcc-r${_svnrev}/gcc/BASE-VER) + datestamp=$(< gcc-r${_svnrev}/gcc/DATESTAMP) + _pkgver=${basever}-${datestamp} + + mv gcc-r${_svnrev} gcc-${_pkgver} + tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz + rm -rf gcc-${_pkgver} + gpg -b gcc-${_pkgver}.tar.xz + scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/ + + echo + echo "pkgver=${_pkgver/-/+}" +} + +prepare() { + [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc + cd gcc + + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397 + patch -p0 -i "$srcdir/bz90397.patch" + + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90949 + patch -p0 -i "$srcdir/bz90949.patch" + + # link isl for in-tree build + ln -s ../isl-${_islver} isl + + # Do not run fixincludes + sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + + # Arch Linux installs x86_64 libraries /lib + [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64 + + # Arch Linux ARM installs aarch64 libraries /lib + [[ $CARCH == "aarch64" ]] && sed -i '/lp64=/s/lib64/lib/' gcc/config/aarch64/t-aarch64-linux + + # hack! - some configure tests for header files using "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure + + # ALARM: Specify build host types, triplet patch + [[ $CARCH == "arm" ]] && CONFIGFLAG="--host=armv5tel-unknown-linux-gnueabi --build=armv5tel-unknown-linux-gnueabi --with-arch=armv5te --with-float=soft" + [[ $CARCH == "armv6h" ]] && CONFIGFLAG="--host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf --with-arch=armv6 --with-float=hard --with-fpu=vfp" + [[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16" + [[ $CARCH == "aarch64" ]] && CONFIGFLAG="--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --with-arch=armv8-a --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419" + + mkdir -p "$srcdir/gcc-build" + + # Disable LDRD/STRD on ARMv5 (64-bit alignment issues) + if patch --dry-run -sp1 -i ../0001-ARMv5-disable-LDRD-STRD.patch + then + patch -p1 -i ../0001-ARMv5-disable-LDRD-STRD.patch + fi +} + +build() { + cd gcc-build + + # using -pipe causes spurious test-suite failures + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565 + CFLAGS=${CFLAGS/-pipe/} + CXXFLAGS=${CXXFLAGS/-pipe/} + + "$srcdir/gcc/configure" --prefix=/usr \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues \ + --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ \ + --enable-shared \ + --enable-threads=posix \ + --with-system-zlib \ + --with-isl \ + --enable-__cxa_atexit \ + --disable-libunwind-exceptions \ + --enable-clocale=gnu \ + --disable-libstdcxx-pch \ + --disable-libssp \ + --enable-gnu-unique-object \ + --enable-linker-build-id \ + --enable-lto \ + --enable-plugin \ + --enable-install-libiberty \ + --with-linker-hash-style=gnu \ + --enable-gnu-indirect-function \ + --disable-multilib \ + --disable-werror \ + --enable-checking=release \ + --enable-default-pie \ + --enable-default-ssp \ + $CONFIGFLAG + + make + + # make documentation + make -C $CHOST/libstdc++-v3/doc doc-man-doxygen +} + +check() { + cd gcc-build + + # do not abort on error as some are "expected" + make -k check || true + "$srcdir/gcc/contrib/test_summary" +} + +package_gcc-libs() { + pkgdesc='Runtime libraries shipped by GCC' + groups=(base) + depends=('glibc>=2.27') + options+=(!strip) + provides=(libgo.so libgfortran.so libubsan.so libasan.so + liblsan.so) + if [[ $CARCH == "aarch64" ]]; then + provides+=(libtsan.so) + fi + + cd gcc-build + make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared + rm -f "$pkgdir/$_libdir/libgcc_eh.a" + + for lib in libatomic \ + libgfortran \ + libgo \ + libgomp \ + libitm \ + libquadmath \ + libsanitizer/{a,l,ub}san \ + libstdc++-v3/src \ + libvtv; do + make -C $CHOST/$lib DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES + done + + if [[ $CARCH == "x86_64" || $CARCH == "aarch64" ]]; then + make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" install-toolexeclibLTLIBRARIES + fi + + make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs + make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install + + for lib in libgomp \ + libitm \ + libquadmath; do + make -C $CHOST/$lib DESTDIR="$pkgdir" install-info + done + + # Install Runtime Library Exception + install -Dm644 "$srcdir/gcc/COPYING.RUNTIME" \ + "$pkgdir/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION" +} + +package_gcc() { + pkgdesc="The GNU Compiler Collection - C and C++ frontends" + depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc) + groups=('base-devel') + options+=(staticlibs) + + cd gcc-build + + make -C gcc DESTDIR="$pkgdir" install-driver install-cpp install-gcc-ar \ + c++.install-common install-headers install-plugin install-lto-wrapper + + install -m755 -t "$pkgdir/usr/bin/" gcc/gcov{,-tool} + install -m755 -t "$pkgdir/${_libdir}/" gcc/{cc1,cc1plus,collect2,lto1} + + make -C $CHOST/libgcc DESTDIR="$pkgdir" install + rm -f "$pkgdir"/usr/lib/libgcc_s.so* + + make -C $CHOST/libstdc++-v3/src DESTDIR="$pkgdir" install + make -C $CHOST/libstdc++-v3/include DESTDIR="$pkgdir" install + make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR="$pkgdir" install + make -C $CHOST/libstdc++-v3/python DESTDIR="$pkgdir" install + + make DESTDIR="$pkgdir" install-libcc1 + install -d "$pkgdir/usr/share/gdb/auto-load/usr/lib" + mv "$pkgdir"/usr/lib/libstdc++.so.6.*-gdb.py \ + "$pkgdir/usr/share/gdb/auto-load/usr/lib/" + rm "$pkgdir"/usr/lib/libstdc++.so* + + make DESTDIR="$pkgdir" install-fixincludes + make -C gcc DESTDIR="$pkgdir" install-mkheaders + + make -C lto-plugin DESTDIR="$pkgdir" install + install -dm755 "$pkgdir"/usr/lib/bfd-plugins/ + ln -s /${_libdir}/liblto_plugin.so \ + "$pkgdir/usr/lib/bfd-plugins/" + + make -C $CHOST/libgomp DESTDIR="$pkgdir" install-nodist_{libsubinclude,toolexeclib}HEADERS + make -C $CHOST/libitm DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS + make -C $CHOST/libquadmath DESTDIR="$pkgdir" install-nodist_libsubincludeHEADERS + make -C $CHOST/libsanitizer DESTDIR="$pkgdir" install-nodist_{saninclude,toolexeclib}HEADERS + make -C $CHOST/libsanitizer/asan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS + if [[ $CARCH == "aarch64" ]]; then + make -C $CHOST/libsanitizer/tsan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS + fi + make -C $CHOST/libsanitizer/lsan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS + + make -C libiberty DESTDIR="$pkgdir" install + install -m644 libiberty/pic/libiberty.a "$pkgdir/usr/lib" + + make -C gcc DESTDIR="$pkgdir" install-man install-info + rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran}.1 + rm "$pkgdir"/usr/share/info/{gccgo,gfortran}.info + + make -C libcpp DESTDIR="$pkgdir" install + make -C gcc DESTDIR="$pkgdir" install-po + + # many packages expect this symlink + ln -s gcc "$pkgdir"/usr/bin/cc + + # POSIX conformance launcher scripts for c89 and c99 + install -Dm755 "$srcdir/c89" "$pkgdir/usr/bin/c89" + install -Dm755 "$srcdir/c99" "$pkgdir/usr/bin/c99" + + # install the libstdc++ man pages + make -C $CHOST/libstdc++-v3/doc DESTDIR="$pkgdir" doc-install-man + + # byte-compile python libraries + python -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/" + python -O -m compileall "$pkgdir/usr/share/gcc-${pkgver%%+*}/" + + # Install Runtime Library Exception + install -d "$pkgdir/usr/share/licenses/$pkgname/" + ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \ + "$pkgdir/usr/share/licenses/$pkgname/" +} + +package_gcc-fortran() { + pkgdesc='Fortran front-end for GCC' + depends=("gcc=$pkgver-$pkgrel") + + cd gcc-build + make -C $CHOST/libgfortran DESTDIR="$pkgdir" install-cafexeclibLTLIBRARIES \ + install-{toolexeclibDATA,nodist_fincludeHEADERS} + make -C $CHOST/libgomp DESTDIR="$pkgdir" install-nodist_fincludeHEADERS + make -C gcc DESTDIR="$pkgdir" fortran.install-{common,man,info} + install -Dm755 gcc/f951 "$pkgdir/${_libdir}/f951" + + ln -s gfortran "$pkgdir/usr/bin/f95" + + # Install Runtime Library Exception + install -d "$pkgdir/usr/share/licenses/$pkgname/" + ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \ + "$pkgdir/usr/share/licenses/$pkgname/" +} + +package_gcc-objc() { + pkgdesc='Objective-C front-end for GCC' + depends=("gcc=$pkgver-$pkgrel") + + cd gcc-build + make DESTDIR="$pkgdir" -C $CHOST/libobjc install-headers + install -dm755 "$pkgdir/${_libdir}" + install -m755 gcc/cc1obj{,plus} "$pkgdir/${_libdir}/" + + # Install Runtime Library Exception + install -d "$pkgdir/usr/share/licenses/$pkgname/" + ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \ + "$pkgdir/usr/share/licenses/$pkgname/" +} + +package_gcc-go() { + pkgdesc='Go front-end for GCC' + depends=("gcc=$pkgver-$pkgrel") + provides=("go=1.12.2") + conflicts=(go) + + cd gcc-build + make -C $CHOST/libgo DESTDIR="$pkgdir" install-exec-am + make DESTDIR="$pkgdir" install-gotools + make -C gcc DESTDIR="$pkgdir" go.install-{common,man,info} + + rm -f "$pkgdir"/usr/lib/libgo.so* + install -Dm755 gcc/go1 "$pkgdir/${_libdir}/go1" + + # Install Runtime Library Exception + install -d "$pkgdir/usr/share/licenses/$pkgname/" + ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \ + "$pkgdir/usr/share/licenses/$pkgname/" +} |