changeset 0:5fa0beba15d8

inital commit
author meillo@marmaro.de
date Sat, 14 Jun 2008 19:19:02 +0200
parents
children 69dc44a72af3
files changelog compat control copyright rules
diffstat 5 files changed, 120 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/changelog	Sat Jun 14 19:19:02 2008 +0200
@@ -0,0 +1,6 @@
+resize-gd (0.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- markus schnalke <meillo@marmaro.de>  Sat, 14 Jun 2008 18:12:24 +0200
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compat	Sat Jun 14 19:19:02 2008 +0200
@@ -0,0 +1,1 @@
+5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/control	Sat Jun 14 19:19:02 2008 +0200
@@ -0,0 +1,27 @@
+Source: resize-gd
+Section: graphics
+Priority: extra
+Maintainer: markus schnalke <meillo@marmaro.de>
+Homepage: http://prog.marmaro.de/resize-gd
+Build-Depends: debhelper (>= 5), libgd2-noxpm-dev | libgd2-xpm-dev
+Standards-Version: 3.8.0
+
+Package: resize-gd
+Architecture: i386
+Depends: ${shlibs:Depends}
+Description: resizes images using the gd-library
+ The program has two modes:
+ * aspect ratio of the images is preserved and only shrinking is done. Smaller
+   images remain unmodified.
+ * the images are resized to match a specific size. The images probably get
+   stretched and enlarged.
+ .
+ All resizing is done in-place.
+ .
+ Only JPEG and PNG files are supported. The filetype is detected by the
+ filename suffix which has to be either ‘.jpg’ or ‘.png’ (in lowercase
+ letters). Unsupported files get skipped.
+ .
+ This program is meant to be a small(er) alternative to the mogrify -resize
+ command of ImageMagick. Mainly because ImageMagick has lots of dependencies,
+ while the GD-Library has less.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/copyright	Sat Jun 14 19:19:02 2008 +0200
@@ -0,0 +1,26 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: markus schnalke <meillo@marmaro.de>
+Debianized-Date: Sat, 14 Jun 2008 18:16:40 +0200
+Original-Source: http://prog.marmaro.de/resize-gd
+
+Files: *
+Copyright: 2008 by markus schnalke <meillo@marmaro.de>
+License: MIT/X Consortium
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rules	Sat Jun 14 19:19:02 2008 +0200
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+
+
+#CFLAGS = -Wall -g
+
+#ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+#CFLAGS += -O0
+#else
+#CFLAGS += -O2
+#endif
+
+
+
+build: build-stamp
+
+build-stamp:
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	-$(MAKE) realclean
+	dh_clean
+
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) DESTDIR=$(CURDIR)/debian/resize-gd install PREFIX=/usr
+
+binary: binary-arch binary-indep
+binary-indep:
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+.PHONY: build clean binary binary-arch binary-indep install