Your message dated Fri, 23 Feb 2018 12:12:44 +0000
with message-id <e1epcdu-0005kp...@fasolo.debian.org>
and subject line Bug#868498: fixed in xpdf 3.04-6
has caused the Debian Bug report #868498,
regarding xpdf: adding search command usable through xpdf's remote feature
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
868498: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868498
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xpdf
Version: 3.04-1ubuntu1
Severity: wishlist
Tags: patch

Hi,

I've added a new feature that can be used to execute a search in a document
through the remote interface that xpdf provides. This was useful to me and is
a feature I've always wanted to see in xpdf.

Best regards,
Stefan


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-72-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xpdf depends on:
ii  libc6         2.23-0ubuntu7
ii  libgcc1       1:6.0.1-0ubuntu1
ii  libpoppler58  0.41.0-0ubuntu1.2
ii  libstdc++6    5.4.0-6ubuntu1~16.04.4
ii  libx11-6      2:1.6.3-1ubuntu2
ii  libxm4        2.3.4-10
ii  libxt6        1:1.1.5-0ubuntu1

Versions of packages xpdf recommends:
ii  cups-bsd       2.1.3-4
ii  gsfonts-x11    0.24
ii  poppler-data   0.4.7-7
ii  poppler-utils  0.41.0-0ubuntu1.1

xpdf suggests no packages.

