From 0747101b437f3f9fa1c306345674092d211b2c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 9 Feb 2017 18:31:36 +0100 Subject: [PATCH] test --- .builddeb | 0 Makefile | 42 ++++++++++++++++++ ricoh-sp100.deb | 1 + ricoh-sp100/DEBIAN/control | 12 +++++ .../check-requirements | 0 .../etc/cups/ppd/RICOH_Aficio_SP_100.ppd | 0 .../etc/cups/ppd/RICOH_Aficio_SP_204.ppd | 0 .../usr/lib/cups/filters/pstoricohddst-gdi | 0 ricoh-sp100_0.1.1_all.deb | Bin 0 -> 4262 bytes ricoh-sp100_0.1.2_all.deb | Bin 0 -> 4316 bytes 10 files changed, 55 insertions(+) create mode 100644 .builddeb create mode 100644 Makefile create mode 120000 ricoh-sp100.deb create mode 100644 ricoh-sp100/DEBIAN/control rename check-requirements => ricoh-sp100/check-requirements (100%) rename RICOH_Aficio_SP_100.ppd => ricoh-sp100/etc/cups/ppd/RICOH_Aficio_SP_100.ppd (100%) rename RICOH_Aficio_SP_204.ppd => ricoh-sp100/etc/cups/ppd/RICOH_Aficio_SP_204.ppd (100%) rename pstoricohddst-gdi => ricoh-sp100/usr/lib/cups/filters/pstoricohddst-gdi (100%) create mode 100644 ricoh-sp100_0.1.1_all.deb create mode 100644 ricoh-sp100_0.1.2_all.deb diff --git a/.builddeb b/.builddeb new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c6081d2 --- /dev/null +++ b/Makefile @@ -0,0 +1,42 @@ +DIR=$(shell basename $(CURDIR)) + +VERSION=`gawk '$$1 == "Version:"{print $$2}' $(DIR)/DEBIAN/control` +ARCH=`gawk '$$1 == "Architecture:"{print $$2}' $(DIR)/DEBIAN/control` +COMMIT = $(shell date "+xe%Y%m%d_%H%M%S") + +SUBDIRS := $(shell find $(DIR) -type d -print) +FILTER := $(abspath .git% %.deb .publish-git .builddeb %.swp Makefile) +FILTERORIG := $(abspath .git% %.deb .publish-git .builddeb %.swp Makefile) $(shell test -e noupdate.files && cat noupdate.files) /DEBIAN% +FILES := $(filter-out $(FILTER), $(abspath $(shell find . -mindepth 1 -type f -print) )) +ORIGS := $(filter-out $(FILTERORIG), $(realpath $(subst ./$(DIR),,$(shell sudo find . -mindepth 2 -type f -print)))) +FILESGIT := $(filter-out $(abspath .git%), $(abspath $(shell find . -mindepth 1 -type f -print))) + +#all: $(DIR)/DEBIAN/control + +#$(DIR)/DEBIAN/control: $(FILES) + +all: .builddeb + @#echo FILE $(FILESGIT) + +.builddeb: $(FILES) + @#echo FILT $(FILTER) + @#echo FILE $(FILES) + @echo `gawk -f ../increment.awk $(DIR)/DEBIAN/control` + sed -e "s/^Version:.*/`gawk -f ../increment.awk $(DIR)/DEBIAN/control`/" $(DIR)/DEBIAN/control > $(DIR)/DEBIAN/control.tmp + mv $(DIR)/DEBIAN/control.tmp $(DIR)/DEBIAN/control + fakeroot dpkg-deb --build $(DIR) "$(DIR)_$(VERSION)_$(ARCH).deb" + ln -sf "$(DIR)_$(VERSION)_$(ARCH).deb" "$(DIR).deb" + aptly repo add xundeenergie "$(DIR)_$(VERSION)_$(ARCH).deb" + touch .builddeb + +.update: $(ORIGS) + @#for i in $(ORIGS); do $$i;done + @echo "Copy originals to $(DIR)" + @for i in $(ORIGS); do sudo cp -uv $$i $(DIR)$$i;done + touch .update + +.publish-git: $(FILESGIT) + fakeroot git add . + fakeroot git commit -m $(COMMIT) && git push origin master || exit 0 + touch .publish-git + diff --git a/ricoh-sp100.deb b/ricoh-sp100.deb new file mode 120000 index 0000000..96c90f7 --- /dev/null +++ b/ricoh-sp100.deb @@ -0,0 +1 @@ +ricoh-sp100_0.1.2_all.deb \ No newline at end of file diff --git a/ricoh-sp100/DEBIAN/control b/ricoh-sp100/DEBIAN/control new file mode 100644 index 0000000..efb0d5c --- /dev/null +++ b/ricoh-sp100/DEBIAN/control @@ -0,0 +1,12 @@ +Package: ricoh-sp100 +Version: 0.1.2 +Section: cups +Priority: extra +Architecture: all +Maintainer: Jakobus Schürz +Homepage: http://github.com/xundeenergie/ricoh-sp100 +Provides: ricoh-sp100 +Depends: ghostscript, graphicsmagick-imagemagick-compat|imagemagick, jbigkit-bin +Recommends: inotify-tools +Description: Support for Ricoh SP100-Series + Supports Ricoh SP 100SNF and Ricoh SP 204SNF diff --git a/check-requirements b/ricoh-sp100/check-requirements similarity index 100% rename from check-requirements rename to ricoh-sp100/check-requirements diff --git a/RICOH_Aficio_SP_100.ppd b/ricoh-sp100/etc/cups/ppd/RICOH_Aficio_SP_100.ppd similarity index 100% rename from RICOH_Aficio_SP_100.ppd rename to ricoh-sp100/etc/cups/ppd/RICOH_Aficio_SP_100.ppd diff --git a/RICOH_Aficio_SP_204.ppd b/ricoh-sp100/etc/cups/ppd/RICOH_Aficio_SP_204.ppd similarity index 100% rename from RICOH_Aficio_SP_204.ppd rename to ricoh-sp100/etc/cups/ppd/RICOH_Aficio_SP_204.ppd diff --git a/pstoricohddst-gdi b/ricoh-sp100/usr/lib/cups/filters/pstoricohddst-gdi similarity index 100% rename from pstoricohddst-gdi rename to ricoh-sp100/usr/lib/cups/filters/pstoricohddst-gdi diff --git a/ricoh-sp100_0.1.1_all.deb b/ricoh-sp100_0.1.1_all.deb new file mode 100644 index 0000000000000000000000000000000000000000..768dadbc7d6302be0cd571f21d679dd49227d232 GIT binary patch literal 4262 zcmai%XHXN0wuJ#{f>NYN384k)9Yaq*ARy9fr~=ZZNb^vY4$^CoCcPJd(2IZq(yIhP zkdk1Ok_3>BaL>8-y*KaQU9)G+>>q3P%>I5YZY6u)XRZ(`M<)k2doNK3H!pkNATBO0 zNf|jX7%V9v|B#DI;_v-`T~a~y(~uLusWkq>6$Shj|g{I*#e(A0&1lI-(`I+?B0cbx#TD{W}s{3Phf5GRFATGv8b zOAorJR`s}z7TnN0tvw%gG?+8-n|D#}PAs73;ZS2oVZG(qv_*xMFnh}q$tA)GVq;S% zIk$vw&T@e;lmGjB|KDC?SUq(PD~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