Skip to content
Commits on Source (11)
sunflow (0.07.2.svn396+dfsg-18) unstable; urgency=medium
* Build-Depend on python3-all (Closes: #938599)
* Drop get-orig-source target from debian/rules
* Remove variables related to get-orig-source in debian/rules
* Drop build-dep on cdbs and use dh sequencer
* Update doc-base to for /usr/share/doc/libsunflow-java
* Use debhelper 12
* Bump Standards-Version to 4.4.0
* Convert Blender3D sunflow_export.py from Python 2 -> 3
-- tony mancill <tmancill@debian.org> Tue, 03 Sep 2019 09:25:01 -0700
sunflow (0.07.2.svn396+dfsg-17) unstable; urgency=medium
* Team upload.
......
......@@ -6,14 +6,13 @@ Uploaders:
tony mancill <tmancill@debian.org>
Build-Depends:
ant,
cdbs (>= 0.4.90~),
debhelper (>= 10),
debhelper (>= 12),
default-jdk,
dh-python,
python (>= 2.6.6-3~)
python3-all
Build-Depends-Indep:
janino
Standards-Version: 4.1.4
Standards-Version: 4.4.0
Homepage: http://sunflow.sourceforge.net/
Vcs-Git: https://salsa.debian.org/java-team/sunflow.git
Vcs-Browser: https://salsa.debian.org/java-team/sunflow
......@@ -24,7 +23,7 @@ Depends:
default-jre | java8-runtime,
libsunflow-java,
${misc:Depends},
${python:Depends}
${python3:Depends}
Replaces:
libsunflow-java (= 0.07.2.svn396+dfsg-2)
Description: rendering system for photo-realistic image synthesis (GUI)
......
......@@ -2,6 +2,9 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Sunflow - rendering system for photo-realistic image synthesis
Upstream-Contact: Christopher Kulla <ckulla@gmail.com>
Source: http://sunflow.sourceforge.net/
Files-Excluded:
*.jar
*.class
Files: *
Copyright: 2003-2008, Christopher Kulla <ckulla@gmail.com>
......
......@@ -5,6 +5,6 @@ Abstract: This the API JavaDoc for sunflow
Section: Programming
Format: HTML
Index: /usr/share/doc/libsunflow-java-doc/api/index.html
Files: /usr/share/doc/libsunflow-java-doc/api/*
Index: /usr/share/doc/libsunflow-java/api/index.html
Files: /usr/share/doc/libsunflow-java/api/*
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
10_to_use_system_janino
20_split
30_sweethome3d
40_python3
50_python_consistent_indentation
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
NAME := sunflow
VERSION := $(shell dpkg-parsechangelog| sed -n '/^Version/{s/Version: \(.*\)-[0-9]*$$/\1/;s/+dfsg//p}')
SVNREV := $(shell echo $(VERSION)|sed -n 's/.*svn\([0-9]*\)/\1/p')
TMPDIR := $(NAME)-$(VERSION)
TAR := ../$(NAME)_$(VERSION)+dfsg.orig.tar.gz
include /usr/share/dpkg/pkg-info.mk
UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/.dfsg$$//')
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := janino
DEB_ANT_BUILD_TARGET = jars javadoc
%:
dh $@ --buildsystem=ant
UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/.dfsg$$//')
override_dh_auto_build:
dh_auto_build
pod2man --center='SUNFLOW DOCUMENTATION' \
--release=$(UPSTREAM_VERSION) \
debian/sunflow.pod -o debian/sunflow.1
install/libsunflow-java::
override_dh_auto_install:
#install/libsunflow-java::
# If case to avoid build failure when resuming the build
# at the install step
if [ ! -f release/sunflow-$(UPSTREAM_VERSION).jar ] ; then \
......@@ -26,7 +25,7 @@ install/libsunflow-java::
dh_link -plibsunflow-java usr/share/java/sunflow-$(UPSTREAM_VERSION).jar \
usr/share/java/sunflow.jar
install/sunflow::
#install/sunflow::
# If case to avoid build failure when resuming the build
# at the install step
if [ ! -f release/sunflowGUI-$(UPSTREAM_VERSION).jar ] ; then \
......@@ -57,27 +56,8 @@ install/sunflow::
debian/sunflow/usr/share/icons/hicolor/scalable/apps
# Not using python-distutils.mk, calling manually
dh_python2 /usr/share/blender/scripts/sunflow
dh_python3 /usr/share/blender/scripts/sunflow
install/libsunflow-java-doc::
# Javadoc
mv release/javadoc release/api
dh_installdocs -plibsunflow-java-doc release/api
build/sunflow::
pod2man --center='SUNFLOW DOCUMENTATION' \
--release=$(UPSTREAM_VERSION) \
debian/sunflow.pod -o debian/sunflow.1
clean::
rm -f debian/sunflow.1
get-orig-source:
mkdir $(TMPDIR)
-rm $(TAR)
svn export --force -r $(SVNREV) https://$(NAME).svn.sourceforge.net/svnroot/$(NAME)/trunk $(TMPDIR)
echo "The following files will not be included in Debian tarball:"
cd $(TMPDIR) && find . \( -name '*.class' -o -name '*.jar' \) -print
ZIP=--best tar --exclude-vcs --exclude *.jar --exclude *.class -zcf $(TAR) $(TMPDIR)
rm -rf $(TMPDIR)