-- no debconf information
Index: xpdf/xpdf/XPDFViewer.cc
===================================================================
--- xpdf.orig/xpdf/XPDFViewer.cc
+++ xpdf/xpdf/XPDFViewer.cc
@@ -239,6 +239,7 @@ XPDFViewerCmd XPDFViewer::cmdTab[] = {
   { "scrollToTopLeft",         0, gTrue,  gFalse, &XPDFViewer::cmdScrollToTopLeft },
   { "scrollUp",                1, gTrue,  gFalse, &XPDFViewer::cmdScrollUp },
   { "scrollUpPrevPage",        1, gTrue,  gFalse, &XPDFViewer::cmdScrollUpPrevPage },
+  { "search",                  1, gTrue,  gFalse, &XPDFViewer::cmdSearch },
   { "setSelection",            5, gTrue,  gFalse, &XPDFViewer::cmdSetSelection },
   { "singlePageMode",          0, gFalse, gFalse, &XPDFViewer::cmdSinglePageMode },
   { "startPan",                0, gTrue,  gTrue,  &XPDFViewer::cmdStartPan },
@@ -3844,3 +3845,13 @@ XmFontList XPDFViewer::createFontList(ch
 
   return fontList;
 }
+
+void XPDFViewer::cmdSearch(GString *args[], int nArgs, XEvent *event) {
+  char *searchText = args[0]->getCString();
+  core->find(searchText,
+    gFalse,
+    gFalse,
+    gFalse,
+    gFalse,
+    gFalse);
+}
Index: xpdf/xpdf/XPDFViewer.h
===================================================================
--- xpdf.orig/xpdf/XPDFViewer.h
+++ xpdf/xpdf/XPDFViewer.h
@@ -158,6 +158,7 @@ private:
   void cmdScrollToTopLeft(GString *args[], int nArgs, XEvent *event);
   void cmdScrollUp(GString *args[], int nArgs, XEvent *event);
   void cmdScrollUpPrevPage(GString *args[], int nArgs, XEvent *event);
+  void cmdSearch(GString *args[], int nArgs,XEvent *event);
   void cmdSetSelection(GString *args[], int nArgs, XEvent *event);
   void cmdSinglePageMode(GString *args[], int nArgs, XEvent *event);
   void cmdStartPan(GString *args[], int nArgs, XEvent *event);

--- End Message ---
--- Begin Message ---
Source: xpdf
Source-Version: 3.04-6

We believe that the bug you reported is fixed in the latest version of
xpdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 868...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Schlichting <f...@debian.org> (supplier of updated xpdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 23 Feb 2018 12:42:58 +0100
Source: xpdf
Binary: xpdf
Architecture: source amd64
Version: 3.04-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Florian Schlichting <f...@debian.org>
Description:
 xpdf       - Portable Document Format (PDF) reader
Closes: 358962 389613 736444 757053 783623 850163 868498 883523 890842
Changes:
 xpdf (3.04-6) unstable; urgency=medium
 .
   * QA upload.
 .
   * Add fix-757053.patch to zoom with keypad +/- too (closes: #757053)
   * Add fix-868498.patch to add a search command usable through xpdf's remote
     feature (closes: #868498)
   * Initialize poppler GlobalParams with default paths (closes: #850163)
   * support all commandline arguments in wrapper (closes: #736444)
   * Add a few useful keybindings (closes: #783623, #389613, #358962)
   * Some formatting improvements in the manual by Bjarni Ingi Gislason
     (closes: 890842)
   * Hacks to compile with poppler 0.61 by Adrian Bunk (closes: #883523)
   * Declare compliance with Debian Policy 4.1.3
Checksums-Sha1:
 5452a8498af6982cc76cf06fd6052e6af81dfdc8 1892 xpdf_3.04-6.dsc
 05a0a55a1fc558be9c25753ab997b95287551270 46428 xpdf_3.04-6.debian.tar.xz
 634a161a09965a5d542c9365fc5df2caf1af2e39 378588 xpdf-dbgsym_3.04-6_amd64.deb
 e5625643fa9f01a4d6df9e318faf6c0fd1167007 7486 xpdf_3.04-6_amd64.buildinfo
 4a9d21d9e2cf24e8d7488f83830d789699f072e7 160984 xpdf_3.04-6_amd64.deb
Checksums-Sha256:
 4a816e12cd189a88ba31f62e8d1d114e305320af59b9421a23a8d3cb6fe766d3 1892 
xpdf_3.04-6.dsc
 286c3a58fee86ddcb013162cd9616dcdf4648aa608e69b0ebad6a7f8becd5e02 46428 
xpdf_3.04-6.debian.tar.xz
 d2d4458881bfae845468e7dc81fc01016d1eebe3bdcea4a46cab63040241b703 378588 
xpdf-dbgsym_3.04-6_amd64.deb
 fc3ec74fb5558b9240b84ae67ee6248cc27744e4e9c6a701c26ce476f3ae6ca8 7486 
xpdf_3.04-6_amd64.buildinfo
 74441d0a5df92a81fbe939cdde5562844155c5b6ead1a3bb31cbe6cd34abeddc 160984 
xpdf_3.04-6_amd64.deb
Files:
 254ea467763f989d39c89e288f4c7bdd 1892 text optional xpdf_3.04-6.dsc
 ad7b6b5be9ac57636fb8b6b11bdaed49 46428 text optional xpdf_3.04-6.debian.tar.xz
 48aa4677130997f6a18f64c8a638d0c1 378588 debug optional 
xpdf-dbgsym_3.04-6_amd64.deb
 bca3b306eca95bec64f050afe6afa216 7486 text optional xpdf_3.04-6_amd64.buildinfo
 302336c997744a0ba2032225c8eb6ede 160984 text optional xpdf_3.04-6_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEMLI8i05qOwnqprZSEpc7bnLcB7UFAlqQADcACgkQEpc7bnLc
B7V0qA//Qq21mHOQ610zENY+pHsZA4xIigo1h1Rd6DEgEoojeGkZ+fmyBZ6wiD2P
j5zeb++agHzGAPg+8nOQkLy6qZ/CfyygYGumustIvllLDs/r2L2OaL7Eop5JJO74
KdJr9YgeOhkk4EJfOuc0xJlUiwcN+GqH323HnsXjfn8pkgNWKkXkfCNbTtJtC+70
A8DGTeTQiTyNNWaX5pDX5RVJP1W8Onw1h5+azjgR0J2+z9Zc4uAulLWOomKQN5fI
O5EFpvtldR66Al6HzoeEGX0zZgBGxhRQHIf/feyNQq7LfI5GR9KABKlzABMockXJ
QIDuEhyA0GatbYMUl2Kraq8QJ7+KUvc39HsT890/ASwWnhfENACB+XcR2jBHWTIQ
XAOVy+P7IyeYvyddv9nV2cyYv8WQWlrtW9NuhuGnAorb1RyfB6dnqY25GHfW79k0
f77UJ1fi07Tehiw+tpGPzzelgFzGQ4h5E4VktArJLIJ+ATUhzrwLiS4ny5VVBmYF
kSTtXvZ4dr9GdhyDIJMaPwVzaUjfCCKinSb5TN+RMmZ5Q2vGNVxqET6Mq+G5iGJB
uBg761FGY/IlIcFB5IryJ6rgIVvEKZif5hsVmQPKPsEsjZBa4VrswiP8PiOi3901
n7xOz62iF7eGDk+90OPkQG+XJUjNh2agYX9GrOuLVV/koFc1qWk=
=QHBk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to