[rkward] /: Fix KDE4 path in debian/rules

Thomas Friedrichsmeier null at kde.org
Fri Apr 6 13:48:30 UTC 2018


Git commit af1118d4f06317344f7b60efb1c6c0bb0d9e4e06 by Thomas Friedrichsmeier.
Committed on 06/04/2018 at 13:48.
Pushed by tfry into branch 'master'.

Fix KDE4 path in debian/rules

M  +2    -2    debian-official/rules
M  +7    -4    debian/rules
M  +1    -1    rkward/rbackend/rpackages/rkward/R/ver.R

https://commits.kde.org/rkward/af1118d4f06317344f7b60efb1c6c0bb0d9e4e06

diff --git a/debian-official/rules b/debian-official/rules
index 2b4750b3..79c167f6 100755
--- a/debian-official/rules
+++ b/debian-official/rules
@@ -40,8 +40,8 @@ override_dh_auto_install:
 	rm -vf $(DESTDIR)/usr/share/katepart/syntax/r.xml
 	# remove unneeded R package files
 	rm -vf $(DESTDIR)/usr/lib/R/site-library/R.css $(DESTDIR)/usr/lib/R/site-library/rkward/COPYING
-	# remove x-test locale KF5 TODO FIXME
-	rm -rvf $(DESTDIR)/usr/share/kde4/apps/rkward/po/x-test $(DESTDIR)/usr/share/locale/x-test
+	# remove x-test locale
+	rm -rvf $(DESTDIR)/usr/share/rkward/po/x-test $(DESTDIR)/usr/share/locale/x-test
 
 override_dh_compress:
 	# do not compress KDE HTML help
diff --git a/debian/rules b/debian/rules
index e0fc9b86..020d05d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,8 +40,8 @@ override_dh_auto_install:
 	rm -vf $(DESTDIR)/usr/share/katepart/syntax/r.xml
 	# remove unneeded R package files
 	rm -vf $(DESTDIR)/usr/lib/R/site-library/R.css $(DESTDIR)/usr/lib/R/site-library/rkward/COPYING
-	# remove x-test locale KF5 TODO FIXME
-	rm -rvf $(DESTDIR)/usr/share/kde4/apps/rkward/po/x-test $(DESTDIR)/usr/share/locale/x-test
+	# remove x-test locale
+	rm -rvf $(DESTDIR)/usr/share/rkward/po/x-test $(DESTDIR)/usr/share/locale/x-test
 
 override_dh_compress:
 	# do not compress KDE HTML help
@@ -52,12 +52,15 @@ override_dh_shlibdeps:
 	# unfortunately, the r-base-core dependency can not be found by dh_shlibdeps, so we need to get at the version manually
 	# NOTE: This "if" is currently always true (see build-deps), but left here, for convenience, in case we get into trouble
 	# with binary incompatibility (esp. foward incompatibility) again, in the future.
-	@if [ "$(RMAJOR)" -eq "3" ] && [ "$(RMINOR)" -ge "0" ] ; then \
+	@if [ "$(RMAJOR)" -eq "3" ] && [ "$(RMINOR)" -ge "5" ] ; then \
 		echo "rvers=r-base-core (>= $(RVERS))" >> $(CURDIR)/debian/rkward.substvars ; \
+	else \
+		if [ "$(RMAJOR)" -eq "3" ] && [ "$(RMINOR)" -ge "0" ] ; then \
+		echo "rvers=r-base-core (>= $(RVERS)), r-base-core (<< 3.5.0)" >> $(CURDIR)/debian/rkward.substvars ; \
 	else \
 		if [ "$(RMAJOR)" -eq "2" ] && [ "$(RMINOR)" -ge "14" ] ; then \
 		echo "rvers=r-base-core (>= 2.9.0), r-base-core (<< 3.0.0)" >> $(CURDIR)/debian/rkward.substvars ; \
 	else \
 		if [ "$(RMAJOR)" -eq "2" ] && [ "$(RMINOR)" -ge "9" ] ; then \
 		echo "rvers=r-base-core (<< 2.14.0), r-base-core (>= 2.9.0)" >> $(CURDIR)/debian/rkward.substvars ; \
-	fi; fi; fi;
+	fi; fi; fi; fi;
diff --git a/rkward/rbackend/rpackages/rkward/R/ver.R b/rkward/rbackend/rpackages/rkward/R/ver.R
index 09f246ff..30eec2ee 100644
--- a/rkward/rbackend/rpackages/rkward/R/ver.R
+++ b/rkward/rbackend/rpackages/rkward/R/ver.R
@@ -3,4 +3,4 @@
 # rkward/SetVersionNumber.cmake
 
 #' @export
-".rk.app.version" <- "0.6.9z+0.7.0+devel1"
+".rk.app.version" <- "0.6.9z+0.7.0+pre1"



More information about the rkward-tracker mailing list