Package Details: raccoon 4.24.0-1

Git Clone URL: https://aur.archlinux.org/raccoon.git (read-only, click to copy)
Package Base: raccoon
Description: Alternative Google Play (with GUI) client to download Android APK files to your computer
Upstream URL: https://raccoon.onyxbits.de/
Licenses: Apache
Submitter: si_kabayan
Maintainer: None
Last Packager: fordprefect
Votes: 50
Popularity: 0.000112
First Submitted: 2014-11-04 21:18 (UTC)
Last Updated: 2023-02-06 12:35 (UTC)

Dependencies (1)

Required by (1)

Sources (4)

Pinned Comments

fordprefect commented on 2019-03-07 11:59 (UTC) (edited on 2019-03-07 12:00 (UTC) by fordprefect)

This package builds the raccoon software from source. Since the mainainer is in the process of abandoning Github (see [0] for reasons) and the sources are not available otherwise yet, this package will sit at the last released version published on Github, until new sources are available. If you wish to use the more recent versions of the program instead of waiting for the sources to be released, you can use raccoon-bin [1] as a workaround for now.

Please don't flag this package out-of-date, unless new source versions are available. Thank you for your understanding.

[0] https://blog.onyxbits.de/so-long-github-and-thanks-for-all-the-fish-746/

[1] https://aur.archlinux.org/packages/raccoon-bin/

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

frankspace commented on 2018-06-09 18:24 (UTC)

I could not for the life of me get the patch created by @fbis251 to work. Nevertheless, the very simple solution noted is correct. But all you need to do is edit the PKGBUILD to remove "build-on-linux.patch" entirely, and replace the patch line in prepare() with:

sed -i 's/targetCompatibility\ \=\ 1\.7/targetCompatibility\ \=\ 1\.8/g' build.gradle

And that's it. With that one very simple change, it compiles successfully for me.

aurmyster commented on 2018-05-28 22:09 (UTC) (edited on 2018-05-29 05:22 (UTC) by aurmyster)

I was only able to get raccoon-4.2.5-1 to build when installing & setting java-7-openjdk as my default java environment AND deleted my local .gradle directory. This worked on both my laptop & desktop. Both are kept current.

fbis251 commented on 2018-05-27 08:10 (UTC) (edited on 2018-05-27 08:10 (UTC) by fbis251)

I've fixed the build by editing the targetCompatibility to 1.8 in build.gradle.

You can apply this patch by saving it next to the PKGBUILD as fix_4.2.5_build.patch. You can check and then apply and sign off on the patch using the following commands:

git apply --stat fix_4.2.5_build.patch
git am --signoff < fix_4.2.5_build.patch

Below is the fix_4.2.5_build.patch file

From b38f969867c5f40e2d87ed8df54ebcb05458e254 Mon Sep 17 00:00:00 2001
From: Fernando Barillas <fbis251@mailbox.org>
Date: Sun, 27 May 2018 01:02:46 -0700
Subject: [PATCH] Fix 4.2.5 build

