Package Details: freecad-weekly-appimage 1.0.0_39741-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: 24
Popularity: 0.103257
First Submitted: 2021-12-14 13:34 (UTC)
Last Updated: 2024-12-23 23:30 (UTC)

Dependencies (2)

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 8 Next › Last »

sclebo05 commented on 2024-03-26 18:27 (UTC) (edited on 2024-03-26 18:28 (UTC) by sclebo05)

Having issues trying the latest weekly build on my workstations. I've verified that my yay client is downloading the entire AppImage to ~/.cache/yay/freecad-weekly-appimage/, however this part of the install fails:

package() { install -Dm755 "${srcdir}/freecad-${pkgver}.AppImage" "${pkgdir}/opt/appimages/freecad.AppImage"

After testing on a physical and virtual workstation, only the first 192K of the AppImage is copied from .cache to the /opt/appimages directory.

$ du -sh * 192K freecad.AppImage

AppImage runs fine out of the .cache/yay/ directory, just isn't copying for some reason.

Genues commented on 2024-01-09 06:57 (UTC)

@Kunda This will be fixed in the next update. Thanks.

Kunda commented on 2024-01-09 06:00 (UTC)

Note: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freecad-weekly-appimage#n8

url="https://www.freecadweb.org/"

should be:

url="https://www.freecad.org/"

Genues commented on 2023-11-07 09:46 (UTC) (edited on 2023-11-07 09:47 (UTC) by Genues)

@mauzil Hello. I think, you should looking developers forum. I don't know about this.

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