hplip-ve-gerekliler.paketlendi
This commit is contained in:
parent
de371cf420
commit
776eda5f7c
|
@ -1,12 +1,12 @@
|
|||
# Description: The collected knowledge about printers, drivers, and driver options in XML files
|
||||
# URL: http://www.linuxprinting.org/foomatic.html
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: libxml2
|
||||
|
||||
name=foomatic-db
|
||||
version=4.0.20150819
|
||||
version=4.0.20161112
|
||||
release=1
|
||||
_version=4.0-20150819
|
||||
_version=4.0-20161112
|
||||
source=(http://www.openprinting.org/download/foomatic/foomatic-db-${_version}.tar.gz)
|
||||
|
||||
build() {
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
From b3a7fa4d4a573cfe0073ae50197f679af7e3a0ac Mon Sep 17 00:00:00 2001
|
||||
From: Till Kamppeter <till.kamppeter@canonical.com>
|
||||
Date: Sat, 24 Sep 2016 10:37:20 +0200
|
||||
Subject: Add 'include <cups/ppd.h>' in various places as CUPS 2.2 moved some
|
||||
definitions to ppd.h
|
||||
|
||||
---
|
||||
configure.in | 2 +-
|
||||
prnt/hpcups/HPCupsFilter.h | 2 ++
|
||||
prnt/hpijs/hpcupsfax.cpp | 1 +
|
||||
3 files changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index d3a1ddb..eabe14a 100755
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -554,7 +554,7 @@ fi
|
||||
|
||||
if test "$hpijs_only_build" = "no" && test "$hpcups_only_build" = "no"; then
|
||||
AC_CHECK_LIB([cups], [cupsDoFileRequest], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libcups support], 9)])
|
||||
- AC_CHECK_HEADERS(cups/cups.h, ,[AC_MSG_ERROR([cannot find cups-devel support], 3)])
|
||||
+ AC_CHECK_HEADERS(cups/cups.h cups/ppd.h, ,[AC_MSG_ERROR([cannot find cups-devel support], 3)])
|
||||
if test "$libusb01_build" = "yes"; then
|
||||
AC_CHECK_LIB([usb], [usb_init], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find libusb support], 2)])
|
||||
AC_CHECK_HEADERS(usb.h, ,[AC_MSG_ERROR([cannot find libusb-devel support], 11)])
|
||||
diff --git a/prnt/hpcups/HPCupsFilter.h b/prnt/hpcups/HPCupsFilter.h
|
||||
index ff5548e..c517989 100644
|
||||
--- a/prnt/hpcups/HPCupsFilter.h
|
||||
+++ b/prnt/hpcups/HPCupsFilter.h
|
||||
@@ -38,6 +38,8 @@
|
||||
|
||||
#include "dbuscomm.h"
|
||||
|
||||
+#include <cups/ppd.h>
|
||||
+
|
||||
#define DBITMAPFILEHEADER 14
|
||||
#define DBITMAPINFOHEADER 40
|
||||
|
||||
diff --git a/prnt/hpijs/hpcupsfax.cpp b/prnt/hpijs/hpcupsfax.cpp
|
||||
index 8514775..994e50f 100644
|
||||
--- a/prnt/hpijs/hpcupsfax.cpp
|
||||
+++ b/prnt/hpijs/hpcupsfax.cpp
|
||||
@@ -43,6 +43,7 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <math.h>
|
||||
#include <cups/cups.h>
|
||||
+#include <cups/ppd.h>
|
||||
#include <cups/raster.h>
|
||||
#include <string>
|
||||
#ifdef FALSE
|
|
@ -0,0 +1,17 @@
|
|||
--- prnt/filters/hpps 2016-08-26 12:04:29.000000000 +0200
|
||||
+++ prnt/filters/hpps.new 2016-08-31 21:19:57.868640372 +0200
|
||||
@@ -191,11 +191,11 @@
|
||||
msg("Setting Pin to default")
|
||||
else:
|
||||
szKeyInitials = ['HPFIDigit', 'HPSEDigit', 'HPTHDigit', 'HPFTDigit']
|
||||
- for x in szKeyInitials:
|
||||
+ for x in szKeyInitials:
|
||||
try:
|
||||
- secpin += opts[x]
|
||||
+ secpin += opts[x]
|
||||
except KeyError:
|
||||
- secpin += '0'
|
||||
+ secpin += '0'
|
||||
|
||||
os.write(output_fd, to_bytes_utf8('@PJL SET HOLDKEY="%s"\x0a' % secpin))
|
||||
|
|
@ -1,19 +1,21 @@
|
|||
# Description: Hewlett-Packard's Linux Imaging and Printing software (HPLIP).
|
||||
# Description: Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet
|
||||
# URL: http://hplipopensource.com/hplip-web/index.html
|
||||
# Packager: tnut at nutyx dot org
|
||||
# Depends on: sip avahi python ghostscript foomatic-db foomatic-db-engine usbutils sane cups cups-filters libusb-compat net-snmp dbus-python python-gobject2 python-notify python-pillow python-reportlab python-xml
|
||||
|
||||
run=(sip avahi python ghostscript foomatic-db foomatic-db-engine usbutils sane cups cups-filters libusb-compat net-snmp dbus-python python-gobject2 python-notify python-pillow python-reportlab python-xml)
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3-sip python3-qt5 avahi python3 wget ghostscript foomatic-db foomatic-db-engine usbutils sane xsane cups cups-filters rpcbind libusb libusb-compat net-snmp dbus-python python3-gobject python-notify python3-pillow python3-reportlab
|
||||
|
||||
name=hplip
|
||||
version=3.15.9
|
||||
release=2
|
||||
version=3.16.10
|
||||
release=1
|
||||
|
||||
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
|
||||
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz
|
||||
0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
|
||||
fix_tabs.patch)
|
||||
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -Np0 -i $SRC/fix_tabs.patch
|
||||
patch -Np1 -i $SRC/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
|
||||
|
||||
# Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
|
||||
# The hpcups driver does not use foomatic-rip
|
||||
|
@ -29,7 +31,8 @@ build() {
|
|||
autoreconf --force --install
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-qt4 \
|
||||
--enable-qt5 \
|
||||
--disable-qt4 \
|
||||
--disable-foomatic-rip-hplip-install \
|
||||
--enable-foomatic-ppd-install \
|
||||
--enable-hpcups-install \
|
||||
|
@ -45,13 +48,8 @@ build() {
|
|||
--enable-fax-build \
|
||||
--enable-network-build
|
||||
make
|
||||
# make DESTDIR=$PKG install
|
||||
|
||||
make -j1 rulesdir=/usr/lib/udev/rules.d DESTDIR=$PKG install
|
||||
|
||||
# Sinon n'imprime pas
|
||||
rm -rf $PKG/etc/udev/rules.d
|
||||
|
||||
# hplip ne connait que lfs 6 ...
|
||||
mkdir -pv $PKG/etc
|
||||
echo "lfs 6" > $PKG/etc/issue
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
# Description: Widely used protocol for monitoring the health and welfare of network equipment.
|
||||
# URL:
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Depends on: python python-setuptools libnl openssl pciutils
|
||||
# Description: A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6.
|
||||
# URL: http://www.net-snmp.org/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python python-setuptools libnl openssl pciutils perl-term-readkey perl-tk perl
|
||||
|
||||
name=net-snmp
|
||||
version=5.7.2.1
|
||||
release=2
|
||||
version=5.7.3
|
||||
release=1
|
||||
|
||||
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz{,.asc})
|
||||
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
# Description: Utility for looking for perl objects that are not reclaimed.
|
||||
# URL: URL: http://search.cpan.org/dist/Devel-Symdump
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: perl
|
||||
|
||||
name=perl-devel-leak
|
||||
version=0.03
|
||||
release=1
|
||||
|
||||
source=( https://cpan.metacpan.org/authors/id/N/NI/NI-S/Devel-Leak-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
|
||||
PERL_AUTOINSTALL=--skipdeps \
|
||||
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
|
||||
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
|
||||
MODULEBUILDRC=/dev/null
|
||||
cd Devel-Leak-$version
|
||||
perl Makefile.PL
|
||||
make OPTIMIZE="$CFLAGS" || exit 1
|
||||
make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1
|
||||
|
||||
# Remove perllocal.pod and .packlist if present in the package
|
||||
for i in perllocal.pod .packlist; do
|
||||
find $PKG -name "$i" -exec rm -rf {} \;
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
||||
# NuTyX Pkgfile (http://nutyx.org)
|
|
@ -1,14 +1,13 @@
|
|||
# Description: Check for POD errors in files
|
||||
# URL: URL: http://search.cpan.org/dist/Test-Pod/
|
||||
# NuTyX package info file (http://nutyx.org)
|
||||
# Packager: # NuTyX package info file (http://nutyx.org)
|
||||
# Depends on:
|
||||
run=( perl )
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: perl
|
||||
|
||||
name=perl-test-pod
|
||||
version=1.48
|
||||
version=1.51
|
||||
release=1
|
||||
|
||||
source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-$version.tar.gz)
|
||||
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd Test-Pod-$version
|
||||
|
@ -21,7 +20,3 @@ build() {
|
|||
find $PKG -name "$i" -exec rm -rf {} \;
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
||||
# NuTyX Pkgfile (http://nutyx.org)
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Description: A graphical user interface toolkit for Perl.
|
||||
# URL: http://search.cpan.org/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: perl perl-devel-leak perl-test-pod xorg-server libpng libjpeg-turbo tk
|
||||
|
||||
name=perl-tk
|
||||
version=804.033
|
||||
release=1
|
||||
|
||||
source=( http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd Tk-$version
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
|
@ -2,7 +2,6 @@
|
|||
# URL: http://www.gnome.org/
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Depends on: python-gobject2 python-cairo libglade
|
||||
run=( python-gobject2 python-cairo )
|
||||
|
||||
name=python-gtk
|
||||
version=2.24.0
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
# Packager: milisarge
|
||||
# Depends on: libnotify python-gtk dbus-glib
|
||||
|
||||
|
||||
name=python-notify
|
||||
version=0.1.1
|
||||
release=1
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# Description: The cross platform Python binding to OpenGL and related APIs.
|
||||
# URL: URL: http://pyopengl.sourceforge.net/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python freeglut python-setuptools
|
||||
|
||||
name=python-opengl
|
||||
version=3.1.0
|
||||
release=1
|
||||
|
||||
source=( https://pypi.python.org/packages/source/P/PyOpenGL/PyOpenGL-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd PyOpenGL-$version
|
||||
python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||
}
|
|
@ -1,20 +1,26 @@
|
|||
# Description: Python Imaging Library (PIL) fork
|
||||
# URL: http://python-imaging.github.io/
|
||||
# Packager: alienus at nutyx dot org
|
||||
# Depends on: python python-setuptools lcms libwebp tk sane python-qt4
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python python-setuptools lcms libwebp tk sane openjpeg
|
||||
|
||||
name=python-pillow
|
||||
version=2.4.0
|
||||
release=2
|
||||
version=3.4.2
|
||||
_sanever=2.8.2
|
||||
_appname=Pillow
|
||||
release=1
|
||||
|
||||
source=(
|
||||
http://pypi.python.org/packages/source/P/Pillow/Pillow-$version.zip)
|
||||
source=(https://pypi.python.org/packages/46/4f/94f6165052774839b4a4af0c72071aa528d5dc8cb8bc6bb43e24a55c10cc/Pillow-$version.tar.gz
|
||||
https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $SRC
|
||||
sed -i "s|os.path.join|'../libImaging', &|" $SRC/Sane-$_sanever/setup.py
|
||||
cp -r $SRC/Sane-${_sanever} $SRC/${_appname}-$version/Sane
|
||||
|
||||
cd Pillow-$version
|
||||
python2 setup.py install --prefix=/usr --root=$PKG
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
cd Sane
|
||||
python2 setup.py install --prefix=/usr --root=$PKG
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
cd ../libImaging
|
||||
install -dm755 $PKG/usr/include/python2.7
|
||||
install -m644 -t $PKG/usr/include/python2.7 *.h
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
# Description: connector python for qt5
|
||||
# URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: dbus-python python-sip qt5 qt5-webkit python-opengl python
|
||||
|
||||
name=python-qt5
|
||||
version=5.7
|
||||
release=1
|
||||
|
||||
source=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$version/PyQt5_gpl-$version.tar.gz)
|
||||
build() {
|
||||
cd PyQt5_gpl-$version
|
||||
|
||||
python2 configure.py \
|
||||
-q /usr/bin/qmake-qt5 \
|
||||
--confirm-license \
|
||||
--no-sip-files \
|
||||
--qsci-api
|
||||
|
||||
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
|
||||
make
|
||||
make DESTDIR=$PKG INSTALL_ROOT=$PKG install
|
||||
|
||||
install -Dm644 PyQt5.api $PKG/usr/share/qt/qsci/api/python/PyQt5.api
|
||||
}
|
|
@ -1,10 +1,10 @@
|
|||
# Description: A proven industry-strength PDF generating solution
|
||||
# URL: http://www.reportlab.org/rl_toolkit.html
|
||||
# Packager: alienus at nutyx dot org
|
||||
# Depends on: python python-pillow
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python python-pillow freetype python-pip
|
||||
|
||||
name=python-reportlab
|
||||
version=3.1.8
|
||||
version=3.3.0
|
||||
release=1
|
||||
|
||||
source=(
|
||||
|
@ -12,6 +12,6 @@ https://pypi.python.org/packages/source/r/reportlab/reportlab-$version.tar.gz)
|
|||
|
||||
build() {
|
||||
cd reportlab-$version
|
||||
python2 setup.py install --prefix=/usr --root=$PKG
|
||||
python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||
python2 setup.py tests
|
||||
}
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# Description: A tool that makes it easy to create Python bindings for C and C++ libraries
|
||||
# URL: http://www.riverbankcomputing.co.uk/software/sip/intro
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python
|
||||
|
||||
name=sip
|
||||
version=4.16.3
|
||||
name=python-sip
|
||||
version=4.18.1
|
||||
release=1
|
||||
|
||||
source=(http://sourceforge.net/projects/pyqt/files/sip/sip-$version/sip-$version.tar.gz )
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
python configure.py -b /usr/bin \
|
||||
cd sip-$version
|
||||
python2 configure.py -b /usr/bin \
|
||||
-d /usr/lib/python2.7/site-packages \
|
||||
-e /usr/include/python2.7 \
|
||||
-v /usr/share/sip
|
|
@ -1,12 +1,11 @@
|
|||
# Description: library Python XML
|
||||
# URL: http://www.gnome.org/
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python
|
||||
run=( python )
|
||||
|
||||
name=python-xml
|
||||
version=0.8.4
|
||||
release=2
|
||||
release=1
|
||||
|
||||
source=(http://downloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz)
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
# Description: connector Python3 for the library cairo
|
||||
# URL: http://www.cairographics.org/
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Packager:alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3 cairo
|
||||
|
||||
name=python3-cairo
|
||||
version=1.10.0
|
||||
release=1
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# Description: provides the links of Python 2 for the class GObject of GLib.
|
||||
# URL: http://www.gnome.org/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3 python3-cairo gobject-introspection xorg-libxxf86vm libffi
|
||||
|
||||
name=python3-gobject
|
||||
version=3.18.2
|
||||
release=1
|
||||
|
||||
source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${version%.*}/pygobject-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd pygobject-$version
|
||||
mkdir python3
|
||||
pushd python3
|
||||
../configure --prefix=/usr \
|
||||
--with-python=/usr/bin/python3
|
||||
make
|
||||
popd
|
||||
make DESTDIR=$PKG -C python3 install
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
# Description: The cross platform Python binding to OpenGL and related APIs.
|
||||
# URL: URL: http://pyopengl.sourceforge.net/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3 freeglut python3-setuptools
|
||||
|
||||
name=python3-opengl
|
||||
version=3.1.0
|
||||
release=1
|
||||
|
||||
source=( https://pypi.python.org/packages/source/P/PyOpenGL/PyOpenGL-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd PyOpenGL-$version
|
||||
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
# Description: Python Imaging Library (PIL) fork
|
||||
# URL: http://python-imaging.github.io/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3 python3-setuptools lcms libwebp tk sane openjpeg
|
||||
|
||||
name=python3-pillow
|
||||
version=3.4.2
|
||||
_sanever=2.8.2
|
||||
_appname=Pillow
|
||||
release=1
|
||||
|
||||
source=(https://pypi.python.org/packages/46/4f/94f6165052774839b4a4af0c72071aa528d5dc8cb8bc6bb43e24a55c10cc/Pillow-$version.tar.gz
|
||||
https://github.com/python-pillow/Sane/archive/v$_sanever.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $SRC
|
||||
sed -i "s|os.path.join|'../libImaging', &|" $SRC/Sane-$_sanever/setup.py
|
||||
cp -r $SRC/Sane-${_sanever} $SRC/${_appname}-$version/Sane
|
||||
|
||||
cd Pillow-$version
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
cd Sane
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
cd ../libImaging
|
||||
install -dm755 $PKG/usr/include/python*
|
||||
install -m644 -t $PKG/usr/include/python* *.h
|
||||
# rename /bin/*.py to *
|
||||
cd $PKG/usr/bin
|
||||
for f in *.py; do
|
||||
mv $f "${f%.py}2"
|
||||
done
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
# Description: connector python for qt5
|
||||
# URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: dbus-python python3-sip qt5 qt5-webkit python3-opengl python3
|
||||
|
||||
name=python3-qt5
|
||||
version=5.7
|
||||
release=1
|
||||
|
||||
source=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$version/PyQt5_gpl-$version.tar.gz)
|
||||
build() {
|
||||
cd PyQt5_gpl-$version
|
||||
|
||||
python3 configure.py \
|
||||
-q /usr/bin/qmake-qt5 \
|
||||
--confirm-license \
|
||||
--no-sip-files \
|
||||
--qsci-api
|
||||
|
||||
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
|
||||
make
|
||||
make DESTDIR=$PKG INSTALL_ROOT=$PKG install
|
||||
|
||||
install -Dm644 PyQt5.api $PKG/usr/share/qt/qsci/api/python/PyQt5.api
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
# Description: A proven industry-strength PDF generating solution
|
||||
# URL: http://www.reportlab.org/rl_toolkit.html
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3 python3-pillow freetype python3-pip
|
||||
|
||||
name=python3-reportlab
|
||||
version=3.3.0
|
||||
release=1
|
||||
|
||||
source=(
|
||||
https://pypi.python.org/packages/source/r/reportlab/reportlab-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd reportlab-$version
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
python3 setup.py tests
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
# Description: A tool that makes it easy to create Python bindings for C and C++ libraries
|
||||
# URL: http://www.riverbankcomputing.co.uk/software/sip/intro
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3
|
||||
|
||||
name=python3-sip
|
||||
version=4.18.1
|
||||
release=1
|
||||
|
||||
source=(http://sourceforge.net/projects/pyqt/files/sip/sip-$version/sip-$version.tar.gz )
|
||||
|
||||
build() {
|
||||
cd sip-$version
|
||||
python3 configure.py -b /usr/bin \
|
||||
-d /usr/lib/python3.5/site-packages \
|
||||
-e /usr/include/python3.5* \
|
||||
-v /usr/share/sip
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
chmod 644 $PKG/usr/lib/python3.5/site-packages/sipdistutils.py
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# Description: library Python XML
|
||||
# URL: http://www.gnome.org/
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: python3
|
||||
|
||||
name=python3-xml
|
||||
version=0.8.4
|
||||
release=1
|
||||
|
||||
source=(http://downloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz)
|
||||
|
||||
build() {
|
||||
cd PyXML-$version
|
||||
python3 setup.py build
|
||||
python3 setup.py install --prefix=/usr --root=$PKG
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -17,6 +17,9 @@ build() {
|
|||
--sysconfdir=/etc \
|
||||
--with-docdir=/usr/share/doc/sane-backend-$version \
|
||||
--enable-libusb_1_0 \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--disable-locking \
|
||||
--with-group=scanner
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
# Description: Front end for SANE-1.0.24. It has additional features to improve the image quality and ease of use
|
||||
# URL: http://www.xsane.org/
|
||||
# Maintainer: Oliver dot Rauch at xsane dot org
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Depends on: gtk2 sane
|
||||
# Packager: alihan-ozturk28@hotmail.com
|
||||
# Depends on: gtk2 sane lcms gimp libjpeg-turbo
|
||||
|
||||
description="sane frontend with additional features to improve the image quality and ease of use"
|
||||
name=xsane
|
||||
version=0.999
|
||||
release=2
|
||||
|
|
Loading…
Reference in New Issue