---
 PKGBUILD             |  6 +++---
 build-on-linux.patch | 43 +++++++++++--------------------------------
 2 files changed, 14 insertions(+), 35 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index [`4098857`](https://aur.archlinux.org/cgit/aur.git/commit/?h=raccoon&id=4098857)..e720936 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # former Maintainer: si_kabayan <aaizap4p at gmail dot com>
 pkgname=raccoon
 pkgver=4.2.5
-pkgrel=1
+pkgrel=2
 arch=('any')
 pkgdesc="Alternative Google Play (with GUI) client to download Android APK files to your computer"
 url="<http://www.onyxbits.de/raccoon>"
@@ -21,7 +21,7 @@ sha512sums=('99ae7ab9aa77f6de0779c9179e16dbccd36362adc710cd5d7289c473b6aff62d39a
             'f63e94b86f5b111b8833d53767b0f6eada48426e1b0e30df0137bed455c80ec37087f656e2f0cac9386f4d25441686df82c988252120fc335028d2885b8653f6'
             'a0203272756d9ca4cf805507ecbbda1fb7135e13ab9527453b075a6e0d4a0596ba094c439b4690db8857f7c47fd4b8f79478831fd7028d5404c26e56f6394fd0'
             '0e095c7cb167fd049968ba9e7c5acf51c3454aca884fd3106209d9ba92cd434c22c1398996f58238e98c692d7b0a635c6e6fb60782ba0dcb79cd837fe9ed7bba'
-            '075799f7d222a90bf8818b824be251e48224fbf083c88bfcbabc5828e2eb287a43c6fc71210100e9c5cca6ea10a8c942a9564aee4f150bbf83bcc5d3c088aaf4')
+            '3fac5c4b2b084299cb43beafe669a6c8b7f48a06164d337bd78a1de0baeed2a314231070e0077a756b019b296de15f6281aeebb68cbe3f94b41ef3fc6942e5bd')

 prepare() {
     cd "$srcdir/raccoon4-$pkgver"
@@ -30,7 +30,7 @@ prepare() {

 build() {
     cd "$srcdir/raccoon4-$pkgver"
-    gradle -Pversion=$pkgver fatJar
+    ./gradlew -Pversion=$pkgver fatJar
 }

 package() {
diff --git a/build-on-linux.patch b/build-on-linux.patch
index [`05d0fea`](https://aur.archlinux.org/cgit/aur.git/commit/?h=raccoon&id=05d0fea)..a91d2e0 100644
--- a/build-on-linux.patch
+++ b/build-on-linux.patch
@@ -1,34 +1,13 @@
---- build.gradle   2017-02-08 20:40:07.003225435 -0800
-+++ build.gradle   2017-02-08 20:45:03.017151076 -0800
-@@ -8,15 +8,9 @@
-  */
-
-
--plugins {
--  id "edu.sc.seis.launch4j" version "2.4.3"
--}
--
--
- // Apply the java plugin to add support for Java
- apply plugin: 'java'
- apply plugin: 'eclipse'
--apply plugin: 'edu.sc.seis.launch4j'
-
-
+diff --git a/build.gradle b/build.gradle
+index be48101..a11dba7 100644
+--- a/build.gradle
++++ b/build.gradle
+@@ -21,7 +21,7 @@ apply plugin: 'edu.sc.seis.launch4j'
+ 
  // Settings
-@@ -45,15 +39,6 @@
- }
-
-
--createExe {
--  copyConfigurable = project.tasks.fatJar.outputs.files
--  outfile = 'Raccoon-' +version +'.exe'
--  mainClassName = 'de.onyxbits.raccoon.Main'
--  jvmOptions = [ "-Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel", "-Djava.net.preferIPv4Stack=true" ]
--  jar = "lib/${project.tasks.fatJar.archiveName}"
--  icon= '../../icon.ico'
--  jreMinVersion ='1.7.0'
--}
+ //sourceCompatibility = 1.7
+-targetCompatibility = 1.7
++targetCompatibility = 1.8
+ 
+

- // In this section you declare the dependencies for your production and test code
- dependencies {
-- 
2.17.0

fbis251 commented on 2018-05-27 07:57 (UTC)

@dreieck The gradle wrapper is only downloaded once per version and stored in ~/.gradle/wrapper/dists. Every subsequent build will use the cached copy. The purpose is to use the exact same version of gradle that the author built with. Gradle has recently had a major version bump that deprecates some of the features used in the current build.gradle file. A future version of gradle may remove those changes and break the build. Using the wrapper prevents this.

frankspace commented on 2018-05-27 05:38 (UTC)

I cannot get this to compile either with the PKGBUILD as provided or with the patch provided by @fbis251.

As is, it fails almost immediately, saying "javacTask: source release 1.8 requires target release 1.8".

With the patch, it downloads a gradle binary, but then also fails, saying "javacTask: target release 1.7 conflicts with default source release 1.8".

I've tried googling those messages, but I have not been able to comprehend the results.

dreieck commented on 2018-05-25 12:29 (UTC)

@fbis251: This will download a big binary (some gradle) during build(), which should not be done.

Then, place the specific gradle version in the source-array to get it from there.

dreieck commented on 2018-05-25 12:22 (UTC)

New version 4.2.5 available: http://github.com/onyxbits/raccoon4/archive/v4.2.5.tar.gz

fbis251 commented on 2018-05-10 00:36 (UTC) (edited on 2018-05-10 00:37 (UTC) by fbis251)

You should use the gradle wrapper shipped with the source files to ensure that you build using the same gradle version the project author built with. This will prevent issues with newer gradle versions being unable to build the package.

I've uploaded the patch to remove gradle as a makedepend and to use gradlew during the build.

https://ptpb.pw/Q8kn

I'm including the patch for future reference:

diff --git a/PKGBUILD b/PKGBUILD
index [`3e81fd5`](https://aur.archlinux.org/cgit/aur.git/commit/?h=raccoon&id=3e81fd5)..6def1e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,6 @@ pkgdesc="Alternative Google Play (with GUI) client to download Android APK files
 url="<http://www.onyxbits.de/raccoon>"
 license=('Apache')
 depends=('java-environment')
-makedepends=("gradle")
 install=raccoon.install
 source=('raccoon.desktop'
         '<https://github.com/onyxbits/Raccoon/raw/master/artwork/icon.svg>'
@@ -30,7 +29,7 @@ prepare() {

 build() {
     cd "$srcdir/raccoon4-$pkgver"
-    gradle -Pversion=$pkgver fatJar
+    ./gradlew -Pversion=$pkgver fatJar
 }

 package() {

eientei95 commented on 2018-05-09 07:39 (UTC)

4.2.4 diff to get it to build (changed build.gradle) https://hastebin.com/ulidumofev.diff

jghodd commented on 2018-01-29 17:00 (UTC) (edited on 2018-01-29 17:57 (UTC) by jghodd)

@fordprefect: i just went ahead and repackaged the master branch as 4.2.1-1 and did the build/install - figured whenever you're able to either fix the PKGBUILD or provide a source link, it'll be 4.2.1-2 anyway and supersede my interim build.