Package Details: freecad-weekly-appimage 0.22_37436-1

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.freecad.org/
Licenses: LGPL
Conflicts: freecad
Provides: freecad
Submitter: Genues
Maintainer: Genues
Last Packager: Genues
Votes: 22
Popularity: 0.53
First Submitted: 2021-12-14 13:34 (UTC)
Last Updated: 2024-05-21 02:00 (UTC)

Dependencies (1)

Required by (4)

Sources (3)

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.

Latest Comments

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

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.

https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/0.21rc1a/FreeCAD_0.21.0-2023-07-31-conda-Linux-x86_64-py310.AppImage

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

https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-33485-2023-07-05-conda-Linux-x86_64-py310.AppImage

greyeye commented on 2023-05-18 18:00 (UTC)

It seems there's a problem with the Git URL, I'm getting this error:

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-33110-2023-05-07-conda-Linux-x86_64-py311.AppImage

That URL doesn't exist anymore and it seems that the weekly-builds are now located in https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds. However, the AppImage there is old for some reason.

Genues commented on 2022-08-08 13:52 (UTC)

@snowball, thank you. It will fix in next update.

snowball commented on 2022-08-03 08:38 (UTC)

The following change is needed to make the .FCStd file type association persist:

diff --git a/PKGBUILD b/PKGBUILD
index d76c850..cf3ca0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,9 +33,9 @@ package() {
   install -Dm755 "${srcdir}/freecad.sh" "${pkgdir}/usr/bin/freecad"

   install -dm755 "${pkgdir}/usr/share/"
-  install -dm755 "${pkgdir}/usr/share/mime/application"
+  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/application/x-extension-fcstd.xml"
+  cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/mime/packages/org.freecadweb.FreeCAD.xml" "${pkgdir}/usr/share/mime/packages/"

   install -Dm644 "${srcdir}/squashfs-root/freecad_weekly.desktop" "${pkgdir}/usr/share/applications/freecad_weekly.desktop"
 }

If the file is placed in /usr/share/mime/application instead of /usr/share/mime/packages, it will get overridden the next time update-mime-database is run (usually triggered by the 30-update-mime-database.hook pacman hook).

Genues commented on 2022-07-13 13:43 (UTC)

Problem of url change now fixed.