Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 903104 Details for
Bug 1105775
pdfbklt does not support A3
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Download, patch and install an rpm that support a3 too
patch (text/plain), 1.56 KB, created by
Marco Motta
on 2014-06-07 14:23:48 UTC
(
hide
)
Description:
Download, patch and install an rpm that support a3 too
Filename:
MIME Type:
Creator:
Marco Motta
Created:
2014-06-07 14:23:48 UTC
Size:
1.56 KB
patch
obsolete
>#!/bin/bash >cd ~; >mkdir -p pdf-tools-con-patch; >rm -rf ~/pdf-tools-con-patch/*; >cd pdf-tools-con-patch; >yumdownloader --source pdf-tools; >rpm2cpio perl-Text-PDF*.rpm | cpio -ivd; >VERSIONE=`grep "Version" perl-Text-PDF.spec | sed 's/Version://g' | sed 's/ //g'`; >rm perl-Text-PDF-$VERSIONE*.rpm; >mkdir -p ~/rpmbuild/SOURCES ~/rpmbuild/BUILD ~/rpmbuild/RPMS/noarch ~/rpmbuild/SPECS; >mv perl-Text-PDF.spec ~/rpmbuild/SPECS; >TAR=$(ls *.tar.gz); >tar -xzvf "$TAR"; >rm "$TAR"; >DIR=$(ls); >GREP=`grep "'a4' => '595;842'" "$DIR/scripts/pdfbklt"`; >if [ "$GREP" == "" ]; then > echo "Errore: impossibile applicare la patch. Premi INVIO per terminare."; > read; > exit 1; >fi; >GREP=`grep "'a3' => '842;1191'" "$DIR/scripts/pdfbklt"`; >if [ "$GREP" != "" ]; then > echo "Errore: patch già applicata. Premi INVIO per terminare."; > read; > exit 1; >fi; >sed -i "s/'a4' => '595;842'/'a3' => '842;1191',\n 'a3l' => '1191;842',\n 'a4' => '595;842',/g" "$DIR/scripts/pdfbklt"; >sed -i "s/A4,ltr,lgl,A5/A3,A4,ltr,lgl,A5/g" "$DIR/scripts/pdfbklt"; >sed -i 's/Version: $version/Version: $version patched by Marco Motta/g' "$DIR/scripts/pdfbklt"; >tar --remove-files -czvf "$TAR" "$DIR"; >mv * ~/rpmbuild/SOURCES; >cd ~/rpmbuild/RPMS/noarch; >rm -f pdf-tools*.rpm perl-Text-PDF*.rpm; >rpmbuild -v -bb --clean ~/rpmbuild/SPECS/perl-Text-PDF.spec; >if [ "$?" == "0" ]; then > echo "Digitare la password di root per rimuovere il pacchetto originale ed installare quello patchato"; > su -c 'yum remove "pdf-tools*"; rpm -iv pdf-tools*.rpm perl-Text-PDF*.rpm'; >fi; >rmdir ~/pdf-tools-con-patch; >echo "Premi INVIO per terminare"; >read;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1105775
: 903104 |
903105
|
910053