Compare commits
5 Commits
0dff71c1ca
...
01c53536c6
Author | SHA1 | Date | |
---|---|---|---|
01c53536c6 | |||
9d0df15e7c | |||
ef58b9b8f9 | |||
6eb838904b | |||
7428bcddec |
@ -9,13 +9,6 @@
|
|||||||
|
|
||||||
FcConfig *old_system_config = NULL;
|
FcConfig *old_system_config = NULL;
|
||||||
|
|
||||||
void
|
|
||||||
exd_fileformat_fontconfig__restore_system_config_c(SV *self) {
|
|
||||||
if (old_system_config != NULL) {
|
|
||||||
FcConfigSetCurrent(old_system_config);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir) {
|
exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir) {
|
||||||
if (old_system_config == NULL) {
|
if (old_system_config == NULL) {
|
||||||
@ -110,8 +103,6 @@ AV * exd_fileformat_fontconfig__list_fonts_c(SV *self, char *font_dir)
|
|||||||
|
|
||||||
void exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir)
|
void exd_fileformat_fontconfig__set_current_c(SV *self, char *font_dir)
|
||||||
|
|
||||||
void exd_fileformat_fontconfig__restore_system_config_c(SV *self)
|
|
||||||
|
|
||||||
MODULE = Exd PACKAGE = Exd::Fontconfig PREFIX = exd_fontconfig_
|
MODULE = Exd PACKAGE = Exd::Fontconfig PREFIX = exd_fontconfig_
|
||||||
|
|
||||||
AV * exd_fontconfig__list_fonts_c(SV *self)
|
AV * exd_fontconfig__list_fonts_c(SV *self)
|
||||||
|
@ -22,10 +22,6 @@ sub set_current($self) {
|
|||||||
$self->_set_current_c( '' . $dir );
|
$self->_set_current_c( '' . $dir );
|
||||||
}
|
}
|
||||||
|
|
||||||
sub restore_system_config($self) {
|
|
||||||
$self->_restore_system_config_c;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub list_fonts($self) {
|
sub list_fonts($self) {
|
||||||
my $fonts = $self->_list_fonts_c($self->_font_dir->child('dir'));
|
my $fonts = $self->_list_fonts_c($self->_font_dir->child('dir'));
|
||||||
return $fonts;
|
return $fonts;
|
||||||
|
@ -30,6 +30,11 @@
|
|||||||
|
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="v1.0.11" date="2024-11-11">
|
||||||
|
<description>
|
||||||
|
<p>Better startup script to run Glib::Object::Introspection INIT code</p>
|
||||||
|
</description>
|
||||||
|
</release>
|
||||||
<release version="v1.0.10" date="2024-11-10">
|
<release version="v1.0.10" date="2024-11-10">
|
||||||
<description>
|
<description>
|
||||||
<p>Removing Inline::C usage for XS</p>
|
<p>Removing Inline::C usage for XS</p>
|
||||||
|
19
run.pl
19
run.pl
@ -1,9 +1,22 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
use v5.40.0;
|
use v5.40.0;
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
chdir '/app/Hiperthermia/';
|
use File::Basename qw/dirname/;
|
||||||
require '/app/Hiperthermia/scripts/main.pl';
|
|
||||||
|
BEGIN {
|
||||||
|
open my $fh, '>&', \*STDERR;
|
||||||
|
open STDERR, '>', '/dev/null';
|
||||||
|
system 'perl', 'Build.PL';
|
||||||
|
system 'perl', 'Build', 'build';
|
||||||
|
open STDERR, '>&', $fh;
|
||||||
|
};
|
||||||
|
|
||||||
|
use blib '/app/Hiperthermia';
|
||||||
|
chdir '/app/Hiperthermia';
|
||||||
|
|
||||||
|
use Exd::Gui;
|
||||||
|
|
||||||
|
Exd::Gui->new->start();
|
||||||
|
@ -5,6 +5,15 @@ use strict;
|
|||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
use File::Basename qw/dirname/;
|
use File::Basename qw/dirname/;
|
||||||
|
|
||||||
|
BEGIN {
|
||||||
|
open my $fh, '>&', \*STDERR;
|
||||||
|
open STDERR, '>', '/dev/null';
|
||||||
|
system 'perl', 'Build.PL';
|
||||||
|
system 'perl', 'Build', 'build';
|
||||||
|
open STDERR, '>&', $fh;
|
||||||
|
};
|
||||||
|
|
||||||
use blib;
|
use blib;
|
||||||
|
|
||||||
use Exd::Gui;
|
use Exd::Gui;
|
||||||
|
Loading…
Reference in New Issue
Block a user