[mate-applets] 03/07: debian/rules: Remove dfsg suffix. Remove references to timer-applet.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Aug 3 21:33:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch debian/experimental
in repository mate-applets.
commit b9bab18017fc3fbf34b442b20c651833bb7860ad
Author: Martin Wimpress <code at flexion.org>
Date: Mon Aug 3 22:03:29 2015 +0100
debian/rules: Remove dfsg suffix. Remove references to timer-applet.
---
debian/rules | 36 +++---------------------------------
1 file changed, 3 insertions(+), 33 deletions(-)
diff --git a/debian/rules b/debian/rules
index 44d5cef..4e48a4e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,5 @@
#!/usr/bin/make -f
-PKD = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
-PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-DTYPE = +dfsg1
-VER ?= $(subst $(DTYPE),,$(UVER))
-
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
@@ -24,9 +18,7 @@ DEB_CONFIGURE_EXTRA_FLAGS += \
--libexecdir=/usr/lib/mate-applets \
--localstatedir=/var \
--disable-static \
- --disable-scrollkeeper \
- --disable-timer-applet \
- --disable-schemas-install
+ --with-gtk=2.0
common-install-indep:: remove-cruft
common-install-arch:: remove-cruft
@@ -34,29 +26,7 @@ common-install-arch:: remove-cruft
remove-cruft::
rm -rfv debian/*/usr/lib/python*/dist-packages/mate_invest/*.pyc
rm -rfv debian/*/usr/lib/python*/dist-packages/mate_invest/*.pyo
- rm -rfv debian/*/usr/lib/python*/dist-packages/timerapplet/*.pyc
- rm -rfv debian/*/usr/lib/python*/dist-packages/timerapplet/*.pyo
rm -rfv debian/*/usr/share/MateConf/gsettings/stickynotes-applet.convert
-get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE))
- @
-
-$(PKG)_$(VER)$(DTYPE).orig.tar.xz:
- @echo "# Downloading..."
- uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
- $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
- @echo "# Extracting..."
- mkdir $(PKG)-$(VER) \
- && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \
- || $(RM) -r $(PKG)-$(VER)
- @echo "# Cleaning-up..."
- cd $(PKG)-$(VER) \
- && $(RM) -r -v \
- */docs/ \
- */help/ \
- COPYING-DOCS
- $(RM) -v $(PKG)_$(VER).orig.tar.*
- @echo "# Packing..."
- find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
- | XZ_OPT="-6v" tar -caf "../$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
- && $(RM) -r "$(PKG)-$(VER)"
+get-orig-source:
+ uscan --noconf --force-download --rename --download-current-version --destdir=..
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-applets.git
More information about the pkg-mate-commits
mailing list