Skip to content

Commit a84b018

Browse files
Merge branch 'master' into issue#15
2 parents d2a3afb + dc42844 commit a84b018

File tree

7 files changed

+97
-6
lines changed

7 files changed

+97
-6
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
*~
2+
*/*~
13
*.o
24
*.pdf
35
.vscode/
@@ -9,6 +11,8 @@ aclocal.*
911
autom4te.cache/
1012
build-aux/
1113
configure
14+
config.guess
15+
config.sub
1216
config.log
1317
config.status
1418
Makefile

CHANGES.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b1 - 2022-12-12
2+
3+
## CHANGES IN V2.0b1 (12th December 2022)
4+
5+
- Added function to query for human readable names of options/choices
6+
7+
With the added functionality of cpdb-libs to poll human-readable
8+
names for options/attributes and their choices this commit adds a
9+
simple function to provide human-readable strings for the
10+
user-settable printer IPP attributes of CUPS queues.
11+
12+
- Added support for common CUPS/cups-filters options
13+
14+
Options like number-up, page-set, output-order, ... Available for
15+
all CUPS queues, not specific to particular printer.
16+
17+
- Added get_media_size() function
18+
19+
- Support for media sizes to have multiple margin variants (like
20+
standard and borderless)
21+
22+
- Do not send media-col attribute to frontend as user-settable option
23+
24+
- Adapted to renamed API functions and data types of cpdb-libs 2.x
25+
26+
- Updated signal names to match those emitted from CPDB frontend
27+
28+
- Made "make dist" generate a complete source tarball
29+
30+
- Fixed some potential crasher bugs following warnings about
31+
incompatible pointer types.
32+
33+
- Updated README.md
34+
35+
+ On update the old version of the backend needs to get killed
36+
+ Common Print Dialog -> Common Print Dialog Backends
37+
+ Requires cpdb-libs 2.0.0 or newer
38+
+ Updated instructions for running the backend.
39+
+ Added link to Gaurav Guleria's GSoC work, minor fixes
40+
+ Use third person.

COPYING

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: cpdb-backend-cups
3+
Upstream-Contact: OpenPrinting <[email protected]>
4+
Source: https://github.com/OpenPrinting/cpdb-backend-cups/releases
5+
6+
Files: *
7+
Copyright: 2017, Nilanjana Lodh
8+
2017-2022, Till Kamppeter
9+
2020, Priydarshi Singh
10+
2022, Gaurav Guleria
11+
License: MIT
12+
13+
License: MIT
14+
The MIT License
15+
.
16+
Permission is hereby granted, free of charge, to any person
17+
obtaining a copy of this software and associated
18+
documentation files (the "Software"), to deal in the Software
19+
without restriction, including without limitation the rights to
20+
use, copy, modify, merge, publish, distribute, sublicense,
21+
and/or sell copies of the Software, and to permit persons to
22+
whom the Software is furnished to do so, subject to the
23+
following conditions:
24+
.
25+
The above copyright notice and this permission notice shall
26+
be included in all copies or substantial portions of the
27+
Software.
28+
.
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
30+
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
31+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32+
MERCHANTABILITY, FITNESS FOR A PARTICULAR
33+
PURPOSE AND NONINFRINGEMENT. IN NO EVENT
34+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
35+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
37+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38+
CONNECTION WITH THE SOFTWARE OR THE USE OR
39+
OTHER DEALINGS IN THE SOFTWARE.

LICENSE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
MIT License
22

33
Copyright (c) 2017 Nilanjana Lodh
4+
Copyright (c) 2017-2022 Till Kamppeter
5+
Copyright (c) 2020 Priydarshi Singh
6+
Copyright (c) 2022 Gaurav Guleria
47

58
Permission is hereby granted, free of charge, to any person obtaining a copy
69
of this software and associated documentation files (the "Software"), to deal

Makefile.am

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@ AUTOMAKE_OPTIONS = foreign
22
SUBDIRS = src data
33

44
EXTRA_DIST = \
5+
README.md \
56
autogen.sh \
6-
LICENSE.md
7+
LICENSE.md \
8+
COPYING \
9+
CHANGES.md

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ The [Common Print Dialog Backends](https://openprinting.github.io/achievements/#
1111
- [cpdb-libs](https://github.com/OpenPrinting/cpdb-libs): Version >= 2.0.0 (or GIT Master)
1212

1313
- [CUPS](https://github.com/OpenPrinting/cups): Version >= 2.2
14-
`sudo apt install cups libcups2-dev`
14+
`sudo apt install cups libcups2-dev`
1515

1616
- GLIB 2.0:
17-
`sudo apt install libglib2.0-dev`
17+
`sudo apt install libglib2.0-dev`
1818

1919
## Build and installation
2020

@@ -39,8 +39,10 @@ The current source code you find on the [OpenPrinting GitHub](https://github.com
3939

4040
The backend is auto-activated when a frontend (like a CPDB-supporting print dialog or the example frontend `demo/print_frontend` of cpdb-libs) is started, so there is no need to run it explicitly.
4141

42-
However, if you wish to see the debug statements in the backend code, you can run `/usr/local/lib/print-backends/cups
42+
However, if you wish to see the debug statements in the backend code, you can run `/usr/local/lib/print-backends/cups`
4343

4444
## More Info
4545

46-
[Nilanjana Lodh's Google Summer of Code 2017 Final Report](https://nilanjanalodh.github.io/common-print-dialog-gsoc17/)
46+
- [Nilanjana Lodh's Google Summer of Code 2017 Final Report](https://nilanjanalodh.github.io/common-print-dialog-gsoc17/)
47+
48+
- [Gaurav Guleria's Google Summer of Code 2022 Final Report](https://github.com/TinyTrebuchet/gsoc22/)

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.69])
5-
AC_INIT([cpdb-backend-cups], [2.0.0], [https://github.com/OpenPrinting/cpdb-backend-cups/issues/], [cpdb-backend-cups], [https://github.com/OpenPrinting/cpdb-backend-cups])
5+
AC_INIT([cpdb-backend-cups], [2.0b1], [https://github.com/OpenPrinting/cpdb-backend-cups/issues/], [cpdb-backend-cups], [https://github.com/OpenPrinting/cpdb-backend-cups])
66
AC_CONFIG_AUX_DIR([build-aux])
77
AC_CONFIG_SRCDIR([src/print_backend_cups.c])
88
AM_INIT_AUTOMAKE([-Wall foreign])

0 commit comments

Comments
 (0)