]> git.proxmox.com Git - libxdgmime-perl.git/log
libxdgmime-perl.git
10 months agobump version to 1.1.0 master
Thomas Lamprecht [Fri, 23 Jun 2023 14:21:16 +0000 (16:21 +0200)]
bump version to 1.1.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: avoid no-pre-clean flag when building DSC
Thomas Lamprecht [Fri, 23 Jun 2023 14:51:05 +0000 (16:51 +0200)]
buildsys: avoid no-pre-clean flag when building DSC

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: track and upload dbgsym package
Thomas Lamprecht [Fri, 23 Jun 2023 14:50:44 +0000 (16:50 +0200)]
buildsys: track and upload dbgsym package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: expand clean target
Thomas Lamprecht [Fri, 23 Jun 2023 14:12:20 +0000 (16:12 +0200)]
buildsys: expand clean target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: make build-dir generation atomic
Thomas Lamprecht [Fri, 23 Jun 2023 14:12:13 +0000 (16:12 +0200)]
buildsys: make build-dir generation atomic

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agod/copyright: move to machine readable & clarify packaging is GPL-2+
Thomas Lamprecht [Fri, 23 Jun 2023 14:09:19 +0000 (16:09 +0200)]
d/copyright: move to machine readable & clarify packaging is GPL-2+

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: use full DEB_VERSION and correct DEB_HOST_ARCH
Thomas Lamprecht [Fri, 23 Jun 2023 14:08:09 +0000 (16:08 +0200)]
buildsys: use full DEB_VERSION and correct DEB_HOST_ARCH

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: only run lintian for phony dsc target
Stoiko Ivanov [Fri, 16 Jun 2023 15:35:24 +0000 (17:35 +0200)]
buildsys: only run lintian for phony dsc target

to prevent running twice for `sbuild` convenience target
inspired by 68a0d9585edf989a0f6aa6698f038dba1dc5da8c
in pve-firewall (and similar commits in other repositories)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
10 months agoupdate bindings
Stoiko Ivanov [Wed, 24 May 2023 11:37:07 +0000 (13:37 +0200)]
update bindings

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
10 months agobuildsys: use simple parenthesis for variables
Stoiko Ivanov [Fri, 26 May 2023 16:48:02 +0000 (18:48 +0200)]
buildsys: use simple parenthesis for variables

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
11 months agoMerge commit '73d5a30a1d93eb79761f2472c685afb8e42a8646' from upstream
Stoiko Ivanov [Wed, 24 May 2023 11:06:12 +0000 (13:06 +0200)]
Merge commit '73d5a30a1d93eb79761f2472c685afb8e42a8646' from upstream

git-subtree-dir: xdgmime-source
git-subtree-origin: https://gitlab.freedesktop.org/xdg/xdgmime.git

11 months agoSquashed 'xdgmime-source/' changes from 28b70c4..3e7ee2d
Stoiko Ivanov [Wed, 24 May 2023 11:06:12 +0000 (13:06 +0200)]
Squashed 'xdgmime-source/' changes from 28b70c4..3e7ee2d

3e7ee2d Add SPDX-License-Identifier tags in source files
d385402 src/: LGPLv2+ -> LGPLv2.1+
0122cb5 xdgmime: Finer handling for cases where mmap() is not available
c501188 xdgmime: Prevent infinite loops from badly-formed MIME registrations
462198f xdgmime: Add xdg_mime_set_dirs() method to override XDG envvars
1414820 Add missing S_ISREG definitions for VS2022
ecbc52c xdgmimemagic: Add an assertion to clarify state after hitting an error
95e3187 test-mime-data: output errors to stderr
fe2f298 ci: Test meson build
ade1de1 build: Add meson support
0722d76 ci: Fix shared-mime-info test not exercising our build
92f6a09 xdgmimemagic: Fix unused variable warning when !LITTLE_ENDIAN
50a624b Fix segfaults due to strict ISO C99 mode enforcement
7cc63be Makefile: Add support for POSIX make
d64963b test-mime-data: fail when an error occurs
1c521ab add OOM handling in mimemagic
1318486 Silence an uninitialize variable warning
3ae3ed6 xdgmime: Call xdg_mime_init() before xdg_mime_list_mime_parents()

git-subtree-dir: xdgmime-source
git-subtree-split: 3e7ee2dc8edde524858ad9a109dabe26980cf2e5

11 months agod/control: raise standards version compliance to 4.6.2
Stoiko Ivanov [Wed, 24 May 2023 10:10:55 +0000 (12:10 +0200)]
d/control: raise standards version compliance to 4.6.2

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
11 months agod/control: define compat level via build-depends and raise to 13
Stoiko Ivanov [Wed, 24 May 2023 10:10:13 +0000 (12:10 +0200)]
d/control: define compat level via build-depends and raise to 13

taken from pve-common commit:
e9c2136cad80570eb3113f59893d6f3a770ab8f6

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
11 months agobuildsys: derive upload dist automatically
Stoiko Ivanov [Wed, 24 May 2023 10:08:54 +0000 (12:08 +0200)]
buildsys: derive upload dist automatically

taken from pve-common commit:
0bc017209886ee52a5418bcb7921324836cc869b

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
11 months agobuildsys: add dsc and sbuild targets
Stoiko Ivanov [Wed, 24 May 2023 10:08:05 +0000 (12:08 +0200)]
buildsys: add dsc and sbuild targets

adapt variable definitions and clean target fittingly

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
11 months agod/s/format: mark package as native
Stoiko Ivanov [Wed, 24 May 2023 10:06:40 +0000 (12:06 +0200)]
d/s/format: mark package as native

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobump to version 1.0-1
Stoiko Ivanov [Fri, 11 Jun 2021 11:18:03 +0000 (11:18 +0000)]
bump to version 1.0-1

