diff --git a/xmake.lua b/xmake.lua index 58cbaddc7a..0e075c6539 100644 --- a/xmake.lua +++ b/xmake.lua @@ -278,10 +278,7 @@ includes("xmake/research.lua") if is_mode("release") then xpack("research") do - set_formats("nsis", "zip", "deb", "rpm", "srpm") - if is_plat ("linux") and linuxos.name() == "debian" then - set_specfile("debian") - end + set_formats("nsis", "zip", "rpm", "srpm") set_author("Darcy Shen ") set_license("GPLv3") set_licensefile(path.join(os.projectdir(), "LICENSE")) diff --git a/xmake/debian/changelog b/xmake/debian/changelog deleted file mode 100644 index 94e6cd1d2a..0000000000 --- a/xmake/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -research (1.2.9.7-1) UNRELEASED; urgency=medium - - * Initial release (Closes: #nnnn) - - -- Darcy Shen Sun, 24 Nov 2024 14:35:24 +0000 diff --git a/xmake/debian/control b/xmake/debian/control deleted file mode 100644 index 3e46395375..0000000000 --- a/xmake/debian/control +++ /dev/null @@ -1,24 +0,0 @@ -Source: research -Section: editors -Priority: optional -Maintainer: Darcy Shen -Build-Depends: debhelper-compat (= 13) -Standards-Version: 3.9.1 -Homepage: https://mogan.app - -Package: mogan-research -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, qt6-qpa-plugins -Description: A structured editor for science and technology - Mogan Research is a fork of GNU TeXmacs using S7 Scheme and Qt 5 with massive - online TeXmacs documents provided by Xmacs Planet and TMML wiki. - The software includes a text editor with support for mathematical formulas, - a small technical picture editor and a tool for making presentations from - a laptop. Moreover, Mogan can be used as an interface for many external - systems for computer algebra, numerical analysis, statistics, etc. - New presentation styles can be written by the user and new features can be - added to the editor using the Scheme extension language. A native spreadsheet - and tools for collaborative authoring are planned for later. - Mogan runs on all major Unix platforms and Windows. Documents can be - saved in TeXmacs, Xml or Scheme format and printed as Postscript or - Pdf files. Converters exist for TeX/LaTeX and Html/Mathml. diff --git a/xmake/debian/copyright b/xmake/debian/copyright deleted file mode 100644 index bb6330d37a..0000000000 --- a/xmake/debian/copyright +++ /dev/null @@ -1,17 +0,0 @@ -Author(s): - - -Upstream Author(s): - - - -Copyright: - - - -License: - - < GPL version 3> - -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. diff --git a/xmake/debian/rules b/xmake/debian/rules deleted file mode 100755 index 1eec7d63a6..0000000000 --- a/xmake/debian/rules +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/make -f - -export DH_VERBOSE = 1 - -PREFIX=$(CURDIR)/debian/research/usr - -configure: configure-stamp -configure-stamp: - dh_testdir - touch configure-stamp - -build-arch: - # pass - -build-indep: - # pass - -build: build-stamp -build-stamp: configure-stamp - dh_testdir - xmake config -m release --yes --qt=/usr/lib/qt6 - xmake build -P . -y research - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - dh_clean - -install: build - dh_testdir - dh_testroot - dh_installdirs - xmake install -P . -y -o $(PREFIX) research - -distclean: clean - -uninstall: - - -binary-indep: build install -# We have nothing to do by default. -# # Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installexamples - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install uninstall configure diff --git a/xmake/debian/source/format b/xmake/debian/source/format deleted file mode 100644 index 163aaf8d82..0000000000 --- a/xmake/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt)