parent
7bfbafd522
commit
f60bfb4f8e
Binary file not shown.
Binary file not shown.
@ -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,4 +1,6 @@
|
||||
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
|
||||
|
@ -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.
@ -1,6 +1,7 @@
|
||||
DIST Cython-0.25.2.tar.gz 1703315 BLAKE2B e458604d0843afa128c6019244220bd6b3dd6653013698aa67ee2f71555f09813a8136ef92d6dc51ca38fe085e7bedc5e01d1a32bbd0885e62bd91c2e482bebd SHA512 1974b9374aeedb030307dc95aa6560ce9d5e1652783cd4552e96ef11663c73dd263e3521b68e7712abbb31628011e2e66320c5ee2577968684e2679eb80726e1
|
||||
DIST Cython-0.26.1.tar.gz 1725133 BLAKE2B b2c0433e8154ad76d921677608cae42a793326015ff320d8cd61818e5eb5fb4daf73ad4e72760d84f4cdaa2386b87d719cf9cd41584b781d4e2021e377a58422 SHA512 cdf31afaba78209c37a224345471c5c822b78c6d26c51583c46669b6b2b57b4952b33a839a51d06c3330fdff889345ac611fbaa2b2f17498cb02f3b5675f7948
|
||||
DIST Cython-0.28.4.tar.gz 1880943 BLAKE2B a97314147294c95fa0bd6d3fa1a1315d81f8abb46a1f2196009c1ef6f0dd7f47f81a7b31ab81d1fd00e8de37878a18a22d225055181ee74ffe4cc8105d84cd75 SHA512 67d2da2d776fc02193cfe98c8942e93905ec5e30bf4e0f9d5c965d930a034936d4c29c8248fccefff5db6d4dee054ec854994bea63fa3f64ff65df7550997c29
|
||||
DIST Cython-0.29.10.tar.gz 2049468 BLAKE2B 1cfae1c5e2d7277d3ac25ab0ff5a7b4346242e6c01d0b7945491f4fb64e0c9b98c593efa41b790aa0437ae72275a0ba3b6fe8614c7efaadc6139823f0e453d71 SHA512 df8430bb89816df84abfc6d59bee8e50f4117e8e82b9c82a889afca390a42a1569a9b5dcde76f40e7c29d728489af34c6fe0cf359912f7b74ac0d014af2171c3
|
||||
DIST Cython-0.29.4.tar.gz 2044382 BLAKE2B b36d27706a3270805f66190a4cf2735eaf20b1b932365b324a433c0e58e63e860ce1500333233c3539ae697886ac0adc361a2c158d5d064a3ea05843debc3f26 SHA512 8f115e36975aaf64eda4df8b0a85378d0c80b3292dbd162be826b939def03bdc9f3eb937676e2367003c2944b570d97f50d7880becfdb2fdc5144077b4a722dc
|
||||
DIST Cython-0.29.7.tar.gz 2047944 BLAKE2B 79a2dbbbeef2c87e523d1222c1e3b62a63273644a0295a08fed3909ef01f2167baf15c0344a64ec168820e21c5c99b0accc083c8dfcaca7f1c0cb8c4b23677cc SHA512 1c2fd2185d65445318118d917ff6f8b4b958b0a036bc3ce1587dcb8fa94ccc750901cece27e4d0d39c53db68c3a620edf2dcf9424d7a6df58a0275097b90fa6e
|
||||
DIST Cython-0.29.9.tar.gz 2049206 BLAKE2B d81cc4be6d99e8be025167700517880c3250feaf929f84a9de76e2c9f1ac5eb8018a7cb4609d95c01112e35ab54070eb373157004621d45db3c347ea2b585bb5 SHA512 17ac97eaa01e3c6cd9c7d597822ad25ef5cec2354055304a2999a0a0d969fa0513640470260cf0d88c8d9a7c331f02d1ebf144245a6c45de47e26e7fa73b0ae1
|
||||
|
@ -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 +1,2 @@
|
||||
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
|
||||
|
@ -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 +1,2 @@
|
||||
DIST dwarves-1.12.tar.bz2 112400 BLAKE2B e71051041dfdbefc603dc041303de82e2e44c8b0f4f888577722466aaf7958cab7b04c15154faa8cbfcaa44fe60fc549e09b2fb68747cc3cdd08b8bce487cfdf SHA512 20644344e694253b79ede65e489696a319f10eaf424af81882414ae6efeaf34a82132321430d647916b78f97ef504907b3bd32919420f2cd14384910e283ff27
|
||||
DIST dwarves-1.13.tar.xz 222008 BLAKE2B db73f5c9a319a1a57ef37127350a9da117e3f5c89e199445393e3e312139ce8f88f46e6e5bbf302d708c0b075b1c2b2cd75dc7bc213ed144d1db792c55358220 SHA512 26485b183b4c7b608dd0392f9155dd570a14c86fdeafee232e44ad30f14a1357b408b61b0e8a31ea4bf976ed7fc44e7d5a4a3ccede9713c47265ad52c13dadf0
|
||||
|
@ -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,3 +1,3 @@
|
||||
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
|
||||
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST gzdoom-4.1.2.tar.gz 13045742 BLAKE2B 38c70eb82ba266e5b41bf62f28f4cee77ba17c0cc1e4186bf11be9021386511346c111874b695ef56a4ed3c93668bb64a71ba4169183646e49d0ab60a1c0793a SHA512 915029e676b17dd330aeee17fa8a9e07bb8e7a16e8ebce9fcdcd24e5b2f0cc48fd8f6914314029b332112ad4215a0f0d45d8e448e9025ac3c2a708a5e0bbd399
|
@ -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.
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,4 +1,4 @@
|
||||
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
|
||||
|
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