2 years agod/control: update Standards-Version to 4.5.1
Stoiko Ivanov [Fri, 11 Jun 2021 06:38:44 +0000 (08:38 +0200)]
d/control: update Standards-Version to 4.5.1

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agod/control: add versioned dependency on perl 5.32
Stoiko Ivanov [Fri, 11 Jun 2021 11:58:00 +0000 (11:58 +0000)]
d/control: add versioned dependency on perl 5.32

h2xs adds a use clause on the current perl version, so building fails
with older perl

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoadd update instructions to README
Stoiko Ivanov [Sat, 5 Jun 2021 15:54:17 +0000 (15:54 +0000)]
add update instructions to README

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobuildsys: add update-bindings target
Stoiko Ivanov [Mon, 7 Jun 2021 16:57:17 +0000 (16:57 +0000)]
buildsys: add update-bindings target

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoupdate bindings
Stoiko Ivanov [Sat, 5 Jun 2021 16:02:35 +0000 (16:02 +0000)]
update bindings

by running
`h2xs -P -v 1.0 -F -DHAVE_MMAP -M '^XDG_' -Ofan Xdgmime xdgmime.h`

and selectively adding changes.

upstream xdgmime.h contains all functions also as defines
(preprocessor mangling to add XDG_PREFIX to the function name) - thus
all functions would also be added as constants, which leads to errors
in the automatically generated tests. The functions need to be in
EXPORT_OK, but not added to @names in Makefile.PL.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobuildsys: reorganize Makefile
Stoiko Ivanov [Wed, 2 Jun 2021 16:49:54 +0000 (16:49 +0000)]
buildsys: reorganize Makefile

* build in versioned subdirectory
* add 'deb' make target
* drop fakeroot from dpkg-buildpackage invocation

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoadd xdgmime sources to Xdgmime/.gitignore
Stoiko Ivanov [Sat, 5 Jun 2021 15:19:44 +0000 (15:19 +0000)]
add xdgmime sources to Xdgmime/.gitignore

they get copied from xdgmime-source during build and
should not be checked in Xdgmime

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoremove fallback header files
Stoiko Ivanov [Wed, 2 Jun 2021 17:04:47 +0000 (17:04 +0000)]
remove fallback header files

they get recreated by Makefile.PL, if ExtUtils::Constant is present
(which is the case on debian if perl-modules-$perlver is installed,
which itself is a dependency of perl)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoremove ppport.h from git - recreate it during build
Stoiko Ivanov [Wed, 2 Jun 2021 16:37:35 +0000 (16:37 +0000)]
remove ppport.h from git - recreate it during build

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agodrop old upstream tarball and copy
Stoiko Ivanov [Wed, 2 Jun 2021 11:06:58 +0000 (11:06 +0000)]
drop old upstream tarball and copy

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoSquashed 'xdgmime-source/' content from commit 28b70c4
Stoiko Ivanov [Sat, 5 Jun 2021 15:11:55 +0000 (15:11 +0000)]
Squashed 'xdgmime-source/' content from commit 28b70c4

git-subtree-dir: xdgmime-source
git-subtree-split: 28b70c4129c7589cd7066ef327eec418b20793db

2 years agoMerge commit 'cf31d981a600e46f3d3344be8f33f0813a909bb1' as 'xdgmime-source'
Stoiko Ivanov [Sat, 5 Jun 2021 15:11:55 +0000 (15:11 +0000)]
Merge commit 'cf31d981a600e46f3d3344be8f33f0813a909bb1' as 'xdgmime-source'

2 years agod/rules: use minimal rules file
Stoiko Ivanov [Mon, 31 May 2021 01:30:44 +0000 (01:30 +0000)]
d/rules: use minimal rules file

roughly tested by running diffoscope and comparing differences
and running the pmg-regression-tests

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agod/control: update dh compat level to 12
Stoiko Ivanov [Mon, 31 May 2021 01:16:55 +0000 (01:16 +0000)]
d/control: update dh compat level to 12

Signe-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agod/control: wrap-and-sort
Stoiko Ivanov [Mon, 31 May 2021 01:16:11 +0000 (01:16 +0000)]
d/control: wrap-and-sort

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agobump version to 0.01-5
Thomas Lamprecht [Tue, 23 Jul 2019 19:12:22 +0000 (21:12 +0200)]
bump version to 0.01-5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agod/control: fix typo
Thomas Lamprecht [Tue, 23 Jul 2019 19:12:16 +0000 (21:12 +0200)]
d/control: fix typo

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: read version from changelog
Thomas Lamprecht [Tue, 23 Jul 2019 19:10:53 +0000 (21:10 +0200)]
buildsys: read version from changelog

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agod/control: bump compat to level 10
Thomas Lamprecht [Tue, 23 Jul 2019 19:07:21 +0000 (21:07 +0200)]
d/control: bump compat to level 10

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoMakefile: fix upload target for stretch, add dinstall target
Dietmar Maurer [Wed, 8 Mar 2017 15:49:42 +0000 (16:49 +0100)]
Makefile: fix upload target for stretch, add dinstall target

9 years agoupdates for Debian wheezy
Dietmar Maurer [Mon, 22 Sep 2014 07:47:01 +0000 (09:47 +0200)]
updates for Debian wheezy

9 years agoimport from svn://proxdev/server/svn//libxdgmime-perl/pmg3
Dietmar Maurer [Fri, 19 Sep 2014 12:10:30 +0000 (14:10 +0200)]
import from svn://proxdev/server/svn//libxdgmime-perl/pmg3