summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2003-02-22 00:18:06 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit3b4cba4cd5c70cf98eb061456969e7bf3777e221 (patch)
treeee54399858c9f3dce6aa88770ccb42120cbb9836
parenta20e15aaf86272f0f1fe363fd22d8367988c2872 (diff)
downloadgimp-print-3b4cba4cd5c70cf98eb061456969e7bf3777e221.zip
gimp-print-3b4cba4cd5c70cf98eb061456969e7bf3777e221.tar.gz
- updated info patch, removed obsolete install patch
- release 0.2 Changed files: gimp-print-info.patch -> 1.5 gimp-print-install.patch -> 1.3 gimp-print.spec -> 1.39
-rw-r--r--gimp-print-info.patch17
-rw-r--r--gimp-print-install.patch10
-rw-r--r--gimp-print.spec37
3 files changed, 23 insertions, 41 deletions
diff --git a/gimp-print-info.patch b/gimp-print-info.patch
index 5b87351..37e5762 100644
--- a/gimp-print-info.patch
+++ b/gimp-print-info.patch
@@ -1,18 +1,5 @@
-diff -Nru doc/functions.texi doc.new/functions.texi
---- gimp-print-4.2.0/doc/functions.texi Tue Feb 12 01:03:41 2002
-+++ gimp-print-4.2.0/doc.new/functions.texi Tue Feb 12 00:56:55 2002
-@@ -413,7 +413,7 @@
- user.
- @end deftypevr
-
--@deftypefun void stp_set_option(stp_vars_t @var{v}, const char *@var{name}, const char *@var{data}, int @var{bytes})
-+@deftypefun void stp_set_option (stp_vars_t @var{v}, const char *@var{name}, const char *@var{data}, int @var{bytes})
-
- @end deftypefun
-
-
---- gimp-print-4.2.0/doc/gimpprint.texi~ Wed Feb 6 18:38:16 2002
-+++ gimp-print-4.2.0/doc/gimpprint.texi Wed Feb 6 18:38:16 2002
+--- gimp-print-4.3.8/doc/developer/gimpprint.texi.orig Sat Dec 1 16:07:50 2001
++++ gimp-print-4.3.8/doc/developer/gimpprint.texi Sat Feb 22 00:34:44 2003
@@ -20,9 +20,9 @@
@set BUGADDR @email{gimp-print-devel@@lists.sourceforge.net}
@set MAILLIST @email{gimp-print-devel@@lists.sourceforge.net}
diff --git a/gimp-print-install.patch b/gimp-print-install.patch
deleted file mode 100644
index e2add89..0000000
--- a/gimp-print-install.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- gimp-print-4.2.0/src/gimp/Makefile.in.ww Wed Feb 6 15:48:33 2002
-+++ gimp-print-4.2.0/src/gimp/Makefile.in Wed Feb 6 15:49:11 2002
-@@ -444,6 +444,7 @@
-
- install-libexecPROGRAMS: $(libexec_PROGRAMS)
- @DESTDIR='$(DESTDIR)'; export DESTDIR;\
-+ $(mkinstalldirs) $(DESTDIR)`$(GIMPTOOL) --gimpplugindir`/plug-ins; \
- list='$(libexec_PROGRAMS)'; for p in $$list; do \
- if test -f $$p; then \
- if test -f .libs/$$p; then \
diff --git a/gimp-print.spec b/gimp-print.spec
index 559be4a..5f66052 100644
--- a/gimp-print.spec
+++ b/gimp-print.spec
@@ -8,8 +8,6 @@
#
# TODO:
# - port info_and_pdf_only.patch and install documentation in correct place.
-# - port install.patch (afect only gimp plugin)
-# - port info.patch (if needed)
# - think about not including PPDs in package and allow generation by cups-genppd
#
%include /usr/lib/rpm/macros.perl
@@ -18,27 +16,26 @@ Summary(pl): Zestaw wysokiej jakości sterowników do drukarek
Summary(pt_BR): plugin GIMP-Print para impressăo de imagens em alta qualidade
Name: gimp-print
Version: 4.3.8
-Release: 0.1
+Release: 0.2
License: GPL
Group: Applications/Printing
Source0: http://prdownloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
-Patch0: %{name}-install.patch
-Patch1: %{name}-info.patch
-Patch2: %{name}-usb.patch
+Patch0: %{name}-info.patch
+Patch1: %{name}-usb.patch
+Patch2: %{name}-gettext.patch
Patch3: %{name}-info_and_pdf_only.patch
-Patch4: %{name}-gettext.patch
URL: http://gimp-print.sf.net/
%{!?_without_cups:BuildRequires: cups-devel >= 1.1.9}
-%{!?_without_gimp:BuildRequires: gimp-devel >= 1:1.2.3-1.4}
-BuildRequires: gtk+-devel >= 1.2.0
-BuildRequires: texinfo
-BuildRequires: texinfo-texi2dvi
BuildRequires: docbook-style-dsssl
BuildRequires: docbook-utils
+%{!?_without_foomatic:BuildRequires: foomatic-db-engine >= 2.9.1}
BuildRequires: gettext-autopoint
%{!?_without_ijs:BuildRequires: ghostscript-ijs-devel}
+%{!?_without_gimp:BuildRequires: gimp-devel >= 1:1.2.3-1.4}
+BuildRequires: gtk+-devel >= 1.2.0
BuildRequires: rpm-perlprov >= 3.0.3-16
-%{!?_without_foomatic:BuildRequires: foomatic-db-engine >= 2.9.1}
+BuildRequires: texinfo
+BuildRequires: texinfo-texi2dvi
Requires: gimp >= 1:1.2.2-5
Requires: libgimpprint = %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -264,6 +261,7 @@ Sterownik IJS Gimp-print dla GhostScript.
%package -n foomatic-db-gimp-print
Summary: foomatic data for gimp-print IJS driver
+Summary(pl): Dane foomatic dla sterownika IJS gimp-print
Group: Applications/Printing
Requires: %{name}-ijs = %{version}-%{release}
Requires: foomatic-db-engine >= 2.9.1
@@ -271,13 +269,20 @@ Requires: foomatic-db-engine >= 2.9.1
%description -n foomatic-db-gimp-print
foomatic data for gimp-print IJS driver.
+%description -n foomatic-db-gimp-print -l pl
+Dane foomatic dla sterownika IJS gimp-print.
+
%prep
%setup -q
-#%patch0 -p1
-#%patch1 -p1
-%patch2 -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
#%patch3 -p1
-%patch4 -p1
+
+# hack for gimp 1.3, but not sufficient to build
+#if [ -f %{_aclocaldir}/gimp-1.4.m4 ]; then
+# echo 'AC_DEFUN([AM_PATH_GIMP],AM_PATH_GIMP_1_4)' > m4/gimp14.m4
+#fi
%build
rm -f m4extra/{libtool.m4,gettext.m4,lcmessage.m4,progtest.m4}