[neon/kde/okular/Neon/stable] debian: build both ui's and drop ancient mime system

Carlos De Maine null at kde.org
Thu Jan 18 12:57:45 GMT 2024


Git commit 0b76858d702d3b2063b78d36dbe130ca2b8fa91a by Carlos De Maine.
Committed on 18/01/2024 at 13:57.
Pushed by carlosdem into branch 'Neon/stable'.

build both ui's and drop ancient mime system

D  +0    -15   debian/okular-backends.mime
M  +3    -0    debian/rules

https://invent.kde.org/neon/kde/okular/-/commit/0b76858d702d3b2063b78d36dbe130ca2b8fa91a

diff --git a/debian/okular-backends.mime b/debian/okular-backends.mime
deleted file mode 100644
index c82ccc0..0000000
--- a/debian/okular-backends.mime
+++ /dev/null
@@ -1,15 +0,0 @@
-application/pdf;            okular '%s';        nametemplate=%s.pdf;      test=test "$DISPLAY" != "";     priority=6
-application/x-pdf;          okular '%s';        nametemplate=%s.pdf;      test=test "$DISPLAY" != "";     priority=6
-application/x-gzpdf;        okular '%s';        nametemplate=%s.pdf.gz;   test=test "$DISPLAY" != "";     priority=6
-application/x-bzpdf;        okular '%s';        nametemplate=%s.pdf.bz2;  test=test "$DISPLAY" != "";     priority=6
-application/postscript;     okular '%s';        nametemplate=%s.ps;       test=test "$DISPLAY" != "";     priority=5
-application/z-gzpostscript; okular '%s';        nametemplate=%s.ps.gz;    test=test "$DISPLAY" != "";     priority=5
-application/x-bzpostscript; okular '%s';        nametemplate=%s.ps.bz2;   test=test "$DISPLAY" != "";     priority=5
-image/x-eps;                okular '%s';        nametemplate=%s.eps;      test=test "$DISPLAY" != "";     priority=5
-image/x-bzeps;              okular '%s';        nametemplate=%s.eps.bz2;  test=test "$DISPLAY" != "";     priority=5
-image/x-gzeps;              okular '%s';        nametemplate=%s.eps.gz;   test=test "$DISPLAY" != "";     priority=5
-application/x-dvi;          okular '%s';        nametemplate=%s.dvi;      test=test "$DISPLAY" != "";     priority=4
-application/x-gzdvi;        okular '%s';        nametemplate=%s.dvi.gz;   test=test "$DISPLAY" != "";     priority=4
-application/x-bzdvi;        okular '%s';        nametemplate=%s.dvi.bz2;  test=test "$DISPLAY" != "";     priority=4
-application/x-cbr;          okular '%s';        nametemplate=%s.cbr;      test=test "$DISPLAY" != "";     priority=4
-application/x-cbz;          okular '%s';        nametemplate=%s.cbz;      test=test "$DISPLAY" != "";     priority=4
diff --git a/debian/rules b/debian/rules
index 49552b2..a7352ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,6 @@
 
 %:
 	dh $@ --with kf6 --buildsystem kf6
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DBUILD_TESTING=OFF -DOKULAR_UI=both


More information about the Neon-commits mailing list