[med-svn] [Git][med-team/cpp-progress-bar][master] 3 commits: Add libcpp-progress-bar-dev binary package to enable building vg against it

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Nov 5 06:49:32 GMT 2026



Andreas Tille pushed to branch master at Debian Med / cpp-progress-bar


Commits:
d853778d by Andreas Tille at 2026-11-05T07:30:32+01:00
Add libcpp-progress-bar-dev binary package to enable building vg against it

Ship progress_bar.hpp and a static libcpp_progress_bar.a so reverse
dependencies such as vg can build against the packaged code instead of
carrying their own copy of the source which is the whole point of
packaging this code.

- - - - -
1f3bb22c by Andreas Tille at 2026-11-05T07:37:09+01:00
Add debian/upstream/metadata

- - - - -
6e4742da by Andreas Tille at 2026-11-05T07:49:15+01:00
Upload to new

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/libcpp-progress-bar-dev.install
- debian/rules
- + debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+cpp-progress-bar (0.0~git20210121.487bb7c-2) unstable; urgency=medium
+
+  * Add libcpp-progress-bar-dev binary package to enable building vg against it
+  * Add debian/upstream/metadata
+
+ -- Andreas Tille <tille at debian.org>  Thu, 05 Nov 2026 07:32:26 +0100
+
 cpp-progress-bar (0.0~git20210121.487bb7c-1) unstable; urgency=medium
 
   * Initial release (Closes: #1151904)


=====================================
debian/control
=====================================
@@ -26,3 +26,17 @@ Description: C++ Progress Bar
   2. Ability to adjust the style of the progress bar.
   3. Length of the progress bar displayed on screen adapts to the width
      of the console.
+
+Package: libcpp-progress-bar-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+Description: C++ Progress Bar - development files
+ C++ class that implements a progress bar in console applications on both
+ Linux and Windows platforms. The progress bar works by referencing an
+ index that keeps updating when processing through a piece of code.
+ .
+ This package contains the header file and the static library needed to
+ build applications against cpp-progress-bar.


=====================================
debian/libcpp-progress-bar-dev.install
=====================================
@@ -0,0 +1,2 @@
+progress_bar.hpp	usr/include
+libcpp_progress_bar.a	usr/lib/${DEB_HOST_MULTIARCH}


=====================================
debian/rules
=====================================
@@ -1,8 +1,20 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildflags.mk
+
 # DH_VERBOSE := 1
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
 	dh $@
+
+override_dh_auto_build:
+	dh_auto_build
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -fPIC -c -o progress_bar.o progress_bar.cpp
+	$(AR) rcs libcpp_progress_bar.a progress_bar.o
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f progress_bar.o libcpp_progress_bar.a


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://github.com/vgteam/cpp_progress_bar/issues
+Repository-Browse: https://github.com/vgteam/cpp_progress_bar



View it on GitLab: https://salsa.debian.org/med-team/cpp-progress-bar/-/compare/2d758d3305ecd5345bc2a1ef9ac0de5298eae9a8...6e4742dad54ad767117111b366d6604e68118f11

-- 
View it on GitLab: https://salsa.debian.org/med-team/cpp-progress-bar/-/compare/2d758d3305ecd5345bc2a1ef9ac0de5298eae9a8...6e4742dad54ad767117111b366d6604e68118f11
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261105/368ee9c9/attachment-0001.htm>


More information about the debian-med-commit mailing list