forked from pool/librecad
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
2e067a5237 | ||
| d0e87d95f3 |
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 10:10:22 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- Update to release 2.2.1.2:
|
||||
* Accurate arc rendering: Issue #2035
|
||||
* Fixed a crash with hatch: Issue #2034
|
||||
* A few usage issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 11:27:39 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Install lanauge packs [boo#1240406]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 08:39:22 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: librecad
|
||||
Version: 2.2.1.1
|
||||
Version: 2.2.1.2
|
||||
Release: 0
|
||||
Summary: Computer-aided design (CAD) software package for 2D design and drafting
|
||||
License: (Apache-2.0 OR SUSE-GPL-3.0+-with-font-exception) AND GPL-2.0-only
|
||||
@@ -40,6 +40,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: gcc-c++ >= 4.7
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: libqt5-linguist
|
||||
BuildRequires: muparser-devel
|
||||
BuildRequires: unzip
|
||||
BuildRequires: update-desktop-files
|
||||
@@ -78,11 +79,16 @@ CAD drawings.
|
||||
sed -i 's/\r$//' licenses/{MIT,KST32B_v2,lc_opengost-fonts}.txt
|
||||
|
||||
%build
|
||||
# Build procedure expects certain aliases
|
||||
mkdir prog
|
||||
export PATH="$PWD/prog:$PATH"
|
||||
ln -s "$(which lrelease-qt5)" "prog/lrelease"
|
||||
|
||||
echo 'DISABLE_POSTSCRIPT = true' > librecad/src/custom.pri
|
||||
qmake-qt5 \
|
||||
librecad.pro CONFIG+="release" \
|
||||
QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
rm -f unix/resources/fonts/wqy-unicode.lff
|
||||
mkdir -p unix/resources/fonts
|
||||
./unix/ttf2lff -L "Apache-2.0 or SUSE-GPL-3.0+-with-font-exception" \
|
||||
@@ -90,10 +96,13 @@ mkdir -p unix/resources/fonts
|
||||
unix/resources/fonts/wqy-unicode.lff
|
||||
|
||||
%install
|
||||
export PATH="$PWD/prog:$PATH"
|
||||
b="%buildroot"
|
||||
# No make install :(
|
||||
export BUILDDIR="$b/%_datadir/%name"
|
||||
sh scripts/postprocess-unix.sh
|
||||
mkdir -p "$b/%_datadir/%name/qm"
|
||||
cp -av librecad/ts/*.qm "$b/%_datadir/%name/qm/"
|
||||
|
||||
install -Dpm0755 "unix/%name" "$b/%_bindir/%name"
|
||||
install -Dpm0755 "unix/ttf2lff" "$b/%_bindir/ttf2lff"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:29c2f6fca4e0018f1e99fe324a8e9177780c1b01c435c2950a2c52627a47fdbf
|
||||
size 18597136
|
||||
BIN
v2.2.1.2.tar.gz
LFS
Normal file
BIN
v2.2.1.2.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user