summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:29:20 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2024-05-21 01:29:20 +0200
commitb54b8f5b25403cf3b9623804b2491ec78a8b913e (patch)
tree8100b69a2fd1e37d1eb400a33c92ec3c984f208b /debian
parent0bbc18869720ad042b668742ca48e5cb8a37491a (diff)
downloadblogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.tar.gz
blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.tar.bz2
blogc-b54b8f5b25403cf3b9623804b2491ec78a8b913e.zip
build: replace autotools with cmake
this patch removes all the autoconf/automake/libtool build infrastructure and replaces it with cmake. notable default behavior changes: - man pages are not pre-built, and are not built by default, must be enabled with `-DBUILD_MANPAGES=ON`. removed features: - srpm packaging, to be reintroduced at some point. - deb packaging, now handled externally via rafaelmartins/deb.rgm.io more stuff must be missing, please report bugs!
Diffstat (limited to 'debian')
-rw-r--r--debian/blogc-git-receiver.install2
-rw-r--r--debian/blogc-make.install3
-rw-r--r--debian/blogc-runserver.install2
-rw-r--r--debian/blogc.install6
-rw-r--r--debian/changelog5
-rw-r--r--debian/control41
-rw-r--r--debian/copyright61
-rwxr-xr-xdebian/rules16
-rw-r--r--debian/source/format1
9 files changed, 0 insertions, 137 deletions
diff --git a/debian/blogc-git-receiver.install b/debian/blogc-git-receiver.install
deleted file mode 100644
index ede6da4..0000000
--- a/debian/blogc-git-receiver.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin/blogc-git-receiver
-usr/share/man/man1/blogc-git-receiver.1
diff --git a/debian/blogc-make.install b/debian/blogc-make.install
deleted file mode 100644
index 44c459a..0000000
--- a/debian/blogc-make.install
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/bin/blogc-make
-usr/share/man/man1/blogc-make.1
-usr/share/man/man5/blogcfile.5
diff --git a/debian/blogc-runserver.install b/debian/blogc-runserver.install
deleted file mode 100644
index debadc7..0000000
--- a/debian/blogc-runserver.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin/blogc-runserver
-usr/share/man/man1/blogc-runserver.1
diff --git a/debian/blogc.install b/debian/blogc.install
deleted file mode 100644
index edb9ae3..0000000
--- a/debian/blogc.install
+++ /dev/null
@@ -1,6 +0,0 @@
-usr/bin/blogc
-usr/share/man/man1/blogc.1
-usr/share/man/man7/blogc-pagination.7
-usr/share/man/man7/blogc-source.7
-usr/share/man/man7/blogc-template.7
-usr/share/man/man7/blogc-toctree.7
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index d9ed199..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
-blogc (0.20.1-1~0upstream) unstable; urgency=medium
-
- * Upstream Release
-
- -- Rafael G. Martins <rafael@rafaelmartins.eng.br> Sat, 02 Jan 2021 19:38:56 +0100
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 741da73..0000000
--- a/debian/control
+++ /dev/null
@@ -1,41 +0,0 @@
-Source: blogc
-Section: text
-Priority: optional
-Maintainer: Rafael G. Martins <rafael@rafaelmartins.eng.br>
-Build-Depends: debhelper-compat (= 12),
- git,
- libcmocka-dev,
- pkg-config
-Standards-Version: 4.5.1
-Homepage: https://blogc.rgm.io/
-Vcs-Browser: https://github.com/blogc/blogc
-Vcs-Git: https://github.com/blogc/blogc.git
-Rules-Requires-Root: no
-
-Package: blogc
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Blog compiler
- Main binary
-
-Package: blogc-git-receiver
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},
- git,
- make
-Description: Blog compiler
- Simple login shell/git hook to deploy blogc websites
-
-Package: blogc-make
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},
- blogc,
- blogc-runserver
-Description: Blog compiler
- Simple build tool for blogc
-
-Package: blogc-runserver
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Blog compiler
- Simple HTTP server to test blogc websites
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 2880381..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,61 +0,0 @@
-Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: blogc
-Upstream-Contact: Rafael G. Martins <rafael@rafaelmartins.eng.br>
-Source: https://github.com/blogc/blogc
-
-Files: *
-Copyright: 2014-2020, Rafael G. Martins <rafael@rafaelmartins.eng.br>
-License: BSD-3-Clause
-
-Files: debian/*
-Copyright: 2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
-License: BSD-3-Clause
-
-Files: src/common/utf8.c
-Copyright: 2008-2010 Bjoern Hoehrmann <bjoern@hoehrmann.de>
- 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
-License: MIT
-
-License: BSD-3-Clause
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. Neither the name of the University nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
- .
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-License: MIT
- Permission is hereby granted, free of charge, to any person obtaining a
- copy of this software and associated documentation files (the "Software"),
- to deal in the Software without restriction, including without limitation
- the rights to use, copy, modify, merge, publish, distribute, sublicense,
- and/or sell copies of the Software, and to permit persons to whom the
- Software is furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included
- in all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 6a1a185..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/make -f
-
-#export DH_VERBOSE = 1
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
-export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-%:
- dh $@
-
-override_dh_auto_configure:
- dh_auto_configure -- \
- --disable-ronn \
- --enable-git-receiver \
- --enable-make \
- --enable-runserver
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)