Import gtklp-1.2.6
GtkLP is a graphical frontend for CUPS, the Common UNIX Printing System. It is used to have an easy (and graphical) access to all of the many options of cups-managed printers. "this can go in" bernd@
This commit is contained in:
parent
730609e313
commit
839c070db6
45
print/gtklp/Makefile
Normal file
45
print/gtklp/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/05/17 13:29:29 ajacoutot Exp $
|
||||
|
||||
COMMENT= GTK+2 frontend to CUPS
|
||||
|
||||
DISTNAME= gtklp-1.2.6
|
||||
CATEGORIES= print sysutils x11
|
||||
|
||||
EXTRACT_SUFX= .src.tar.gz
|
||||
|
||||
HOMEPAGE= http://gtklp.sourceforge.net/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtklp/}
|
||||
|
||||
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
||||
Xi Xinerama Xrandr Xrender atk-1.0 c cairo crypto \
|
||||
expat fontconfig freetype glib-2.0 glitz gmodule-2.0 \
|
||||
gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
||||
png pthread ssl z
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
||||
cups.>=3::print/cups
|
||||
|
||||
USE_X11= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
MAKE_FILE= Makefile.fallback
|
||||
CFLAGS+= -DHAVE_LIBSSL
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/Makefile.fallback
|
||||
|
||||
.include <bsd.port.mk>
|
5
print/gtklp/distinfo
Normal file
5
print/gtklp/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (gtklp-1.2.6.src.tar.gz) = aZOMmeMWPJ7yXh7VWcdMZQ==
|
||||
RMD160 (gtklp-1.2.6.src.tar.gz) = vwX7f8B8n/xvjcIACMrFsLLtkGY=
|
||||
SHA1 (gtklp-1.2.6.src.tar.gz) = J0aHBje4krYqqFBOR4059iJZCNw=
|
||||
SHA256 (gtklp-1.2.6.src.tar.gz) = AksEHL5kzNyQfxrusFW//hpAuIAHXaqZJijhqVbZ/58=
|
||||
SIZE (gtklp-1.2.6.src.tar.gz) = 659915
|
64
print/gtklp/patches/patch-Makefile_fallback
Normal file
64
print/gtklp/patches/patch-Makefile_fallback
Normal file
@ -0,0 +1,64 @@
|
||||
$OpenBSD: patch-Makefile_fallback,v 1.1.1.1 2008/05/17 13:29:29 ajacoutot Exp $
|
||||
--- Makefile.fallback.orig Fri May 16 17:50:48 2008
|
||||
+++ Makefile.fallback Fri May 16 17:52:53 2008
|
||||
@@ -1,21 +1,15 @@
|
||||
# install paths
|
||||
-PREFIX=/usr/local
|
||||
+PREFIX?=/usr/local
|
||||
BINDIR=${PREFIX}/bin
|
||||
MANDIR=${PREFIX}/man/man1
|
||||
LOCALEDIR=${PREFIX}/share/locale
|
||||
|
||||
# config-pathes
|
||||
-GTK_CONFIG_PATH=gtk-config
|
||||
-CUPS_CONFIG_PATH=cups-config
|
||||
+GTK_CONFIG_PATH=pkg-config gtk+-2.0
|
||||
+CUPS_CONFIG_PATH=cups-config
|
||||
|
||||
-# extra compiler options
|
||||
-CC=gcc
|
||||
-CCFLAGS=-Wall -g
|
||||
-#CFLAGS=
|
||||
-#EXTRA=
|
||||
-
|
||||
# pathes and languages for gettext
|
||||
-GMSGFMT = /usr/bin/msgfmt
|
||||
+GMSGFMT = ${LOCALBASE}/bin/msgfmt
|
||||
|
||||
# some progs you should have installed...
|
||||
STRIP=strip
|
||||
@@ -46,21 +40,21 @@ clean:
|
||||
rm -f *.o gtklp/*.o gtklpq/*.o gtklp/gtklp gtklpq/gtklpq libgtklp/libgtklp.o libgtklp/libgtklp.a po/*.gmo config.h
|
||||
|
||||
install: all
|
||||
- $(MKDIR) -p $(BINDIR)
|
||||
- $(CP) gtklp/gtklp $(BINDIR)/gtklp
|
||||
- $(CP) gtklpq/gtklpq $(BINDIR)/gtklpq
|
||||
- $(MKDIR) -p $(MANDIR)
|
||||
- $(CP) man/gtklp.1 $(MANDIR)/
|
||||
- $(CP) man/gtklpq.1 $(MANDIR)/
|
||||
- $(CHMOD) 755 $(BINDIR)/gtklp
|
||||
- $(CHMOD) 755 $(BINDIR)/gtklpq
|
||||
- $(CHMOD) 644 $(MANDIR)/gtklp.1
|
||||
- $(CHMOD) 644 $(MANDIR)/gtklpq.1
|
||||
+ $(MKDIR) -p $(DESTDIR)$(BINDIR)
|
||||
+ $(CP) gtklp/gtklp $(DESTDIR)$(BINDIR)/gtklp
|
||||
+ $(CP) gtklpq/gtklpq $(DESTDIR)$(BINDIR)/gtklpq
|
||||
+ $(MKDIR) -p $(DESTDIR)$(MANDIR)
|
||||
+ $(CP) man/gtklp.1 $(DESTDIR)$(MANDIR)/
|
||||
+ $(CP) man/gtklpq.1 $(DESTDIR)$(MANDIR)/
|
||||
+ $(CHMOD) 755 $(DESTDIR)$(BINDIR)/gtklp
|
||||
+ $(CHMOD) 755 $(DESTDIR)$(BINDIR)/gtklpq
|
||||
+ $(CHMOD) 644 $(DESTDIR)$(MANDIR)/gtklp.1
|
||||
+ $(CHMOD) 644 $(DESTDIR)$(MANDIR)/gtklpq.1
|
||||
for entry in po/*.gmo; do \
|
||||
base=`basename $$entry | sed -e s/\.gmo//`; \
|
||||
- $(MKDIR) -p $(LOCALEDIR)/$$base/LC_MESSAGES; \
|
||||
- $(CP) $$entry $(LOCALEDIR)/$$base/LC_MESSAGES/gtklp.mo; \
|
||||
- chmod 644 $(LOCALEDIR)/$$base/LC_MESSAGES/gtklp.mo ; \
|
||||
+ $(MKDIR) -p $(DESTDIR)$(LOCALEDIR)/$$base/LC_MESSAGES; \
|
||||
+ $(CP) $$entry $(DESTDIR)$(LOCALEDIR)/$$base/LC_MESSAGES/gtklp.mo; \
|
||||
+ chmod 644 $(DESTDIR)$(LOCALEDIR)/$$base/LC_MESSAGES/gtklp.mo ; \
|
||||
done
|
||||
|
||||
gtklp/gtklp: config.h gtklp/gtklp.o gtklp/file.o gtklp/general.o gtklp/gtklp_functions.o gtklp/gtklptab.o \
|
11
print/gtklp/patches/patch-include_defaults_h
Normal file
11
print/gtklp/patches/patch-include_defaults_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-include_defaults_h,v 1.1.1.1 2008/05/17 13:29:29 ajacoutot Exp $
|
||||
--- include/defaults.h.orig Fri May 16 17:23:08 2008
|
||||
+++ include/defaults.h Fri May 16 17:23:34 2008
|
||||
@@ -40,6 +40,7 @@
|
||||
#define INFRAME_SPACING_V 2
|
||||
#define BUTTON_SPACING_H 10
|
||||
#define BUTTON_SPACING_V 3
|
||||
+#define MAX_PRT 150
|
||||
#define MESSAGE_SIZE_H 300
|
||||
#define MESSAGE_SIZE_V 100
|
||||
#define MESSAGE_SPACING_H 10
|
3
print/gtklp/pkg/DESCR
Normal file
3
print/gtklp/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
GtkLP is a graphical frontend for CUPS, the Common UNIX Printing System.
|
||||
It is used to have an easy (and graphical) access to all of the many
|
||||
options of cups-managed printers.
|
34
print/gtklp/pkg/PLIST
Normal file
34
print/gtklp/pkg/PLIST
Normal file
@ -0,0 +1,34 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/17 13:29:29 ajacoutot Exp $
|
||||
bin/gtklp
|
||||
bin/gtklpq
|
||||
@man man/man1/gtklp.1
|
||||
@man man/man1/gtklpq.1
|
||||
share/locale/ca/LC_MESSAGES/gtklp.mo
|
||||
share/locale/ca_ES/
|
||||
share/locale/ca_ES/LC_MESSAGES/
|
||||
share/locale/ca_ES/LC_MESSAGES/gtklp.mo
|
||||
share/locale/chs/
|
||||
share/locale/chs/LC_MESSAGES/
|
||||
share/locale/chs/LC_MESSAGES/gtklp.mo
|
||||
share/locale/cht/
|
||||
share/locale/cht/LC_MESSAGES/
|
||||
share/locale/cht/LC_MESSAGES/gtklp.mo
|
||||
share/locale/cz/
|
||||
share/locale/cz/LC_MESSAGES/
|
||||
share/locale/cz/LC_MESSAGES/gtklp.mo
|
||||
share/locale/de/LC_MESSAGES/gtklp.mo
|
||||
share/locale/en/LC_MESSAGES/gtklp.mo
|
||||
share/locale/es/LC_MESSAGES/gtklp.mo
|
||||
share/locale/fr/LC_MESSAGES/gtklp.mo
|
||||
share/locale/hu/LC_MESSAGES/gtklp.mo
|
||||
share/locale/it/LC_MESSAGES/gtklp.mo
|
||||
share/locale/ja/LC_MESSAGES/gtklp.mo
|
||||
share/locale/nl/LC_MESSAGES/gtklp.mo
|
||||
share/locale/pl/LC_MESSAGES/gtklp.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gtklp.mo
|
||||
share/locale/ru/LC_MESSAGES/gtklp.mo
|
||||
share/locale/uk_UA/
|
||||
share/locale/uk_UA/LC_MESSAGES/
|
||||
share/locale/uk_UA/LC_MESSAGES/gtklp.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/gtklp.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gtklp.mo
|
Loading…
Reference in New Issue
Block a user