From de371cf420958e5d82f66f629150daa15e33789a Mon Sep 17 00:00:00 2001 From: giresun28 Date: Sat, 12 Nov 2016 00:36:48 +0200 Subject: [PATCH 1/3] =?UTF-8?q?libreoffice.g=C3=BCncelendi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talimatname/genel/libreoffice/talimat | 47 +++++++++++++-------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/talimatname/genel/libreoffice/talimat b/talimatname/genel/libreoffice/talimat index 0d1dc589a..3f8f1b2ad 100644 --- a/talimatname/genel/libreoffice/talimat +++ b/talimatname/genel/libreoffice/talimat @@ -3,51 +3,50 @@ # Packagers: alihan-ozturk28@hotmail.com # Depends on: tar apache-ant junit openldap python3 cups curl libatomic-ops gtk2 gtk3 perl-archive-zip perl-xml-parser boost expat gstreamer-plugins-base gstreamer1-plugins-base libgsf librsvg libxml2 libxslt neon nss poppler postgresql redland icu hunspell gsfonts dejavu-ttf p7zip graphite2 npapi-sdk clucene serf unixodbc +PKGMK_IGNORE_UNPACK="yes" + name=libreoffice -version=5.2.0.4 +version=5.2.3.3 release=1 -source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz - http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz - http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz - http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz) +source=(http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-$version.tar.xz) build() { - unset ACLOCAL - export LO_PREFIX=/usr + unset ACLOCAL + export LO_PREFIX=/usr - #cd $SRC - #tar -xf $name-$version.tar.xz --no-overwrite-dir + tar -xf ../../../sources/libreoffice-5.2.3.3.tar.xz --no-overwrite-dir cd $name-$version install -dm755 external/tarballs - ln -sv $SRC/$name-dictionaries-$version.tar.xz external/tarballs/ - ln -sv $SRC/$name-help-$version.tar.xz external/tarballs/ - ln -sv $SRC/$name-translations-$version.tar.xz external/tarballs/ + cd external/tarballs/ + wget http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-dictionaries-$version.tar.xz + wget http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-help-$version.tar.xz + wget http://download.documentfoundation.org/libreoffice/src/${version%.*}/$name-translations-$version.tar.xz + cd ../../ + sed -e "/gzip -f/d" \ + -e "s|.1.gz|.1|g" \ + -i bin/distro-install-desktop-integration - sed -e "/gzip -f/d" \ - -e "s|.1.gz|.1|g" \ - -i bin/distro-install-desktop-integration - - sed -e "/distro-install-file-lists/d" -i Makefile.in + sed -e "/distro-install-file-lists/d" -i Makefile.in sed -e "/ustrbuf/a #include " \ - -i svl/source/misc/gridprinter.cxx + -i svl/source/misc/gridprinter.cxx sed -i "s#isnan#std::&#g" xmloff/source/draw/ximp3dscene.cxx - # i686 build broken - [ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlimport/d' sw/Module_sw.mk - [ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlexport7/d' sw/Module_sw.mk + # i686 build broken + [ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlimport/d' sw/Module_sw.mk + [ "$PKGMK_ARCH" = "i686" ] && sed -i '/CppunitTest_sw_ooxmlexport7/d' sw/Module_sw.mk - chmod -v +x bin/unpack-sources + chmod -v +x bin/unpack-sources ./autogen.sh --prefix=$LO_PREFIX \ --sysconfdir=/etc \ --with-vendor="Milis" \ - --with-lang="es tr ar ru" \ + --with-lang="es tr ar ru en-GB fr" \ --with-help \ --with-myspell-dicts \ --with-alloc=system \ @@ -86,7 +85,7 @@ build() { --with-ant-home=/opt/ant \ --with-parallelism=$(getconf _NPROCESSORS_ONLN) - make build + make build-nocheck make DESTDIR=$PKG distro-pack-install install -v -m755 -d $PKG/$LO_PREFIX/share/appdata From 776eda5f7c5350bf35178d9b1be7bda94f6af308 Mon Sep 17 00:00:00 2001 From: giresun28 Date: Sun, 13 Nov 2016 02:08:33 +0200 Subject: [PATCH 2/3] hplip-ve-gerekliler.paketlendi --- talimatname/genel/foomatic-db/talimat | 8 +-- ...-ppd.h-in-various-places-as-CUPS-2.2.patch | 50 +++++++++++++++++++ talimatname/genel/hplip/fix_tabs.patch | 17 +++++++ talimatname/genel/hplip/talimat | 28 +++++------ talimatname/genel/net-snmp/talimat | 13 ++--- talimatname/genel/perl-devel-leak/talimat | 31 ++++++++++++ talimatname/genel/perl-test-pod/talimat | 15 ++---- talimatname/genel/perl-tk/talimat | 17 +++++++ talimatname/genel/python-gtk/talimat | 1 - talimatname/genel/python-notify/talimat | 1 - talimatname/genel/python-opengl/talimat | 15 ++++++ talimatname/genel/python-pillow/talimat | 22 +++++--- talimatname/genel/python-qt5/talimat | 25 ++++++++++ talimatname/genel/python-reportlab/talimat | 8 +-- talimatname/genel/{sip => python-sip}/talimat | 10 ++-- talimatname/genel/python-xml/talimat | 5 +- talimatname/genel/python3-cairo/talimat | 5 +- talimatname/genel/python3-gobject/talimat | 21 ++++++++ talimatname/genel/python3-opengl/talimat | 15 ++++++ talimatname/genel/python3-pillow/talimat | 32 ++++++++++++ talimatname/genel/python3-qt5/talimat | 25 ++++++++++ talimatname/genel/python3-reportlab/talimat | 17 +++++++ talimatname/genel/python3-sip/talimat | 22 ++++++++ talimatname/genel/python3-xml/talimat | 19 +++++++ talimatname/genel/sane/talimat | 3 ++ talimatname/genel/xsane/talimat | 6 +-- 26 files changed, 368 insertions(+), 63 deletions(-) create mode 100644 talimatname/genel/hplip/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch create mode 100644 talimatname/genel/hplip/fix_tabs.patch create mode 100644 talimatname/genel/perl-devel-leak/talimat create mode 100644 talimatname/genel/perl-tk/talimat create mode 100644 talimatname/genel/python-opengl/talimat create mode 100644 talimatname/genel/python-qt5/talimat rename talimatname/genel/{sip => python-sip}/talimat (79%) create mode 100644 talimatname/genel/python3-gobject/talimat create mode 100644 talimatname/genel/python3-opengl/talimat create mode 100644 talimatname/genel/python3-pillow/talimat create mode 100644 talimatname/genel/python3-qt5/talimat create mode 100644 talimatname/genel/python3-reportlab/talimat create mode 100644 talimatname/genel/python3-sip/talimat create mode 100644 talimatname/genel/python3-xml/talimat diff --git a/talimatname/genel/foomatic-db/talimat b/talimatname/genel/foomatic-db/talimat index 60174fe26..211f3fd7a 100644 --- a/talimatname/genel/foomatic-db/talimat +++ b/talimatname/genel/foomatic-db/talimat @@ -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 -# Depends on: libxml2 +# 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() { diff --git a/talimatname/genel/hplip/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch b/talimatname/genel/hplip/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch new file mode 100644 index 000000000..491c3072b --- /dev/null +++ b/talimatname/genel/hplip/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch @@ -0,0 +1,50 @@ +From b3a7fa4d4a573cfe0073ae50197f679af7e3a0ac Mon Sep 17 00:00:00 2001 +From: Till Kamppeter +Date: Sat, 24 Sep 2016 10:37:20 +0200 +Subject: Add 'include ' 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 ++ + #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 + #include + #include ++#include + #include + #include + #ifdef FALSE diff --git a/talimatname/genel/hplip/fix_tabs.patch b/talimatname/genel/hplip/fix_tabs.patch new file mode 100644 index 000000000..1552933df --- /dev/null +++ b/talimatname/genel/hplip/fix_tabs.patch @@ -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)) + diff --git a/talimatname/genel/hplip/talimat b/talimatname/genel/hplip/talimat index b106cb10f..db417f461 100644 --- a/talimatname/genel/hplip/talimat +++ b/talimatname/genel/hplip/talimat @@ -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 \ @@ -44,14 +47,9 @@ build() { --enable-scan-build \ --enable-fax-build \ --enable-network-build - make -# make DESTDIR=$PKG install - + make 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 diff --git a/talimatname/genel/net-snmp/talimat b/talimatname/genel/net-snmp/talimat index bda5ee360..f4f3a4893 100644 --- a/talimatname/genel/net-snmp/talimat +++ b/talimatname/genel/net-snmp/talimat @@ -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}) diff --git a/talimatname/genel/perl-devel-leak/talimat b/talimatname/genel/perl-devel-leak/talimat new file mode 100644 index 000000000..10e75b70b --- /dev/null +++ b/talimatname/genel/perl-devel-leak/talimat @@ -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) diff --git a/talimatname/genel/perl-test-pod/talimat b/talimatname/genel/perl-test-pod/talimat index f14bbf190..d2f4e19cd 100644 --- a/talimatname/genel/perl-test-pod/talimat +++ b/talimatname/genel/perl-test-pod/talimat @@ -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) diff --git a/talimatname/genel/perl-tk/talimat b/talimatname/genel/perl-tk/talimat new file mode 100644 index 000000000..18e9008b2 --- /dev/null +++ b/talimatname/genel/perl-tk/talimat @@ -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 +} diff --git a/talimatname/genel/python-gtk/talimat b/talimatname/genel/python-gtk/talimat index 4e0a006ee..da20bd510 100644 --- a/talimatname/genel/python-gtk/talimat +++ b/talimatname/genel/python-gtk/talimat @@ -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 diff --git a/talimatname/genel/python-notify/talimat b/talimatname/genel/python-notify/talimat index b50e64151..68ff31e54 100644 --- a/talimatname/genel/python-notify/talimat +++ b/talimatname/genel/python-notify/talimat @@ -3,7 +3,6 @@ # Packager: milisarge # Depends on: libnotify python-gtk dbus-glib - name=python-notify version=0.1.1 release=1 diff --git a/talimatname/genel/python-opengl/talimat b/talimatname/genel/python-opengl/talimat new file mode 100644 index 000000000..d2f3b7b33 --- /dev/null +++ b/talimatname/genel/python-opengl/talimat @@ -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 +} diff --git a/talimatname/genel/python-pillow/talimat b/talimatname/genel/python-pillow/talimat index 6557893ee..c73ef4e31 100644 --- a/talimatname/genel/python-pillow/talimat +++ b/talimatname/genel/python-pillow/talimat @@ -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 diff --git a/talimatname/genel/python-qt5/talimat b/talimatname/genel/python-qt5/talimat new file mode 100644 index 000000000..e707087eb --- /dev/null +++ b/talimatname/genel/python-qt5/talimat @@ -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 +} diff --git a/talimatname/genel/python-reportlab/talimat b/talimatname/genel/python-reportlab/talimat index cfec2c48d..058d0b5e8 100644 --- a/talimatname/genel/python-reportlab/talimat +++ b/talimatname/genel/python-reportlab/talimat @@ -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 } diff --git a/talimatname/genel/sip/talimat b/talimatname/genel/python-sip/talimat similarity index 79% rename from talimatname/genel/sip/talimat rename to talimatname/genel/python-sip/talimat index 1c4a5d6a7..eaae975a7 100644 --- a/talimatname/genel/sip/talimat +++ b/talimatname/genel/python-sip/talimat @@ -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 diff --git a/talimatname/genel/python-xml/talimat b/talimatname/genel/python-xml/talimat index 55e1501d3..740447a94 100644 --- a/talimatname/genel/python-xml/talimat +++ b/talimatname/genel/python-xml/talimat @@ -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) diff --git a/talimatname/genel/python3-cairo/talimat b/talimatname/genel/python3-cairo/talimat index 250c722cb..e237ee39b 100644 --- a/talimatname/genel/python3-cairo/talimat +++ b/talimatname/genel/python3-cairo/talimat @@ -1,7 +1,8 @@ # Description: connector Python3 for the library cairo # URL: http://www.cairographics.org/ -# Packager: pierre at nutyx dot org -# Depends on: python3 cairo +# Packager:alihan-ozturk28@hotmail.com +# Depends on: python3 cairo + name=python3-cairo version=1.10.0 release=1 diff --git a/talimatname/genel/python3-gobject/talimat b/talimatname/genel/python3-gobject/talimat new file mode 100644 index 000000000..0ecf95cc6 --- /dev/null +++ b/talimatname/genel/python3-gobject/talimat @@ -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 +} diff --git a/talimatname/genel/python3-opengl/talimat b/talimatname/genel/python3-opengl/talimat new file mode 100644 index 000000000..33f0471f9 --- /dev/null +++ b/talimatname/genel/python3-opengl/talimat @@ -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 +} diff --git a/talimatname/genel/python3-pillow/talimat b/talimatname/genel/python3-pillow/talimat new file mode 100644 index 000000000..39702da55 --- /dev/null +++ b/talimatname/genel/python3-pillow/talimat @@ -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 +} diff --git a/talimatname/genel/python3-qt5/talimat b/talimatname/genel/python3-qt5/talimat new file mode 100644 index 000000000..463e51a78 --- /dev/null +++ b/talimatname/genel/python3-qt5/talimat @@ -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 +} diff --git a/talimatname/genel/python3-reportlab/talimat b/talimatname/genel/python3-reportlab/talimat new file mode 100644 index 000000000..ff3f7fc8a --- /dev/null +++ b/talimatname/genel/python3-reportlab/talimat @@ -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 +} diff --git a/talimatname/genel/python3-sip/talimat b/talimatname/genel/python3-sip/talimat new file mode 100644 index 000000000..e5b188a2e --- /dev/null +++ b/talimatname/genel/python3-sip/talimat @@ -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 +} + diff --git a/talimatname/genel/python3-xml/talimat b/talimatname/genel/python3-xml/talimat new file mode 100644 index 000000000..ba9067e3d --- /dev/null +++ b/talimatname/genel/python3-xml/talimat @@ -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 + +} + + diff --git a/talimatname/genel/sane/talimat b/talimatname/genel/sane/talimat index 353b3569e..83b0e5a31 100644 --- a/talimatname/genel/sane/talimat +++ b/talimatname/genel/sane/talimat @@ -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 diff --git a/talimatname/genel/xsane/talimat b/talimatname/genel/xsane/talimat index 7171af651..c9fac6e71 100644 --- a/talimatname/genel/xsane/talimat +++ b/talimatname/genel/xsane/talimat @@ -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 From 73198d9a1dca89828f0acf13c56dd48679e5303d Mon Sep 17 00:00:00 2001 From: giresun28 Date: Sun, 13 Nov 2016 02:09:03 +0200 Subject: [PATCH 3/3] hplip-ve-gerekliler.paketlendi --- talimatname/genel/python3-xml/talimat | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 talimatname/genel/python3-xml/talimat diff --git a/talimatname/genel/python3-xml/talimat b/talimatname/genel/python3-xml/talimat deleted file mode 100644 index ba9067e3d..000000000 --- a/talimatname/genel/python3-xml/talimat +++ /dev/null @@ -1,19 +0,0 @@ -# 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 - -} - -