Go to file
Stoiko Ivanov e66585f467 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>
2021-06-11 11:52:21 +00:00
debian d/rules: use minimal rules file 2021-06-05 15:07:38 +00:00
Xdgmime update bindings 2021-06-11 11:52:21 +00:00
xdgmime-source Merge commit 'cf31d981a600e46f3d3344be8f33f0813a909bb1' as 'xdgmime-source' 2021-06-05 15:11:55 +00:00
exports.h import from svn://proxdev/server/svn//libxdgmime-perl/pmg3 2014-09-19 14:10:30 +02:00
Makefile buildsys: reorganize Makefile 2021-06-07 17:02:03 +00:00
README import from svn://proxdev/server/svn//libxdgmime-perl/pmg3 2014-09-19 14:10:30 +02:00

0.) initial package generated with following commands:
######################################################

git clone git://anongit.freedesktop.org/xdg/xdgmime


man h2xs
man perlxs
man perlxstut

h2xs -Afn Xdgmime

cp xdgmime-source/src/xdgmime*.[ch] Xdgmime/

create exports.h file in Xdgmime/exports.h

# Note: following requires package 'libc-scan-perl' 
# downloaded that from debian etch archive

h2xs -Oxan Xdgmime exports.h

edit Xdgmime/Xdgmime.xs
edit Xdgmime/lib/Xdgmime.pm
edit Xdgmime/Makefile (add -DHAVE_MMAP)