Compare commits

..

23 commits

Author SHA1 Message Date
Miro Hrončok
18c831a1d2 Dead upstream and Python 2 only, use slic3r, cura, cura-lulzbot or prusa-slicer instead 2019-07-28 18:22:42 +02:00
Fedora Release Engineering
08b017b868 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 23:08:46 +00:00
Miro Hrončok
22f27be926 Rebuilt for pypy 7.1.1 2019-06-19 18:17:15 +02:00
Miro Hrončok
c4e81c1a1a Rebuilt for new PyPy 2019-03-04 23:44:39 +01:00
Fedora Release Engineering
9747c0b8b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:15:46 +00:00
b0bc766449 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:49 +01:00
Miro Hrončok
d340581360 Stop uisng pypy on power (#1619690) 2018-08-27 17:20:54 +02:00
Fedora Release Engineering
9723042f53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:01:03 +00:00
Miro Hrončok
5454e0553b Rebuilt for new pypy 6.0
Use the new pypy2(abi) provide and %pypy2_pypy_version macro.
2018-04-30 12:49:09 +02:00
Miro Hrončok
224d8243b7 Workaround the pypy2 5.10 requirement 2018-04-12 00:18:36 +02:00
Miro Hrončok
e539441b0e Rebuilt for new pypy 5.10 (again) 2018-04-12 00:02:03 +02:00
Miro Hrončok
64e35cb558 Rebuilt for new pypy 5.10 2018-04-11 00:34:07 +02:00
Fedora Release Engineering
b4fcecf779 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 16:34:20 +00:00
Miro Hrončok
9903e73304 Rebuilt for new pypy 5.9.0 2017-11-21 13:02:06 +01:00
Fedora Release Engineering
7a51169aa6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:22:18 +00:00
Fedora Release Engineering
8cb96eaaa8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:29:22 +00:00
Miro Hrončok
2192630b6f Rebuilt for new pypy 5.8.0 2017-07-04 11:54:05 +02:00
Miro Hrončok
013c7f6227 Rebuilt for new pypy 5.7.0 2017-03-24 21:51:04 +01:00
Fedora Release Engineering
194af68163 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 13:20:55 +00:00
Miro Hrončok
7d857d5b3f Rebuilt for new pypy, arch condition updated according to pypy 2016-11-15 17:50:44 +01:00
Peter Robinson
6d8b07b825 rebuild (Power64) 2016-11-13 19:26:03 +00:00
Miro Hrončok
41f782d3c4 Add patch for previous commit 2016-09-20 17:56:11 +02:00
Miro Hrončok
b61e752724 Make it pure pypy or pure python2 depending on the arch 2016-09-20 17:53:19 +02:00
13 changed files with 1 additions and 226 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/sfact-0.0-bc56c68.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Dead upstream and Python 2 only, use slic3r, cura, cura-lulzbot or prusa-slicer instead

3
sfact
View file

@ -1,3 +0,0 @@
#!/bin/bash
exec python /usr/lib/python2.7/site-packages/sfact/sfact.py "$@"
exit $?

View file

@ -1,3 +0,0 @@
#!/bin/bash
exec pypy /usr/lib/python2.7/site-packages/sfact/skeinforge_application/skeinforge_utilities/skeinforge_craft.py "$@"
exit $?

View file

@ -1,8 +0,0 @@
Add an empty CSV file to avoid a runtime error on referencing
skeinforge/skeinforge_application/profiles/cutting/Default directory.
--- /dev/null
+++ b/skeinforge_application/profiles/cutting/Default/skeinforge.csv
@@ -0,0 +1,2 @@
+Format is tab separated skeinforge settings.
+_Name Value

View file

@ -1,8 +0,0 @@
Add an empty CSV file to avoid a runtime error on referencing
skeinforge/skeinforge_application/profiles/extrusion/Default directory.
--- /dev/null
+++ b/skeinforge_application/profiles/extrusion/Default/skeinforge.csv
@@ -0,0 +1,2 @@
+Format is tab separated skeinforge settings.
+_Name Value

View file

@ -1,8 +0,0 @@
Add an empty CSV file to avoid a runtime error on referencing
skeinforge/skeinforge_application/profiles/milling/Default directory.
--- /dev/null
+++ b/skeinforge_application/profiles/milling/Default/skeinforge.csv
@@ -0,0 +1,2 @@
+Format is tab separated skeinforge settings.
+_Name Value

View file

@ -1,8 +0,0 @@
Add an empty CSV file to avoid a runtime error on referencing
skeinforge/skeinforge_application/profiles/winding/Free_Wire directory.
--- /dev/null
+++ b/skeinforge_application/profiles/winding/Free_Wire/skeinforge.csv
@@ -0,0 +1,2 @@
+Format is tab separated skeinforge settings.
+_Name Value

View file

@ -1,28 +0,0 @@
diff --git a/fabmetheus_utilities/miscellaneous/nophead/preview.py b/fabmetheus_utilities/miscellaneous/nophead/preview.py
index e48a6d4..8f53f51 100644
--- a/fabmetheus_utilities/miscellaneous/nophead/preview.py
+++ b/fabmetheus_utilities/miscellaneous/nophead/preview.py
@@ -2,8 +2,7 @@ import sys
try:
import Tkinter
except:
- print('You do not have Tkinter, which is needed for the graphical interface.')
- print('Information on how to download Tkinter is at:\nwww.tcl.tk/software/tcltk/')
+ pass
try:
from layers import *
from gRead import *
diff --git a/fabmetheus_utilities/settings.py b/fabmetheus_utilities/settings.py
index d000774..1ca3c07 100644
--- a/fabmetheus_utilities/settings.py
+++ b/fabmetheus_utilities/settings.py
@@ -20,8 +20,7 @@ import webbrowser
try:
import Tkinter
except:
- print('You do not have Tkinter, which is needed for the graphical interface, you will only be able to use the command line.')
- print('Information on how to download Tkinter is at:\nwww.tcl.tk/software/tcltk/')
+ pass
__author__ = 'Enrique Perez (perez_enrique@yahoo.com)'

View file

@ -1,29 +0,0 @@
Use ~/.sfact directory to store settings, not sfact_profiles in current pwd
diff -ru a/fabmetheus_utilities/archive.py b/fabmetheus_utilities/archive.py
--- a/fabmetheus_utilities/archive.py 2013-01-27 15:29:27.828406000 +0100
+++ b/fabmetheus_utilities/archive.py 2013-01-27 15:41:23.123273283 +0100
@@ -18,9 +18,9 @@
__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
-globalTemporarySettingsPath = os.path.join(os.getcwd(), 'sfact_profiles')#(os.path.expanduser('~'), '.skeinforge')#thats default sfact way in own dir
+#globalTemporarySettingsPath = os.path.join(os.getcwd(), 'sfact_profiles')#thats default sfact way in own dir
#globalTemporarySettingsPath = os.path.join(os.path.expanduser('~'), '.skeinforge')#thats default sf way in home dir
-#globalTemporarySettingsPath = os.path.join(os.path.expanduser('~'), '.sfact')#thats repetier compatible way in home dir
+globalTemporarySettingsPath = os.path.join(os.path.expanduser('~'), '.sfact')#thats repetier compatible way in home dir
def addToNamePathDictionary(directoryPath, namePathDictionary):
diff -ru a/fabmetheus_utilities/settings.py b/fabmetheus_utilities/settings.py
--- a/fabmetheus_utilities/settings.py 2013-01-27 15:29:27.841406000 +0100
+++ b/fabmetheus_utilities/settings.py 2013-01-27 16:25:31.395040468 +0100
@@ -301,7 +301,7 @@
if repository.baseNameSynonym != None:
text = archive.getFileText(archive.getProfilesPath(getProfileName(repository.baseNameSynonym, repository)), False)
if text == '':
- print('The default %s will be written in the .skeinforge folder in the home directory.' % repository.title.lower() )
+ print('The default %s will be written in the .sfact folder in the home directory.' % repository.title.lower() )
text = archive.getFileText(getProfilesDirectoryInAboveDirectory(getProfileBaseName(repository)), False)
if text != '':
readSettingsFromText(repository, text)

View file

@ -1,9 +0,0 @@
[Desktop Entry]
Name=SFACT
GenericName=New slicing tool
Exec=sfact %f
Icon=development_section
Terminal=false
Type=Application
Categories=Graphics;

View file

@ -1,120 +0,0 @@
%global commit bc56c6882269fb14e36bc7bd6582c19be6114c06
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapshot 20130128git%{shortcommit}
Name: sfact
Version: 0.0
Release: 9.%{snapshot}%{?dist}
Summary: Converts 3D model into G-Code for RepRap
License: AGPLv3
Group: Applications/Engineering
URL: http://www.reprapfordummies.net/
Source0: https://github.com/ahmetcemturan/SFACT/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
Source1: %{name}.desktop
Source2: %{name}
Source3: %{name}-craft
Patch0: %{name}-remove-tkinter-warning.patch
Patch1: %{name}-setting-dir.patch
Patch2: %{name}-empty-extrusion-profile.patch
Patch3: %{name}-empty-winding-profile.patch
Patch4: %{name}-empty-cutting-profile.patch
Patch5: %{name}-empty-milling-profile.patch
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: desktop-file-utils
Requires: python2
Requires: pypy
Requires: tkinter
%description
SFACT is the new Skeinforge, it is a tool chain composed of Python scripts
that converts your 3D model into G-Code instructions for RepRap.
%package doc
Requires: %{name} = %{version}-%{release}
Summary: Documentation for %{name}
%description doc
SFACT is the new Skeinforge, it is a tool chain composed of Python scripts
that converts your 3D model into G-Code instructions for RepRap.
This is the documentation.
%prep
%setup -qn SFACT-%{commit}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
chmod +x sfact.py
chmod -x fabmetheus_utilities/settings.py
# Removing stupid useless files
rm -rf skeinforge_application/*.sh skeinforge_application/*.stl skFrontend.py *.sh
# Removing shebangs
cd skeinforge_application/skeinforge_plugins/craft_plugins/
for FILE in alteration.py bottom.py dimension.py fill.py inset.py limit.py preface.py scale.py widen.py ../../profiles/dimension2.py ../../skeinforge.py; do
awk 'FNR>1' $FILE > $FILE.nobang && mv -f $FILE.nobang $FILE
done
cd -
cd fabmetheus_utilities/miscellaneous/fabricate/
for FILE in example.py send.py RepRapArduinoSerialSender.py; do
awk 'FNR>1' $FILE > $FILE.nobang && mv -f $FILE.nobang $FILE
done
chmod +x frank_davies/t.sh
cd -
%build
%install
mkdir -p %{buildroot}%{python_sitelib}/%{name}
mkdir -p %{buildroot}%{_bindir}
cp -ar [fs_]* %{buildroot}%{python_sitelib}/%{name}
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} # desktop file
cp -a %{SOURCE2} %{SOURCE3} %{buildroot}%{_bindir} # launchers
%files
%doc SFACT?Readme.txt COPYING
%{python_sitelib}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_bindir}/%{name}*
%files doc
%doc documentation
%changelog
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-9.20130128gitbc56c68
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0-8.20130128gitbc56c68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-7.20130128gitbc56c68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-6.20130128gitbc56c68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 25 2013 Miro Hrončok <mhroncok@redhat.com> - 0.0-5.20130128gitbc56c68
- Remove the patch to remove help button
- Added patch to remove Tkinter warning
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-4.20130128gitbc56c68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 01 2013 Miro Hrončok <mhroncok@redhat.com> - 0.0-3.20130128gitbc56c68
- Corrected version in %%changelog
- Use exec in launchers
* Tue Jan 29 2013 Miro Hrončok <mhroncok@redhat.com> - 0.0-2.20130128gitbc56c68
- SFACT?Readme.txt instead of SFACT\ Readme.txt in %%doc to make this work in rawhide
- New commit including COPYING
* Sun Jan 27 2013 Miro Hrončok <mhroncok@redhat.com> - 0.0-1.20121114git89e1e76
- Started as a fork of skeinforge.spec
- Updated source to GitHub, SFACT has no tarballs
- Added patches from Debain
- Added patch to keep setting in HOME

View file

@ -1 +0,0 @@
ff1dc9d6735605e83c08b170c7d5ee0c sfact-0.0-bc56c68.tar.gz