@mauzil Hello. I think, you should looking developers forum. I don't know about this.
Search Criteria
Package Details: freecad-weekly-appimage 0.22_35274-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/freecad-weekly-appimage.git (read-only, click to copy) |
---|---|
Package Base: | freecad-weekly-appimage |
Description: | A general purpose 3D CAD modeler |
Upstream URL: | https://www.freecadweb.org/ |
Licenses: | LGPL |
Conflicts: | freecad |
Provides: | freecad |
Submitter: | Genues |
Maintainer: | Genues |
Last Packager: | Genues |
Votes: | 22 |
Popularity: | 0.52 |
First Submitted: | 2021-12-14 13:34 (UTC) |
Last Updated: | 2023-12-03 12:30 (UTC) |
Dependencies (1)
Required by (4)
- freecad-a2plus-git (requires freecad)
- freecad-cadquery-git (requires freecad)
- freecad-fcgear-git (requires freecad)
- openmc-git (requires freecad)
Sources (3)
Genues commented on 2023-11-07 09:46 (UTC) (edited on 2023-11-07 09:47 (UTC) by Genues)
mauzil commented on 2023-11-04 09:46 (UTC)
Goodmorning.
When I start freecad, I get this error
/home/runner/work/FreeCAD-Bundle/FreeCAD-Bundle/conda/linux/AppDir/usr/share/libdrm/amdgpu.ids: No such file or directory
I use freecad on Ryzen 5 7320u
Genues commented on 2023-08-25 06:58 (UTC)
Hi! I fixed problem, please test. Thank you!
mbello commented on 2023-08-22 19:01 (UTC)
PKGBUILD is wrong now,
./freecad-${pkgver}.AppImage --appimage-extract freecad_weekly.desktop
should be:
./freecad-${pkgver}.AppImage --appimage-extract org.freecad.FreeCAD.desktop
abody commented on 2023-08-22 18:55 (UTC) (edited on 2023-08-22 19:00 (UTC) by abody)
This patch (applied on the aur) shall fix the error caused by the new structure of the appimage:
diff --git a/PKGBUILD b/PKGBUILD
index 29921d3..2a438dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,11 +18,11 @@ source=("freecad-0.22_33909.AppImage::https://github.com/FreeCAD/FreeCAD-Bundle/
sha256sums=("SKIP"
"0c5e634ad825f6eba37151fd1a12e496772874caad587fb009aa391984b87674"
- "601666ea0b03f29bdae4dd43cfa8510d1beab10ce1f3f0a2f8eda0d5391f3fe8")
+ "20232aae4338471833f9d04364a02315f152492c0f5ec7abf568a05e93d3cc87")
prepare() {
cd "${srcdir}"
chmod +x freecad-${pkgver}.AppImage
- ./freecad-${pkgver}.AppImage --appimage-extract freecad_weekly.desktop
+ ./freecad-${pkgver}.AppImage --appimage-extract org.freecad.FreeCAD.desktop
./freecad-${pkgver}.AppImage --appimage-extract usr/share/icons
./freecad-${pkgver}.AppImage --appimage-extract usr/share/mime/packages
patch -Np0 <./freecad_weekly.desktop.patch
@@ -35,9 +35,9 @@ package() {
install -dm755 "${pkgdir}/usr/share/"
install -dm755 "${pkgdir}/usr/share/mime/packages"
cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
- cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/mime/packages/org.freecadweb.FreeCAD.xml" "${pkgdir}/usr/share/mime/packages/"
+ cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/mime/packages/org.freecad.FreeCAD.xml" "${pkgdir}/usr/share/mime/packages/"
- install -Dm644 "${srcdir}/squashfs-root/freecad_weekly.desktop" "${pkgdir}/usr/share/applications/freecad_weekly.desktop"
+ install -Dm644 "${srcdir}/squashfs-root/org.freecad.FreeCAD.desktop" "${pkgdir}/usr/share/applications/org.freecad.FreeCAD.desktop"
}
diff --git a/freecad_weekly.desktop.patch b/freecad_weekly.desktop.patch
index 70973f4..a1cfcbc 100644
--- a/freecad_weekly.desktop.patch
+++ b/freecad_weekly.desktop.patch
@@ -1,16 +1,11 @@
---- squashfs-root/freecad_weekly.desktop
-+++ squashfs-root/freecad_weekly.desktop
-@@ -1,10 +1,10 @@
- [Desktop Entry]
- Version=1.0
- Name=FreeCAD Weekly
--Exec=AppRun
--Icon=freecad_weekly
+--- squashfs-root/org.freecad.FreeCAD.desktop
++++ squashfs-root/org.freecad.FreeCAD.desktop
+@@ -14,7 +14,7 @@
+ GenericName[ko]=CAD 응용프로그램
+ GenericName[pl]=Aplikacja CAD
+ GenericName[ru]=Система автоматизированного проектирования
+-Exec=AppRun - --single-instance %F
+Exec=/usr/bin/freecad %F
-+Icon=freecad
- Type=Application
--Categories=Engineering;
-+Categories=Engineering;Construction;Development;
- Comment=Feature based Parametric Modeler
Terminal=false
- StartupNotify=true
+ Type=Application
+ Icon=org.freecad.FreeCAD
soenke commented on 2023-08-20 19:09 (UTC) (edited on 2023-08-20 19:11 (UTC) by soenke)
I run into the same problems.
Being a lazy YAY user, I jumped over this problem by supplying the missing stuff from the old installation during build:
cp -p /usr/share/applications/freecad_weekly.desktop ~/.cache/yay/freecad-weekly-appimage/src/squashfs-root
patch -p1 -R -d ~/.cache/yay/freecad-weekly-appimage/src/squashfs-root/ < ~/.cache/yay/freecad-weekly-appimage/freecad_weekly.desktop.patch
cp ~/.cache/yay/freecad-weekly-appimage/src/squashfs-root/usr/share/mime/packages/org.freecad.FreeCAD.xml ~/.cache/yay/freecad-weekly-appimage/src/squashfs-root/usr/share/mime/packages/org.freecadweb.FreeCAD.xml
Now that I am reading this, I think I should have fixed the PKGBUILD ;-)
mbello commented on 2023-08-17 14:59 (UTC)
There is something wrong with version _33848
squashfs-root/usr/share/mime/packages/org.freecad.FreeCAD.xml can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was:
|--- squashfs-root/freecad_weekly.desktop |+++ squashfs-root/freecad_weekly.desktop
File to patch: Skip this patch? [y] y Skipping patch. 1 out of 1 hunk ignored ==> ERROR: A failure occurred in prepare(). Aborting... -> error making: freecad-weekly-appimage-exit status 4 -> Failed to install the following packages. Manual intervention is required: freecad-weekly-appimage - exit status 4
mbello commented on 2023-08-01 02:56 (UTC)
0.21RC1 has been released, but is not updating here.
Genues commented on 2023-07-06 06:17 (UTC)
@mauzil Thank you. Now it fixed.
mauzil commented on 2023-07-06 05:55 (UTC) (edited on 2023-07-06 06:04 (UTC) by mauzil)
Hi all. The PKGBUILD of 0.21_33485 downloads an aarch64 appimage file.
This is the source
line of PKGBUILD
source=("freecad-0.21_33485.AppImage::https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-33485-2023-07-02-conda-Linux-aarch64-py310.AppImage"
"freecad.sh"
"freecad_weekly.desktop.patch")
Which is the correct url?
Best regards, MZ
Ok... I found it. Following github.com I get the correct appimage file
Pinned Comments
Genues commented on 2021-12-14 13:39 (UTC)
Hi. The script automatically checks for new versions every half hour. If you see a new version in the FreeCad repository, please wait for 30 minutes before setting the package out-of-date flag. Thanks you.