parent
2449865f40
commit
f060adebab
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST gprbuild-gpl-2016-src.tar.gz 2142261 BLAKE2B 69948427eb6315b9fb2b84755192b53c035f74093dacb34852713083779bf8bd88dac6b38fe7685f6a40ecb2482f78b15a5221913df997847eee8b1359cf6c14 SHA512 6b9e00248aaee90f3c00e7ce442c2b551b8532ec4d94a4471858d117feb27e91fd6d218995d4b71ee3f1f0677e9547d562fc2cda9ba80c3f6eb8d840ed56eb7e
|
||||
DIST gprbuild-gpl-2017-src.tar.gz 2454957 BLAKE2B 890e5aa29e9f8fa8b140988ee8e5d6042640c34fe0877acde959de803bf690bb33c63b1c7e7db486f804882bddd77ab76ffbaa4dd27da327e21ed0376cadb99d SHA512 12f3682d64ce0718de4940c1e71a4380b20021805d88543842dbf3b5ce5d518c23a6b2d868565579baf81efa1d8cf05c7778253162f0df5d7adc0eb1865c9f88
|
||||
DIST xmlada-gpl-2016-src.tar.gz 1440671 BLAKE2B 32998fbdb680f3a1ea7915f144c3039441d8608ded9fe2df99d9b5c9d13436a020c25a9773cced753ffa3ff89a918bbb1ef3ca310cbc58f583682deb7dcc9d09 SHA512 d1d7c3d91731394235aed4b80c91b1babe30d5f184282fae8087ee556318475e3923ed628b805693fc89a4d9bb219b0fb0937bc5024a742226da0245d36ed652
|
||||
DIST xmlada-gpl-2017-src.tar.gz 1578393 BLAKE2B 7b4894040b6044e86c96cbd530ebda5c0cfc4ad0e2b472d46798a93f535aca0916b03385a3aef49bd4e59d508a9665c856360e9cab0a4f67b15091228b629d81 SHA512 371f6adc01550a4bb13204ec0404dc1165438db595f4346813e5a23a155de74c857c40c55adde173919c2fe35b3b91d78b235c9718ee86bc848e62ddfd7fa2b4
|
||||
|
@ -1,271 +0,0 @@
|
||||
diff -Naur gprbuild-gpl-2016-src.old/src/gprbuild-main.adb gprbuild-gpl-2016-src/src/gprbuild-main.adb
|
||||
--- gprbuild-gpl-2016-src.old/src/gprbuild-main.adb 2017-03-28 09:12:24.205058242 +0200
|
||||
+++ gprbuild-gpl-2016-src/src/gprbuild-main.adb 2017-03-28 09:21:20.495344963 +0200
|
||||
@@ -52,7 +52,8 @@
|
||||
with GPR.Tempdir; use GPR.Tempdir;
|
||||
with GPR.Tree; use GPR.Tree;
|
||||
with GPR.Util; use GPR.Util;
|
||||
+with Gprbuild.Sigint_Intercepted;
|
||||
|
||||
procedure Gprbuild.Main is
|
||||
|
||||
use Stamps;
|
||||
@@ -124,11 +124,6 @@
|
||||
pragma Import (C, Install_Int_Handler, "__gnat_install_int_handler");
|
||||
-- Called by Gnatmake to install the SIGINT handler below
|
||||
|
||||
- procedure Sigint_Intercepted;
|
||||
- pragma Convention (C, Sigint_Intercepted);
|
||||
- -- Called when the program is interrupted by Ctrl-C to delete the
|
||||
- -- temporary mapping files and configuration pragmas files.
|
||||
-
|
||||
No_Object_Check_Switch : constant String := "--no-object-check";
|
||||
Direct_Import_Only_Switch : constant String := "--direct-import-only";
|
||||
Indirect_Imports_Switch : constant String := "--indirect-imports";
|
||||
@@ -1616,22 +1611,6 @@
|
||||
end if;
|
||||
end Scan_Arg;
|
||||
|
||||
- ------------------------
|
||||
- -- Sigint_Intercepted --
|
||||
- ------------------------
|
||||
-
|
||||
- procedure Sigint_Intercepted is
|
||||
- begin
|
||||
- Put_Line ("*** Interrupted ***");
|
||||
- Delete_All_Temp_Files (Project_Tree.Shared);
|
||||
-
|
||||
- if Distributed_Mode then
|
||||
- Compilation.Slave.Unregister_Remote_Slaves (From_Signal => True);
|
||||
- end if;
|
||||
-
|
||||
- OS_Exit (1);
|
||||
- end Sigint_Intercepted;
|
||||
-
|
||||
----------------
|
||||
-- Initialize --
|
||||
----------------
|
||||
@@ -2293,7 +2272,7 @@
|
||||
|
||||
-- And install Ctrl-C handler
|
||||
|
||||
- Install_Int_Handler (Sigint_Intercepted'Unrestricted_Access);
|
||||
+ Install_Int_Handler (Gprbuild.Sigint_Intercepted'Unrestricted_Access);
|
||||
|
||||
-- Check command line arguments. These will be overridden when looking
|
||||
-- for the configuration file
|
||||
diff -Naur gprbuild-gpl-2016-src.old/src/gprbuild-sigint_intercepted.adb gprbuild-gpl-2016-src/src/gprbuild-sigint_intercepted.adb
|
||||
--- gprbuild-gpl-2016-src.old/src/gprbuild-sigint_intercepted.adb 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ gprbuild-gpl-2016-src/src/gprbuild-sigint_intercepted.adb 2017-03-28 09:20:00.661792854 +0200
|
||||
@@ -0,0 +1,20 @@
|
||||
+------------------------
|
||||
+-- Sigint_Intercepted --
|
||||
+------------------------
|
||||
+
|
||||
+with Ada.Text_IO; use Ada.Text_IO;
|
||||
+with Gpr_Util; use Gpr_Util;
|
||||
+with Gprbuild.Compile;
|
||||
+with Gprbuild.Compilation.Slave;
|
||||
+
|
||||
+procedure Gprbuild.Sigint_Intercepted is
|
||||
+begin
|
||||
+ Put_Line ("*** Interrupted ***");
|
||||
+ Delete_All_Temp_Files (Project_Tree.Shared);
|
||||
+
|
||||
+ if Distributed_Mode then
|
||||
+ Compilation.Slave.Unregister_Remote_Slaves (From_Signal => True);
|
||||
+ end if;
|
||||
+
|
||||
+ OS_Exit (1);
|
||||
+end Gprbuild.Sigint_Intercepted;
|
||||
diff -Naur gprbuild-gpl-2016-src.old/src/gprbuild-sigint_intercepted.ads gprbuild-gpl-2016-src/src/gprbuild-sigint_intercepted.ads
|
||||
--- gprbuild-gpl-2016-src.old/src/gprbuild-sigint_intercepted.ads 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ gprbuild-gpl-2016-src/src/gprbuild-sigint_intercepted.ads 2017-03-28 09:15:35.275616543 +0200
|
||||
@@ -0,0 +1,4 @@
|
||||
+procedure Gprbuild.Sigint_Intercepted;
|
||||
+pragma Convention (C, Sigint_Intercepted);
|
||||
+-- Called when the program is interrupted by Ctrl-C to delete the
|
||||
+-- temporary mapping files and configuration pragmas files.
|
||||
diff -Naur gprbuild-gpl-2016-src.old/src/gprinstall-main.adb gprbuild-gpl-2016-src/src/gprinstall-main.adb
|
||||
--- gprbuild-gpl-2016-src.old/src/gprinstall-main.adb 2017-03-28 09:12:24.205058242 +0200
|
||||
+++ gprbuild-gpl-2016-src/src/gprinstall-main.adb 2017-03-28 09:25:36.515709886 +0200
|
||||
@@ -42,6 +42,7 @@
|
||||
with Gprinstall.DB;
|
||||
with Gprinstall.Install;
|
||||
with Gprinstall.Uninstall;
|
||||
+with Gprinstall.Sigint_Intercepted;
|
||||
|
||||
procedure Gprinstall.Main is
|
||||
|
||||
@@ -94,11 +94,6 @@
|
||||
pragma Import (C, Install_Int_Handler, "__gnat_install_int_handler");
|
||||
-- Called by Gnatmake to install the SIGINT handler below
|
||||
|
||||
- procedure Sigint_Intercepted;
|
||||
- pragma Convention (C, Sigint_Intercepted);
|
||||
- -- Called when the program is interrupted by Ctrl-C to delete the
|
||||
- -- temporary mapping files and configuration pragmas files.
|
||||
-
|
||||
---------------
|
||||
-- Copyright --
|
||||
---------------
|
||||
@@ -514,17 +509,6 @@
|
||||
end if;
|
||||
end Scan_Arg;
|
||||
|
||||
- ------------------------
|
||||
- -- Sigint_Intercepted --
|
||||
- ------------------------
|
||||
-
|
||||
- procedure Sigint_Intercepted is
|
||||
- begin
|
||||
- Put_Line ("*** Interrupted ***");
|
||||
- Delete_All_Temp_Files (Project_Tree.Shared);
|
||||
- OS_Exit (1);
|
||||
- end Sigint_Intercepted;
|
||||
-
|
||||
----------------
|
||||
-- Initialize --
|
||||
----------------
|
||||
@@ -862,7 +846,7 @@
|
||||
|
||||
-- And install Ctrl-C handler
|
||||
|
||||
- Install_Int_Handler (Sigint_Intercepted'Unrestricted_Access);
|
||||
+ Install_Int_Handler (Gprinstall.Sigint_Intercepted'Unrestricted_Access);
|
||||
|
||||
-- Check command line arguments. These will be overridden when looking
|
||||
-- for the configuration file
|
||||
diff -Naur gprbuild-gpl-2016-src.old/src/gprinstall-sigint_intercepted.adb gprbuild-gpl-2016-src/src/gprinstall-sigint_intercepted.adb
|
||||
--- gprbuild-gpl-2016-src.old/src/gprinstall-sigint_intercepted.adb 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ gprbuild-gpl-2016-src/src/gprinstall-sigint_intercepted.adb 2017-03-28 09:24:50.307545617 +0200
|
||||
@@ -0,0 +1,12 @@
|
||||
+------------------------
|
||||
+-- Sigint_Intercepted --
|
||||
+------------------------
|
||||
+
|
||||
+with Ada.Text_IO; use Ada.Text_IO;
|
||||
+
|
||||
+procedure Gprinstall.Sigint_Intercepted is
|
||||
+begin
|
||||
+ Put_Line ("*** Interrupted ***");
|
||||
+ Delete_All_Temp_Files (Project_Tree.Shared);
|
||||
+ OS_Exit (1);
|
||||
+end Gprinstall.Sigint_Intercepted;
|
||||
diff -Naur gprbuild-gpl-2016-src.old/src/gprinstall-sigint_intercepted.ads gprbuild-gpl-2016-src/src/gprinstall-sigint_intercepted.ads
|
||||
--- gprbuild-gpl-2016-src.old/src/gprinstall-sigint_intercepted.ads 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ gprbuild-gpl-2016-src/src/gprinstall-sigint_intercepted.ads 2017-03-28 09:22:18.462294461 +0200
|
||||
@@ -0,0 +1,4 @@
|
||||
+procedure Gprinstall.Sigint_Intercepted;
|
||||
+pragma Convention (C, Sigint_Intercepted);
|
||||
+-- Called when the program is interrupted by Ctrl-C to delete the
|
||||
+-- temporary mapping files and configuration pragmas files.
|
||||
--- gprbuild-gpl-2016-src/Makefile.in.old 2017-01-19 19:52:41.242907252 +0100
|
||||
+++ gprbuild-gpl-2016-src/Makefile.in 2017-01-19 19:54:45.822646333 +0100
|
||||
@@ -25,12 +25,12 @@
|
||||
host=@host@
|
||||
target=@target@
|
||||
build=@build@
|
||||
-prefix=@prefix@
|
||||
+prefix=$(DESTDIR)@prefix@
|
||||
srcdir=@srcdir@
|
||||
objdir=@objdir@
|
||||
exec_prefix=@exec_prefix@
|
||||
datarootdir=@datarootdir@
|
||||
-datadir=@datadir@
|
||||
+datadir=$(DESTDIR)@datadir@
|
||||
bindir=@bindir@
|
||||
libdir=@libdir@
|
||||
libexecdir=@libexecdir@
|
||||
@@ -66,7 +66,7 @@
|
||||
.PHONY: all distall gprbuild gprconfig gprclean gprinstall gprname gprls
|
||||
|
||||
all:
|
||||
- $(GPRBUILD_BUILDER)
|
||||
+ $(GPRBUILD_BUILDER) -cargs:C $(CFLAGS) -cargs:Ada $(ADAFLAGS)
|
||||
|
||||
distall: all install install.dist
|
||||
|
||||
@@ -173,13 +173,13 @@
|
||||
libgpr.build: $(foreach t, $(LIBGPR_TYPES), libgpr.build.$(t))
|
||||
|
||||
libgpr.build.shared:
|
||||
- ${BUILDER} -XLIBRARY_TYPE=relocatable -P$(srcdir)/gpr/gpr.gpr
|
||||
+ ${BUILDER} -XLIBRARY_TYPE=relocatable -P$(srcdir)/gpr/gpr.gpr -cargs:Ada $(ADAFLAGS)
|
||||
|
||||
libgpr.build.static:
|
||||
- ${BUILDER} -XLIBRARY_TYPE=static -P$(srcdir)/gpr/gpr.gpr
|
||||
+ ${BUILDER} -XLIBRARY_TYPE=static -P$(srcdir)/gpr/gpr.gpr -cargs:Ada $(ADAFLAGS)
|
||||
|
||||
libgpr.build.static-pic:
|
||||
- ${BUILDER} -XLIBRARY_TYPE=static-pic -P$(srcdir)/gpr/gpr.gpr
|
||||
+ ${BUILDER} -XLIBRARY_TYPE=static-pic -P$(srcdir)/gpr/gpr.gpr -cargs:Ada $(ADAFLAGS)
|
||||
|
||||
libgpr.install: $(foreach t, $(LIBGPR_TYPES), libgpr.install.$(t))
|
||||
|
||||
--- gprbuild-gpl-2015-src/gprbuild.gpr.old 2017-01-11 21:44:59.795997896 +0100
|
||||
+++ gprbuild-gpl-2015-src/gprbuild.gpr 2017-01-11 21:45:07.971998651 +0100
|
||||
@@ -66,6 +66,7 @@
|
||||
for Switches ("gpr*.ad?") use
|
||||
Compiler'Default_Switches ("Ada") & ("-g1");
|
||||
end case;
|
||||
+ for Driver ("C") use External ("CC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
package Binder is
|
||||
make BUILDER="$(BUILDER)" BUILD="$(BUILD)"
|
||||
--- gprbuild-gpl-2016-src/gpr/src/gpr-env.adb.old 2017-11-13 22:16:53.349083426 +0100
|
||||
+++ gprbuild-gpl-2016-src/gpr/src/gpr-env.adb 2017-11-13 22:17:22.692590351 +0100
|
||||
@@ -1948,6 +1948,8 @@
|
||||
|
||||
end if;
|
||||
|
||||
+ Add_Directories (Self, "/usr/share/gpr");
|
||||
+
|
||||
if Gpr_Prj_Path.all /= "" then
|
||||
Add_Directories (Self, Gpr_Prj_Path.all);
|
||||
end if;
|
||||
--- gprbuild-gpl-2017-src/gpr/src/gpr-names.ads.old 2017-11-19 13:09:18.947527738 +0100
|
||||
+++ gprbuild-gpl-2017-src/gpr/src/gpr-names.ads 2017-11-19 13:10:08.125654595 +0100
|
||||
@@ -27,6 +27,8 @@
|
||||
Name_Buffer : String (1 .. 1_000_000);
|
||||
Name_Len : Natural := 0;
|
||||
|
||||
+ Last_Id : Name_Id := Name_Id'First;
|
||||
+
|
||||
procedure Get_Name_String (Id : Name_Id);
|
||||
procedure Get_Name_String (Id : Unit_Name_Type);
|
||||
procedure Get_Name_String (Id : File_Name_Type);
|
||||
--- gprbuild-gpl-2017-src/gpr/src/gpr-names.adb.old 2017-11-19 13:10:27.674316703 +0100
|
||||
+++ gprbuild-gpl-2017-src/gpr/src/gpr-names.adb 2017-11-19 13:14:38.360963627 +0100
|
||||
@@ -354,6 +354,8 @@
|
||||
|
||||
Name_Chars.Append (ASCII.NUL);
|
||||
|
||||
+ Last_Id := Name_Entries.Last;
|
||||
+
|
||||
return Name_Entries.Last;
|
||||
end Name_Enter;
|
||||
|
||||
@@ -427,6 +429,8 @@
|
||||
|
||||
Name_Chars.Append (ASCII.NUL);
|
||||
|
||||
+ Last_Id := Name_Entries.Last;
|
||||
+
|
||||
return Name_Entries.Last;
|
||||
end Name_Find;
|
||||
|
||||
--- gprbuild-gpl-2017-src/gpr/src/gpr-snames.adb.old 2017-11-19 13:12:41.592995718 +0100
|
||||
+++ gprbuild-gpl-2017-src/gpr/src/gpr-snames.adb 2017-11-19 13:16:31.980979696 +0100
|
||||
@@ -53,6 +53,10 @@
|
||||
return;
|
||||
end if;
|
||||
|
||||
+ if Last_Id = Name_Id'First then
|
||||
+ Add_Name ("");
|
||||
+ end if;
|
||||
+
|
||||
Add_Name ("a");
|
||||
Add_Name ("b");
|
||||
Add_Name ("c");
|
@ -1,94 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<gprconfig>
|
||||
<compiler_description>
|
||||
<name>GNAT-@VER@</name>
|
||||
<executable prefix="1">gnatmake-@VER@</executable>
|
||||
<version>
|
||||
<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-@VER@ -v</external>
|
||||
<grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
</variable>
|
||||
<runtimes default="default,kernel,native">
|
||||
<directory group="default" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/adalib/</directory>
|
||||
<directory group="default" contents="^rts-">\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/ada_object_path</directory>
|
||||
<directory group="2" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/rts-(.*)/adalib/</directory>
|
||||
<directory group="1" >\.\./$TARGET/lib/gnat/(.*)/adalib/</directory>
|
||||
</runtimes>
|
||||
<target>
|
||||
<external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
<configuration>
|
||||
<compilers>
|
||||
<compiler name="GNAT-@VER@" />
|
||||
</compilers>
|
||||
<config>
|
||||
package Naming is
|
||||
for Spec_Suffix ("Ada") use ".ads";
|
||||
for Body_Suffix ("Ada") use ".adb";
|
||||
for Casing use "lowercase";
|
||||
for Dot_Replacement use "-";
|
||||
end Naming;
|
||||
|
||||
package Compiler is
|
||||
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
|
||||
("-c", "-x", "ada", "-gnatA")
|
||||
& Compiler'Leading_Required_Switches ("Ada");
|
||||
for Mapping_File_Switches ("Ada") use ("-gnatem=");
|
||||
for Mapping_Spec_Suffix ("Ada") use "%s";
|
||||
for Mapping_Body_Suffix ("Ada") use "%b";
|
||||
for Config_File_Switches ("Ada") use ("-gnatec=");
|
||||
for Include_Path_File ("Ada") use "ADA_PRJ_INCLUDE_FILE";
|
||||
for Multi_Unit_Switches ("Ada") use ("-gnateI");
|
||||
for Multi_Unit_Object_Separator ("Ada") use "~";
|
||||
for Config_Body_File_Name ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Body_File_Name => ""%f"");";
|
||||
for Config_Spec_File_Name ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Spec_File_Name => ""%f"");";
|
||||
for Config_Body_File_Name_Index ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Body_File_Name => ""%f"", Index => %i);";
|
||||
for Config_Spec_File_Name_Index ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Spec_File_Name => ""%f"", Index => %i);";
|
||||
for Config_Body_File_Name_Pattern ("Ada") use
|
||||
"pragma Source_File_Name_Project " &
|
||||
" (Body_File_Name => ""*%b""," &
|
||||
" Casing => %c," &
|
||||
" Dot_Replacement => ""%d"");";
|
||||
for Config_Spec_File_Name_Pattern ("Ada") use
|
||||
"pragma Source_File_Name_Project " &
|
||||
" (Spec_File_Name => ""*%s""," &
|
||||
" Casing => %c," &
|
||||
" Dot_Replacement => ""%d"");";
|
||||
for Config_File_Unique ("Ada") use "False";
|
||||
for PIC_Option ("Ada") use ("-fPIC");
|
||||
end Compiler;
|
||||
|
||||
package Binder is
|
||||
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@");
|
||||
end Binder;
|
||||
|
||||
package Clean is
|
||||
for Source_Artifact_Extensions ("Ada")
|
||||
use (".dg", ".rep", ".stdout", ".stderr");
|
||||
for Object_Artifact_Extensions ("Ada") use (".s", ".ci", ".gcno");
|
||||
end Clean;
|
||||
|
||||
for Toolchain_Version ("Ada") use "GNAT ${VERSION(ada)}";
|
||||
for Runtime_Library_Dir ("Ada") use "${RUNTIME_DIR(ada)}/adalib/";
|
||||
for Runtime_Source_Dirs ("Ada") use ("${RUNTIME_DIR(ada)}/adainclude/");
|
||||
for Library_Encapsulated_Supported use "true";
|
||||
</config>
|
||||
</configuration>
|
||||
</gprconfig>
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs multiprocessing
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="Multi-Language Management"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/57399662c7a447658e0affa8
|
||||
-> ${MYP}-src.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0
|
||||
-> xmlada-gpl-${PV}-src.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+gnat_2016 gnat_2017"
|
||||
|
||||
DEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
|
||||
gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
REQUIRED_USE="^^ ( gnat_2016 gnat_2017 )"
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_prepare() {
|
||||
if use gnat_2016; then
|
||||
GCC_PV=4.9.4
|
||||
else
|
||||
GCC_PV=6.3.0
|
||||
fi
|
||||
sed -e "s:@VER@:${GCC_PV}:g" "${FILESDIR}"/${P}.xml > gnat-${GCC_PV}.xml
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
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-gpl-${PV}-src"
|
||||
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} 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
|
||||
insinto /usr/share/gprconfig
|
||||
doins gnat-${GCC_PV}.xml
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
diff --git a/sentinel.conf b/sentinel.conf
|
||||
index 0e1b266..869a4b9 100644
|
||||
--- a/sentinel.conf
|
||||
+++ b/sentinel.conf
|
||||
@@ -194,3 +194,4 @@ sentinel failover-timeout mymaster 180000
|
||||
#
|
||||
# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh
|
||||
|
||||
+logfile "/var/log/redis/sentinel.log"
|
@ -0,0 +1,16 @@
|
||||
# Redis-sentinel user.
|
||||
REDIS_SENTINEL_USER="redis"
|
||||
|
||||
# Redis-sentinel group.
|
||||
REDIS_SENTINEL_GROUP="redis"
|
||||
|
||||
# Redis-sentinel configuration file.
|
||||
REDIS_SENTINEL_CONF="/etc/sentinel.conf"
|
||||
|
||||
# Redis-sentinel working directory.
|
||||
REDIS_SENTINEL_DIR="/tmp"
|
||||
|
||||
# Specify the network service that corresponds to the "bind" setting
|
||||
# in your sentinel.conf. For example, if you bind to 127.0.0.1, this should
|
||||
# be set to "net.lo" which provides the loopback interface.
|
||||
rc_need="net.lo"
|
@ -0,0 +1,22 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: ${REDIS_SENTINEL_DIR:=/tmp}
|
||||
: ${REDIS_SENTINEL_CONF:=/etc/sentinel.conf}
|
||||
: ${REDIS_SENTINEL_USER:=redis}
|
||||
: ${REDIS_SENTINEL_GROUP:=redis}
|
||||
: ${REDIS_SENTINEL_TIMEOUT:=30}
|
||||
|
||||
command="/usr/sbin/redis-sentinel"
|
||||
command_args="${REDIS_SENTINEL_CONF}"
|
||||
command_background="true"
|
||||
command_user="${REDIS_SENTINEL_USER}:${REDIS_SENTINEL_GROUP}"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
retry="${REDIS_SENTINEL_TIMEOUT}"
|
||||
start_stop_daemon_args="--chdir \"${REDIS_SENTINEL_DIR}\""
|
||||
|
||||
depend() {
|
||||
use localmount logger
|
||||
after keepalived redis
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
/var/log/redis/redis.log /var/log/redis/sentinel.log {
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
missingok
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="http://redis.io/"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc tcmalloc luajit test"
|
||||
SLOT="0"
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time.
|
||||
# This should link correctly with both unslotted & slotted Lua, without
|
||||
# changes.
|
||||
RDEPEND="
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.63
|
||||
test? ( dev-lang/tcl:0= )"
|
||||
|
||||
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup redis 75
|
||||
enewuser redis 75 -1 /var/lib/redis redis
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply \
|
||||
"${FILESDIR}"/${PN}-3.2.3-config.patch \
|
||||
"${FILESDIR}"/${PN}-4.0.1-shared.patch \
|
||||
"${FILESDIR}"/${PN}-4.0.1-sharedlua.patch \
|
||||
"${FILESDIR}"/${PN}-sentinel-4.0.6-config.patch
|
||||
eapply_user
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua
|
||||
has_version 'dev-lang/lua:5.1' \
|
||||
&& LUAPKGCONFIG=lua5.1 \
|
||||
|| LUAPKGCONFIG=lua
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR RANLIB
|
||||
|
||||
local myconf=""
|
||||
|
||||
if use tcmalloc; then
|
||||
myconf="${myconf} USE_TCMALLOC=yes"
|
||||
elif use jemalloc; then
|
||||
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||
else
|
||||
myconf="${myconf} MALLOC=yes"
|
||||
fi
|
||||
|
||||
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r1" redis
|
||||
newinitd "${FILESDIR}/redis.initd-5" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-2" redis.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST gmime-2.6.23.tar.xz 5216588 BLAKE2B e173a7dbd418663ebbc55b856359bf9286c3791827f9b7f89da48dd7c3609e77312546f9489c08d34a7dcaeb78659789809d5fafc1323cbae9b9f1c4a316c659 SHA512 2ff6718b7a555cd5b34848399f29c7d0aa5a15e1f3cb46e9258c499e874191ee00f41b737386805d3000bad34367d174a25c45d38ba90cba7902400e733afa14
|
||||
DIST gmime-3.0.2.tar.xz 751944 BLAKE2B e5d8843e209ca589cb1dddb96093fde8727617b8cb6e2012ae047d343c485ee2398398e20be365090af9d7b4afcfe248897ee21181fc79bff376861ac1b4428a SHA512 246f489c168ce7e04fab664b7e9ae7772ae52f0063fb0eac9153460d84fa5d9712457d81fbd1bdcdadb7e03007cf71ed3bad5287f1639214f54167427c9209ca
|
||||
DIST gmime-3.0.3.tar.xz 761844 BLAKE2B 5e4a3d0cfc9768b714dc7ee1b80e06d3c2cc0a71269339d43fc9edd341d4b6b269ece347864dc2ffc9e647503e82163bfdd8701036a1db45d278ab169cdc2edd SHA512 7a4c3026a73f4eb5c9b7717fa6dc0010191dd1ce5296792f5fb58c813a843db7377e70c7d36b59461927424f15df2b9ab58cea425b6ce64ca56f75fe8bbfca5d
|
||||
DIST gmime-3.0.5.tar.xz 764188 BLAKE2B 71daa5703c7a3e0e209a35908ef9fee40d494a5d2a3819d273408a36caee18dee6852a852a9d8757e2bf9d0b958235acb69cfa7538a8f670deb00c220f77a737 SHA512 658b9008ffdf8055ffa9dfe8a5a6036a487309b0419572a9376397f68a8fc17d36ba6a05d2dfcb2ad23e634dc9e2aedd2479df1bfa0b7f8944d4c294650cb6c8
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit flag-o-matic gnome2 vala
|
||||
|
||||
DESCRIPTION="Utilities for creating and parsing messages using MIME"
|
||||
HOMEPAGE="http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/"
|
||||
|
||||
SLOT="3.0"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="crypt doc idn static-libs test vala"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.32.0:2
|
||||
sys-libs/zlib
|
||||
crypt? ( >=app-crypt/gpgme-1.8.0:1= )
|
||||
idn? ( net-dns/libidn )
|
||||
vala? (
|
||||
$(vala_depend)
|
||||
>=dev-libs/gobject-introspection-1.30.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.8
|
||||
virtual/libiconv
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
test? ( app-crypt/gnupg )
|
||||
"
|
||||
# gnupg is needed for tests if --enable-cryptography is enabled, which we do unconditionally
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
# bug #???, why not use --with-libiconv
|
||||
append-libs iconv
|
||||
fi
|
||||
|
||||
gnome2_src_configure \
|
||||
$(use_enable crypt crypto) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable vala) \
|
||||
$(use_with idn libidn) \
|
||||
$(usex doc "" DB2HTML=)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gnome2_src_compile
|
||||
if use doc; then
|
||||
emake -C docs/tutorial html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use doc ; then
|
||||
docinto tutorial
|
||||
dodoc -r docs/tutorial/html/
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
DIST cmucl-20e-x86-linux.tar.bz2 18861880 BLAKE2B ed7b2dec86305ab2ad78ca5a84f0380044211e7cacf67f297c17c26d0a0a344d53c0404d82c86415dd923b92920cbd873436d925417f3590ac3a4c88d919b231 SHA512 1eee852b2a11733d0fac2c046137ccd099370bf208be71becc03710e832510b288768f557e326b1ce95cba16490413142e607fd71346e20e5f8592b51d86b0fe
|
||||
DIST cmucl-21a-x86-linux.tar.bz2 10870693 BLAKE2B a4fb258cef17eaf281ffd1fdff7f5e953b650c45822ed94722e4df5065b41a53cd0a9f481fba9ac38824dab4952bbb6d45e432b37fe73142c2ead1c8a4b17141 SHA512 7f7d327e47b01dcee1cbb05aae826ef7c64d4d192d7d32d1aba51c8839a06d65942fff5d4c7dbccc955e1e233d2065d83d078266327caee07201e9dce59c39ee
|
||||
DIST cmucl-21c-x86-linux.tar.bz2 11127872 BLAKE2B b9089a40b4a0738f9faccdfddb7b33256a561a07cedc3ef9b3ec7afddbbb9de493c2ffb9af4a8d6b6ce70ef857576870901a6b7a607f52bdaf8a0f53ddd2d07e SHA512 9097220aef612aa3d8367a86a86dc62d86d918190d2688f6e90d415c9f9d881f97f0829e9d310f700b014821d30bf5a15f7a05cdb9201c9deab10a7231e0bcb6
|
||||
DIST cmucl-src-20e.tar.bz2 6147575 BLAKE2B a9f31b9a34c513dc88d935e18b9a07854d024d236f1f0294f888c84fd4b781afcd99a3cceac148edd1d1fe6c2dc00c5c8de4069d84b227872e376422275b6984 SHA512 d04f6ac7335572198d37d5df00934edfc82495294446cc5420dada4f2df44009f0983b438d6f10ce5bb02e46fd89df985da5eee3e91a6a75d98e9f86240c0dcc
|
||||
DIST cmucl-src-21a.tar.bz2 8195492 BLAKE2B 5ca24e1ee258b52b805ab933e80915da6af022d47f8171327e318edb28d9f87c8901fe10ea48d54b6737a808cb03b08f8d3db41688b347971147b991570752cc SHA512 74b077732030dbc3681aadcf9c802fd5b399362c9653b972063e49eb0a2ad528d02d6dde74107210c94c94dc7e9664472c2d072a6ae6f75e7e8c4cf847987e3b
|
||||
DIST cmucl-src-21c.tar.bz2 6947775 BLAKE2B 828075c71ddf459d09076199af4a02f2294063bd9ef0beb6d4bcbb473dd0ff8cfdff7faa9416f640e125603301fa37c73a280db597bf4301c22fbe88c4cc2dbb SHA512 98ea0516b71af7c6f92b5f67f6c1545949fcd1dc95e1238a989c1c2858a75e2751e5eb765b29812ad5cc5de015333787dac2a63a9ddea9bb83cfd72fef6794f4
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils toolchain-funcs multilib
|
||||
|
||||
MY_PV=${PV:0:3}
|
||||
|
||||
DESCRIPTION="CMU Common Lisp is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://www.cons.org/cmucl/"
|
||||
SRC_URI="http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-src-${MY_PV}.tar.bz2
|
||||
http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-${MY_PV}-x86-linux.tar.bz2"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="X doc source"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-2.33-r3:=
|
||||
x11-libs/motif:0"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-devel/bc
|
||||
doc? ( virtual/latex-base )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
TARGET=linux-4
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${MY_PV}-execstack-fixes.patch
|
||||
eapply "${FILESDIR}"/${MY_PV}-customize-lisp-implementation-version.patch
|
||||
eapply "${FILESDIR}"/${MY_PV}-build.patch
|
||||
eapply_user
|
||||
cp "${FILESDIR}"/os-common.h src/lisp/ || die
|
||||
cp /usr/share/common-lisp/source/asdf/build/asdf.lisp src/contrib/asdf/ || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local cmuopts buildimage
|
||||
|
||||
if use X; then
|
||||
cmuopts=""
|
||||
else
|
||||
cmuopts="-u"
|
||||
fi
|
||||
|
||||
buildimage="bin/lisp -batch"
|
||||
|
||||
env CC="$(tc-getCC)" bin/build.sh -v "-gentoo-${PR}" -C "" -o "${buildimage}" ${cmuopts} || die "Cannot build the compiler"
|
||||
|
||||
# Compile up the asdf and defsystem modules
|
||||
${TARGET}/lisp/lisp -noinit -nositeinit -batch << EOF || die
|
||||
(in-package :cl-user)
|
||||
(setf (ext:search-list "target:")
|
||||
'("$TARGET/" "src/"))
|
||||
(setf (ext:search-list "modules:")
|
||||
'("target:contrib/"))
|
||||
|
||||
(compile-file "modules:asdf/asdf")
|
||||
(compile-file "modules:defsystem/defsystem")
|
||||
EOF
|
||||
|
||||
# documentation
|
||||
if use doc; then
|
||||
pushd src/docs/cmu-user > /dev/null || die "directory src/docs/cmu-user does not exist"
|
||||
emake
|
||||
cd ../internals || die "directory src/docs/internals does not exist"
|
||||
emake
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
bin/make-dist.sh -S -g -G root -O root -M share/man/man1 -V ${MY_PV} -A x86 -o linux ${TARGET} \
|
||||
|| die "Cannot build installation archive"
|
||||
# Necessary otherwise tar will fail
|
||||
dodir /usr
|
||||
pushd "${D}"/usr > /dev/null
|
||||
tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.tar.gz \
|
||||
|| die "Cannot install main system"
|
||||
if use X ; then
|
||||
tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.extra.tar.gz \
|
||||
|| die "Cannot install extra files"
|
||||
fi
|
||||
if use source; then
|
||||
# Necessary otherwise tar will fail
|
||||
dodir /usr/share/common-lisp/source/${PN}
|
||||
cd "${D}"/usr/share/common-lisp/source/${PN}
|
||||
tar --strip-components 1 -xzpf "${WORKDIR}"/cmucl-src-${MY_PV}.tar.gz \
|
||||
|| die "Cannot install sources"
|
||||
fi
|
||||
popd > /dev/null
|
||||
|
||||
# Install site config file
|
||||
sed "s,@PF@,${PF},g ; s,@VERSION@,$(date +%F),g" \
|
||||
< "${FILESDIR}"/site-init.lisp.in \
|
||||
> "${D}"/usr/$(get_libdir)/cmucl/site-init.lisp \
|
||||
|| die "Cannot fix site-init.lisp"
|
||||
insinto /etc/common-lisp
|
||||
doins "${FILESDIR}"/cmuclrc || die "Failed to install cmuclrc"
|
||||
|
||||
# documentation
|
||||
dodoc doc/cmucl/README
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins src/docs/cmu-user/cmu-user.pdf src/docs/internals/design.pdf
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
# Tests require a live AMQP server.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Another synchronous Ruby AMQP client"
|
||||
HOMEPAGE="https://github.com/celldee/bunny"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/amq-protocol-2.2.0:2"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples || die
|
||||
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST debhelper_10.10.5.tar.xz 429752 BLAKE2B 34fffc6e60d519fca78f5d82d4e5d694abc91577a897058ecc26e8f89169ed3548e5a3c6c5fef46e85dc6dc58bc0e2583a261c2be5ea2a34f63b51fd9553f32b SHA512 0bd4310318f85039326b516ba854193b72d850b9e11661233b401c7ba45be3137ee67d1c894b227a8432de025a62e9b176dd5dcb194c739f29007d9e73b32448
|
||||
DIST debhelper_10.10.8.tar.xz 430984 BLAKE2B e00c7e01ecc41c7a128fb27c1ac8f9820d822cf6ac292125ce91a17cbb79e6de0b05f816ad18d2828d97bc07cd6c810b0a52bc4785291d7569275ceb92abfc7e SHA512 90f03a354647e55614b2f13b869525a4800fd347cce2ed370be9e8591219c353170d04dcf976c52d64194321410cc4fbdb042166145479ee4bae833009d44100
|
||||
DIST debhelper_10.10.9.tar.xz 431480 BLAKE2B 579a88a45aa74dd8097984bcfba16efb523f8ef5fb7cef8d43433cecddafafabbcb717439aedb847940c382da4f86d7448dbddecd66cbe9a567a9e389476c512 SHA512 45c1357c0e34083f6bad070973d58bdc5388cf7dc71152fce684e38158674baeb436e2d7577d3b5e43918e0788d80968ca6e6e1ee303ea4d3b79be3d55f32e9b
|
||||
DIST debhelper_11.tar.xz 439268 BLAKE2B 45c1eeb046a6fbc59b814f696c7320b344ba3cf1ba47b02e9aafd38f88e72943eaba0c0625115fc35cdce9cec0f01232278956644f02b632beda2e2d052ca1aa SHA512 12eabb2f02df24a2c1d8db8e1d88ecec2fce1547c21e99f99bf89f5a44ebd71d09ebbb7e19e0e30ca7e2f17b252769c79968d81989ab7330f870b7ee42e13521
|
||||
DIST debhelper_9.20160814.tar.xz 344328 BLAKE2B 38791ab3dfb74d12e44226b79a377889911a08505cdb45cc0a6e653906edbafcac1038d1d9ff9f5fd9f714ed36681562ce7fb1c9c1109a8528523100128fced6 SHA512 63072ba35ec8c62ee4c4d44833712925264c808a91f1522ef6a73377f2da3d11b285a21ad39158fd44693c801916189261186c8c7b28096719328a81a0a65f62
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
|
||||
HOMEPAGE="https://packages.qa.debian.org/d/debhelper.html"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="test"
|
||||
DH_LINGUAS=( de es fr )
|
||||
IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
|
||||
|
||||
NLS_DEPEND=$(
|
||||
printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10:=
|
||||
>=app-arch/dpkg-1.17
|
||||
dev-perl/TimeDate
|
||||
virtual/perl-Getopt-Long
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
sys-apps/fakeroot
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local LANGS="" USE_NLS=no lingua
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
if use linguas_${lingua}; then
|
||||
LANGS+=" ${lingua}"
|
||||
USE_NLS=yes
|
||||
fi
|
||||
done
|
||||
|
||||
emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc doc/* debian/changelog
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
local lingua
|
||||
for manfile in *.1 *.7 ; do
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
case ${manfile} in
|
||||
*.${lingua}.?)
|
||||
use linguas_${lingua} \
|
||||
&& cp ${manfile} "${T}"/${manfile/.${lingua}/} \
|
||||
&& doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
|
||||
;;
|
||||
*)
|
||||
doman ${manfile}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST gnome-photos-3.22.6.tar.xz 962468 BLAKE2B ceb0e54801f42a681b26e95d670a7fbb0f62d9965e38452f8d5aab045c85bb0ee57558e90caa6a8090f978c5a02b6f327692460dfe5de92bf88079dd86fc8ba9 SHA512 4fb2a67b5acdbd63cf6f252d0116a4b759e0e6daae48d638ce96ec35f24deee44720c45cb0720a26b6a380e66bbde1619173de340375828bc2f4ef943606fe26
|
||||
DIST gnome-photos-3.24.2.tar.xz 984372 BLAKE2B 3fecc31730fb0a55c1c0336306e0785ba4537eb668b0582a796bc8a1e7fb7b39c79f3f66c5f02d8794ce9358816952b4c054ce39d45bd3565e950cbc554090c6 SHA512 6747d7f7b0fe8710f299a7cd72916a1abd2e6296d642f9d7bf027de731f0fa4e0f862cb6bcb5622bb2d69298b911433df2a31f37f1f7d02fd4e5582234fe0c9f
|
||||
DIST gnome-photos-3.24.3.tar.xz 984796 BLAKE2B b54190adbbfb1d4ca4cbd34a06e71f37fdcadfb89ee88de15082b17751e187f61352987bbf611eb82136eb80f458bb8fc50b1232c8ec50b08044f317a90e71d3 SHA512 254fc37cfdfcd1b2d854e1ddb5a71d28aab6da3caa6a8739dcbecdabc8a9cb449b2b4080319bb9b73d4b16464f7a7ab7060304fd1194f3bc8cacc67497567a2c
|
||||
DIST gnome-photos-3.24.5.tar.xz 985864 BLAKE2B d5e7dd48a6f81c9ca6efa7dcb2b17fdeb781070d1789514098b8cf30bcd12eba145e57e584f42f66286579ad40ef31f370c471abaab30ba684bada9878afc3c4 SHA512 8dcdb9962a55d6e2e9aa28ef86dcc9100f80fa9739763cea1475052379050a23428e09e8416ed75b9a9b1c85a9bc27d94a75faeefde3d546195c21f04f85379d
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2 python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="Access, organize and share your photos on GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Photos"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="flickr test upnp-av"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-misc/tracker-1:=[miner-fs]
|
||||
>=dev-libs/glib-2.44:2
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
>=dev-libs/libgdata-0.15.2:0=[gnome-online-accounts]
|
||||
media-libs/babl
|
||||
>=media-libs/gegl-0.3.14:0.3[cairo,jpeg2k,raw]
|
||||
media-libs/gexiv2
|
||||
>=media-libs/grilo-0.3.0:0.3=
|
||||
>=media-libs/libpng-1.6:0=
|
||||
>=net-libs/gnome-online-accounts-3.8:=
|
||||
>=net-libs/libgfbgraph-0.2.1:0.2
|
||||
sci-geosciences/geocode-glib
|
||||
>=x11-libs/cairo-1.14
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22.15:3
|
||||
"
|
||||
# gnome-online-miners is also used for google, facebook, DLNA - not only flickr
|
||||
# but out of all the grilo-plugins, only upnp-av and flickr get used, which have USE flags here,
|
||||
# so don't pull it always, but only if either USE flag is enabled
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
net-misc/gnome-online-miners[flickr?]
|
||||
upnp-av? ( media-plugins/grilo-plugins:0.3[upnp-av] )
|
||||
flickr? ( media-plugins/grilo-plugins:0.3[flickr] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-util/desktop-file-utils
|
||||
>=dev-util/intltool-0.50.1
|
||||
virtual/pkgconfig
|
||||
test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') )
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# XXX: how to deal with rdtscp support, x86intrin
|
||||
gnome2_src_configure \
|
||||
$(use_enable test dogtail)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST clementine-1.3.1.tar.gz 8501827 BLAKE2B ebb003f28f9a4dd8fff4e5a92aeb1b6c948be794731c202241b8cb91f4678d6b2d035d6c9cd0d6e7b4b7d9a494d3c1c5bb5e88243e7a34e565c07c34d048ebdd SHA512 1942a046be24a583b5e2095dd39dc736c1b14a47dc4aad61d6252c1fccf745c26d7b35da907a220d5dc8c0736f5b589d050ed9582de343aa3cb5abc607001790
|
||||
DIST clementine-1.3.1_p20171113.tar.gz 8467904 BLAKE2B bf1f59b987c0e4ec5c2ced00fab07c1a7e1df0eb5a46e90358b37eaaeaa916fb3e6a08ad79fc5fb791342d857783f615eb3726974dcfef9388da2793b1b7fe6a SHA512 39c459be8e4c5dd53ab9de6cdfd57f947926ccc2cd39ce2f72460bb991f7b2a28e6bc074e7bc23b0eba81c3d630e91dc2373794832c1089a9b5de7b212b94674
|
||||
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git"
|
||||
|
||||
LANGS=" af ar be bg bn br bs ca cs cy da de el en_CA en_GB eo es et eu fa fi fr ga gl he he_IL hi hr hu hy ia id is it ja ka kk ko lt lv mr ms my nb nl oc pa pl pt pt_BR ro ru si_LK sk sl sr sr@latin sv te tr tr_TR uk uz vi zh_CN zh_TW"
|
||||
|
||||
inherit cmake-utils flag-o-matic xdg-utils gnome2-utils virtualx
|
||||
[[ ${PV} == *9999* ]] && inherit git-r3
|
||||
|
||||
DESCRIPTION="Modern music player and library organizer based on Amarok 1.4 and Qt"
|
||||
HOMEPAGE="https://www.clementine-player.org https://github.com/clementine-player/Clementine"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
SRC_URI="https://github.com/clementine-player/Clementine/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="amazoncloud box cdda +dbus debug dropbox googledrive ipod lastfm mms moodbar mtp projectm pulseaudio skydrive test +udisks vkontakte wiimote"
|
||||
IUSE+="${LANGS// / linguas_}"
|
||||
|
||||
REQUIRED_USE="
|
||||
udisks? ( dbus )
|
||||
wiimote? ( dbus )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-db/sqlite:=
|
||||
>=dev-libs/glib-2.24.1-r1
|
||||
dev-libs/libxml2
|
||||
dev-libs/protobuf:=
|
||||
dev-libs/qjson
|
||||
>=dev-qt/qtcore-4.5:4[ssl]
|
||||
>=dev-qt/qtgui-4.5:4
|
||||
>=dev-qt/qtopengl-4.5:4
|
||||
>=dev-qt/qtsql-4.5:4
|
||||
>=media-libs/chromaprint-0.6
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
>=media-libs/libmygpo-qt-1.0.9[qt4(+)]
|
||||
>=media-libs/taglib-1.8[mp4(+)]
|
||||
sys-libs/zlib
|
||||
dev-libs/crypto++
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
cdda? ( dev-libs/libcdio )
|
||||
dbus? ( >=dev-qt/qtdbus-4.5:4 )
|
||||
ipod? ( >=media-libs/libgpod-0.8.0 )
|
||||
lastfm? ( >=media-libs/liblastfm-1[qt4(+)] )
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
moodbar? ( sci-libs/fftw:3.0 )
|
||||
projectm? ( media-libs/glew:=
|
||||
>=media-libs/libprojectm-1.2.0 )
|
||||
"
|
||||
# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway;
|
||||
# Libprojectm-1.2 seams to work fine, so no reasons to use bundled version; check the clementine's patches:
|
||||
# https://github.com/clementine-player/Clementine/tree/master/3rdparty/libprojectm/patches
|
||||
# Still possibly essential but not applied yet patches are:
|
||||
# 06-fix-numeric-locale.patch
|
||||
# 08-stdlib.h-for-rand.patch
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dbus? ( udisks? ( sys-fs/udisks:0 ) )
|
||||
mms? ( media-plugins/gst-plugins-libmms:1.0 )
|
||||
mtp? ( gnome-base/gvfs[mtp] )
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
media-plugins/gst-plugins-soup:1.0
|
||||
media-plugins/gst-plugins-taglib:1.0
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/boost-1.39:=
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
dev-qt/qttest:4
|
||||
|| (
|
||||
>=dev-cpp/gtest-1.8.0
|
||||
dev-cpp/gmock
|
||||
)
|
||||
amazoncloud? ( dev-cpp/sparsehash )
|
||||
box? ( dev-cpp/sparsehash )
|
||||
dropbox? ( dev-cpp/sparsehash )
|
||||
googledrive? ( dev-cpp/sparsehash )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
skydrive? ( dev-cpp/sparsehash )
|
||||
test? ( gnome-base/gsettings-desktop-schemas )
|
||||
"
|
||||
DOCS=( Changelog README.md )
|
||||
|
||||
MY_P="${P/_}"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
S="${WORKDIR}/${MY_P^}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3-fix-tokenizer.patch
|
||||
"${FILESDIR}"/${P}-fix-desktop-file.patch
|
||||
"${FILESDIR}"/${P}-chromaprint14.patch #603662
|
||||
"${FILESDIR}"/${P}-libechonest_removal.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# some tests fail or hang
|
||||
sed -i \
|
||||
-e '/add_test_file(translations_test.cpp/d' \
|
||||
tests/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local langs x
|
||||
for x in ${LANGS}; do
|
||||
use linguas_${x} && langs+=" ${x}"
|
||||
done
|
||||
|
||||
# spotify is not in portage
|
||||
local mycmakeargs=(
|
||||
-DBUILD_WERROR=OFF
|
||||
-DLINGUAS="${langs}"
|
||||
-DENABLE_AMAZON_CLOUD_DRIVE="$(usex amazoncloud)"
|
||||
-DENABLE_AUDIOCD="$(usex cdda)"
|
||||
-DENABLE_DBUS="$(usex dbus)"
|
||||
-DENABLE_DEVICEKIT="$(usex udisks)"
|
||||
-DENABLE_LIBGPOD="$(usex ipod)"
|
||||
-DENABLE_LIBLASTFM="$(usex lastfm)"
|
||||
-DENABLE_LIBMTP="$(usex mtp)"
|
||||
-DENABLE_MOODBAR="$(usex moodbar)"
|
||||
-DENABLE_GIO=ON
|
||||
-DENABLE_WIIMOTEDEV="$(usex wiimote)"
|
||||
-DENABLE_VISUALISATIONS="$(usex projectm)"
|
||||
-DENABLE_BOX="$(usex box)"
|
||||
-DENABLE_DROPBOX="$(usex dropbox)"
|
||||
-DENABLE_GOOGLE_DRIVE="$(usex googledrive)"
|
||||
-DENABLE_LIBPULSE="$(usex pulseaudio)"
|
||||
-DENABLE_SKYDRIVE="$(usex skydrive)"
|
||||
-DENABLE_VK="$(usex vkontakte)"
|
||||
-DENABLE_SPOTIFY_BLOB=OFF
|
||||
-DENABLE_BREAKPAD=OFF #< disable crash reporting
|
||||
-DUSE_BUILTIN_TAGLIB=OFF
|
||||
-DUSE_SYSTEM_GMOCK=ON
|
||||
-DUSE_SYSTEM_PROJECTM=ON
|
||||
-DBUNDLE_PROJECTM_PRESETS=OFF
|
||||
# force to find crypto++ see bug #548544
|
||||
-DCRYPTOPP_LIBRARIES="crypto++"
|
||||
-DCRYPTOPP_FOUND=ON
|
||||
# avoid automagically enabling of ccache (bug #611010)
|
||||
-DCCACHE_EXECUTABLE=OFF
|
||||
)
|
||||
|
||||
use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${CMAKE_BUILD_DIR}" || die
|
||||
virtx emake test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
From ded312685735fc266d4154d355286eeb86db3bcd Mon Sep 17 00:00:00 2001
|
||||
From: Chocobozzz <florian.bigard@gmail.com>
|
||||
Date: Thu, 8 Dec 2016 23:12:17 +0100
|
||||
Subject: [PATCH] Add compatibility with chromaprint >= 1.4
|
||||
|
||||
---
|
||||
src/musicbrainz/chromaprinter.cpp | 14 +++++++++++---
|
||||
1 file changed, 11 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/musicbrainz/chromaprinter.cpp b/src/musicbrainz/chromaprinter.cpp
|
||||
index 9579b62..c7ad99e 100644
|
||||
--- a/src/musicbrainz/chromaprinter.cpp
|
||||
+++ b/src/musicbrainz/chromaprinter.cpp
|
||||
@@ -143,16 +143,24 @@ QString Chromaprinter::CreateFingerprint() {
|
||||
ChromaprintContext* chromaprint =
|
||||
chromaprint_new(CHROMAPRINT_ALGORITHM_DEFAULT);
|
||||
chromaprint_start(chromaprint, kDecodeRate, kDecodeChannels);
|
||||
- chromaprint_feed(chromaprint, reinterpret_cast<void*>(data.data()),
|
||||
+ chromaprint_feed(chromaprint, reinterpret_cast<int16_t *>(data.data()),
|
||||
data.size() / 2);
|
||||
chromaprint_finish(chromaprint);
|
||||
|
||||
- void* fprint = nullptr;
|
||||
int size = 0;
|
||||
+
|
||||
+#if CHROMAPRINT_VERSION_MAJOR >= 1 && CHROMAPRINT_VERSION_MINOR >= 4
|
||||
+ u_int32_t *fprint = nullptr;
|
||||
+ char *encoded = nullptr;
|
||||
+#else
|
||||
+ void *fprint = nullptr;
|
||||
+ void *encoded = nullptr;
|
||||
+#endif
|
||||
+
|
||||
int ret = chromaprint_get_raw_fingerprint(chromaprint, &fprint, &size);
|
||||
+
|
||||
QByteArray fingerprint;
|
||||
if (ret == 1) {
|
||||
- void* encoded = nullptr;
|
||||
int encoded_size = 0;
|
||||
chromaprint_encode_fingerprint(fprint, size, CHROMAPRINT_ALGORITHM_DEFAULT,
|
||||
&encoded, &encoded_size, 1);
|
@ -1,52 +0,0 @@
|
||||
This patch fixes gentoo QA notices against the desktop file (see gentoo bug 460412#3)
|
||||
Based upon patch extracted from upstream git; original patch info:
|
||||
commit 04f73d125365d97fa6f72677ec5d220292690e56
|
||||
Author: Golubev Alexander <fatzer2@gmail.com>
|
||||
Date: Mon Jul 18 13:45:03 2016 +0400
|
||||
|
||||
Remove OnlyShowIn=Unity from clementine.desktop's action sections (#5444)
|
||||
|
||||
diff --git a/dist/clementine.desktop b/dist/clementine.desktop
|
||||
index 2fb9559..9ee881e 100644
|
||||
--- a/dist/clementine.desktop
|
||||
+++ b/dist/clementine.desktop
|
||||
@@ -38,7 +38,6 @@ Actions=Play;Pause;Stop;Previous;Next;
|
||||
[Desktop Action Play]
|
||||
Name=Play
|
||||
Exec=clementine --play
|
||||
-OnlyShowIn=Unity;
|
||||
Name[af]=Speel
|
||||
Name[be]=Прайграць
|
||||
Name[bg]=Възпроизвеждане
|
||||
@@ -89,7 +88,6 @@ Name[zh_TW]=播放
|
||||
[Desktop Action Pause]
|
||||
Name=Pause
|
||||
Exec=clementine --pause
|
||||
-OnlyShowIn=Unity;
|
||||
Name[be]=Прыпыніць
|
||||
Name[bg]=Пауза
|
||||
Name[br]=Ehan
|
||||
@@ -135,7 +133,6 @@ Name[zh_TW]=暫停
|
||||
[Desktop Action Stop]
|
||||
Name=Stop
|
||||
Exec=clementine --stop
|
||||
-OnlyShowIn=Unity;
|
||||
Name[be]=Спыніць
|
||||
Name[bg]=Спиране
|
||||
Name[br]=Paouez
|
||||
@@ -184,7 +181,6 @@ Name[zh_TW]=停止
|
||||
[Desktop Action Previous]
|
||||
Name=Previous
|
||||
Exec=clementine --previous
|
||||
-OnlyShowIn=Unity;
|
||||
Name[af]=Vorige
|
||||
Name[be]=Папярэдні
|
||||
Name[bg]=Предишна
|
||||
@@ -232,7 +228,6 @@ Name[zh_TW]=往前
|
||||
[Desktop Action Next]
|
||||
Name=Next
|
||||
Exec=clementine --next
|
||||
-OnlyShowIn=Unity;
|
||||
Name[af]=Volgende
|
||||
Name[be]=Далей
|
||||
Name[bg]=Следваща
|
@ -1,701 +0,0 @@
|
||||
Remove depend upon media-libs/libechonest and its support from clementine due to echonest service
|
||||
was shutdown and this functionality is useless now and results in nothing but a slight security
|
||||
and privacy risk.
|
||||
See Gentoo bug #573712.
|
||||
Based upon patch extracted from upstream git; original patch info:
|
||||
commit a8a0f2e4fdd3d4b2fd23b8628a3abc27c290d01d
|
||||
Author: John Maguire <john.maguire@gmail.com>
|
||||
Date: Mon Jun 27 14:45:40 2016 +0100
|
||||
|
||||
Remove echonest and update songkick concert fetcher.
|
||||
--- Clementine-1.3.1/CMakeLists.txt
|
||||
+++ Clementine-1.3.1/CMakeLists.txt
|
||||
@@ -365,9 +365,6 @@
|
||||
endif (NOT APPLE)
|
||||
endif (USE_SYSTEM_QXT)
|
||||
|
||||
-find_path(ECHONEST_INCLUDE_DIRS echonest/echonest_export.h)
|
||||
-find_library(ECHONEST_LIBRARIES echonest)
|
||||
-
|
||||
# Use system gmock if it's available
|
||||
# We need to look for both gmock and gtest
|
||||
find_path(GMOCK_INCLUDE_DIRS gmock/gmock.h)
|
||||
--- Clementine-1.3.1/src/CMakeLists.txt
|
||||
+++ Clementine-1.3.1/src/CMakeLists.txt
|
||||
@@ -35,7 +35,6 @@
|
||||
include_directories(${QTSINGLEAPPLICATION_INCLUDE_DIRS})
|
||||
include_directories(${QTIOCOMPRESSOR_INCLUDE_DIRS})
|
||||
include_directories(${QXT_INCLUDE_DIRS})
|
||||
-include_directories(${ECHONEST_INCLUDE_DIRS})
|
||||
include_directories(${SHA2_INCLUDE_DIRS})
|
||||
include_directories(${CHROMAPRINT_INCLUDE_DIRS})
|
||||
include_directories(${MYGPOQT_INCLUDE_DIRS})
|
||||
@@ -297,8 +296,6 @@
|
||||
songinfo/artistinfoview.cpp
|
||||
songinfo/collapsibleinfoheader.cpp
|
||||
songinfo/collapsibleinfopane.cpp
|
||||
- songinfo/echonestbiographies.cpp
|
||||
- songinfo/echonestimages.cpp
|
||||
songinfo/songinfobase.cpp
|
||||
songinfo/songinfofetcher.cpp
|
||||
songinfo/songinfoprovider.cpp
|
||||
@@ -586,8 +583,6 @@
|
||||
songinfo/artistinfoview.h
|
||||
songinfo/collapsibleinfoheader.h
|
||||
songinfo/collapsibleinfopane.h
|
||||
- songinfo/echonestbiographies.h
|
||||
- songinfo/echonestimages.h
|
||||
songinfo/songinfobase.h
|
||||
songinfo/songinfofetcher.h
|
||||
songinfo/songinfoprovider.h
|
||||
@@ -822,16 +817,12 @@
|
||||
internet/lastfm/lastfmcompat.cpp
|
||||
internet/lastfm/lastfmservice.cpp
|
||||
internet/lastfm/lastfmsettingspage.cpp
|
||||
- songinfo/echonestsimilarartists.cpp
|
||||
- songinfo/echonesttags.cpp
|
||||
songinfo/lastfmtrackinfoprovider.cpp
|
||||
songinfo/tagwidget.cpp
|
||||
HEADERS
|
||||
covers/lastfmcoverprovider.h
|
||||
internet/lastfm/lastfmservice.h
|
||||
internet/lastfm/lastfmsettingspage.h
|
||||
- songinfo/echonestsimilarartists.h
|
||||
- songinfo/echonesttags.h
|
||||
songinfo/lastfmtrackinfoprovider.h
|
||||
songinfo/tagwidget.h
|
||||
UI
|
||||
@@ -1241,7 +1232,6 @@
|
||||
${TAGLIB_LIBRARIES}
|
||||
${MYGPOQT_LIBRARIES}
|
||||
${CHROMAPRINT_LIBRARIES}
|
||||
- ${ECHONEST_LIBRARIES}
|
||||
${GOBJECT_LIBRARIES}
|
||||
${GLIB_LIBRARIES}
|
||||
${GIO_LIBRARIES}
|
||||
--- Clementine-1.3.1/src/main.cpp
|
||||
+++ Clementine-1.3.1/src/main.cpp
|
||||
@@ -76,8 +76,6 @@
|
||||
#include <glib.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
-#include <echonest/Config.h>
|
||||
-
|
||||
#ifdef Q_OS_DARWIN
|
||||
#include <sys/resource.h>
|
||||
#include <sys/sysctl.h>
|
||||
@@ -401,8 +399,8 @@
|
||||
// Add root CA cert for SoundCloud, whose certificate is missing on OS X.
|
||||
QSslSocket::addDefaultCaCertificates(
|
||||
QSslCertificate::fromPath(":/soundcloud-ca.pem", QSsl::Pem));
|
||||
- QSslSocket::addDefaultCaCertificates(
|
||||
- QSslCertificate::fromPath(":/Equifax_Secure_Certificate_Authority.pem", QSsl::Pem));
|
||||
+ QSslSocket::addDefaultCaCertificates(QSslCertificate::fromPath(
|
||||
+ ":/Equifax_Secure_Certificate_Authority.pem", QSsl::Pem));
|
||||
|
||||
// Has the user forced a different language?
|
||||
QString override_language = options.language();
|
||||
@@ -440,10 +438,6 @@
|
||||
Application app;
|
||||
app.set_language_name(language);
|
||||
|
||||
- Echonest::Config::instance()->setAPIKey("DFLFLJBUF4EGTXHIG");
|
||||
- Echonest::Config::instance()->setNetworkAccessManager(
|
||||
- new NetworkAccessManager);
|
||||
-
|
||||
// Network proxy
|
||||
QNetworkProxyFactory::setApplicationProxyFactory(
|
||||
NetworkProxyFactory::Instance());
|
||||
--- Clementine-1.3.1/src/songinfo/artistinfoview.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/artistinfoview.cpp
|
||||
@@ -16,25 +16,12 @@
|
||||
*/
|
||||
|
||||
#include "artistinfoview.h"
|
||||
-#include "echonestbiographies.h"
|
||||
-#include "echonestimages.h"
|
||||
#include "songinfofetcher.h"
|
||||
#include "songkickconcerts.h"
|
||||
#include "widgets/prettyimageview.h"
|
||||
|
||||
-#ifdef HAVE_LIBLASTFM
|
||||
-#include "echonestsimilarartists.h"
|
||||
-#include "echonesttags.h"
|
||||
-#endif
|
||||
-
|
||||
ArtistInfoView::ArtistInfoView(QWidget* parent) : SongInfoBase(parent) {
|
||||
- fetcher_->AddProvider(new EchoNestBiographies);
|
||||
- fetcher_->AddProvider(new EchoNestImages);
|
||||
fetcher_->AddProvider(new SongkickConcerts);
|
||||
-#ifdef HAVE_LIBLASTFM
|
||||
- fetcher_->AddProvider(new EchoNestSimilarArtists);
|
||||
- fetcher_->AddProvider(new EchoNestTags);
|
||||
-#endif
|
||||
}
|
||||
|
||||
ArtistInfoView::~ArtistInfoView() {}
|
||||
--- Clementine-1.3.1/src/songinfo/echonestbiographies.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestbiographies.cpp
|
||||
@@ -1,123 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#include "echonestbiographies.h"
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include <echonest/Artist.h>
|
||||
-
|
||||
-#include "songinfotextview.h"
|
||||
-#include "core/logging.h"
|
||||
-#include "ui/iconloader.h"
|
||||
-
|
||||
-struct EchoNestBiographies::Request {
|
||||
- Request(int id) : id_(id), artist_(new Echonest::Artist) {}
|
||||
-
|
||||
- int id_;
|
||||
- std::unique_ptr<Echonest::Artist> artist_;
|
||||
-};
|
||||
-
|
||||
-EchoNestBiographies::EchoNestBiographies() {
|
||||
- site_relevance_["wikipedia"] = 100;
|
||||
- site_relevance_["lastfm"] = 60;
|
||||
- site_relevance_["amazon"] = 30;
|
||||
-
|
||||
- site_icons_["amazon"] = IconLoader::Load("amazon", IconLoader::Provider);
|
||||
- site_icons_["aol"] = IconLoader::Load("aol", IconLoader::Provider);
|
||||
- site_icons_["cdbaby"] = IconLoader::Load("cdbaby", IconLoader::Provider);
|
||||
- site_icons_["lastfm"] = IconLoader::Load("as", IconLoader::Lastfm);
|
||||
- site_icons_["mog"] = IconLoader::Load("mog", IconLoader::Provider);
|
||||
- site_icons_["mtvmusic"] = IconLoader::Load("mtvmusic", IconLoader::Provider);
|
||||
- site_icons_["myspace"] = IconLoader::Load("myspace", IconLoader::Provider);
|
||||
- site_icons_["wikipedia"] = IconLoader::Load("wikipedia", IconLoader::Provider);
|
||||
-}
|
||||
-
|
||||
-void EchoNestBiographies::FetchInfo(int id, const Song& metadata) {
|
||||
- std::shared_ptr<Request> request(new Request(id));
|
||||
- request->artist_->setName(metadata.artist());
|
||||
-
|
||||
- QNetworkReply* reply = request->artist_->fetchBiographies();
|
||||
- connect(reply, SIGNAL(finished()), SLOT(RequestFinished()));
|
||||
- requests_[reply] = request;
|
||||
-}
|
||||
-
|
||||
-void EchoNestBiographies::RequestFinished() {
|
||||
- QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
|
||||
- if (!reply || !requests_.contains(reply)) return;
|
||||
- reply->deleteLater();
|
||||
-
|
||||
- RequestPtr request = requests_.take(reply);
|
||||
-
|
||||
- try {
|
||||
- request->artist_->parseProfile(reply);
|
||||
- }
|
||||
- catch (Echonest::ParseError e) {
|
||||
- qLog(Warning) << "Error parsing echonest reply:" << e.errorType()
|
||||
- << e.what();
|
||||
- }
|
||||
-
|
||||
- QSet<QString> already_seen;
|
||||
-
|
||||
- for (const Echonest::Biography& bio : request->artist_->biographies()) {
|
||||
- QString canonical_site = bio.site().toLower();
|
||||
- canonical_site.replace(QRegExp("[^a-z]"), "");
|
||||
-
|
||||
- if (already_seen.contains(canonical_site)) continue;
|
||||
- already_seen.insert(canonical_site);
|
||||
-
|
||||
- CollapsibleInfoPane::Data data;
|
||||
- data.id_ = "echonest/bio/" + bio.site();
|
||||
- data.title_ = tr("Biography from %1").arg(bio.site());
|
||||
- data.type_ = CollapsibleInfoPane::Data::Type_Biography;
|
||||
-
|
||||
- if (site_relevance_.contains(canonical_site))
|
||||
- data.relevance_ = site_relevance_[canonical_site];
|
||||
- if (site_icons_.contains(canonical_site))
|
||||
- data.icon_ = site_icons_[canonical_site];
|
||||
-
|
||||
- SongInfoTextView* editor = new SongInfoTextView;
|
||||
- QString text;
|
||||
- // Add a link to the bio webpage at the top if we have one
|
||||
- if (!bio.url().isEmpty()) {
|
||||
- QString bio_url = bio.url().toEncoded();
|
||||
- if (bio.site() == "facebook") {
|
||||
- bio_url.replace("graph.facebook.com", "www.facebook.com");
|
||||
- }
|
||||
- text += "<p><a href=\"" + bio_url + "\">" +
|
||||
- tr("Open in your browser") + "</a></p>";
|
||||
- }
|
||||
-
|
||||
- text += bio.text();
|
||||
- if (bio.site() == "last.fm") {
|
||||
- // Echonest lost formatting and it seems there is currently no plans on
|
||||
- // Echonest side for changing this.
|
||||
- // But with last.fm, we can guess newlines: " " corresponds to a newline
|
||||
- // (this seems to be because on last.fm' website, extra blank is inserted
|
||||
- // before <br /> tag, and this blank is kept).
|
||||
- // This is tricky, but this make the display nicer for last.fm
|
||||
- // biographies.
|
||||
- text.replace(" ", "<p>");
|
||||
- }
|
||||
- editor->SetHtml(text);
|
||||
- data.contents_ = editor;
|
||||
-
|
||||
- emit InfoReady(request->id_, data);
|
||||
- }
|
||||
-
|
||||
- emit Finished(request->id_);
|
||||
-}
|
||||
--- Clementine-1.3.1/src/songinfo/echonestbiographies.h
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestbiographies.h
|
||||
@@ -1,48 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#ifndef ECHONESTBIOGRAPHIES_H
|
||||
-#define ECHONESTBIOGRAPHIES_H
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include "songinfoprovider.h"
|
||||
-
|
||||
-class QNetworkReply;
|
||||
-
|
||||
-class EchoNestBiographies : public SongInfoProvider {
|
||||
- Q_OBJECT
|
||||
-
|
||||
- public:
|
||||
- EchoNestBiographies();
|
||||
-
|
||||
- void FetchInfo(int id, const Song& metadata);
|
||||
-
|
||||
- private slots:
|
||||
- void RequestFinished();
|
||||
-
|
||||
- private:
|
||||
- QMap<QString, int> site_relevance_;
|
||||
- QMap<QString, QIcon> site_icons_;
|
||||
-
|
||||
- struct Request;
|
||||
- typedef std::shared_ptr<Request> RequestPtr;
|
||||
-
|
||||
- QMap<QNetworkReply*, RequestPtr> requests_;
|
||||
-};
|
||||
-
|
||||
-#endif // ECHONESTBIOGRAPHIES_H
|
||||
--- Clementine-1.3.1/src/songinfo/echonestsimilarartists.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestsimilarartists.cpp
|
||||
@@ -1,76 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#include "echonestsimilarartists.h"
|
||||
-#include "tagwidget.h"
|
||||
-#include "core/logging.h"
|
||||
-#include "ui/iconloader.h"
|
||||
-
|
||||
-#include <echonest/Artist.h>
|
||||
-
|
||||
-Q_DECLARE_METATYPE(QVector<QString>);
|
||||
-
|
||||
-void EchoNestSimilarArtists::FetchInfo(int id, const Song& metadata) {
|
||||
- using Echonest::Artist;
|
||||
-
|
||||
- Artist::SearchParams params;
|
||||
- params << Artist::SearchParamEntry(Artist::Name, metadata.artist());
|
||||
- params << Artist::SearchParamEntry(Artist::MinHotttnesss, 0.5);
|
||||
-
|
||||
- QNetworkReply* reply = Echonest::Artist::fetchSimilar(params);
|
||||
- connect(reply, SIGNAL(finished()), SLOT(RequestFinished()));
|
||||
- requests_[reply] = id;
|
||||
-}
|
||||
-
|
||||
-void EchoNestSimilarArtists::RequestFinished() {
|
||||
- QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
|
||||
- if (!reply || !requests_.contains(reply)) return;
|
||||
- reply->deleteLater();
|
||||
-
|
||||
- int id = requests_.take(reply);
|
||||
-
|
||||
- Echonest::Artists artists;
|
||||
- try {
|
||||
- artists = Echonest::Artist::parseSimilar(reply);
|
||||
- }
|
||||
- catch (Echonest::ParseError e) {
|
||||
- qLog(Warning) << "Error parsing echonest reply:" << e.errorType()
|
||||
- << e.what();
|
||||
- }
|
||||
-
|
||||
- if (!artists.isEmpty()) {
|
||||
- CollapsibleInfoPane::Data data;
|
||||
- data.id_ = "echonest/similarartists";
|
||||
- data.title_ = tr("Similar artists");
|
||||
- data.type_ = CollapsibleInfoPane::Data::Type_Similar;
|
||||
- data.icon_ = IconLoader::Load("echonest", IconLoader::Provider);
|
||||
-
|
||||
- TagWidget* widget = new TagWidget(TagWidget::Type_Artists);
|
||||
- data.contents_ = widget;
|
||||
-
|
||||
- widget->SetIcon(IconLoader::Load("x-clementine-artist", IconLoader::Base));
|
||||
-
|
||||
- for (const Echonest::Artist& artist : artists) {
|
||||
- widget->AddTag(artist.name());
|
||||
- if (widget->count() >= 10) break;
|
||||
- }
|
||||
-
|
||||
- emit InfoReady(id, data);
|
||||
- }
|
||||
-
|
||||
- emit Finished(id);
|
||||
-}
|
||||
--- Clementine-1.3.1/src/songinfo/echonestsimilarartists.h
|
||||
+++ Clementine-1.3.1/src/songinfo/echonestsimilarartists.h
|
||||
@@ -1,38 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#ifndef ECHONESTSIMILARARTISTS_H
|
||||
-#define ECHONESTSIMILARARTISTS_H
|
||||
-
|
||||
-#include "songinfoprovider.h"
|
||||
-
|
||||
-class QNetworkReply;
|
||||
-
|
||||
-class EchoNestSimilarArtists : public SongInfoProvider {
|
||||
- Q_OBJECT
|
||||
-
|
||||
- public:
|
||||
- void FetchInfo(int id, const Song& metadata);
|
||||
-
|
||||
- private slots:
|
||||
- void RequestFinished();
|
||||
-
|
||||
- private:
|
||||
- QMap<QNetworkReply*, int> requests_;
|
||||
-};
|
||||
-
|
||||
-#endif // ECHONESTSIMILARARTISTS_H
|
||||
--- Clementine-1.3.1/src/songinfo/echonesttags.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/echonesttags.cpp
|
||||
@@ -1,80 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#include "echonesttags.h"
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include <echonest/Artist.h>
|
||||
-
|
||||
-#include "tagwidget.h"
|
||||
-#include "core/logging.h"
|
||||
-#include "ui/iconloader.h"
|
||||
-
|
||||
-struct EchoNestTags::Request {
|
||||
- Request(int id) : id_(id), artist_(new Echonest::Artist) {}
|
||||
-
|
||||
- int id_;
|
||||
- std::unique_ptr<Echonest::Artist> artist_;
|
||||
-};
|
||||
-
|
||||
-void EchoNestTags::FetchInfo(int id, const Song& metadata) {
|
||||
- std::shared_ptr<Request> request(new Request(id));
|
||||
- request->artist_->setName(metadata.artist());
|
||||
-
|
||||
- QNetworkReply* reply = request->artist_->fetchTerms();
|
||||
- connect(reply, SIGNAL(finished()), SLOT(RequestFinished()));
|
||||
- requests_[reply] = request;
|
||||
-}
|
||||
-
|
||||
-void EchoNestTags::RequestFinished() {
|
||||
- QNetworkReply* reply = qobject_cast<QNetworkReply*>(sender());
|
||||
- if (!reply || !requests_.contains(reply)) return;
|
||||
- reply->deleteLater();
|
||||
-
|
||||
- RequestPtr request = requests_.take(reply);
|
||||
-
|
||||
- try {
|
||||
- request->artist_->parseProfile(reply);
|
||||
- }
|
||||
- catch (Echonest::ParseError e) {
|
||||
- qLog(Warning) << "Error parsing echonest reply:" << e.errorType()
|
||||
- << e.what();
|
||||
- }
|
||||
-
|
||||
- if (!request->artist_->terms().isEmpty()) {
|
||||
- CollapsibleInfoPane::Data data;
|
||||
- data.id_ = "echonest/artisttags";
|
||||
- data.title_ = tr("Artist tags");
|
||||
- data.type_ = CollapsibleInfoPane::Data::Type_Tags;
|
||||
- data.icon_ = IconLoader::Load("icon_tag", IconLoader::Lastfm);
|
||||
-
|
||||
- TagWidget* widget = new TagWidget(TagWidget::Type_Tags);
|
||||
- data.contents_ = widget;
|
||||
-
|
||||
- widget->SetIcon(data.icon_);
|
||||
-
|
||||
- for (const Echonest::Term& term : request->artist_->terms()) {
|
||||
- widget->AddTag(term.name());
|
||||
- if (widget->count() >= 10) break;
|
||||
- }
|
||||
-
|
||||
- emit InfoReady(request->id_, data);
|
||||
- }
|
||||
-
|
||||
- emit Finished(request->id_);
|
||||
-}
|
||||
--- Clementine-1.3.1/src/songinfo/echonesttags.h
|
||||
+++ Clementine-1.3.1/src/songinfo/echonesttags.h
|
||||
@@ -1,43 +0,0 @@
|
||||
-/* This file is part of Clementine.
|
||||
- Copyright 2010, David Sansome <me@davidsansome.com>
|
||||
-
|
||||
- Clementine is free software: you can redistribute it and/or modify
|
||||
- it under the terms of the GNU General Public License as published by
|
||||
- the Free Software Foundation, either version 3 of the License, or
|
||||
- (at your option) any later version.
|
||||
-
|
||||
- Clementine is distributed in the hope that it will be useful,
|
||||
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
- GNU General Public License for more details.
|
||||
-
|
||||
- You should have received a copy of the GNU General Public License
|
||||
- along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||
-*/
|
||||
-
|
||||
-#ifndef ECHONESTTAGS_H
|
||||
-#define ECHONESTTAGS_H
|
||||
-
|
||||
-#include <memory>
|
||||
-
|
||||
-#include "songinfoprovider.h"
|
||||
-
|
||||
-class QNetworkReply;
|
||||
-
|
||||
-class EchoNestTags : public SongInfoProvider {
|
||||
- Q_OBJECT
|
||||
-
|
||||
- public:
|
||||
- void FetchInfo(int id, const Song& metadata);
|
||||
-
|
||||
- private slots:
|
||||
- void RequestFinished();
|
||||
-
|
||||
- private:
|
||||
- struct Request;
|
||||
- typedef std::shared_ptr<Request> RequestPtr;
|
||||
-
|
||||
- QMap<QNetworkReply*, RequestPtr> requests_;
|
||||
-};
|
||||
-
|
||||
-#endif // ECHONESTTAGS_H
|
||||
--- Clementine-1.3.1/src/songinfo/songkickconcerts.cpp
|
||||
+++ Clementine-1.3.1/src/songinfo/songkickconcerts.cpp
|
||||
@@ -21,9 +21,6 @@
|
||||
#include <QVBoxLayout>
|
||||
#include <QXmlStreamWriter>
|
||||
|
||||
-#include <echonest/Artist.h>
|
||||
-#include <echonest/TypeInformation.h>
|
||||
-
|
||||
#include <qjson/parser.h>
|
||||
|
||||
#include "core/closure.h"
|
||||
@@ -31,77 +28,64 @@
|
||||
#include "songkickconcertwidget.h"
|
||||
#include "ui/iconloader.h"
|
||||
|
||||
-const char* SongkickConcerts::kSongkickArtistBucket = "songkick";
|
||||
-const char* SongkickConcerts::kSongkickArtistCalendarUrl =
|
||||
- "https://api.songkick.com/api/3.0/artists/%1/calendar.json?"
|
||||
- "per_page=5&"
|
||||
- "apikey=8rgKfy1WU6IlJFfN";
|
||||
+namespace {
|
||||
+const char* kSongkickArtistCalendarUrl =
|
||||
+ "https://api.songkick.com/api/3.0/artists/%1/calendar.json";
|
||||
+const char* kSongkickArtistSearchUrl =
|
||||
+ "https://api.songkick.com/api/3.0/search/artists.json";
|
||||
+const char* kSongkickApiKey = "8rgKfy1WU6IlJFfN";
|
||||
+} // namespace
|
||||
|
||||
SongkickConcerts::SongkickConcerts() {
|
||||
Geolocator* geolocator = new Geolocator;
|
||||
geolocator->Geolocate();
|
||||
connect(geolocator, SIGNAL(Finished(Geolocator::LatLng)),
|
||||
SLOT(GeolocateFinished(Geolocator::LatLng)));
|
||||
- NewClosure(geolocator, SIGNAL(Finished(Geolocator::LatLng)), geolocator,
|
||||
- SLOT(deleteLater()));
|
||||
+ connect(geolocator, SIGNAL(Finished(Geolocator::LatLng)), geolocator,
|
||||
+ SLOT(deleteLater()));
|
||||
}
|
||||
|
||||
void SongkickConcerts::FetchInfo(int id, const Song& metadata) {
|
||||
- Echonest::Artist::SearchParams params;
|
||||
- params.push_back(
|
||||
- qMakePair(Echonest::Artist::Name, QVariant(metadata.artist())));
|
||||
- qLog(Debug) << "Params:" << params;
|
||||
- QNetworkReply* reply = Echonest::Artist::search(
|
||||
- params,
|
||||
- Echonest::ArtistInformation(Echonest::ArtistInformation::NoInformation,
|
||||
- QStringList() << kSongkickArtistBucket));
|
||||
- qLog(Debug) << reply->request().url();
|
||||
+ if (metadata.artist().isEmpty()) {
|
||||
+ emit Finished(id);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ QUrl url(kSongkickArtistSearchUrl);
|
||||
+ url.addQueryItem("apikey", kSongkickApiKey);
|
||||
+ url.addQueryItem("query", metadata.artist());
|
||||
+
|
||||
+ QNetworkRequest request(url);
|
||||
+ QNetworkReply* reply = network_.get(request);
|
||||
NewClosure(reply, SIGNAL(finished()), this,
|
||||
SLOT(ArtistSearchFinished(QNetworkReply*, int)), reply, id);
|
||||
}
|
||||
|
||||
void SongkickConcerts::ArtistSearchFinished(QNetworkReply* reply, int id) {
|
||||
reply->deleteLater();
|
||||
- try {
|
||||
- Echonest::Artists artists = Echonest::Artist::parseSearch(reply);
|
||||
- if (artists.isEmpty()) {
|
||||
- qLog(Debug) << "Failed to find artist in echonest";
|
||||
- emit Finished(id);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- const Echonest::Artist& artist = artists[0];
|
||||
- const Echonest::ForeignIds& foreign_ids = artist.foreignIds();
|
||||
- QString songkick_id;
|
||||
- for (const Echonest::ForeignId& id : foreign_ids) {
|
||||
- if (id.catalog == "songkick") {
|
||||
- songkick_id = id.foreign_id;
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- if (songkick_id.isEmpty()) {
|
||||
- qLog(Debug) << "Failed to fetch songkick foreign id for artist";
|
||||
- emit Finished(id);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- QStringList split = songkick_id.split(':');
|
||||
- if (split.count() != 3) {
|
||||
- qLog(Error) << "Weird songkick id";
|
||||
- emit Finished(id);
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- FetchSongkickCalendar(split[2], id);
|
||||
- } catch (Echonest::ParseError& e) {
|
||||
- qLog(Error) << "Error parsing echonest reply:" << e.errorType() << e.what();
|
||||
+
|
||||
+ QJson::Parser parser;
|
||||
+ QVariantMap json = parser.parse(reply).toMap();
|
||||
+
|
||||
+ QVariantMap results_page = json["resultsPage"].toMap();
|
||||
+ QVariantMap results = results_page["results"].toMap();
|
||||
+ QVariantList artists = results["artist"].toList();
|
||||
+
|
||||
+ if (artists.isEmpty()) {
|
||||
emit Finished(id);
|
||||
+ return;
|
||||
}
|
||||
+
|
||||
+ QVariantMap artist = artists.first().toMap();
|
||||
+ QString artist_id = artist["id"].toString();
|
||||
+
|
||||
+ FetchSongkickCalendar(artist_id, id);
|
||||
}
|
||||
|
||||
void SongkickConcerts::FetchSongkickCalendar(const QString& artist_id, int id) {
|
||||
QUrl url(QString(kSongkickArtistCalendarUrl).arg(artist_id));
|
||||
+ url.addQueryItem("per_page", "5");
|
||||
+ url.addQueryItem("apikey", kSongkickApiKey);
|
||||
qLog(Debug) << url;
|
||||
QNetworkReply* reply = network_.get(QNetworkRequest(url));
|
||||
NewClosure(reply, SIGNAL(finished()), this,
|
||||
--- Clementine-1.3.1/src/songinfo/songkickconcerts.h
|
||||
+++ Clementine-1.3.1/src/songinfo/songkickconcerts.h
|
||||
@@ -44,9 +44,6 @@
|
||||
|
||||
NetworkAccessManager network_;
|
||||
Geolocator::LatLng latlng_;
|
||||
-
|
||||
- static const char* kSongkickArtistBucket;
|
||||
- static const char* kSongkickArtistCalendarUrl;
|
||||
};
|
||||
|
||||
#endif
|
Binary file not shown.
@ -1 +1 @@
|
||||
Tue, 19 Dec 2017 05:39:04 +0000
|
||||
Tue, 19 Dec 2017 13:09:05 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 19 Dec 2017 05:39:04 +0000
|
||||
Tue, 19 Dec 2017 13:09:06 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=gnat_2016? ( dev-lang/gnat-gpl:4.9.4 ) gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
|
||||
DESCRIPTION=Multi-Language Management
|
||||
EAPI=6
|
||||
HOMEPAGE=http://libre.adacore.com/
|
||||
IUSE=+gnat_2016 gnat_2017
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=gnat_2016? ( dev-lang/gnat-gpl:4.9.4 ) gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
|
||||
REQUIRED_USE=^^ ( gnat_2016 gnat_2017 )
|
||||
SLOT=0
|
||||
SRC_URI=http://mirrors.cdn.adacore.com/art/57399662c7a447658e0affa8 -> gprbuild-gpl-2016-src.tar.gz http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0 -> xmlada-gpl-2016-src.tar.gz
|
||||
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 6f5991c7101863d0b29df63990ad852e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=ce6cb326ef0b8ceafab1443dedbd02bf
|
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup
|
||||
DEPEND=luajit? ( dev-lang/luajit:2 ) !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) ) tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 ) virtual/pkgconfig >=sys-devel/autoconf-2.63 test? ( dev-lang/tcl:0= ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=A persistent caching system, key-value and data structures database
|
||||
EAPI=6
|
||||
HOMEPAGE=http://redis.io/
|
||||
IUSE=+jemalloc tcmalloc luajit test
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris
|
||||
LICENSE=BSD
|
||||
RDEPEND=luajit? ( dev-lang/luajit:2 ) !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) ) tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )
|
||||
REQUIRED_USE=?? ( tcmalloc jemalloc )
|
||||
SLOT=0
|
||||
SRC_URI=http://download.redis.io/releases/redis-4.0.6.tar.gz
|
||||
_eclasses_=autotools dc412f38566b91012efd58b9c203e6c3 desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 97ce9decef1ff4b6c5be700283f67343 flag-o-matic 02908f00f002f0f07c5b74783d778325 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e systemd 8f5286f89e265842f5b5189666eae88b toolchain-funcs 185a06792159ca143528e7010368e8af user 8bc2845510e2109af75e3eeac607ec81
|
||||
_md5_=565f8e6a8bc6d8dcff7bce5b07edb512
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare
|
||||
DEPEND=>=dev-libs/glib-2.32.0:2 sys-libs/zlib crypt? ( >=app-crypt/gpgme-1.8.0:1= ) idn? ( net-dns/libidn ) vala? ( || ( dev-lang/vala:0.36[vapigen(+)] dev-lang/vala:0.34[vapigen(+)] dev-lang/vala:0.32[vapigen(+)] ) >=dev-libs/gobject-introspection-1.30.0:= ) >=dev-util/gtk-doc-am-1.8 virtual/libiconv virtual/pkgconfig doc? ( app-text/docbook-sgml-utils ) test? ( app-crypt/gnupg ) >=app-portage/elt-patches-20170422 app-arch/xz-utils >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
DESCRIPTION=Utilities for creating and parsing messages using MIME
|
||||
EAPI=6
|
||||
HOMEPAGE=http://spruce.sourceforge.net/gmime/ https://developer.gnome.org/gmime/stable/
|
||||
IUSE=crypt doc idn static-libs test vala
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=>=dev-libs/glib-2.32.0:2 sys-libs/zlib crypt? ( >=app-crypt/gpgme-1.8.0:1= ) idn? ( net-dns/libidn ) vala? ( || ( dev-lang/vala:0.36[vapigen(+)] dev-lang/vala:0.34[vapigen(+)] dev-lang/vala:0.32[vapigen(+)] ) >=dev-libs/gobject-introspection-1.30.0:= )
|
||||
SLOT=3.0
|
||||
SRC_URI=mirror://gnome/sources/gmime/3.0/gmime-3.0.5.tar.xz
|
||||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 97ce9decef1ff4b6c5be700283f67343 flag-o-matic 02908f00f002f0f07c5b74783d778325 gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 4d211d7614f303710fca59db6ec12c88 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af vala 103e6885c83965507391cdc5b6fa0e67 versionator c80ccf29e90adea7c5cae94b42eb76d0 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=920da965e8eeebe8d6b9524df7e45386
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=>=dev-lisp/asdf-2.33-r3:= x11-libs/motif:0 sys-devel/bc doc? ( virtual/latex-base )
|
||||
DESCRIPTION=CMU Common Lisp is an implementation of ANSI Common Lisp
|
||||
EAPI=6
|
||||
HOMEPAGE=http://www.cons.org/cmucl/
|
||||
IUSE=X doc source
|
||||
KEYWORDS=~x86
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=dev-lisp/asdf-2.33-r3:= x11-libs/motif:0
|
||||
SLOT=0
|
||||
SRC_URI=http://common-lisp.net/project/cmucl/downloads/release/21c/cmucl-src-21c.tar.bz2 http://common-lisp.net/project/cmucl/downloads/release/21c/cmucl-21c-x86-linux.tar.bz2
|
||||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 97ce9decef1ff4b6c5be700283f67343 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=00b5b51bb2e06a3429b0de352c3c2a40
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=test? ( ruby_targets_ruby22? ( >=dev-ruby/amq-protocol-2.2.0:2[ruby_targets_ruby22] ) ruby_targets_ruby23? ( >=dev-ruby/amq-protocol-2.2.0:2[ruby_targets_ruby23] ) ruby_targets_ruby24? ( >=dev-ruby/amq-protocol-2.2.0:2[ruby_targets_ruby24] ) ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) ruby_targets_ruby24? ( dev-lang/ruby:2.4 ) ruby_targets_ruby22? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby22] ) ) ruby_targets_ruby23? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby23] ) ) ruby_targets_ruby24? ( doc? ( dev-ruby/rdoc[ruby_targets_ruby24] ) ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) ruby_targets_ruby23? ( virtual/rubygems[ruby_targets_ruby23] ) ruby_targets_ruby24? ( virtual/rubygems[ruby_targets_ruby24] ) test? ( ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) ruby_targets_ruby23? ( virtual/rubygems[ruby_targets_ruby23] ) ruby_targets_ruby24? ( virtual/rubygems[ruby_targets_ruby24] ) )
|
||||
DESCRIPTION=Another synchronous Ruby AMQP client
|
||||
EAPI=6
|
||||
HOMEPAGE=https://github.com/celldee/bunny
|
||||
IUSE=test elibc_FreeBSD ruby_targets_ruby22 ruby_targets_ruby23 ruby_targets_ruby24 doc test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=ruby_targets_ruby22? ( >=dev-ruby/amq-protocol-2.2.0:2[ruby_targets_ruby22] ) ruby_targets_ruby23? ( >=dev-ruby/amq-protocol-2.2.0:2[ruby_targets_ruby23] ) ruby_targets_ruby24? ( >=dev-ruby/amq-protocol-2.2.0:2[ruby_targets_ruby24] ) ruby_targets_ruby22? ( dev-lang/ruby:2.2 ) ruby_targets_ruby23? ( dev-lang/ruby:2.3 ) ruby_targets_ruby24? ( dev-lang/ruby:2.4 ) ruby_targets_ruby22? ( virtual/rubygems[ruby_targets_ruby22] ) ruby_targets_ruby23? ( virtual/rubygems[ruby_targets_ruby23] ) ruby_targets_ruby24? ( virtual/rubygems[ruby_targets_ruby24] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby22 ruby_targets_ruby23 ruby_targets_ruby24 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://rubygems/bunny-2.8.0.gem
|
||||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 97ce9decef1ff4b6c5be700283f67343 java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e ruby-fakegem cf1343b57e8029745950b4b147ff4d3a ruby-ng 1a95cd8be181598c8171cf918aa225d9 ruby-utils f8a0644cb27ba724df27b2a20a739b53 toolchain-funcs 185a06792159ca143528e7010368e8af versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||
_md5_=cbe4ed6996536d1cfd31f7c79852696e
|
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DEPEND=>=dev-lang/perl-5.10:= >=app-arch/dpkg-1.17 dev-perl/TimeDate virtual/perl-Getopt-Long linguas_de? ( >=app-text/po4a-0.24 ) linguas_es? ( >=app-text/po4a-0.24 ) linguas_fr? ( >=app-text/po4a-0.24 ) test? ( dev-perl/Test-Pod sys-apps/fakeroot )
|
||||
DESCRIPTION=Collection of programs that can be used to automate common tasks in debian/rules
|
||||
EAPI=6
|
||||
HOMEPAGE=https://packages.qa.debian.org/d/debhelper.html
|
||||
IUSE=test linguas_de linguas_es linguas_fr
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/perl-5.10:= >=app-arch/dpkg-1.17 dev-perl/TimeDate virtual/perl-Getopt-Long
|
||||
SLOT=0
|
||||
SRC_URI=mirror://debian/pool/main/d/debhelper/debhelper_10.10.5.tar.xz
|
||||
_eclasses_=desktop 2ccd1dd1dd7bfb8795eea024a4f91bb6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 97ce9decef1ff4b6c5be700283f67343 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=292e7c0dc7ca3e29dc0c34c7da0b7090
|
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