The mv
in prepare()
for the config file is obsolete as the upstream Git repo no longer handles it that way.
Search Criteria
Package Details: roundcubemail-git 1.6beta.r609.g7a3e91a9d-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/roundcubemail-git.git (read-only, click to copy) |
---|---|
Package Base: | roundcubemail-git |
Description: | A PHP web-based mail client |
Upstream URL: | https://roundcube.net/ |
Licenses: | GPL |
Conflicts: | roundcubemail |
Provides: | roundcubemail |
Submitter: | cgirard |
Maintainer: | cgirard |
Last Packager: | cgirard |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2018-11-05 14:32 (UTC) |
Last Updated: | 2024-06-23 18:56 (UTC) |
Dependencies (11)
- php
- php-gd
- composer (composer-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (make)
- nodejs-csso-cliAUR (make)
- nodejs-less-plugin-clean-cssAUR (make)
- php-gd (make)
- systemd (systemd-chromiumosAUR, systemd-selinuxAUR, systemd-gitAUR, systemd-fmlAUR) (make)
- uglify-js (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
Required by (20)
- roundcubemail-plugin-authres_status (requires roundcubemail)
- roundcubemail-plugin-caldavzap (requires roundcubemail)
- roundcubemail-plugin-carddav (requires roundcubemail)
- roundcubemail-plugin-carddav-git (requires roundcubemail)
- roundcubemail-plugin-chbox (requires roundcubemail)
- roundcubemail-plugin-contextmenu (requires roundcubemail)
- roundcubemail-plugin-converse (requires roundcubemail)
- roundcubemail-plugin-delete_old (requires roundcubemail)
- roundcubemail-plugin-identity-smtp-git (requires roundcubemail)
- roundcubemail-plugin-jquery-mobile (requires roundcubemail)
- roundcubemail-plugin-keyboard-shortcuts-ng (requires roundcubemail)
- roundcubemail-plugin-mobile (requires roundcubemail)
- roundcubemail-plugin-persistent_login (requires roundcubemail)
- roundcubemail-plugin-showfoldersize (requires roundcubemail)
- roundcubemail-plugin-tinymce-config-git (requires roundcubemail)
- roundcubemail-plugin-twofactor-git (requires roundcubemail)
- roundcubemail-plugins-kolab (requires roundcubemail)
- roundcubemail-skin-chameleon (requires roundcubemail)
- roundcubemail-skin-classic (requires roundcubemail)
- roundcubemail-skin-larry (requires roundcubemail)
Sources (2)
alerque commented on 2024-04-18 12:19 (UTC)
cgirard commented on 2021-08-31 15:08 (UTC)
@Rapti: this was taken from this [1], but looking at what is in the release archive, it seems indeed this is not needed.
Rapti commented on 2021-08-28 11:55 (UTC)
This package is not suitable as-is for first-time installs because the PKGBUILD removes the installer directory. Anyone planning to do a first-time setup should locate the line rm -rf tests/ public_html/ installer/ .tx*
in the PKGBUILD and adjust it accordingly.
crt commented on 2021-08-14 00:32 (UTC)
@alerque, thanks! I started over with npm and the build succeeded this time. Cheers.
alerque commented on 2021-08-08 07:29 (UTC)
@crt I just checked this package by building it in a clean chroot with only the dependencies specified and it worked fine. I think you might be missing some of the dependencies, or perhaps have the packages but older versions of them from when they were broken at some point. Try rebuilding and installing the dependencies before trying this again.
Also you'll find relatively current builds in my user repository that can be installed with pacman directly with no building required. I do run this -git version in production so the builds I use at any given time are hosted there.
crt commented on 2021-08-08 00:04 (UTC)
Fails on package()
==> Starting package()...
npm ERR! semver.simplifyRange is not a function
npm ERR! A complete log of this run can be found in:
npm ERR! /home/me/.cache/yay/nodejs-less-plugin-clean-css/src/npm-cache/_logs/2021-08-08T00_02_15_742Z-debug.log
==> ERROR: A failure occurred in package().
Aborting...
error: target not found: nodejs-less-plugin-clean-css
error: target not found: nodejs-csso
error: target not found: nodejs-csso-cli
cgirard commented on 2021-07-12 14:14 (UTC)
Please note that with today change, for people pushing the built package to a (local) repo, it will probably not be automatically updated as 1.5rc.rx
< 1.5.rc.rx
.
alerque commented on 2021-07-10 07:43 (UTC)
Hey @cgirard can you please fix the versioning on this package? It is going to break for anybody that is using it after the final version comes out, and the closer we get to that release cycle the more people are going to use it. There is now an RC release upstream.
If it makes any difference I'm now wearing a TU hat, so when I say this is wrong maybe that carries a little more weight.
For convenience I've updated my patch to catch the case of RCs too so you can apply this easily using git am < patch
From 020ea787ae5318c185680a8add84f19d02c33544 Mon Sep 17 00:00:00 2001
From: Caleb Maclennan <caleb@alerque.com>
Date: Tue, 1 Jun 2021 22:10:25 +0300
Subject: [PATCH] Fix versioning so releases will be newer than betas/rcs
Signed-off-by: Caleb Maclennan <caleb@alerque.com>
---
.SRCINFO | 3 +--
PKGBUILD | 5 +++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index e535845..189d32a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = roundcubemail-git
pkgdesc = A PHP web-based mail client
- pkgver = 1.4.rc2.r702.ga0fbcf381
+ pkgver = 1.5rc.r12.gd0eb1ee
pkgrel = 1
url = https://roundcube.net/
arch = any
@@ -26,4 +26,3 @@ pkgbase = roundcubemail-git
sha256sums = c90981405527ebaf153a407af6b8178b41d078bd4472d63b837b3b4cd5ae36b0
pkgname = roundcubemail-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 086ce5b..32bd3bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=roundcubemail-git
-pkgver=1.4.rc2.r702.ga0fbcf381
+pkgver=1.5rc.r12.gd0eb1ee
pkgrel=1
pkgdesc="A PHP web-based mail client"
arch=('any')
@@ -21,7 +21,8 @@ sha256sums=('SKIP'
pkgver() {
cd "roundcubemail"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags --abbrev=7 HEAD |
+ sed 's/-\(beta\|rc\)/\1/g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
--
2.32.0
alerque commented on 2021-05-19 13:52 (UTC) (edited on 2021-05-19 13:56 (UTC) by alerque)
@cgirard That is because you are assuming they will tag with X.Y.0
. If they tag with 1.5
instead of 1.5.0
then you'll see vercmp won't register the right direction. This is documented in the wiki and vercmp man pages, the correct way to do it is with no segment separator before suffixes like "pre", "beta", etc. Otherwise they will not be considered as adding meaning to the previous segments but as segments of their own --- which will often sort them incorrectly.
cgirard commented on 2021-05-19 13:06 (UTC)
Hi,
I am not sure what you mean:
# vercmp 1.5.0 1.5.beta.r86.gbf2c4f32e-1
1
Pinned Comments
cgirard commented on 2021-07-12 14:14 (UTC)
Please note that with today change, for people pushing the built package to a (local) repo, it will probably not be automatically updated as
1.5rc.rx
<1.5.rc.rx
.