From 68021155976a5918c6963f9c0e116a9e695d05c5 Mon Sep 17 00:00:00 2001 From: giresun28 Date: Sat, 23 Jul 2016 18:11:04 +0000 Subject: [PATCH 1/2] firefox.paketlendi --- .../genel/firefox/firefox-install-dir.patch | 12 -- talimatname/genel/firefox/talimat | 7 +- .../genel/libreoffice/libreoffice.kur-kos | 2 + talimatname/genel/libreoffice/talimat | 119 ++++++++++++++++++ 4 files changed, 122 insertions(+), 18 deletions(-) delete mode 100644 talimatname/genel/firefox/firefox-install-dir.patch create mode 100644 talimatname/genel/libreoffice/libreoffice.kur-kos create mode 100644 talimatname/genel/libreoffice/talimat diff --git a/talimatname/genel/firefox/firefox-install-dir.patch b/talimatname/genel/firefox/firefox-install-dir.patch deleted file mode 100644 index 51fe4ba0a..000000000 --- a/talimatname/genel/firefox/firefox-install-dir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up firefox-29.0/mozilla-release/config/baseconfig.mk.orig firefox-29.0/mozilla-release/config/baseconfig.mk ---- mozilla-release/config/baseconfig.mk.orig 2014-04-22 15:38:52.948165295 +0200 -+++ mozilla-release/config/baseconfig.mk 2014-04-22 15:42:20.387481673 +0200 -@@ -4,7 +4,7 @@ - # whether a normal build is happening or whether the check is running. - includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) - idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) --installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) -+installdir = $(libdir)/$(MOZ_APP_NAME) - sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION) - ifndef TOP_DIST - TOP_DIST = dist diff --git a/talimatname/genel/firefox/talimat b/talimatname/genel/firefox/talimat index f1cb2b78c..0781a6959 100644 --- a/talimatname/genel/firefox/talimat +++ b/talimatname/genel/firefox/talimat @@ -7,8 +7,7 @@ name=firefox version=47.0.1 release=1 -source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$version/source/firefox-$version.source.tar.xz - firefox-install-dir.patch) +source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$version/source/firefox-$version.source.tar.xz) build() { cd $SRC @@ -20,10 +19,6 @@ wget http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/$version/ done cd $name-$version -patch -Np1 -i ../firefox-install-dir.patch - -CPPFLAGS+=" -O2" -LDFLAGS+=" -Wl,-z,now" cat > mozconfig << "EOF" ac_add_options --enable-default-toolkit=cairo-gtk3 diff --git a/talimatname/genel/libreoffice/libreoffice.kur-kos b/talimatname/genel/libreoffice/libreoffice.kur-kos new file mode 100644 index 000000000..fc27cfd84 --- /dev/null +++ b/talimatname/genel/libreoffice/libreoffice.kur-kos @@ -0,0 +1,2 @@ +[ -f /usr/bin/xdg-desktop-menu ] && /usr/bin/xdg-desktop-menu forceupdate +[ -f /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database /usr/share/applications diff --git a/talimatname/genel/libreoffice/talimat b/talimatname/genel/libreoffice/talimat new file mode 100644 index 000000000..db7724c3d --- /dev/null +++ b/talimatname/genel/libreoffice/talimat @@ -0,0 +1,119 @@ +# Description: LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org. +# URL: http://www.libreoffice.org +# Packagers: alihan-ozturk28@hotmail.com +# Depends on: tar apache-ant,openldap,python3,cups,curl,libatomic-ops,gperf,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,hunspell,p7zip,neon,graphite2,npapi-sdk,clucene,serf,unixodbc + +name=libreoffice +version=5.2.0.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) + +build() { + unset ACLOCAL + export LO_PREFIX=/usr + + cd $SRC + tar -xf $name-$version.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/ + + + 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 "/ustrbuf/a #include " \ + -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 + + + chmod -v +x bin/unpack-sources + +./autogen.sh --prefix=$LO_PREFIX \ + --sysconfdir=/etc \ + --with-vendor="NuTyX" \ + --with-lang="es de fr it pt fi nb nl da sv tr" \ + --with-help \ + --with-myspell-dicts \ + --with-alloc=system \ + --without-java \ + --without-system-dicts \ + --disable-dconf \ + --disable-odk \ + --disable-firebird-sdbc \ + --enable-release-build=yes \ + --enable-python=system \ + --with-system-apr \ + --with-system-boost=yes \ + --with-system-clucene \ + --with-system-cairo \ + --with-system-curl \ + --with-system-expat \ + --with-system-graphite \ + --with-system-harfbuzz \ + --with-system-icu \ + --with-system-jpeg \ + --with-system-lcms2 \ + --with-system-libatomic_ops \ + --with-system-libpng \ + --with-system-libxml \ + --with-system-neon \ + --with-system-npapi-headers \ + --with-system-nss \ + --with-system-odbc \ + --with-system-openldap \ + --with-system-openssl \ + --with-system-poppler \ + --with-system-postgresql \ + --with-system-redland \ + --with-system-serf \ + --with-system-zlib \ + --with-parallelism=$(getconf _NPROCESSORS_ONLN) + + make build + make DESTDIR=$PKG distro-pack-install + + install -v -m755 -d $PKG/$LO_PREFIX/share/appdata + install -v -m644 sysui/desktop/appstream-appdata/*.xml $PKG/$LO_PREFIX/share/appdata + + # Installation des Dictionnaires + chown -cR 0:0 dictionaries/ + for lang in en fr_FR es de it_IT pt_PT no nl_NL sv_SE da_DK + do + mkdir -pv $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang + cp -R dictionaries/$lang/* $PKG/$LO_PREFIX/lib/libreoffice/share/extensions/dict-$lang + done + + # This symlink is necessary for the desktop menu entries + ln -sv -f $LO_PREFIX/lib/libreoffice/program/soffice \ + $PKG/usr/bin/libreoffice + + # Icones + for res in 16 32 48 128 256 + do + mkdir -p $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/{apps,mimetypes} + cp sysui/desktop/icons/hicolor/${res}x${res}/apps/*.png \ + $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/apps + cp sysui/desktop/icons/hicolor/${res}x${res}/mimetypes/*.png \ + $PKG/$LO_PREFIX/share/icons/hicolor/${res}x${res}/mimetypes + done + + # Nettoyage + rm -rf $PKG/gid* + rm -rf $PKG/usr/share/man +} From b143965ea152828790ba2995f0a1aaea0ec00603 Mon Sep 17 00:00:00 2001 From: giresun28 Date: Sat, 23 Jul 2016 18:39:57 +0000 Subject: [PATCH 2/2] libreoffice.paketlendi --- talimatname/genel/libreoffice/talimat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/talimatname/genel/libreoffice/talimat b/talimatname/genel/libreoffice/talimat index db7724c3d..780f33730 100644 --- a/talimatname/genel/libreoffice/talimat +++ b/talimatname/genel/libreoffice/talimat @@ -1,7 +1,7 @@ # Description: LibreOffice is a full-featured office suite. It is largely compatible with Microsoft Office and is descended from OpenOffice.org. # URL: http://www.libreoffice.org # Packagers: alihan-ozturk28@hotmail.com -# Depends on: tar apache-ant,openldap,python3,cups,curl,libatomic-ops,gperf,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,hunspell,p7zip,neon,graphite2,npapi-sdk,clucene,serf,unixodbc +# Depends on: tar openjdk apache-ant 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 name=libreoffice version=5.2.0.3 @@ -46,12 +46,12 @@ build() { ./autogen.sh --prefix=$LO_PREFIX \ --sysconfdir=/etc \ - --with-vendor="NuTyX" \ + --with-vendor="Milis" \ --with-lang="es de fr it pt fi nb nl da sv tr" \ --with-help \ --with-myspell-dicts \ --with-alloc=system \ - --without-java \ + --with-java \ --without-system-dicts \ --disable-dconf \ --disable-odk \