parent
a71c83e8b9
commit
8d69411830
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29293 BLAKE2B cac1fe73ddfbc645ac7b7b7211990a1dbbd7acd86d7e8ee8d9e735b3cc3551915c3fd90e55423a7b99959400db9b636841db6ac204c8ea87bbd6a212d9584408 SHA512 30b96d5585bdcaa2af474d9ece0fa2aad48a7eec5bdebe94009847f727c97fe4c29f26f82ba6aeaff0b3ab91e7e4b02f57c91567c3f2a86b1b47a4474763fed4
|
||||
TIMESTAMP 2019-06-02T12:38:58Z
|
||||
MANIFEST Manifest.files.gz 29316 BLAKE2B 77a1a404f656fd4b371bed746c18ae8e37b4a2afbb58d1a2db9b09598520cbfd9f8a00a9efe736e021daac5700d65f6c98fc8eecce1be43581506d4d9fe7653d SHA512 f2c5fd04206327dd4e7e2bcb248d4800e621686e692b909e5571538333206d05bd3a524290e1d57c8f7bb8bfa8c8ab14cf1143aeea1300b3e2d72c1f3e37a13e
|
||||
TIMESTAMP 2019-06-03T04:39:02Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlzzw2JfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlz0pGZfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCN3Q//ZByItA+MRNk8shVW+cQtMPaxJctjZGMfkgx9JOzgtpFC02t0Ul51LQl0
|
||||
ZE5qHFtaMlC9okCe26+geE5JQoXeQL6nwY4Xn7N4LJBW+6DNBzJmtjQ6+b2dDn5A
|
||||
4MJsh0l0CrF+EGQbejQ1+Q476j5l37kp2v+s3d13GiWZXqbWRsErW0yCRZ1kjO67
|
||||
uZw2YetWQ8E2gcCD8E8ZhvxJQEHHvo21nanc1V011wjitFd9+GYYPEzldZPB7SMm
|
||||
SbWZsCuDaKa/pzIpAb3fF9j0hK5hwK3chNEM3OcV7dwnKHk4kMRay0vMKJu8NmyF
|
||||
6vPjYvsJJAmH4O04pi0TmomJAUk4Y6zyvSe0ciC+uIKo3Efk2xVOToEdoRR8pxWd
|
||||
67k3lNFeAl+mhKOpTQ4QTKYIEmN2UmfbQUXCObwD9cGp07jH94G6MDRi4s7W6O6G
|
||||
nWkvOvljlJ7rmb398S/lIAFpVxWDij3lPoWiX2X6zJ2Rz39mwoKee5eq71wB1n2z
|
||||
FYX9N5CLKZ3bBzBu/3pUDxYoblZ0yWVdIfl1LuDOFhzZTFuA2kJCbyGlisPCOdy/
|
||||
hfIuB5ic9uNObrbt0dLaYvtNtz1rguOfmfGHdXkNnqlTCVXOi5PnBSJYU93KeB1C
|
||||
8BvYwVmXK97luJyLp2SFeNUMFKdKS/PzZHRHmJ7VLfvhrIJXjZc=
|
||||
=Wh4l
|
||||
klC/AQ/+NDMUSFBCiZK/EEw6A9w1pDi/wfZr7/KiauilEqq6OJDb/P+JRA/OnJHh
|
||||
4y6WZ1EgMixk+VABnRFCi2LxezQMxDqpkTDUvdyD5fp4V3BgMgjsyGTEq/jN0tsT
|
||||
cb6MBfHwydR2u8eQJRXQbp7JkDO9sxS6W9GAcB08nhDG7qjpxNKxshdvfU2FcLbe
|
||||
HAW8pyXIUbv2OCLwPm2E0asgspqfW+YDCh4o5LFnHzJ+I92rVUuCviqv80Y8v+Ha
|
||||
fK+GKWXkGlpld2aoVyiE1rUUAJfb3sWtNTXYVydV4iTc9iASlrl8kv7vtIuhX+6w
|
||||
kfezvjcOWlyztsM6P6qw/urQ7tfmNHn+DGOVnfQbZz5Q9OzbZVmDQhl0RcgavfSZ
|
||||
btH3phrEUKBoSLsB69sV+5MPuGklenZB0twsPgLab6yNTq5jvbPwE+fDzlwzf+Ab
|
||||
N2Yll95hl1Vlo5F7Az2jrd2eve9yCkEMpz4sN/lQPyzSu6U/JpNGrhI+gIVHP4pc
|
||||
VSX/gmnvNRA36L2NNItYM13dPTbI6H+1amcqCxvkWgVHVFP2XfBiW44XQ4mR+B3s
|
||||
AQ0T104s83i1pIFPz4ka5PCqi4tSiX60e0ADJxiKrYEoEX3wfo6UwtTkZYdeG+BC
|
||||
O1qooP6gRmPR8Y/sEQhBJWbpqXOiVi02hxLbIZJyBHNXYTGAPJE=
|
||||
=Zkr4
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
DIST system-config-printer-1.5.11-patchset-01.tar.xz 6948 BLAKE2B effe29c51cbe74fc72566df65f10ab845c9dc1f40ca2966c40be87e19f98046f34311c24b7bc77f471b840e35b0c8eb7754a7c5464d50335c8ab2e2ed0e79afd SHA512 2501bda0e75ea51cc8e14df6b3746a0ea51618919ef35ace849efeded0cddc49e6e3793142d1cd128ce3ce62c21661d5fdb85b19718df07b87a20f5fc641885b
|
||||
DIST system-config-printer-1.5.11.tar.xz 949816 BLAKE2B 96b41d64e0aa3494b7fc7ed15ac926d833a046ba2880b36b6f5dd4e7508e2bc1fac4cb52c9940c13cec6e34cb8972fbc11fcd5a7df510296444ca08a23f4cb2b SHA512 cc0a6faec0022092e64de3d7ab28669039c93853c6931d26c264f0035486e09ad0af784833e88ee8e3dc1b6f5be9dcf84144a2a6464dfa9711172966fa6a22b4
|
||||
EBUILD system-config-printer-1.5.11-r1.ebuild 2385 BLAKE2B 662c0baddb0b4118b4a54aff12dce7403f2a8a11856759fc322cbbe1be0869be81767a7791fbc6c12838b57bb0cb77b2f820b4dc57c546fbb9181f4fcf383844 SHA512 e2d9732510cd65a0814540ee1729ebd1bc876c94f30a16a08b4b2e9596e492a0228f8dc1b01cdb01758345206e03c61d3f7ac95b630d2fff2075592f8e530123
|
||||
EBUILD system-config-printer-1.5.11-r2.ebuild 2391 BLAKE2B a9ae83182a784c3ad131ab3445a75a5a334a68d95ef78caac0a52be8bd548ef5772adba59161e2c9df1c770c6293f0f58e0474b18e5c51480cecea4d2b5a88e9 SHA512 ce543d1b878d214133efb5452fbd74c53471b562647834e33b108fb81f899022ceb44aa63809c7bc6e9073ce313818173a7c635ff3a5176441f3a3c864231824
|
||||
MISC metadata.xml 463 BLAKE2B 8cc3de37cb766555e89dca64b9be719c3b2885144f08e5a126084e5f8125ff085e9c51705216cd51fb3c66daa29016a790dd606de2b443a7e65f6677f4c46fa4 SHA512 8521e871b99b17ea2bb754dc9bf1b1a49bd32673acce3fe561ec087c5c4bacfbefbf904af1cf5a6ada369e936a0e06a7116074ef622f882e434da7afdee12533
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
inherit gnome2 python-single-r1 systemd
|
||||
|
||||
DESCRIPTION="Graphical user interface for CUPS administration"
|
||||
HOMEPAGE="https://github.com/zdohnal/system-config-printer"
|
||||
SRC_URI="https://github.com/zdohnal/${PN}/releases/download/${PV}/${P}.tar.xz
|
||||
https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-01.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="doc gnome-keyring policykit"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Needs cups running, bug 284005
|
||||
RESTRICT="test"
|
||||
|
||||
# Additional unhandled dependencies
|
||||
# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
|
||||
# python samba client: smbc
|
||||
# selinux: needed for troubleshooting
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
dev-libs/glib:2
|
||||
net-print/cups[dbus]
|
||||
virtual/libusb:1
|
||||
>=virtual/udev-172
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=app-text/xmlto-0.0.22
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/epydoc )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pycups[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
gnome-keyring? ( app-crypt/libsecret[introspection] )
|
||||
policykit? ( net-print/cups-pk-helper )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${P}-auth-dialog.patch
|
||||
"${WORKDIR}"/${P}-libsecret-optional-{1,2}.patch
|
||||
"${WORKDIR}"/${P}-scp-dbus-service-{1,2}.patch
|
||||
"${WORKDIR}"/${P}-typo.patch
|
||||
"${WORKDIR}"/${P}-appdata.patch
|
||||
"${WORKDIR}"/${P}-empty-LC_MESSAGES.patch
|
||||
"${WORKDIR}"/${P}-fdopen-utf8.patch
|
||||
"${WORKDIR}"/${P}-typeerror.patch
|
||||
"${WORKDIR}"/${P}-debugprint-typo.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--enable-nls \
|
||||
--with-desktop-vendor=Gentoo \
|
||||
--with-udev-rules \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gnome2_src_compile
|
||||
use doc && emake html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
gnome2_src_install
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,11 +1,15 @@
|
||||
AUX gprbuild-2017-config.patch 5738 BLAKE2B 6089d8aa9fc3654958e46eac7ed22f887dc7017c670df53d4aaec37d937bfea866f99ba1232d3f3c55532b0c4754bed4db074850c1160308eddd3223d4d2c921 SHA512 45fd4b1cf4bf94f333350a4d3b3cdd0efd673f4eb32e8b0c837d8cf08aa87bda2b57749c230785f53807f48fcad67331c82ce1857fffbcb4af395d26a5d8f886
|
||||
AUX gprbuild-2017-gentoo.patch 3381 BLAKE2B 4e4c4d19db49aa3100f0acb97af90d942ea39fa5cc6cca5e369cd3459fa898406be18b762b33764bcc8f8ad6b007f00a2a1098990efe10f4aff96b80961ab6ce SHA512 a20642a117f61dd82469fafbd07fcd1d652ae8a11e866aafd55fb643fb9582994f94d643a4bbfcd0985534947cc8b48220de7503f83e74234b17838ce4468a66
|
||||
AUX gprbuild-2018-gentoo.patch 11203 BLAKE2B 0dc7c1e7bfc4d3864c3e200ebb1e5f4f7f920fa1939cd940f67d72cd0bf9044f0bdf09a51e492f133be1ba3ffa50816531d7038ed60c8d757fb3d60f12da268b SHA512 56c439a97109e805dea79ed624cb8687327170351e760078acc4506f02af7374fe1e51aad57150a8960ee7d904f496e0e4583543f5cbcfce2ba3677600b01ead
|
||||
AUX gprbuild-2019-gentoo.patch 11240 BLAKE2B 609968e7d95bb686db4362c06600a90cd9d9cde1c4058618ed40fd90585153b02316369dc3a439b84f3c8e1031d182ed3f739b449ed8e09761e90e2b80d73a4c SHA512 f48ed180ecfd8cb6691473e1f996f1805dcae693a0e2710fdfd0c246443cbe732ccc6dbb415c90396886b0b79d8aac22e3c7b720ca4f6da746e22485972aace5
|
||||
DIST gprbuild-2019-20190517-194D8-src.tar.gz 2507961 BLAKE2B 0f70d94cb0db9ddc1dd308862aaa305a91965a62a936cfbdde2ae9f3f735f0cc3d69596b09da4b979a1d7923087ab0ec5cf2d6541551f057b5e8e0c499065a90 SHA512 0388d7e6cdf625fef40b33da764091b3283dd88714c64ecfad4b5e99253f183b1a9b717c19281e6d45cc4277a05fadb2e2ace394d6f30638664b66c97123052b
|
||||
DIST gprbuild-gpl-2017-src.tar.gz 2454957 BLAKE2B 890e5aa29e9f8fa8b140988ee8e5d6042640c34fe0877acde959de803bf690bb33c63b1c7e7db486f804882bddd77ab76ffbaa4dd27da327e21ed0376cadb99d SHA512 12f3682d64ce0718de4940c1e71a4380b20021805d88543842dbf3b5ce5d518c23a6b2d868565579baf81efa1d8cf05c7778253162f0df5d7adc0eb1865c9f88
|
||||
DIST gprbuild-gpl-2018-src.tar.gz 2479651 BLAKE2B b0e24f4d97f06fe84569f8f0284e1028fce8e4ae90cfd27ab31ada0988f4f1b37eca4868bc212a21d26fb1a0a7ba6f031062e16d9758ab211e2fee40e25077ab SHA512 d22c0133baa6a0b626a0c1d145b21865bd0699cd8155ca22727272b0f8988c78163410b432ae148e87099e931df19d51ea867981556c79cb1cceb25456333044
|
||||
DIST xmlada-2019-20190429-19B9D-src.tar.gz 1582603 BLAKE2B e2be3e7c0c8b843bfc808a3dd726235a82588caed8c919975a97ce34c72d6d634361bbc34208590210936add9e2f881b59d01168ef79abed1e489c50b27094d8 SHA512 f8e0e25b0aee9a7a18223ae7761603082af55134f062c767d0cd0dbf0dbcb2058fc7c57532b567fb2c6efa464a53ead57b300578e98962025866e5c3ad73e380
|
||||
DIST xmlada-gpl-2017-src.tar.gz 1578393 BLAKE2B 7b4894040b6044e86c96cbd530ebda5c0cfc4ad0e2b472d46798a93f535aca0916b03385a3aef49bd4e59d508a9665c856360e9cab0a4f67b15091228b629d81 SHA512 371f6adc01550a4bb13204ec0404dc1165438db595f4346813e5a23a155de74c857c40c55adde173919c2fe35b3b91d78b235c9718ee86bc848e62ddfd7fa2b4
|
||||
DIST xmlada-gpl-2018-src.tar.gz 1582215 BLAKE2B 11012dab19f45507eeb5ce6ebec9a77ceb5dfb7749960922f0f48bb1b0409305fd43466a7af90b48ff0a0cf58612e8859274a92e0fe272b4e57a59b92a1725f1 SHA512 8970c4e68defad66625c1110554dadfc485fbbe42e832987593cf727e98f13dd87c90b84461187dbbe2b1051831e6e70f9f53d6a0cfc07451726d601b2856430
|
||||
EBUILD gprbuild-2017-r1.ebuild 2207 BLAKE2B 50a99fa4729a7cb8a9689fa23b6f764be7077094101aa7dbe7452002b7b0c5602dbd82924ef1a6252ce6c973ec5f1ed687ef1d773b43ada1d0a5c707c97d564c SHA512 0c0d40bcd506f86da9e9b1e2d1d57163de5e3dc12095e6566251a673ddc236e099460a83be1a47e2b103d30474c168240257a442ebc5f727633fa6608e105b7b
|
||||
EBUILD gprbuild-2018-r3.ebuild 2115 BLAKE2B 6a30d38af19eb3c18bcacae6aa3bdd6e4315102c5f0c3591df90f31e51fa954c654c975c527b8b93d5190851fda8d50cd894050f36cacd351fc707d06dfbf20c SHA512 91dab25795db0e5acfa4d3a1ce9d3653d94726ad9a8f733437b2ea23cda9db17af81c998fa8b70e5ad8d5abb14f15f59aaf9aaf6f4640b11a471b14a5e0b2099
|
||||
EBUILD gprbuild-2018-r4.ebuild 2218 BLAKE2B d5fa3a5a331aa64863907e3f20b581f7849dfb9b39e437bb4b37623c987c1ba89326f2b2bad000e7cca887c8f25ee39a1bd0024988d9eec8d4ca9975b5443129 SHA512 e6bbbd20754a90acce55c8f8145e8867491cd0208a0fe19d22e6fdd357a2e17dad9e4cc912d82aa263791cd6cc12c608531f8f72b2d386d35c22fe52dace903a
|
||||
EBUILD gprbuild-2019.ebuild 2235 BLAKE2B 8ad3da8f3d75130c32b061b20767eb2c69104e7f0e0ed5fd3cce1e559da8b4027894866341559c6e0c5dbb157bcb30e2681e32a980e110b3aadcaa6ba297cc55 SHA512 f0cf271cc42876b71a82763228e877ff74f5a97ae460366abc94a885ba220245c7743ba9c454007e5a467b740d061d61a24b1e2ad6d4c0445777c9ece579902c
|
||||
MISC metadata.xml 1125 BLAKE2B eb8158df946472627b36cf599bcb82e0784667b167be320007d1ebeabdd0fc5d286ba0bf9ae0560fd74b938aa10c8e807471ba4d1a1334e0d56432c195a9c23d SHA512 2975617f346492a42da5085de24ac8243ea8360a1c2dce200c1438ce4d33e9ee60ee0101b01df1cdfcb02a59b306bba5f954ae60c2fc82c991e0592671323181
|
||||
|
@ -0,0 +1,274 @@
|
||||
--- a/src/gprlib.adb 2019-06-02 10:57:49.807002425 +0200
|
||||
+++ b/src/gprlib.adb 2019-06-02 11:01:32.986518447 +0200
|
||||
@@ -266,7 +266,9 @@
|
||||
|
||||
Driver_Name : Name_Id := No_Name;
|
||||
|
||||
- Gnatbind_Name : String_Access := new String'("gnatbind");
|
||||
+ Gnatbind_Name : String_Access := new String'("@GNATBIND@");
|
||||
+
|
||||
+ Gnatbind_Path_Option : constant String := "--gnatbind_path=";
|
||||
|
||||
Compiler_Name : String_Access := new String'("gcc");
|
||||
|
||||
@@ -2081,7 +2083,7 @@
|
||||
and then Line (Last - 2 .. Last) = "gcc"
|
||||
then
|
||||
Gnatbind_Name :=
|
||||
- new String'(Line (1 .. Last - 3) & "gnatbind");
|
||||
+ new String'(Line (1 .. Last - 3) & "@GNATBIND@");
|
||||
Objcopy_Name :=
|
||||
new String'(Line (1 .. Last - 3) & "objcopy");
|
||||
|
||||
@@ -2089,7 +2091,7 @@
|
||||
and then Line (Last - 6 .. Last) = "gcc.exe"
|
||||
then
|
||||
Gnatbind_Name :=
|
||||
- new String'(Line (1 .. Last - 7) & "gnatbind");
|
||||
+ new String'(Line (1 .. Last - 7) & "@GNATBIND@");
|
||||
Objcopy_Name :=
|
||||
new String'(Line (1 .. Last - 7) & "objcopy");
|
||||
end if;
|
||||
@@ -2241,7 +2243,13 @@
|
||||
Mapping_File_Name := new String'(Line (1 .. Last));
|
||||
|
||||
when Binding_Options =>
|
||||
- Binding_Options_Table.Append (Line (1 .. Last));
|
||||
+ if Last > Gnatbind_Path_Option'Length
|
||||
+ and then Line (1 .. Gnatbind_Path_Option'Length) =
|
||||
+ Gnatbind_Path_Option then
|
||||
+ null;
|
||||
+ else
|
||||
+ Binding_Options_Table.Append (Line (1 .. Last));
|
||||
+ end if;
|
||||
|
||||
when Copy_Source_Dir =>
|
||||
Copy_Source_Directory := new String'(Line (1 .. Last));
|
||||
--- a/share/gprconfig/compilers.xml 2019-06-01 21:29:57.611722804 +0200
|
||||
+++ b/share/gprconfig/compilers.xml 2019-06-01 21:42:56.000608601 +0200
|
||||
@@ -20,15 +20,15 @@
|
||||
<!-- GCC 3.x & 4.x (not for GNAT Pro)-->
|
||||
<compiler_description>
|
||||
<name>GCC</name>
|
||||
- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-)?gcc</executable>
|
||||
+ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-)?gcc-@VER@</executable>
|
||||
<version>
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -v</external>
|
||||
<nogrep regexp="for GNAT Pro"></nogrep>
|
||||
<grep regexp="^gcc \S+ (\S+)" group="1"></grep>
|
||||
</version>
|
||||
<languages>C</languages>
|
||||
<target>
|
||||
- <external>${PREFIX}gcc -dumpmachine</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
@@ -170,14 +170,14 @@
|
||||
-->
|
||||
<compiler_description>
|
||||
<name>GNAT</name>
|
||||
- <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-|.*-qnx.*)?gnatls</executable>
|
||||
+ <executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*-pc-mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-|.*-qnx.*)?gnatls-@VER@</executable>
|
||||
<version>
|
||||
- <external>${PREFIX}gnatls -v --version</external>
|
||||
+ <external>${PREFIX}gnatls-@VER@ -v --version</external>
|
||||
<grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
</version>
|
||||
<languages>Ada</languages>
|
||||
<variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -v</external>
|
||||
<grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
</variable>
|
||||
<runtimes default="default,kernel,native">
|
||||
@@ -187,67 +187,11 @@
|
||||
<directory group="1" >\.\./$TARGET/lib/gnat/(.*)/adalib/</directory>
|
||||
</runtimes>
|
||||
<target>
|
||||
- <external>${PREFIX}gcc -dumpmachine</external>
|
||||
+ <external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
- <!-- CodePeer -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_CODEPEER</name>
|
||||
- <executable prefix="1">(.*gnsa-|.*codepeer-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada,C,C++</languages>
|
||||
- <variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
- <grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
- </variable>
|
||||
- <runtimes default="default,native">
|
||||
- <directory group="default" >\.\./lib/gcc/.*/$gcc_version/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/gnat/(.*)/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/gcc/.*/$gcc_version/rts-(.*)/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>codepeer</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
- <!-- Generic GNAT LLVM Target -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_LLVM</name>
|
||||
- <executable prefix="1">(llvm-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada</languages>
|
||||
- <variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
- <grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
- </variable>
|
||||
- <runtimes default="default,native">
|
||||
- <directory group="default" >\.\./lib/rts-native/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>llvm</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
- <!-- Generic C compiler for LLVM -->
|
||||
- <compiler_description>
|
||||
- <name>C_LLVM</name>
|
||||
- <executable>clang</executable>
|
||||
- <version>
|
||||
- <external>clang --version</external>
|
||||
-
|
||||
- <!-- 'clang version 6.0.0 ...' -->
|
||||
- <grep regexp="^clang version (\S+) " group="1"></grep>
|
||||
- </version>
|
||||
- <languages>C</languages>
|
||||
- <target>llvm</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
<!-- Generic C++ compiler for LLVM -->
|
||||
<compiler_description>
|
||||
<name>C++_LLVM</name>
|
||||
@@ -262,45 +206,6 @@
|
||||
<target>llvm</target>
|
||||
</compiler_description>
|
||||
|
||||
- <!-- C Target -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_C</name>
|
||||
- <executable prefix="1">(c-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada</languages>
|
||||
- <variable name="gcc_version">
|
||||
- <external>${PREFIX}gcc -v</external>
|
||||
- <grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
- </variable>
|
||||
- <runtimes default="default,ccg">
|
||||
- <directory group="default" >\.\./libexec/gnat_ccg/lib/gcc/.*/$gcc_version/adalib/</directory>
|
||||
- <directory group="1" >\.\./libexec/gnat_ccg/lib/gcc/.*/$gcc_version/rts-(.*)/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/gnat/(.*)/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>c</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
- <!-- GNAT_DOTNET -->
|
||||
-
|
||||
- <compiler_description>
|
||||
- <name>GNAT_DOTNET</name>
|
||||
- <executable prefix="1">(.*dotnet-)gnatls</executable>
|
||||
- <version>
|
||||
- <external>${PREFIX}gnatls -v</external>
|
||||
- <grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
- </version>
|
||||
- <languages>Ada</languages>
|
||||
- <runtimes default="default,kernel">
|
||||
- <directory group="default" >\.\./lib/dotgnat/adalib/</directory>
|
||||
- <directory group="1" >\.\./lib/dotgnat/rts-(.*)/adalib/</directory>
|
||||
- </runtimes>
|
||||
- <target>dotnet</target>
|
||||
- </compiler_description>
|
||||
-
|
||||
<!-- G77 -->
|
||||
<compiler_description>
|
||||
<name>G77</name>
|
||||
@@ -404,21 +309,6 @@
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
- <!-- LLVM Compiler -->
|
||||
- <compiler_description>
|
||||
- <name>LLVM</name>
|
||||
- <executable>clang</executable>
|
||||
- <version>
|
||||
- <external>clang -v</external>
|
||||
- <grep regexp=".*(LLVM|clang) version ([0-9.]*)" group="2"></grep>
|
||||
- </version>
|
||||
- <languages>C,C++</languages>
|
||||
- <target>
|
||||
- <external>clang -dumpmachine</external>
|
||||
- <grep regexp="[^\r\n]+"></grep>
|
||||
- </target>
|
||||
- </compiler_description>
|
||||
-
|
||||
<!-- Windres compiler -->
|
||||
<compiler_description>
|
||||
<name>WINDRES</name>
|
||||
--- a/share/gprconfig/gnat.xml 2019-06-01 21:53:53.383281607 +0200
|
||||
+++ b/share/gprconfig/gnat.xml 2019-06-01 21:57:08.414196529 +0200
|
||||
@@ -60,7 +60,7 @@
|
||||
&filter_gnat;
|
||||
<config>
|
||||
package Compiler is
|
||||
- for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc";
|
||||
+ for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc-@VER@";
|
||||
for Language_Kind ("Ada") use "unit_based";
|
||||
for Dependency_Kind ("Ada") use "ALI_File";
|
||||
for Leading_Required_Switches ("Ada") use
|
||||
@@ -77,6 +77,9 @@
|
||||
for Objects_Path_File ("Ada") use "ADA_PRJ_OBJECTS_FILE";
|
||||
for Driver ("Ada") use
|
||||
"${GPRCONFIG_PREFIX}libexec/gprbuild/gprbind";
|
||||
+ for Switches ("Ada") use ("--gnatbind_path=gnatbind-@VER@");
|
||||
+ for Required_Switches ("Ada") use
|
||||
+ Binder'Required_Switches ("Ada") & ("--RTS=${RUNTIME_DIR(ada)}");
|
||||
end Binder;
|
||||
|
||||
for Toolchain_Version ("Ada") use "GNAT ${VERSION(ada)}";
|
||||
--- a/share/gprconfig/c.xml 2019-06-01 21:57:36.244755708 +0200
|
||||
+++ b/share/gprconfig/c.xml 2019-06-01 21:59:14.919191663 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
</compilers>
|
||||
<config>
|
||||
package Compiler is
|
||||
- for Driver ("C") use "${PATH(c)}${PREFIX(c)}gcc";
|
||||
+ for Driver ("C") use "${PATH(c)}${PREFIX(c)}gcc-@VER@";
|
||||
end Compiler;
|
||||
</config>
|
||||
</configuration>
|
||||
--- a/share/gprconfig/linker.xml 2019-06-01 21:59:34.546880368 +0200
|
||||
+++ b/share/gprconfig/linker.xml 2019-06-01 22:00:50.906668730 +0200
|
||||
@@ -1015,7 +1015,7 @@
|
||||
</targets>
|
||||
<config>
|
||||
for Library_Partial_Linker use
|
||||
- ("${PATH(ada)}${PREFIX(ada)}gcc", "-nostdlib", "-Wl,-r", "-o");
|
||||
+ ("${PATH(ada)}${PREFIX(ada)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-no-pie", "-o");
|
||||
</config>
|
||||
</configuration>
|
||||
|
||||
@@ -1034,7 +1034,7 @@
|
||||
</targets>
|
||||
<config>
|
||||
for Library_Partial_Linker use
|
||||
- ("${PATH(c)}${PREFIX(c)}gcc", "-nostdlib", "-Wl,-r", "-o");
|
||||
+ ("${PATH(c)}${PREFIX(c)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-no-pie", "-o");
|
||||
</config>
|
||||
</configuration>
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multiprocessing
|
||||
|
||||
MYP=${P}-20190517-194D8-src
|
||||
XMLADA=xmlada-${PV}-20190429-19B9D-src
|
||||
|
||||
DESCRIPTION="Multi-Language Management"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/5cdf8e8031e87a8f1d425093
|
||||
-> ${MYP}.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5cdf916831e87a8f1d4250b5
|
||||
-> ${XMLADA}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnat_2016 gnat_2017 gnat_2018 +gnat_2019"
|
||||
|
||||
DEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
|
||||
gnat_2018? ( dev-lang/gnat-gpl:7.3.1 )
|
||||
gnat_2019? ( dev-lang/gnat-gpl:8.3.1 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}
|
||||
|
||||
REQUIRED_USE="!gnat_2016 ^^ ( gnat_2017 gnat_2018 gnat_2019 )"
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
if use gnat_2017; then
|
||||
GCC_PV=6.3.0
|
||||
elif use gnat_2018; then
|
||||
GCC_PV=7.3.1
|
||||
else
|
||||
GCC_PV=8.3.1
|
||||
fi
|
||||
default
|
||||
sed -i \
|
||||
-e "s:@VER@:${GCC_PV}:g" \
|
||||
share/gprconfig/compilers.xml \
|
||||
share/gprconfig/gnat.xml \
|
||||
share/gprconfig/c.xml \
|
||||
share/gprconfig/linker.xml \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "s:@GNATBIND@:gnatbind-${GCC_PV}:g" \
|
||||
src/gprlib.adb \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
emake prefix="${D}"usr setup
|
||||
}
|
||||
|
||||
bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls"
|
||||
lib_progs="gprlib gprbind"
|
||||
|
||||
src_compile() {
|
||||
GCC=${CHOST}-gcc-${GCC_PV}
|
||||
GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
|
||||
local xmlada_src="../${XMLADA}"
|
||||
incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
|
||||
-I${xmlada_src}/schema -I${xmlada_src}/unicode \
|
||||
-I${xmlada_src}/input_sources"
|
||||
${GCC} -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
|
||||
for bin in ${bin_progs}; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \
|
||||
-o ${bin} -largs gpr_imports.o || die
|
||||
done
|
||||
for lib in $lib_progs; do
|
||||
${GNATMAKE} -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
|
||||
-largs gpr_imports.o || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${bin_progs}
|
||||
exeinto /usr/libexec/gprbuild
|
||||
doexe ${lib_progs}
|
||||
insinto /usr/share/gprconfig
|
||||
doins share/gprconfig/*
|
||||
insinto /usr/share/gpr
|
||||
doins share/_default.gpr
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.23.0-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
LLVM_MAX_SLOT=5
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.24.0-verbose-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-0.24.2-gentoo-tests-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.24.2-gentoo-tests-network-sandbox.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.24.2
|
||||
BV_AMD64=${BV}-1-linux-x86_64
|
||||
BV_X86=${BV}-1-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
LLVM_MAX_SLOT=6
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.25.0-verbose.patch
|
||||
"${FILESDIR}"/${PN}-0.24.2-gentoo-tests-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.24.2-gentoo-tests-network-sandbox.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.25.1-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
LLVM_MAX_SLOT=6
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.25.0-verbose.patch
|
||||
"${FILESDIR}"/${PN}-0.24.2-gentoo-tests-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.24.2-gentoo-tests-network-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.26.0-gentoo-tests-network-sandbox-2.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.27.0-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
# Not compatible with llvm-7
|
||||
LLVM_MAX_SLOT=6
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.25.0-verbose.patch
|
||||
"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-network-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
|
||||
if [[ ! -d ${bootstrap_path} ]]; then
|
||||
eerror "Binary tarball does not contain expected directory:"
|
||||
die "'${bootstrap_path}' path does not exist."
|
||||
fi
|
||||
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${bootstrap_path}:${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# EXTRA_SPEC_FLAGS is useful to debug individual tests
|
||||
# as part of full build:
|
||||
# USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
\
|
||||
"EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
@ -1,121 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
|
||||
|
||||
BV=0.27.0-1
|
||||
BV_AMD64=${BV}-linux-x86_64
|
||||
BV_X86=${BV}-linux-i686
|
||||
|
||||
DESCRIPTION="The Crystal Programming Language"
|
||||
HOMEPAGE="https://crystal-lang.org"
|
||||
SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
|
||||
x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
|
||||
|
||||
# Not compatible with llvm-7
|
||||
LLVM_MAX_SLOT=6
|
||||
|
||||
# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
|
||||
DEPEND="
|
||||
sys-devel/llvm:${LLVM_MAX_SLOT}
|
||||
dev-libs/boehm-gc[static-libs,threads]
|
||||
dev-libs/libatomic_ops
|
||||
dev-libs/libevent
|
||||
dev-libs/libpcre
|
||||
sys-libs/libunwind
|
||||
dev-libs/pcl
|
||||
dev-libs/gmp:0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
xml? ( dev-libs/libxml2 )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.27.1-verbose.patch
|
||||
"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
|
||||
"${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
|
||||
"${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
|
||||
if [[ ! -d ${bootstrap_path} ]]; then
|
||||
eerror "Binary tarball does not contain expected directory:"
|
||||
die "'${bootstrap_path}' path does not exist."
|
||||
fi
|
||||
|
||||
emake \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
PATH="${bootstrap_path}:${PATH}" \
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
|
||||
use doc && emake docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# EXTRA_SPEC_FLAGS is useful to debug individual tests
|
||||
# as part of full build:
|
||||
# USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
|
||||
emake spec \
|
||||
$(usex debug "" release=1) \
|
||||
progress=true \
|
||||
stats=1 \
|
||||
threads=$(makeopts_jobs) \
|
||||
verbose=1 \
|
||||
\
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
AR=$(tc-getAR) \
|
||||
\
|
||||
CRYSTAL_PATH=src \
|
||||
CRYSTAL_CONFIG_VERSION=${PV} \
|
||||
\
|
||||
"EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/crystal
|
||||
doins -r src/.
|
||||
dobin .build/crystal
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/completion.zsh _crystal
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
if use doc ; then
|
||||
docinto api
|
||||
dodoc -r docs/.
|
||||
fi
|
||||
|
||||
newbashcomp etc/completion.bash ${PN}
|
||||
}
|
Binary file not shown.
@ -1,12 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>wes@sol1.com.au</email>
|
||||
<name>Wes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 toolchain-funcs elisp-common
|
||||
|
||||
MY_PN="Cython"
|
||||
MY_P="${MY_PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="https://cython.org https://pypi.org/project/Cython/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc emacs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
emacs? ( virtual/emacs )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
|
||||
|
||||
SITEFILE=50cython-gentoo.el
|
||||
S="${WORKDIR}/${MY_PN}-${PV%_*}"
|
||||
|
||||
python_prepare_all() {
|
||||
# tests behavior that is illegal in Python 3.7+
|
||||
# https://github.com/cython/cython/issues/2454
|
||||
sed -i -e '/with_outer_raising/,/return/d' tests/run/generators_py.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
|
||||
fi
|
||||
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local -x PYTHONPATH=
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use emacs && elisp-compile Tools/cython-mode.el
|
||||
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
tc-export CC
|
||||
# https://github.com/cython/cython/issues/1911
|
||||
local -x CFLAGS="${CFLAGS} -fno-strict-overflow"
|
||||
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt )
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} Tools/cython-mode.*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for the CUPS API"
|
||||
HOMEPAGE="http://cyberelk.net/tim/data/pycups/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
net-print/cups
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
# epydoc kinda sucks and supports python2 only (it's dead too),
|
||||
# and since we're dealing with a binary module we need exact version
|
||||
# match. therefore, docbuilding *requires* any python2 being enabled.
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )
|
||||
"
|
||||
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# we can't use Makefile since it relies on hardcoded paths
|
||||
epydoc -o html --html cups || die "doc build failed"
|
||||
HTML_DOCS=( html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
AUX pytest-xdist-1.28.0-strip-setuptools-scm.patch 926 BLAKE2B 1943edbd4511b40b137ffbf27b67ef42218dce9c740c7a98e0c203a4688fbe8bc98bd3c15578dfc7c39fb5d4bb0aae7ceb4efa55dd8a633ab3bf3a80e69fbdde SHA512 43e6e52ca5e436b292f966d36c7276ca4d3dbc6f94c58eee014a357f18ce35a3ed8530b69418028f51311a465f4904c4ed52a279c910b1bb8469352238f162dc
|
||||
DIST pytest-xdist-1.23.2.tar.gz 59932 BLAKE2B f2cf73914cf095217fb8b472f5e5f7918435c75f8da1694cc7ceb920ac3a7390d84bea93cca558ba26cf3d14a01815374eab9ea03a137a8a9f5dba2f2d4453a8 SHA512 4aae9a6d74e53a29630d0233d0a903d008023e322de726ef7ab7cf4865f428942f96cc65264e19726cb6213264edaa747da2cb6f368989417ba821f2a3f9b654
|
||||
DIST pytest-xdist-1.28.0.tar.gz 61486 BLAKE2B ef8157079ea890342cd566f327588148fa898a3404e3edcffb60ba8ba37d9473b4c2a47fc737f7bb074042c6aadd737ac51f348ce79a718eb446036016cd5e23 SHA512 89b8885103a944ae72535de40028db052f76631ade6f969489d3dc3a1a61a3233df6655d0905d9f5253f23740a15aea824b460c680e79c16f275b31cb2abd6ad
|
||||
EBUILD pytest-xdist-1.23.2.ebuild 1030 BLAKE2B 989b87f68c288b535533c9a00f5b797c4b81b90ee2635b9f85e6366d165723a5f57c56400c501bca6c3326d8374ddc7f3aa5bbca6cc761e4c65ec0e910ddb90b SHA512 39a00470970930c6efad4db30661ca0aa6268540b4fae4a4116f31cd84e8fbb447de5a277d0479eed66881d963ee99b42e87378dac53532acfbf1e76e726b692
|
||||
EBUILD pytest-xdist-1.28.0.ebuild 921 BLAKE2B de88052bd65ac5c8dd9623bb024aa5ea3efd430cf1e7a20fac16412434d5c9ba73409bb0b83a642a2fc690bb6496be2de4707da16cc1511d6bf7c71453be77f5 SHA512 207b7bb0ab74e9eba667107372c3df2e18b6f11326d7bcb16adadd0d814dc072e8ae3b8dbd87e0befa2ae7fa2ec4fcd69a3019d8fac104a556e7f3e43c65f022
|
||||
MISC metadata.xml 429 BLAKE2B d1c317fa9cb06da79389adbd0d8941511127f1632aa0b5402df24827c526b634e9bfdc822c9f6dbd83a527bf3c9fc4418fffc1dd23b50812d566ff1681508fb1 SHA512 f25800e22c2d0c60991a0544f69e253c5751affd7ba178fdb6fda167baed0b9756bfba1fd850908d9ed05c5cf2091848d91593eec7346d00462cfb54aa1864ae
|
||||
|
@ -0,0 +1,27 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 17abe9a..81422db 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -6,9 +6,13 @@ install_requires = ["execnet>=1.1", "pytest>=4.4.0", "pytest-forked", "six"]
|
||||
with open("README.rst") as f:
|
||||
long_description = f.read()
|
||||
|
||||
+import os
|
||||
+with open("xdist/_version.py", 'wt') as fp:
|
||||
+ fp.write('version = "{}"'.format(os.environ['PV']))
|
||||
+
|
||||
setup(
|
||||
name="pytest-xdist",
|
||||
- use_scm_version={"write_to": "xdist/_version.py"},
|
||||
+ version=os.environ['PV'],
|
||||
description="pytest xdist plugin for distributed testing"
|
||||
" and loop-on-failing modes",
|
||||
long_description=long_description,
|
||||
@@ -24,7 +28,6 @@ setup(
|
||||
zip_safe=False,
|
||||
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
|
||||
install_requires=install_requires,
|
||||
- setup_requires=["setuptools_scm"],
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Framework :: Pytest",
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Distributed testing and loop-on-failing modes"
|
||||
HOMEPAGE="https://pypi.org/project/pytest-xdist/ https://github.com/pytest-dev/pytest-xdist"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/execnet[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-4.4[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/filelock[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.28.0-strip-setuptools-scm.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
pytest -vv testing || die "Tests failed under ${EPYTHON}"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
AUX dwarves-1.10-python-import.patch 399 BLAKE2B 7abd98ec5711ec4ce9230a2d0bb06328174a4a67b62ba14b2413b83b6d44676d372930d4796b9ece230c4de9185d35cb31a086ca340871e50e29d584ab9a7487 SHA512 c2f5c1e99ef2ffeaf0e7962cbdf28817f6896b27ff6894571823c81ba08b9e9440af1a5b6ad82770b8e8d6ec99ec2ef8f46a98b67fea7cd4ed7e8c22e716e314
|
||||
DIST dwarves-1.12.tar.bz2 112400 BLAKE2B e71051041dfdbefc603dc041303de82e2e44c8b0f4f888577722466aaf7958cab7b04c15154faa8cbfcaa44fe60fc549e09b2fb68747cc3cdd08b8bce487cfdf SHA512 20644344e694253b79ede65e489696a319f10eaf424af81882414ae6efeaf34a82132321430d647916b78f97ef504907b3bd32919420f2cd14384910e283ff27
|
||||
DIST dwarves-1.13.tar.xz 222008 BLAKE2B db73f5c9a319a1a57ef37127350a9da117e3f5c89e199445393e3e312139ce8f88f46e6e5bbf302d708c0b075b1c2b2cd75dc7bc213ed144d1db792c55358220 SHA512 26485b183b4c7b608dd0392f9155dd570a14c86fdeafee232e44ad30f14a1357b408b61b0e8a31ea4bf976ed7fc44e7d5a4a3ccede9713c47265ad52c13dadf0
|
||||
EBUILD dwarves-1.12.ebuild 1038 BLAKE2B 9cb69f3108df21db6c39c359129df606083374ba7a9dff0b8338dcaf9ca96bc1b85be0c135d7c2e8b76a60e1b391ed6c4abcd9eeacfc75fc6eb8526f0a2dc803 SHA512 9ba86d1966a769c43202fa8152617e6af65a0f967433aedfe69461857607485c26d1d51fb8dc5c5b2e48a55d9c8d1c67c54d0d64f3b837a9438531e1d2ffe51e
|
||||
EBUILD dwarves-1.13.ebuild 1034 BLAKE2B da7070d039e312e088bdc3b17f946e75a087b11ccc6e23c09a4b7653e9e06b9d5f79722a7f28eee9004cca098a18d2b1990ce167ea8551affa9fd0e6b3e9edff SHA512 814470568799ebb37f19c0032523406d10a6847b7d3f262d0cb350f05453485b3fafd265e0887a568d111eb641654b65302093361cd0390c54a951356e96d3f7
|
||||
EBUILD dwarves-9999.ebuild 929 BLAKE2B 5531cdc3c1f3fc899cc16b34202a204b345af50d00eb14120e25da00a724599f9395df68e96e2fe8364ed826380e9afe014d8bc56bd92fc0c59b40c87a875519 SHA512 8a44218bb5e96127336e692040626ccb9414a7b53e53df85ff01b6580129b13f8325540e9b9247039a4c92971a9818bde1ec99842c65920a7b40e74f4f4d851b
|
||||
MISC metadata.xml 671 BLAKE2B 78a2fa86c0acc136403b1477db4e2deb3bde1ceed636ced96705cdaccb7e42f76e8fbd202c3fa258c1f33b14827f95b5ce343f8f4df981be66e0ad3a8dd226b8 SHA512 0cdd2c3e4e76a9017120a409aec1f70327363ee146e5fb74684d0e08e2836f0079cb97be1c4874445b271b98c13daf04f75ee481ef21607aac8976a78437af11
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit multilib cmake-utils python-single-r1
|
||||
|
||||
DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities"
|
||||
HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
|
||||
|
||||
LICENSE="GPL-2" # only
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/elfutils-0.131
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
if [[ ${PV//_p} == ${PV} ]]; then
|
||||
SRC_URI="http://fedorapeople.org/~acme/dwarves/${P}.tar.xz"
|
||||
S=${WORKDIR}
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
DOCS=( README README.ctracer NEWS )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.10-python-import.patch )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( "-D__LIB=$(get_libdir)" )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
python_fix_shebang "${D}"/usr/bin/ostra-cg \
|
||||
"${D}"/usr/share/dwarves/runtime/python/ostra.py
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
AUX mgba-0.6.3-qt511.patch 975 BLAKE2B 3fdafdd9a10cd643fbf29a76baf4e49db50142a2f1b096f8c8b962e38166756016bf663b53dd6cf3a2e33f2f28313d477463d8807d4ecb3139bf7a0943ae0274 SHA512 41e0ea8568d8ffddac2b9020933fd4a21562049b82bfd95bb0ae372702b3312c7ee3f03e03a36fcaec723d999f7820a785a730354825cee1a737d6c2accbfb29
|
||||
DIST mgba-0.6.3.tar.gz 7442154 BLAKE2B 2b46cf36174ef0a186b1bc71784820e6ddd7754a7cae695a95dcdae96efff58af70dd14faa2f1f6194a23450943d82aed2394f7bf2821ed91bf558eef6ae9c4d SHA512 d646af7869dbcf8df671a75ecfd8c270950c013b826b23b94bacae43a77243786f198725e1b9bf17827d1ffcf6a8eef70091d53ea878bfb2450472485f42f233
|
||||
DIST mgba-0.7.0.tar.gz 10767992 BLAKE2B 75ffd02443f95eba2f82a0f6d2171263bfc7fa3c2c57d246e852964ed52a9cd3c6fc08d39ad349fd6b9cef189feb25d1d9efdcc4b000d07a96d0cf4cbd5cb34f SHA512 68eac18f6e411c60ef6c6dded0f2b293cb4831c4c6f15c4cf3bb7f8dc6a5de65000d7d904ff5bec52aef8714fae3a77d7ed7b43cbccba528cc05b56546802010
|
||||
DIST mgba-0.7.1.tar.gz 11054044 BLAKE2B 910d6ddfbbe1680b07cee519ff27814401093a9a157bea516e55a4881561b5d67992af6274b2a4e431ace879cfce04d58eb9eae243b26c50d94f1ab3ec591cb7 SHA512 91aa66a9140e250ccd6f4790c2ed4977248bccda3b499bd48c61b01aedbdd93e947f5505dee7c30b21beb39723fc321cdbdb6953df8292a193e0fbb9161a8ae5
|
||||
DIST mgba-0.7.2.tar.gz 11255680 BLAKE2B 8d94edbc8ce6426d9f70dbab70f3e99cb18714db1646e07b5e8cde246379ea6ee761b035cdfa946e718ce869084bf957dc39309dc6b20fe400722633e4cb7f13 SHA512 e63519299358ef73939d07012cd6880478d4e5b1e6161c42bcbe36e5207af3dcbe4c147fd1a94432ddbe5fbdf5d2c9755d90984ea800bf9d9860d7f806f996cd
|
||||
EBUILD mgba-0.6.3.ebuild 2465 BLAKE2B 257defb779b5ce3a166ea07bbcfe4b44c53093009dc135af27d2d6a80e88ff7c51edc6e4442be491ba52c9606fd6abd53037d2693b0fcf86dce808e32c830b4b SHA512 5c610cc8db0c57f8ee670c547879134ee8c4dce86c4c6c325e5af5aba2f5176b41ec470b0dc94eb568d9b0cb8d6a961e0e032172ad22d1832a5e0ac85e94953a
|
||||
EBUILD mgba-0.7.0.ebuild 2464 BLAKE2B 0916ca523a783aa776a08dbdbea01ac5b52e61add7cd46c90aaf873d88fc1313f5a720801bb57d5e40b37edbe595e503a4f68ade4f33c78d59ff12009d6edd12 SHA512 66d2bec94b835cfda764fdb0df1ab3c4d6d62619d8f95999b20ff8c9b1558b87b453765f25840840932c7a7c86521577061e460228ab7c725752ee462f8ecef0
|
||||
EBUILD mgba-0.7.1.ebuild 2394 BLAKE2B 02f43e25fb671f8262070b8378e94913aab760759dffa74b5d12927af76f290fb7cfd734adb37c96b4791343008f6f46185be9cf3cfb63dccdf15a10a7562aa2 SHA512 c1788a85deb8866da066861881a9a49f4a187ff9c50fd4139c93c4bdf747efba58fca9f88fb3da345c2e85d8dc1dc40339d3b0165cc4cb855cc8a4f48b2acc94
|
||||
EBUILD mgba-0.7.2.ebuild 2394 BLAKE2B 02f43e25fb671f8262070b8378e94913aab760759dffa74b5d12927af76f290fb7cfd734adb37c96b4791343008f6f46185be9cf3cfb63dccdf15a10a7562aa2 SHA512 c1788a85deb8866da066861881a9a49f4a187ff9c50fd4139c93c4bdf747efba58fca9f88fb3da345c2e85d8dc1dc40339d3b0165cc4cb855cc8a4f48b2acc94
|
||||
EBUILD mgba-9999.ebuild 2505 BLAKE2B 105cf175613dbebd33e65eca800cf65d945e3aa1677af036e800c64e82b0e62c77ab581a40f23665b8731f5a57f0bd73fcc4b0c08f71df0e854ffed3155b8182 SHA512 f1a15729fb316e7482cd5254051a1e5c5057582448192c9af64b72dc572d296707be8c301d2aaec6d87a8ab4106e8727b70c7169c680d2ac30e000a1a847d2a5
|
||||
MISC metadata.xml 445 BLAKE2B f8083e3c7dbf76e1f8e848e5d46c81acd0178c9ee5fd20ad01b6a0f82c203b19ff0682b3808dbaa943d38bef8b3f7c73a959d0976cdaf9b5135d1cece9f9a04e SHA512 18666c378ed81e5b4b8d0c7764fe3bcd25be4251449dc7890eb99194e17591755dc67eb12f1260a375008a75508b57ee57b187c668a8d595a20829ac315e633a
|
||||
|
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
AUX gzdoom-4.1.2-static-libraries.patch 5077 BLAKE2B cd380317c8e6da864b527c03f295e3fe9f7d1f9c7d7b3e429a57e780209565c54a9dbc658924ba1341cd3ebbbeb4297cc6b6be71e3df4be1f8831e108e0227eb SHA512 2113cd9ec8f88d4be4728b172ff8bb5ae6c5c4138b87f19504aaca21f3c6fce56da3d8e528419444d156cf6b7c327a768a8d89414e9d455f8111cb3ee7009e89
|
||||
DIST gzdoom-4.1.2.tar.gz 13045742 BLAKE2B 38c70eb82ba266e5b41bf62f28f4cee77ba17c0cc1e4186bf11be9021386511346c111874b695ef56a4ed3c93668bb64a71ba4169183646e49d0ab60a1c0793a SHA512 915029e676b17dd330aeee17fa8a9e07bb8e7a16e8ebce9fcdcd24e5b2f0cc48fd8f6914314029b332112ad4215a0f0d45d8e448e9025ac3c2a708a5e0bbd399
|
||||
EBUILD gzdoom-4.1.2.ebuild 1416 BLAKE2B b5363acf75ec922fa1d5995f386e4a008f9f5bc3a7f6dfd5018469f64898db68f4ea5a640adcdc3a314bdfd28de421d427ded5adeb57a0f2c97c7e5c14f3442d SHA512 23e984657223468e64bb1d59e27d31d3e0b6cc11543fc5b9bc3c3acab7437ac24f23b9ea377bc12d4c861e79aee51de4a7c177e45411dc1f12876228ab547f9a
|
||||
MISC metadata.xml 971 BLAKE2B c8b8d21ceb52ed04b079e9fb5de2b30351e5bc613a20d73f8cd26be75615959ace1ac8bf4b61b6009455e5db68377fa093040e7dbd9c2591455a1813c7d2c7b6 SHA512 f8c7cb9aec78c3a6ac5a861a5a7bd9d96dfc18883aa1c9265608edb955f962a81e078b2bcd23524a649643165150fba2e3b04df92d56bba17ec9d5b10156b119
|
@ -0,0 +1,139 @@
|
||||
From 6fafa297bfe0f82696d898d66e39c50f4f5eef16 Mon Sep 17 00:00:00 2001
|
||||
From: William Breathitt Gray <vilhelm.gray@gmail.com>
|
||||
Date: Wed, 15 May 2019 23:58:28 +0900
|
||||
Subject: [PATCH] Force STATIC for internal GZDoom libraries
|
||||
|
||||
This makes sure the internal versions of these libraries bundled with
|
||||
the GZDoom source code is used. This prevents the system from building
|
||||
GZDoom for dynamic linking with incompatible external libraries (see
|
||||
<https://forum.zdoom.org/viewtopic.php?f=2&t=64633>).
|
||||
---
|
||||
asmjit/CMakeLists.txt | 2 +-
|
||||
bzip2/CMakeLists.txt | 2 +-
|
||||
game-music-emu/gme/CMakeLists.txt | 2 +-
|
||||
gdtoa/CMakeLists.txt | 2 +-
|
||||
glslang/glslang/CMakeLists.txt | 2 +-
|
||||
glslang/spirv/CMakeLists.txt | 2 +-
|
||||
jpeg/CMakeLists.txt | 2 +-
|
||||
lzma/CMakeLists.txt | 2 +-
|
||||
zlib/CMakeLists.txt | 2 +-
|
||||
9 files changed, 9 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/asmjit/CMakeLists.txt b/asmjit/CMakeLists.txt
|
||||
index ab5c2fb4f..6b7636ebe 100644
|
||||
--- a/asmjit/CMakeLists.txt
|
||||
+++ b/asmjit/CMakeLists.txt
|
||||
@@ -97,7 +97,7 @@ set(ASMJIT_SRCS
|
||||
asmjit/x86/x86regalloc.cpp
|
||||
)
|
||||
|
||||
-add_library(${ASMJITNAME} ${ASMJIT_SRCS} ${ASMJIT_PUBLIC_HDRS})
|
||||
+add_library(${ASMJITNAME} STATIC ${ASMJIT_SRCS} ${ASMJIT_PUBLIC_HDRS})
|
||||
|
||||
set_target_properties(${ASMJITNAME} PROPERTIES OUTPUT_NAME asmjit)
|
||||
|
||||
diff --git a/bzip2/CMakeLists.txt b/bzip2/CMakeLists.txt
|
||||
index 6ff9a2172..7fefb2bf2 100644
|
||||
--- a/bzip2/CMakeLists.txt
|
||||
+++ b/bzip2/CMakeLists.txt
|
||||
@@ -7,7 +7,7 @@ if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
|
||||
endif()
|
||||
|
||||
add_definitions( -DBZ_NO_STDIO )
|
||||
-add_library( bz2
|
||||
+add_library( bz2 STATIC
|
||||
blocksort.c
|
||||
bzlib.c
|
||||
compress.c
|
||||
diff --git a/game-music-emu/gme/CMakeLists.txt b/game-music-emu/gme/CMakeLists.txt
|
||||
index a5e06bc8a..5c37ebd29 100644
|
||||
--- a/game-music-emu/gme/CMakeLists.txt
|
||||
+++ b/game-music-emu/gme/CMakeLists.txt
|
||||
@@ -163,7 +163,7 @@ set (EXPORTED_HEADERS gme.h)
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
# Add library to be compiled.
|
||||
-add_library(gme ${libgme_SRCS})
|
||||
+add_library(gme STATIC ${libgme_SRCS})
|
||||
|
||||
if(ZLIB_FOUND)
|
||||
message(" ** ZLib library located, compressed file formats will be supported")
|
||||
diff --git a/gdtoa/CMakeLists.txt b/gdtoa/CMakeLists.txt
|
||||
index a0b76e0c3..485f3778b 100644
|
||||
--- a/gdtoa/CMakeLists.txt
|
||||
+++ b/gdtoa/CMakeLists.txt
|
||||
@@ -35,7 +35,7 @@ if( NOT MSVC AND NOT APPLE )
|
||||
set( GEN_FP_DEPS ${CMAKE_CURRENT_BINARY_DIR}/arith.h ${CMAKE_CURRENT_BINARY_DIR}/gd_qnan.h )
|
||||
endif()
|
||||
|
||||
-add_library( gdtoa
|
||||
+add_library( gdtoa STATIC
|
||||
${GEN_FP_FILES}
|
||||
dmisc.c
|
||||
dtoa.c
|
||||
diff --git a/glslang/glslang/CMakeLists.txt b/glslang/glslang/CMakeLists.txt
|
||||
index c86eccb6e..e376a9178 100644
|
||||
--- a/glslang/glslang/CMakeLists.txt
|
||||
+++ b/glslang/glslang/CMakeLists.txt
|
||||
@@ -120,7 +120,7 @@ endmacro(glslang_pch)
|
||||
|
||||
glslang_pch(SOURCES MachineIndependent/pch.cpp)
|
||||
|
||||
-add_library(glslang ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${HEADERS})
|
||||
+add_library(glslang STATIC ${LIB_TYPE} ${BISON_GLSLParser_OUTPUT_SOURCE} ${SOURCES} ${HEADERS})
|
||||
set_property(TARGET glslang PROPERTY FOLDER glslang)
|
||||
set_property(TARGET glslang PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_link_libraries(glslang OGLCompiler OSDependent)
|
||||
diff --git a/glslang/spirv/CMakeLists.txt b/glslang/spirv/CMakeLists.txt
|
||||
index 8062f8067..03d34d8f4 100644
|
||||
--- a/glslang/spirv/CMakeLists.txt
|
||||
+++ b/glslang/spirv/CMakeLists.txt
|
||||
@@ -59,7 +59,7 @@ if(ENABLE_NV_EXTENSIONS)
|
||||
GLSL.ext.NV.h)
|
||||
endif(ENABLE_NV_EXTENSIONS)
|
||||
|
||||
-add_library(SPIRV ${LIB_TYPE} ${SOURCES} ${HEADERS})
|
||||
+add_library(SPIRV STATIC ${LIB_TYPE} ${SOURCES} ${HEADERS})
|
||||
set_property(TARGET SPIRV PROPERTY FOLDER glslang)
|
||||
set_property(TARGET SPIRV PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_include_directories(SPIRV PUBLIC ..)
|
||||
diff --git a/jpeg/CMakeLists.txt b/jpeg/CMakeLists.txt
|
||||
index 81834c742..33a3938cf 100644
|
||||
--- a/jpeg/CMakeLists.txt
|
||||
+++ b/jpeg/CMakeLists.txt
|
||||
@@ -6,7 +6,7 @@ if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
|
||||
endif()
|
||||
|
||||
-add_library( jpeg
|
||||
+add_library( jpeg STATIC
|
||||
jaricom.c
|
||||
jcomapi.c
|
||||
jdapimin.c
|
||||
diff --git a/lzma/CMakeLists.txt b/lzma/CMakeLists.txt
|
||||
index 3948ea2ee..4246a34f8 100644
|
||||
--- a/lzma/CMakeLists.txt
|
||||
+++ b/lzma/CMakeLists.txt
|
||||
@@ -34,5 +34,5 @@ else()
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_7ZIP_ST" )
|
||||
endif()
|
||||
|
||||
-add_library( lzma ${LZMA_FILES} )
|
||||
+add_library( lzma STATIC ${LZMA_FILES} )
|
||||
target_link_libraries( lzma )
|
||||
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt
|
||||
index 52542bbaa..a1d6637a9 100644
|
||||
--- a/zlib/CMakeLists.txt
|
||||
+++ b/zlib/CMakeLists.txt
|
||||
@@ -137,7 +137,7 @@ if(MINGW)
|
||||
set(ZLIB_SRCS ${ZLIB_SRCS} ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
|
||||
endif()
|
||||
|
||||
-add_library(${ZLIBNAME} ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||
+add_library(${ZLIBNAME} STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||
set_target_properties(${ZLIBNAME} PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
|
||||
|
||||
set_target_properties(${ZLIBNAME} PROPERTIES SOVERSION 1)
|
||||
--
|
||||
2.21.0
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils desktop xdg
|
||||
|
||||
DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine"
|
||||
HOMEPAGE="https://zdoom.org"
|
||||
SRC_URI="https://github.com/coelckers/${PN}/archive/g${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BZIP2 cephes DUMB-0.9.2 GPL-3 LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="fluidsynth gtk gtk2 openal openmp"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libsdl2[opengl]
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
gtk? (
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
!gtk2? ( x11-libs/gtk+:3 )
|
||||
)"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
openal? (
|
||||
media-libs/libsndfile
|
||||
media-libs/openal
|
||||
media-sound/mpg123
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${PN}-g${PV}"
|
||||
|
||||
PATCHES="${FILESDIR}/${P}-static-libraries.patch"
|
||||
|
||||
src_prepare() {
|
||||
rm -rf docs/licenses || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINSTALL_DOCS_PATH="${EPREFIX}/usr/share/doc/${PF}"
|
||||
-DINSTALL_PK3_PATH="${EPREFIX}/usr/share/doom"
|
||||
-DNO_GTK="$(usex !gtk)"
|
||||
-DNO_OPENAL="$(usex !openal)"
|
||||
-DNO_OPENMP="$(usex !openmp)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newicon src/posix/zdoom.xpm "${PN}.xpm"
|
||||
make_desktop_entry "${PN}" "GZDoom" "${PN}" "Game;ActionGame"
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
GZDoom is a modder-friendly OpenGL source port based on the DOOM engine
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<email>vilhelm.gray@gmail.com</email>
|
||||
<name>William Breathitt Gray</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="fluidsynth">Use <pkg>media-sound/fluidsynth</pkg> for MIDI support</flag>
|
||||
<flag name="gtk2">Enable support for GTK+2 instead of GTK+3</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://forum.zdoom.org/viewforum.php?f=2</bugs-to>
|
||||
<doc lang="en">https://zdoom.org</doc>
|
||||
<remote-id type="github">coelckers/gzdoom</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST swaybg-1.0.tar.gz 15851 BLAKE2B 820edbce4161f2d109bc8e842fb2bef101a5793d1da90f4258e5771fe85ab089e184c063a0a7073adbe218c59307946f86bd02c4d62b0585aeb3f9cd5c7963f8 SHA512 67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0
|
||||
EBUILD swaybg-1.0.ebuild 806 BLAKE2B 12b1dca5a0e6ac37c752ff068f785f490fd467c698b052656a1ed80f4e5d22c14b97f264b07b2016e7e12a12d8595dad1fddf2c3d72c8571827116ee0fd56354 SHA512 a1dfe9bbb8bb4051c56ef2f3b6d3a0b5dd70ff73ff4ec7e90dae7f8d8640d47d03d5021874469bc585c1058acef783a27ee743c4b26cec57352cf291c86d3400
|
||||
EBUILD swaybg-1.0.ebuild 803 BLAKE2B e321bf40913172eb0135b1a95b059d8e0b63a7ddaaf50ff13e4f3299d4e3e170f271eab777cc8a46410027e9ab48bf13f12738ced1beaf65409765c2e543d056 SHA512 c4bcaed1e6d6bbaea50ef9c4eaf70f3acb9bacbea9691279bba41e642c4763590e03243af44d690d474d52dd571bf92ff5fcca5cabbf71c8e8055fac56cfeee1
|
||||
EBUILD swaybg-9999.ebuild 806 BLAKE2B 12b1dca5a0e6ac37c752ff068f785f490fd467c698b052656a1ed80f4e5d22c14b97f264b07b2016e7e12a12d8595dad1fddf2c3d72c8571827116ee0fd56354 SHA512 a1dfe9bbb8bb4051c56ef2f3b6d3a0b5dd70ff73ff4ec7e90dae7f8d8640d47d03d5021874469bc585c1058acef783a27ee743c4b26cec57352cf291c86d3400
|
||||
MISC metadata.xml 943 BLAKE2B bee5990db9047cfa3f362a6d576f6d932e247e0235a04b83f427b5c9048e822a193585719e1d65747cc8f97d6b1f44f2435b9e956412b8fe707401fa492215bb SHA512 7d4b7910ef0d43041f899b608f351ef834870f8a7f1b9081c08e6ac197f65b9c7dc53e6785b7b9250ec7c3ee2200ee69b711a24c672c8bd3ceee381d5568756a
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST swayidle-1.2.tar.gz 9136 BLAKE2B e88eec89007deed59df30f3f89111352b8a1ed464141783cb25b0d0a484e8ea4cfd611f1bd80d9420368d7912979eb0536a6aa583d24504d32bac797a898dba5 SHA512 2539e80a45163bb3e76f7b41f6fd6a1d73d194b7e466f63178b5087d05470fceafba38a26d592a534a01b992a2c0cf0f8fb83805cdf41ee956fea5136cc8fe89
|
||||
DIST swayidle-1.3.tar.gz 9714 BLAKE2B 2f57576be0fc9343c2dcacb0acbb06f105143e98e26650de71c9031ecf6702f98bb4f54a3d32a46f0d425a398ece511d35ad696e59f9e9b4ec6b8046a76da49b SHA512 efdf391870cd6eb2b21ef6556d8cfdec3c76c059c1f1065a55719bef55d3aef2a7fb39f38f0ac3a8e2e8a1ffa9df38635d7dc3397add7adf255db69c55b4351b
|
||||
EBUILD swayidle-1.2.ebuild 1327 BLAKE2B 8d8d05bed875eae6b86984e92051a8da8e52b0fef07e42d0459baaef18d5efd0fd043b7251fe717c1514b25e249d65f10c7b1ee7da756c07d63592722dd81d0c SHA512 c8d544b8f4549770a58f6663207a0af73eea7186c18234e78744b60b598ee998ddc1ab90ad416b8a5775ab99fdda4ed8d35e3df2aa68ee2e479462b5151e779c
|
||||
EBUILD swayidle-1.3.ebuild 1330 BLAKE2B 79fceac111b432e684b932303e55e92cbeb06f8a4f2210911e2c43f347b88e3d5924b8d17fdac06e081c86aa004d5124c63d1a16c40d7e5954ed353911734588 SHA512 3208a10066102103291b349c6251cfb4a3c7b8680f0315b7f57226d16131d0300c60acaef296e56a83aa586af768efb5d55b8dacd952c48faee16a773fed8cde
|
||||
EBUILD swayidle-1.3.ebuild 1327 BLAKE2B 8d8d05bed875eae6b86984e92051a8da8e52b0fef07e42d0459baaef18d5efd0fd043b7251fe717c1514b25e249d65f10c7b1ee7da756c07d63592722dd81d0c SHA512 c8d544b8f4549770a58f6663207a0af73eea7186c18234e78744b60b598ee998ddc1ab90ad416b8a5775ab99fdda4ed8d35e3df2aa68ee2e479462b5151e779c
|
||||
EBUILD swayidle-9999.ebuild 1330 BLAKE2B 79fceac111b432e684b932303e55e92cbeb06f8a4f2210911e2c43f347b88e3d5924b8d17fdac06e081c86aa004d5124c63d1a16c40d7e5954ed353911734588 SHA512 3208a10066102103291b349c6251cfb4a3c7b8680f0315b7f57226d16131d0300c60acaef296e56a83aa586af768efb5d55b8dacd952c48faee16a773fed8cde
|
||||
MISC metadata.xml 1067 BLAKE2B 059ead0c34aebcaa6f8ebd10db8b9b0aaf2df66f84a6ae10d16f3a32d680426aa4733c0788dfe61532bb90d3b92f4bb451e7fd1be822c6866205575fd3c4861a SHA512 99a60f4bcfb76aa7d2a6d4d2a7a6879d9f0ac17f0be3e37d59bef4a4b158b9e685dd5932a02e650b96756dc7f6cba2aac9b1eee95c6d56f4429c23e32a101ad4
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
Some software in this archive may be from the book _Methods and
|
||||
Programs for Mathematical Functions_ (Prentice-Hall or Simon & Schuster
|
||||
International, 1989) or from the Cephes Mathematical Library, a
|
||||
commercial product. In either event, it is copyrighted by the author.
|
||||
What you see here may be used freely but it comes with no support or
|
||||
guarantee.
|
||||
|
||||
Stephen L. Moshier
|
||||
moshier@na-net.ornl.gov
|
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
--- a/Makefile~ 2019-03-28 17:45:53.000000000 +0100
|
||||
+++ b/Makefile 2019-06-02 10:36:55.587055453 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
PNGQUANT = pngquant
|
||||
PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force
|
||||
BODY_DIMENSIONS = 136x128
|
||||
-IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center
|
||||
+IMOPS = -size 136x128 -background none -gravity center -extent 136x128 -compose copy
|
||||
|
||||
# zopflipng is better (about 5-10%) but much slower. it will be used if
|
||||
# present. pass ZOPFLIPNG= as an arg to make to use optipng instead.
|
||||
@@ -165,13 +165,13 @@
|
||||
# imagemagick packaged with ubuntu trusty (6.7.7-10) by using -composite.
|
||||
|
||||
$(EMOJI_DIR)/%.png: $(EMOJI_SRC_DIR)/%.png | $(EMOJI_DIR)
|
||||
- @convert $(IMOPS) "$<" -composite "PNG32:$@"
|
||||
+ @gm convert $(IMOPS) "$<" "PNG32:$@"
|
||||
|
||||
$(FLAGS_DIR)/%.png: $(FLAGS_SRC_DIR)/%.png ./waveflag | $(FLAGS_DIR)
|
||||
@./waveflag $(FLAGS_DIR)/ "$<"
|
||||
|
||||
$(RESIZED_FLAGS_DIR)/%.png: $(FLAGS_DIR)/%.png | $(RESIZED_FLAGS_DIR)
|
||||
- @convert $(IMOPS) "$<" -composite "PNG32:$@"
|
||||
+ @gm convert $(IMOPS) "$<" "PNG32:$@"
|
||||
|
||||
flag-symlinks: $(RESIZED_FLAG_FILES) | $(RENAMED_FLAGS_DIR)
|
||||
@$(subst ^, , \
|
Binary file not shown.
@ -1,340 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit flag-o-matic multilib-minimal systemd toolchain-funcs udev user xdg-utils
|
||||
|
||||
# gphoto and v4l are handled by their usual USE flags.
|
||||
# The pint backend was disabled because I could not get it to compile.
|
||||
IUSE_SANE_BACKENDS="
|
||||
abaton
|
||||
agfafocus
|
||||
apple
|
||||
artec
|
||||
artec_eplus48u
|
||||
as6e
|
||||
avision
|
||||
bh
|
||||
canon
|
||||
canon630u
|
||||
canon_dr
|
||||
canon_pp
|
||||
cardscan
|
||||
coolscan
|
||||
coolscan2
|
||||
coolscan3
|
||||
dc210
|
||||
dc240
|
||||
dc25
|
||||
dell1600n_net
|
||||
dmc
|
||||
epjitsu
|
||||
epson
|
||||
epson2
|
||||
fujitsu
|
||||
genesys
|
||||
gt68xx
|
||||
hp
|
||||
hp3500
|
||||
hp3900
|
||||
hp4200
|
||||
hp5400
|
||||
hp5590
|
||||
hpljm1005
|
||||
hpsj5s
|
||||
hs2p
|
||||
ibm
|
||||
kodak
|
||||
kodakaio
|
||||
kvs1025
|
||||
kvs20xx
|
||||
kvs40xx
|
||||
leo
|
||||
lexmark
|
||||
ma1509
|
||||
magicolor
|
||||
matsushita
|
||||
microtek
|
||||
microtek2
|
||||
mustek
|
||||
mustek_pp
|
||||
mustek_usb
|
||||
mustek_usb2
|
||||
nec
|
||||
net
|
||||
niash
|
||||
p5
|
||||
pie
|
||||
pixma
|
||||
plustek
|
||||
plustek_pp
|
||||
pnm
|
||||
qcam
|
||||
ricoh
|
||||
rts8891
|
||||
s9036
|
||||
sceptre
|
||||
sharp
|
||||
sm3600
|
||||
sm3840
|
||||
snapscan
|
||||
sp15c
|
||||
st400
|
||||
stv680
|
||||
tamarack
|
||||
teco1
|
||||
teco2
|
||||
teco3
|
||||
test
|
||||
u12
|
||||
umax
|
||||
umax1220u
|
||||
umax_pp
|
||||
xerox_mfp"
|
||||
|
||||
IUSE="gphoto2 ipv6 snmp systemd threads usb v4l xinetd zeroconf"
|
||||
|
||||
for backend in ${IUSE_SANE_BACKENDS}; do
|
||||
case ${backend} in
|
||||
# Disable backends that require parallel ports as no one has those anymore.
|
||||
canon_pp|hpsj5s|mustek_pp|\
|
||||
pnm)
|
||||
IUSE+=" -sane_backends_${backend}"
|
||||
;;
|
||||
mustek_usb2|kvs40xx)
|
||||
IUSE+=" sane_backends_${backend}"
|
||||
;;
|
||||
*)
|
||||
IUSE+=" +sane_backends_${backend}"
|
||||
esac
|
||||
done
|
||||
|
||||
REQUIRED_USE="
|
||||
sane_backends_mustek_usb2? ( threads )
|
||||
sane_backends_kvs40xx? ( threads )
|
||||
"
|
||||
|
||||
DESCRIPTION="Scanner Access Now Easy - Backends"
|
||||
HOMEPAGE="http://www.sane-project.org/"
|
||||
MY_P="${P}"
|
||||
FRS_ID="4224"
|
||||
SRC_URI="https://alioth.debian.org/frs/download.php/file/${FRS_ID}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
sane_backends_dc210? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
|
||||
sane_backends_dc240? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
|
||||
sane_backends_dell1600n_net? (
|
||||
>=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}]
|
||||
>=media-libs/tiff-3.9.7-r1:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
sane_backends_canon_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
|
||||
sane_backends_hpsj5s? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
|
||||
sane_backends_mustek_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
|
||||
usb? ( >=virtual/libusb-1-r1:1=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? (
|
||||
>=media-libs/libgphoto2-2.5.3.1:=[${MULTILIB_USEDEP}]
|
||||
>=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
v4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
systemd? ( sys-apps/systemd:0= )
|
||||
zeroconf? ( >=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
v4l? ( sys-kernel/linux-headers )
|
||||
>=sys-devel/gettext-0.18.1
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device)
|
||||
RDEPEND="${RDEPEND}
|
||||
!<sys-fs/udev-114
|
||||
"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/sane-config
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup scanner
|
||||
enewuser saned -1 -1 -1 scanner
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
cat >> backend/dll.conf.in <<-EOF
|
||||
# Add support for the HP-specific backend. Needs net-print/hplip installed.
|
||||
hpaio
|
||||
# Add support for the Epson-specific backend. Needs media-gfx/iscan installed.
|
||||
epkowa
|
||||
EOF
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-1.0.24-saned_pidfile_location.patch
|
||||
eapply "${FILESDIR}"/${PN}-1.0.27-disable-usb-tests.patch
|
||||
|
||||
# From Arch
|
||||
eapply "${FILESDIR}"/${PN}-1.0.27-network.patch
|
||||
|
||||
# From Fedora
|
||||
# Fix https://bugs.gentoo.org/635348
|
||||
eapply "${FILESDIR}"/${PN}-1.0.27-canon-lide-100.patch
|
||||
|
||||
# Fix for "make check". Upstream sometimes forgets to update this.
|
||||
local ver=$(./configure --version | awk '{print $NF; exit 0}')
|
||||
sed -i \
|
||||
-e "/by sane-desc 3.5 from sane-backends/s:sane-backends .*:sane-backends ${ver}:" \
|
||||
testsuite/tools/data/html* || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing # From Fedora
|
||||
|
||||
# if LINGUAS is set, just use the listed and supported localizations.
|
||||
if [[ ${LINGUAS+set} == "set" ]]; then
|
||||
mkdir -p po || die
|
||||
strip-linguas -u po
|
||||
printf '%s\n' ${LINGUAS} > po/LINGUAS
|
||||
fi
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# the blank is intended - an empty string would result in building ALL backends.
|
||||
local BACKENDS=" "
|
||||
|
||||
use gphoto2 && BACKENDS="gphoto2"
|
||||
use v4l && BACKENDS="${BACKENDS} v4l"
|
||||
for backend in ${IUSE_SANE_BACKENDS}; do
|
||||
if use "sane_backends_${backend}" && [ ${backend} != pnm ]; then
|
||||
BACKENDS="${BACKENDS} ${backend}"
|
||||
fi
|
||||
done
|
||||
|
||||
local myconf=(
|
||||
$(use_with usb)
|
||||
$(multilib_native_use_with snmp)
|
||||
)
|
||||
|
||||
# you can only enable this backend, not disable it...
|
||||
if use sane_backends_pnm; then
|
||||
myconf+=( --enable-pnm-backend )
|
||||
fi
|
||||
if use sane_backends_mustek_pp; then
|
||||
myconf+=( --enable-parport-directio )
|
||||
fi
|
||||
if ! { use sane_backends_canon_pp || use sane_backends_hpsj5s || use sane_backends_mustek_pp; }; then
|
||||
myconf+=( sane_cv_use_libieee1284=no )
|
||||
fi
|
||||
|
||||
# relative path must be used for tests to work properly
|
||||
ECONF_SOURCE=${S} \
|
||||
SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
|
||||
BACKENDS="${BACKENDS}" \
|
||||
econf \
|
||||
$(use_with gphoto2) \
|
||||
$(multilib_native_use_with systemd) \
|
||||
$(use_with v4l) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable threads pthread) \
|
||||
$(use_enable zeroconf avahi) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake VARTEXFONTS="${T}/fonts"
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
pushd "${BUILD_DIR}"/tools >/dev/null || die
|
||||
|
||||
# The build system sucks and doesn't handle this properly.
|
||||
# https://alioth.debian.org/tracker/index.php?func=detail&aid=314236&group_id=30186&atid=410366
|
||||
tc-export_build_env BUILD_CC
|
||||
${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \
|
||||
-I. -I../include -I"${S}"/include \
|
||||
"${S}"/sanei/sanei_config.c "${S}"/sanei/sanei_constrain_value.c \
|
||||
"${S}"/sanei/sanei_init_debug.c "${S}"/tools/sane-desc.c -o sane-desc || die
|
||||
local dirs=( hal hotplug hotplug-ng udev )
|
||||
local targets=(
|
||||
hal/libsane.fdi
|
||||
hotplug/libsane.usermap
|
||||
hotplug-ng/libsane.db
|
||||
udev/libsane.rules
|
||||
)
|
||||
mkdir -p "${dirs[@]}" || die
|
||||
emake "${targets[@]}"
|
||||
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
if use usb; then
|
||||
sed -i -e '/^$/d' \
|
||||
tools/hotplug/libsane.usermap || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake INSTALL_LOCKPATH="" DESTDIR="${D}" install \
|
||||
docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
if use usb; then
|
||||
insinto /etc/hotplug/usb
|
||||
doins tools/hotplug/libsane.usermap
|
||||
fi
|
||||
|
||||
udev_newrules tools/udev/libsane.rules 41-libsane.rules
|
||||
insinto "/usr/share/pkgconfig"
|
||||
doins tools/sane-backends.pc
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
keepdir /var/lib/lock/sane
|
||||
fowners root:scanner /var/lib/lock/sane
|
||||
fperms g+w /var/lib/lock/sane
|
||||
dodir /etc/env.d
|
||||
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}"/saned_at.service "saned@.service"
|
||||
systemd_newunit "${FILESDIR}"/saned.socket saned.socket
|
||||
fi
|
||||
|
||||
if use usb; then
|
||||
exeinto /etc/hotplug/usb
|
||||
doexe tools/hotplug/libusbscanner
|
||||
newdoc tools/hotplug/README README.hotplug
|
||||
fi
|
||||
|
||||
dodoc NEWS AUTHORS ChangeLog* PROBLEMS README README.linux
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use xinetd; then
|
||||
insinto /etc/xinetd.d
|
||||
doins "${FILESDIR}"/saned
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/saned.initd saned
|
||||
newconfd "${FILESDIR}"/saned.confd saned
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use xinetd; then
|
||||
elog "If you want remote clients to connect, edit"
|
||||
elog "/etc/sane.d/saned.conf and /etc/hosts.allow"
|
||||
fi
|
||||
|
||||
if ! use systemd; then
|
||||
elog "If you are using a USB scanner, add all users who want"
|
||||
elog "to access your scanner to the \"scanner\" group."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
DIST pulseeffects-3.2.3.tar.gz 648968 BLAKE2B aef2aaacacc41020c5f14582c91b53ba84f3e56d7cf4a13a955769ff80796ae21cbc0ecad9b2c3e24985a6a6daf86888c3a8c6e2387b917860336e73fa8c0d6b SHA512 802068c867b9708e7503e0beb65fb5aaf9ff4916b98048634a443f701864db00e5401de42ff58ed3e5fe9430af6caae74efe8f0b1b0e3e2c9d48dcb7c7e6a400
|
||||
DIST pulseeffects-4.5.9.tar.gz 1830876 BLAKE2B 3b80e26eb7b3593f0636d4c3a86ddb05c4c08ec446983d8f521828a4a004b42011ca12cbed6fefe3a0df7d1347197abcee89d5786020a61ed28c3277668d8e57 SHA512 aa47b546f13ef29d03c907dfeeba0ecb531ba07bb5bbb7bc49399bceb75583c58c9e188557c1d77c02b8b50e5cac9562b6fc882750c14d755ec0d294e8b60105
|
||||
DIST pulseeffects-4.6.1.tar.gz 1878597 BLAKE2B 5db87915f5e008780bc063580cee95202460f9932533d4227eec89ba49d8ba760d2be44e0268d53279868b07da1556ddae648ff6339cc10304a0c429a8d55eb9 SHA512 336ab9c3a2987a8ca0887fd87c836776619e6989c22bb7442c7e6f3d8603537ea2789e012fea11c142dd943d0a670549fcbfff69949cacbda2621e2da95456b3
|
||||
DIST pulseeffects-4.6.2.tar.gz 1885394 BLAKE2B aeda40d59bc36af06211fa64dcad4af0c9e2a04ce2bb255edafc85d71df0bdb412cf1b8a9eaa2c38d4ecb2aacac3d92f8dda0d0158ea105917d36e8e59e7550b SHA512 fcb201f1507f2bdd01564bbbaa77d58b3e8f8eac45b3caca241e53d86dbce80a68d1ead1eec9583bd9339d5efeee698d99a332e10dda01adf541c7a70e3bad0c
|
||||
DIST pulseeffects-4.6.3.tar.gz 1885423 BLAKE2B 404ab653c187270d879b497b819206815f47f7bbb74762fb6b4ae055169093599fa5350df53292eec4eea46ab380a058db80c693022a854a71bfb4245fc49e10 SHA512 645a19a6f5f1726474a675edc0048eccd37e7236fd863ecbd8c382028344cd3d4a2cbd5c4a8e830e5fb793ddf50c0b24c45f5d93acb7a880ae32c3c940e8d2ea
|
||||
EBUILD pulseeffects-3.2.3-r1.ebuild 1506 BLAKE2B 561117695d98390d646cc6d36263aae5f375b1d6ebbdb4baa271a8ff009e788218952b8bb63d5088e1ce647e2e7fb7f38a1ea27ae634d341bd8e7dd3bc332e65 SHA512 ed37577b50ead9ae9d4a007f343ada566df3ed7dbde12a2114bdce793c1ec2a123296f4e4b059619644d6c293b917bbbb26cf2936c55211c89fbaa2abb68df25
|
||||
EBUILD pulseeffects-4.5.9.ebuild 1799 BLAKE2B e6ba4eb6229e8aaf31eaef655f770989ef0a5794e06c8673f565b3e3e49689ba5c6745c551e6e2bc5cb6aef84bc79e5eaa68b58c7ca5a4a606feed443b2dc2db SHA512 952d00097cf90bd69273ad8f67a4f8caae9ec2d84d0c424972d5c340a0bd1406442fb0e4b9005489da1691f72b98ddc124e2e148b4ecabdeaf7781a56a76948a
|
||||
EBUILD pulseeffects-4.6.1.ebuild 1799 BLAKE2B e6ba4eb6229e8aaf31eaef655f770989ef0a5794e06c8673f565b3e3e49689ba5c6745c551e6e2bc5cb6aef84bc79e5eaa68b58c7ca5a4a606feed443b2dc2db SHA512 952d00097cf90bd69273ad8f67a4f8caae9ec2d84d0c424972d5c340a0bd1406442fb0e4b9005489da1691f72b98ddc124e2e148b4ecabdeaf7781a56a76948a
|
||||
EBUILD pulseeffects-4.6.2.ebuild 1805 BLAKE2B e6b844dbb1dbd88270af8f19a430ece4abdde4709d34c76d7d61c8254997ffa264021080ad5a3a9b0e34ee8974a2b8d44c9f7d9fedef07dfa3476e9ecc182ed1 SHA512 224b1d44ecd71496a9cca236bfc0104050b5912c3489885a1eedfd2aa8a6c9b8508b5bfcd32d8b1e0c9a43c0bf8a667dd0d7b3a824dcd6b499b587fa97ea6f35
|
||||
EBUILD pulseeffects-4.6.3.ebuild 1805 BLAKE2B e6b844dbb1dbd88270af8f19a430ece4abdde4709d34c76d7d61c8254997ffa264021080ad5a3a9b0e34ee8974a2b8d44c9f7d9fedef07dfa3476e9ecc182ed1 SHA512 224b1d44ecd71496a9cca236bfc0104050b5912c3489885a1eedfd2aa8a6c9b8508b5bfcd32d8b1e0c9a43c0bf8a667dd0d7b3a824dcd6b499b587fa97ea6f35
|
||||
EBUILD pulseeffects-9999.ebuild 1805 BLAKE2B e6b844dbb1dbd88270af8f19a430ece4abdde4709d34c76d7d61c8254997ffa264021080ad5a3a9b0e34ee8974a2b8d44c9f7d9fedef07dfa3476e9ecc182ed1 SHA512 224b1d44ecd71496a9cca236bfc0104050b5912c3489885a1eedfd2aa8a6c9b8508b5bfcd32d8b1e0c9a43c0bf8a667dd0d7b3a824dcd6b499b587fa97ea6f35
|
||||
MISC metadata.xml 946 BLAKE2B dfa67811eaa1e6c66ae63c0476c5a79d7167abf7909e15f7279ca6676d0d2527bc403b37c731f6a14f207e7d2176183f2b2d4abb0b1bb1c682eed3a19a5bbd06 SHA512 4410693f173e25f13fd87850f2ebe2998d7afb531550ec8c75aa044605ede8436b138ad920791ed454b5acd5db018807ecb97e156be1ab17bc73a7746cf3aeaa
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
Sun, 02 Jun 2019 12:38:54 +0000
|
||||
Mon, 03 Jun 2019 04:38:57 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 02 Jun 2019 12:38:54 +0000
|
||||
Mon, 03 Jun 2019 04:38:57 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||
DEPEND=python_single_target_python3_5? ( dev-lang/python:3.5[xml] ) python_single_target_python3_6? ( dev-lang/python:3.6[xml] ) python_single_target_python3_7? ( dev-lang/python:3.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-libs/glib:2 net-print/cups[dbus] virtual/libusb:1 >=virtual/udev-172 x11-libs/gtk+:3[introspection] x11-libs/libnotify[introspection] x11-libs/pango[introspection] app-text/docbook-xml-dtd:4.1.2 >=app-text/xmlto-0.0.22 dev-util/desktop-file-utils dev-util/intltool sys-devel/gettext virtual/pkgconfig doc? ( dev-python/epydoc ) >=app-portage/elt-patches-20170815 app-arch/xz-utils dev-util/desktop-file-utils x11-misc/shared-mime-info virtual/pkgconfig
|
||||
DESCRIPTION=Graphical user interface for CUPS administration
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/zdohnal/system-config-printer
|
||||
IUSE=doc gnome-keyring policykit python_targets_python3_5 python_targets_python3_6 python_targets_python3_7 python_single_target_python3_5 python_single_target_python3_6 python_single_target_python3_7
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2+
|
||||
RDEPEND=python_single_target_python3_5? ( dev-lang/python:3.5[xml] ) python_single_target_python3_6? ( dev-lang/python:3.6[xml] ) python_single_target_python3_7? ( dev-lang/python:3.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-libs/glib:2 net-print/cups[dbus] virtual/libusb:1 >=virtual/udev-172 x11-libs/gtk+:3[introspection] x11-libs/libnotify[introspection] x11-libs/pango[introspection] dev-python/dbus-python[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-python/pycairo[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-python/pycups[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-python/pygobject:3[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-python/requests[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] dev-python/urllib3[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_5(+)?,python_single_target_python3_6(+)?,python_single_target_python3_7(+)?] gnome-keyring? ( app-crypt/libsecret[introspection] ) policykit? ( net-print/cups-pk-helper )
|
||||
REQUIRED_USE=^^ ( python_single_target_python3_5 python_single_target_python3_6 python_single_target_python3_7 ) python_single_target_python3_5? ( python_targets_python3_5 ) python_single_target_python3_6? ( python_targets_python3_6 ) python_single_target_python3_7? ( python_targets_python3_7 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/zdohnal/system-config-printer/releases/download/1.5.11/system-config-printer-1.5.11.tar.xz https://dev.gentoo.org/~asturm/distfiles/system-config-printer-1.5.11-patchset-01.tar.xz
|
||||
_eclasses_=desktop b1d22ac8bdd4679ab79c71aca235009d eapi7-ver 756b3f27d8e46131d5cf3c51bd876446 epatch a1bf4756dba418a7238f3be0cb010c54 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 6e6c2737b59a4b982de6fb3ecefd87f8 gnome.org 532d56d07b9eace4831aaa817d2b756a gnome2 1a42e8c41af42cb294817dcc5b7e3df6 gnome2-utils 532371cfcba45b2ab0d2950547c97d95 libtool f143db5a74ccd9ca28c1234deffede96 ltprune 2729691420b6deeda2a90b1f1183fb55 multilib 1d91b03d42ab6308b5f4f6b598ed110e preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 3a0fc81f484bfdbd9c2b7448015a36e4 python-utils-r1 08e17157a6807add7db1f8d01e7e391f systemd 71fd8d2065d102753fb9e4d20eaf3e9f toolchain-funcs 8c7f9d80beedd16f2e5a7f612c609529 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 2352c3fc97241f6a02042773c8287748 xdg c7ba313ea1eaf266f95cc6235f7d6a07 xdg-utils 14d00d009167652b1fa363e55effe213
|
||||
_md5_=cdbbb08f7e547de67af742bc859e6e5b
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue