Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • alistair23/pmaports
  • exkc/pmaports
  • fossdd/pmaports
  • JustSoup321/pmaports
  • Eisenbahnfan/pmaports
  • raihan2000/pmaports
  • sleirsgoevy/pmaports
  • Adrian/pmaports
  • adamthiede/pmaports
  • jianhua/pmaports
  • knuxify/pmaports
  • Arnavion/pmaports
  • barni2000/pmaports
  • longnoserob/pmaports
  • smankusors/pmaports
  • Aren/pmaports
  • langfingaz/pmaports
  • sicelo/pmaports
  • kouta-kun/pmaports
  • craftyguy/pmaports
  • rdacayan/pmaports
  • rmader/pmaports
  • Haui111/pmaports
  • jakko/pmaports
  • dujem/pmaports
  • methanal/pmaports
  • WeirdTreeThing/pmaports
  • MightyM17/pmaports
  • sertonix/pmaports
  • amessier/pmaports
  • akemnade/pmaports
  • setotau/pmaports
  • kevinwidjaja21/pmaports
  • NekoCWD/pmaports
  • ollieparanoid/pmaports
  • manoedinata/pmaports
  • Drakulix/pmaports
  • grimler/pmaports
  • benpicco/pmaports
  • Frieder.Hannenheim/pmaports
  • andrisas/pmaports
  • EspiDev/pmaports
  • maze42/pmaports
  • anjandev/pmaports
  • danct12/pmaports
  • ijiki16/pmaports
  • jja2000/pmaports
  • fancsali/pmaports
  • bolilingmeng89006/pmaports
  • Minecrell/pmaports
  • chipiguay/pmaports
  • cherrypicker/pmaports
  • fortuna-mainline/pmaports
  • pevik/pmaports
  • Patriot-06/pmaports
  • JoseskVolpe/pmaports
  • verdre/pmaports
  • proycon/pmaports
  • AutumnSpark1226/pmaports
  • PsychoGame/pmaports
  • fraolt/pmaports
  • VaporGame/pmaports
  • pugzarecute/pmaports
  • CalcProgrammer1/pmaports
  • hexaheximal/pmaports
  • dabao1955/pmaports
  • HenriDellal/pmaports
  • semfault/pmaports
  • strobo5/pmaports
  • andrewgigena/pmaports
  • Athozus/pmaports
  • 1peter10/pmaports
  • vixalien/pmaports
  • Tooniis/pmaports
  • adomerle/pmaports
  • bjorn3/pmaports
  • StacyHarper/pmaports
  • Jack_Kekzoz/pmaports
  • Ceddicedced/pmaports
  • Justin_Zobel/pmaports
  • airtower-luna/pmaports
  • f-izzo/pmaports
  • cosmo/pmaports
  • 9lore/pmaports
  • postmarketOS/pmaports
  • Johnnynator/pmaports
  • iAboothahir/pmaports
  • N1kroks/pmaports
  • neuschaefer/pmaports
  • DylanVanAssche/pmaports
  • yehiashamaa987/pmaports
  • Operachi/pmaports
  • faveoled/pmaports
  • ilpianista/pmaports
  • johkra/pmaports
  • HDDTHR/pmaports
  • zsoltiv/pmaports
  • Justin/pmaports
  • Kaloyan501/pmaports_huawei_p8_lite_2015_fix
  • joelselvaraj/pmaports
  • rontti/pmaports
  • dsankouski/pmaports
  • StandaSK/pmaports
  • paricbat/pmaports
  • asdfugil/pmaports
  • komaru-yml/pmaports
  • MasterPlexus/pmaports
  • Felix/pmaports
  • ayakael/pmaports
  • feisuzhu/pmaports
  • AJ-RR/pmaports
  • SzczurekYT/pmaports
  • mediaberry/pmaports
  • justsomeguy/pmaports
  • Augis154/pmaports
  • hrdl/pmaports
  • sib0ndt/pmaports
  • 19atlas/pmaports
  • vipaoL/pmaports
  • wannjanjic/pmaports
  • dh/pmaports
  • LogicalErzor/pmaports
  • halamix2/pmaports
  • Shamilkv34/pmaports
  • Cogitri/pmaports
  • fallenritemonk/pmaports
  • user0-07161/pmaports
  • rock3tsprocket/pmaports
  • ellyq/pmaports
  • rodent/pmaports
  • mkorpershoek/pmaports
  • candrew/pmaports
  • fallaciousreasoning/pmaports
  • chalkin/pmaports
  • ungeskriptet/pmaports
  • r00t/pmaports
  • panpanpanpan/pmaports
  • celiffe/pmaports
  • davidfurey/pmaports
  • kidd/pmaports
  • tpikonen/pmaports
  • camelCaseNick/pmaports
  • ermine/pmaports
  • lgh/pmaports
  • sajattack/pmaports
  • StephanieBread/pmaports
  • M0Rf30/pmaports
  • notfound405/pmaports
  • samueldr/pmaports
  • r10nw7fd3/pmaports
  • treid998/pmaports-merge
  • denysvitali/pmaports
  • rodriguezst/pmaports
  • puppiestdoggo1/pmaports
  • donihalim/pmaports
  • EDKPiepaint/pmaports-apple-tonga-test
  • SanyaPilot/pmaports
157 results
Show changes
Commits on Source (2)
Showing
with 0 additions and 4212 deletions
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=alarmd
pkgver=1.1.18
pkgrel=0
pkgdesc="An alarm framework used for handling of alarms and other timed events"
url="https://github.com/maemo-leste/alarmd"
arch="all !armhf !armv7"
license="LGPL-2.1-only"
makedepends="glib-dev dbus-glib-dev dbus-dev libdsme-dev libconic-dev
osso-systemui-dbus-headers mce-headers statusbar-alarm-dbus-dev clockd-dev
doxygen"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/alarmd/archive/$pkgver.tar.gz
alarmd-fix-musl.patch"
subpackages="$pkgname-dev $pkgname-doc"
options="!check"
build() {
CFLAGS="$CFLAGS -Wno-error=array-bounds" make
}
package() {
ROOT="$pkgdir" make install
}
sha512sums="e5c0e2608506811094bf8cdc267b2c72642bf3321df182fe813f3adb8e8491ebb0abc60d01265c4ae836bf22b9779ea69489b607971bf5b81fc0c5f89d873209 alarmd-1.1.18.tar.gz
3add3f0e0c20f7a5db98c9138754378d5a52ac052b3cf176281b8b02434bee1b030f49157259c1a477daeebb5a70bfb05127c237de682ac4421d5005989c915f alarmd-fix-musl.patch"
diff --git a/src/sighnd.c b/src/sighnd.c
index 505e79a..cd66ab7 100644
--- a/src/sighnd.c
+++ b/src/sighnd.c
@@ -35,6 +35,16 @@
#include <errno.h>
#include <glib.h>
+/* taken from glibc unistd.h and fixes musl */
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
+
/* ========================================================================= *
* SIGNAL HANDING FUNCTIONALITY
* ========================================================================= */
diff --git a/src/ticker.c b/src/ticker.c
index 7ff6ca9..2f97f47 100644
--- a/src/ticker.c
+++ b/src/ticker.c
@@ -662,10 +662,7 @@ time_t ticker_get_monotonic(void)
static inline int is_leap_year(int y)
{
- // use macro from time.h
- return __isleap(y);
-
- //return (y % 4 == 0) && ((y % 100 != 0) || (y % 400 == 0));
+ return (y % 4 == 0) && ((y % 100 != 0) || (y % 400 == 0));
}
/* ------------------------------------------------------------------------- *
diff --git a/configure.ac b/configure.ac
index cd34a82..8071bff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,4 +3,27 @@ AM_INIT_AUTOMAKE(ke-recv-extra, 0.2)
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
+PKG_CHECK_MODULES(OSSO, libosso)
+AC_SUBST(OSSO_CFLAGS)
+AC_SUBST(OSSO_LIBS)
+
+PKG_CHECK_MODULES(GLIB, glib-2.0)
+AC_SUBST(GLIB_CFLAGS)
+AC_SUBST(GLIB_LIBS)
+
+PKG_CHECK_MODULES(GCONF, gconf-2.0)
+AC_SUBST(GCONF_FLAGS)
+AC_SUBST(GCONF_LIBS)
+
+PKG_CHECK_MODULES(DBUS, dbus-1)
+AC_SUBST(DBUS_CFLAGS)
+AC_SUBST(DBUS_LIBS)
+
+PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1)
+AC_SUBST(DBUS_GLIB_CFLAGS)
+AC_SUBST(DBUS_GLIB_LIBS)
+
+LOCALEDIR=`pkg-config --variable=localedir osso-af-settings`
+AC_SUBST(LOCALEDIR)
+
AC_OUTPUT([Makefile src/Makefile])
diff --git a/src/Makefile.am b/src/Makefile.am
index 8e4dee8..7a7e23b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,15 +1,9 @@
sbin_PROGRAMS = hulda
-INCLUDES = \
- `pkg-config --cflags libosso` \
- `pkg-config --cflags glib-2.0` \
- `pkg-config --cflags gconf-2.0` \
- `pkg-config --cflags dbus-1` \
- `pkg-config --cflags dbus-glib-1` \
- -DLOCALEDIR=\"`pkg-config --variable=localedir osso-af-settings`\"
+INCLUDES = -DLOCALEDIR=\"$(LOCALEDIR)\"
-hulda_LDFLAGS = \
- `pkg-config --libs gconf-2.0 dbus-glib-1`
+hulda_CFLAGS= $(GLIB_CFLAGS) $(GCONF_CFLAGS) $(DBUS_GLIB_CFLAGS) $(DBUS_CFLAGS) $(OSSO_CFLAGS)
+hulda_LDADD = $(GLIB_LIBS) $(GCONF_LIBS) $(DBUS_GLIB_LIBS) $(DBUS_LIBS) $(OSSO_LIBS)
hulda_SOURCES = \
hulda.h \
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=cityinfo
pkgver=0.5.18
pkgrel=0
pkgdesc="Cityinfo library allows to get some informations about set of cities from all over the world"
url="https://github.com/maemo-leste/cityinfo"
arch="all !armhf !armv7"
license="LGPL-2.1-or-later"
depends_dev="gconf-dev glib-dev"
makedepends="$depends_dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/cityinfo/archive/$pkgver.tar.gz"
subpackages="$pkgname-dev"
options="!check"
build() {
make
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="ae54715fd1fe005e50c427d7eab6f74ce5759f858edd8e34f9814fa7ff422f9a8d3b9ec9d8cd10c6076040c9a3fdf3c26169242742b46e18514eb9d3a157f772 cityinfo-0.5.18.tar.gz"
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=clockd
pkgver=0.0.43
pkgrel=0
pkgdesc="Provides centralized place for handling time"
url="https://github.com/maemo-leste/clockd"
arch="all !armhf !armv7"
license="GPL-2.0-or-later"
makedepends="autoconf automake libtool glib-dev dbus-glib-dev gconf-dev cityinfo-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/clockd/archive/$pkgver.tar.gz
fix-unknown-type-name.patch
build-fix.patch" # Remove when cityinfo linkage is fixed
subpackages="$pkgname-dev"
options="!check"
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure --prefix=/usr
make
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="54d0459d5207c6e560b78b0857b22b6fc0f19ecbab039f27ed2983b34f1c8ee100902af6184b56709c288c927acf10d84b7d677caa8d62e1d7e5a78f74fefccb clockd-0.0.43.tar.gz
82baef0d239d2fa2105c2d2eb5cd5662766b7b7131f3df74ffdb931916064b0a0939845db93eae7f43999bb2d1c10a286ca63d252bec35c0be74a88e7a43c47b fix-unknown-type-name.patch
8dacc083724aac21b78150bf1191ccbde1b792db04303463cfa03e681baf225d999b69cfc5e2f1860eb43c8e442953080d18cbe15e9b0389d0469e9d05433f78 build-fix.patch"
diff --git a/clockd/Makefile.am b/clockd/Makefile.am
index 7defc10..3dc0dc5 100644
--- a/clockd/Makefile.am
+++ b/clockd/Makefile.am
@@ -24,7 +24,7 @@ libtime_a_CFLAGS = $(DBUS_CFLAGS) -DMESTR="\"$(PACKAGE_NAME):\""
clockd_SOURCES = sighnd.c clockd.c mainloop.c internal_time_utils.c mcc_tz_utils.c logging.c server.c
clockd_CFLAGS = $(DBUS_CFLAGS) $(GLIB_CFLAGS) $(CITYINFO_CFLAGS) $(DBUSGLIB_CFLAGS) -DMESTR="\"$(PACKAGE_NAME):\""
-clockd_LDADD = $(DBUS_LIBS) $(GLIB_LIBS) $(CITYINFO_LIBS) $(DBUSGLIB_LIBS) libtime.a
+clockd_LDADD = $(DBUS_LIBS) $(GLIB_LIBS) $(CITYINFO_LIBS) -lgconf-2 $(DBUSGLIB_LIBS) libtime.a
rclockd_SOURCES = rclockd.c
rclockd_CFLAGS = -DMESTR="\"$(PACKAGE_NAME):\""
diff --git a/clockd/rclockd.c b/clockd/rclockd.c
index ef81318..7564c73 100644
--- a/clockd/rclockd.c
+++ b/clockd/rclockd.c
@@ -25,8 +25,8 @@ bool clockd_debug_mode = false;
#define SET_UID(uid) set_uid(uid, __FUNCTION__)
-static __uid_t
-set_uid(__uid_t uid, const char *f)
+static uid_t
+set_uid(uid_t uid, const char *f)
{
if (uid && setuid(0))
{
@@ -44,7 +44,7 @@ static int
set_time(const char *s)
{
unsigned long sec = strtoul(s, 0, 10);
- __uid_t uid = SET_UID(getuid());
+ uid_t uid = SET_UID(getuid());
struct timeval tv;
int rv = -1;
@@ -92,7 +92,7 @@ set_tz(const char *s)
{
char path[256];
struct stat stat_buf;
- __uid_t uid = SET_UID(getuid());
+ uid_t uid = SET_UID(getuid());
int rv = -1;
if (s[1] == '/')
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Contributor: Nikita Ukhrenkov <thekit@disroot.org>
# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=dsme
pkgver=0.61.5
pkgrel=0
pkgdesc="DSME is responsible of device state management, process lifeguard support, watch dogs and thermal management"
url="https://github.com/maemo-leste/dsme"
arch="all !armhf !armv7"
license="LGPL-2.1-only"
depends_dev="glib-dev dbus-glib-dev linux-headers libdsme-dev libcal-dev"
makedepends="$depends_dev bash"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/dsme/archive/$pkgver.tar.gz
build-fix.patch"
options="!check"
build() {
make -j1
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="68e04aae2cf585a6082f6f60c8fbc8a864204bc6c2333d9683bb044f0f24926887e137135987f2e494e0e2e62a76b110334974e24347b88a3115b767efeaf2d7 dsme-0.61.5.tar.gz
174cd9b35b47c8e5573510ae6e4b7a1fbdefe00a2f7622c620acd6ab19f4d56752b0a78be96b1866cbeb7d03a867a8561b050e54b96ff81f33deae25c2404100 build-fix.patch"
From 826bf12619b368899d49d0f72957ad42ef863642 Mon Sep 17 00:00:00 2001
From: NeKit <nekit1000@gmail.com>
Date: Thu, 10 Oct 2019 13:47:50 +0200
Subject: [PATCH] Fix compilation on postmarketOS with musl
---
Rules.make | 2 +-
util/Makefile | 12 ++++++------
util/dsmetest.c | 2 +-
util/dsmetool.c | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Rules.make b/Rules.make
index c02de3e..d9b9a42 100644
--- a/Rules.make
+++ b/Rules.make
@@ -185,7 +185,7 @@ $(DISTCLN_SUBDIRS):
# Common rule for all executables
ifndef INSTALLING
$(BINARIES):
- $(CC) -o $@ $(LDFLAGS) $(call TARGET_OBJS,$@) $(addprefix -l,$($@_SO_LIBS) $($@_A_LIBS) $($@_LIBS))
+ $(CC) -o $@ $(call TARGET_OBJS,$@) $(LDFLAGS) $(addprefix -l,$($@_SO_LIBS) $($@_A_LIBS) $($@_LIBS))
endif
diff --git a/util/Makefile b/util/Makefile
index e592d13..6dac30a 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -8,19 +8,19 @@ BINARIES := batttest dsmetool dsmetest bootstate waitfordsme dsmereboot
# Target composition and overrides
#
batttest_C_OBJS := batttest.o
-batttest_LIBS := dsme
+batttest_LIBS := dsme glib-2.0
dsmetool_C_OBJS := dsmetool.o
-dsmetool_LIBS := dsme
+dsmetool_LIBS := dsme glib-2.0
dsmetest_C_OBJS := dsmetest.o
-dsmetest_LIBS := dsme
+dsmetest_LIBS := dsme glib-2.0
bootstate_C_OBJS := bootstate.o
-bootstate_LIBS := dsme
+bootstate_LIBS := dsme glib-2.0
waitfordsme_C_OBJS := waitfordsme.o
-waitfordsme_LIBS := dsme
+waitfordsme_LIBS := dsme glib-2.0
kicker_C_OBJS := kicker.o
kicker_LIBS := dsme cal
dsmereboot_C_OBJS := dsmereboot.o
-dsmereboot_LIBS := dsme
+dsmereboot_LIBS := dsme glib-2.0
#
diff --git a/util/dsmetest.c b/util/dsmetest.c
index 2fc0f56..8a95547 100644
--- a/util/dsmetest.c
+++ b/util/dsmetest.c
@@ -29,7 +29,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <sys/time.h>
#include <unistd.h>
#include <errno.h>
diff --git a/util/dsmetool.c b/util/dsmetool.c
index 251a883..0e5d2a8 100644
--- a/util/dsmetool.c
+++ b/util/dsmetool.c
@@ -32,7 +32,7 @@
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <sys/time.h>
#include <unistd.h>
#include <errno.h>
--
2.23.0
# Removed upstream in Alpine but libhildon still depends on it
pkgname=gconf
pkgver=3.2.6
pkgrel=5
pkgdesc="GNOME configuration system"
url="http://projects.gnome.org/gconf"
arch="all"
license="GPL-2.0-or-later"
depends_dev="libxml2-dev gtk+3.0-dev polkit-dev"
makedepends="$depends_dev gobject-introspection-dev glib-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/GConf/${pkgver%.*}/GConf-$pkgver.tar.xz"
builddir="$srcdir"/GConf-"$pkgver"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--disable-orbit \
--enable-gsettings-backend
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="35f5f659f9d03f7531a7102adacbda0eb310d8a55a831c768c91a82e07dae21247726e00e0e411f63b1de9ade0f042ded572a3ea4a4b2ad3135231f344540b58 GConf-3.2.6.tar.xz"
# Contributor: Nikita Ukhrenkov <thekit@disroot.org>
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=gtk+2.0-maemo
pkgver=2.24.31
_tag=2.24.25
pkgrel=7
subpkg=gtk-update-icon-cache
pkgdesc="The GTK+ Toolkit (v2)"
url="http://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
triggers="$subpkg.trigger=/usr/share/icons/*"
arch="all !armhf !armv7"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $subpkg:icon_cache"
# $pkgname-doc and $pkgname-lang are available but are not any different from gtk+2.0, so let's just disable them
depends="shared-mime-info gtk-update-icon-cache"
replaces="gtk+ gtk+-dev gtk+-doc"
provides="gtk+2.0"
depends_dev="
atk-dev
cairo-dev
intltool
libxdamage-dev
pango-dev
"
# we add hicolor-icon-theme because the subpackage gtk-update-icon-cache
# needs it. We need to force hicolor-icon-cache to be built before gtk+.2.0
makedepends="
autoconf automake libtool
$depends_dev
cups-dev
expat-dev
gdk-pixbuf-dev
gettext-dev
glib-dev
gnutls-dev
gobject-introspection-dev
gtk-doc
hicolor-icon-theme
libice-dev
libx11-dev
libxcomposite-dev
libxcursor-dev
libxext-dev
libxfixes-dev
libxrandr-dev
libxi-dev
zlib-dev
py3-six
"
_repo_raw_url=https://raw.githubusercontent.com/maemo-leste/gtk
source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.xz
hildonize-gdk-window.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gdk-window.diff
hildonize-gtk-container.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-container.diff
hildonize-gtk-dialog.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-dialog.diff
hildonize-gtk-entry.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-entry.diff
hildonize-gtk-enums.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-enums.diff
hildonize-gtk-iconview.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-iconview.diff
hildonize-gtk-imcontext.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-imcontext.diff
hildonize-gtk-menu.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-menu.diff
hildonize-gtk-rbtree.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-rbtree.diff
hildonize-gtk-textview.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-textview.diff
hildonize-gtk-widget.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-widget.diff
hildonize-gtk-window.patch::$_repo_raw_url/$_tag/debian/patches/hildonize-gtk-window.diff
xid-collision-debug.patch
gtk2-fixdso.patch
hildonize-gtk-treeview.patch
"
builddir="$srcdir/gtk+-$pkgver"
prepare() {
default_prepare
libtoolize --force \
&& aclocal -I m4 \
&& autoconf \
&& automake --add-missing
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xinput=yes \
--without-libjasper \
--with-included-loaders=png
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
DESTDIR="$pkgdir" make install
rm -r \
"$pkgdir"/usr/share/locale \
"$pkgdir"/usr/share/gtk-doc
}
dev() {
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/gtk-2.0 "$subpkgdir"/usr/share/
default_dev
replaces="gtk+2.0"
provides="gtk+2.0-dev=$pkgver"
mv "$pkgdir"/usr/bin/gtk-builder-convert \
"$pkgdir"/usr/bin/gtk-demo \
"$subpkgdir"/usr/bin
}
icon_cache() {
depends="hicolor-icon-theme"
provides="gtk+2.0-icon_cache=$pkgver"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/"$subpkg" "$subpkgdir"/usr/bin
}
sha512sums="75b846661308d94b5236e7e1c367deabf57753792ca87e92f9769822dd5ec90e00cd8d5574adcc12162e3702e1ae6dc152278a1d218f9bd9e4d1c8dc1dd520c1 gtk+-2.24.31.tar.xz
f838b74958b4f5f1f37fb2831c07dfb7ea051fd62c74f17d8848736e1bbd5671b9a8a66e5a34ce131669a05b2e99312fa43a91ef1d456a914f2d308c09412681 hildonize-gdk-window.patch
809135f8921bf42c0684be6183eb626ec21db87ead3cb3efbfb59d1b6c57f6d2bc61f23cdf54ed6521de1a74c606ed69cb9991332edb938b076baecd805154b2 hildonize-gtk-container.patch
77c37f91e989b9e6326b9b2c1bf32f5feaa7b81ec5742f5fb1c5b6db07de4efcc9753beadb9517fe8e04983e11d122b5dfd94897bc8bdb2d68cf7dfffdb1b46e hildonize-gtk-dialog.patch
29ea967378c84e907f7a102bcf6cd893c12c25586c95b2a2994e92dd1f1e82996bfb1416cef47a17ff6b8a225a222cd545b2080d45d190d9061a0f1ecf2baf37 hildonize-gtk-entry.patch
a65dc9a3f5e2967d382d8f13781bf446441bea23d84740eaf43e4ce7ee14b3592b7f105f4b89b7246c42f5be9a9e1e9ae93ac23bc6b62ae9c09b45a0eb6a273d hildonize-gtk-enums.patch
44ba4adcd50c589990af195d3b25baed8098ef8f7f191d841b9ce86bf7e65a48c4e8222a755eca1373eaabe6a79db9c3721f0fa690cca5e5e31fd9b4c3fc69bb hildonize-gtk-iconview.patch
ece16de21b19ccb7b08bad78880fa83765bb562973cf73249a9b2b617e0918e231d54bf64ee82648901c7f6c4af4220b06547dc9a17bbb77fab9e83c08cdcfe7 hildonize-gtk-imcontext.patch
44cd0f71316f38da52ad0e9db3681bf4fbf83c9175b98bb9241d0bedf3f66ed6923c8aa6c9c26264ee4d7b5f8abb15f2ab7cd9f1eaf037273bf94ec50ff4ea41 hildonize-gtk-menu.patch
d664555b7e7a98a567548d403e3df0d0534312ba6947d422a0d68dddbaa786806a842a25dcb5f4a0e1235a2f64d6920f67bf93b4574540d4af2337e1d5b68f2c hildonize-gtk-rbtree.patch
f4c1978b1cbd00cc28779f1cda99434f2f5aec53fd6564282d7d2c5ac5d4869207d38a31ad971bfa09eefe5a78030b3c4c169cbdbd7f5e3b2f7c42bed7f58e56 hildonize-gtk-textview.patch
aa3100404b4fe4509ec52c79384e5e59585d482947e394ad26f9c83ad11c9a19f2b0f66112ba9c74feb7a0c7d1b5ec54c64fac34ec0c03666b3ecb62160db8b6 hildonize-gtk-widget.patch
7622b5ff6cd1c0705eee7ad5789c675055a79a4b0aaf2f25fdab4a6fdf883e6fbdef22145d2f2ce4ada3015bd7a8424f61a325a8d00c80e26bf1b507c7949318 hildonize-gtk-window.patch
89e3223c86731a76b12d39245f1ec4cf8b4860ab1d11d74a10e5deb0db302f20b4bb5d9034da1d8aeb96369dbdeddcdd2f28943270dc501476c694562b960159 xid-collision-debug.patch
95f28633a5164a2a9fec45ee1aa80bd1c07e0c5a7ac8d770b9c74af0909b7286b823eb634aa384cad609dc8799d2e6c9e8392c2732b9093076fdf94b4f6878b7 gtk2-fixdso.patch
87bdabbbbf41469abf67f53afd77edbe69ce41638c1bc3cfb049864e5105fc565dfdbacd0f95381f2a9e2225d18b1c57a5a1e2c77846c3aca1a09e6dea334b8d hildonize-gtk-treeview.patch"
--- ./configure.in.orig 2012-12-31 14:40:30.297439517 +0000
+++ ./configure.in 2012-12-31 14:40:51.587629835 +0000
@@ -51,7 +51,7 @@
cflags_set=${CFLAGS+set}
AM_INIT_AUTOMAKE([no-define -Wno-portability dist-bzip2])
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
# Support silent build rules, requires at least automake-1.11. Enable
# by either passing --enable-silent-rules to configure or passing V=0
@@ -300,7 +300,6 @@
# Checks for programs.
AC_ISC_POSIX
-AM_PROG_CC_STDC
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_MAKE_SET
#!/bin/sh
# since we depend on coreutils and busybox trigger has not yet run, we
# use busybox directly as workaround
/bin/busybox rm -f etc/gtk-2.0/gtk.immodules
/bin/busybox rm -f etc/gtk-2.0/gdk-pixbuf.loaders
#!/bin/sh
usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
usr/bin/gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
gtk+2.0-maemo.post-install
\ No newline at end of file
#!/bin/sh
for i in "$@"; do
if ! [ -e "$i" ]; then
continue
fi
gtk-update-icon-cache -q -t -f "$i"
done
--- gtk+-2.24.8/gtk/Makefile.am.orig 2012-02-01 11:14:25.468115547 +0000
+++ gtk+-2.24.8/gtk/Makefile.am 2012-02-01 11:14:57.920116650 +0000
@@ -904,10 +904,10 @@
libgtk_quartz_2_0_la_SOURCES = $(gtk_c_sources)
libgtk_directfb_2_0_la_SOURCES = $(gtk_c_sources)
-libgtk_x11_2_0_la_LDFLAGS = $(libtool_opts)
+libgtk_x11_2_0_la_LDFLAGS = $(libtool_opts) -lgmodule-2.0
libgtk_win32_2_0_la_LDFLAGS = $(libtool_opts) -Wl,-luuid
libgtk_quartz_2_0_la_LDFLAGS = $(libtool_opts)
-libgtk_directfb_2_0_la_LDFLAGS = $(libtool_opts)
+libgtk_directfb_2_0_la_LDFLAGS = $(libtool_opts) -lgmodule-2.0
libgtk_x11_2_0_la_LIBADD = $(libadd)
libgtk_win32_2_0_la_LIBADD = $(libadd) -lole32 -lgdi32 -lcomdlg32 -lwinspool -lcomctl32
This diff is collapsed.
--- gtk+-2.18.3/gdk/x11/gdkxid.c 2009-06-19 04:59:18.000000000 +0200
+++ gtk+-2.18.3/gdk/x11/gdkxid.c.new 2009-07-22 11:30:12.000000000 +0200
@@ -56,10 +56,10 @@
if (!display_x11->xid_ht)
display_x11->xid_ht = g_hash_table_new ((GHashFunc) gdk_xid_hash,
(GEqualFunc) gdk_xid_equal);
-
+/*
if (g_hash_table_lookup (display_x11->xid_ht, xid))
g_warning ("XID collision, trouble ahead");
-
+*/
g_hash_table_insert (display_x11->xid_ht, xid, data);
}
# Maintainer: Nikita Ukhrenkov <thekit@disroot.org>
pkgname=hildon-desktop
pkgver=2.2.157.11
pkgrel=2
pkgdesc="Hildon desktop for Fremantle"
arch="all !armhf !armv7"
url="https://github.com/maemo-leste/hildon-desktop"
license="GPL-2.0-or-later"
depends="libhildon libmatchbox2 libhildondesktop clutter gnome-menus profiled"
makedepends="
autoconf
automake
gnome-menus-dev
libhildondesktop-dev
libmatchbox2-dev
libtool
mce-headers
profiled-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/hildon-desktop/archive/$pkgver.tar.gz
build-fix.patch"
build() {
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
make DESTDIR="$pkgdir/" install
# Once dsmetool is packaged, we should use this rather than our own launch script
# install -Dm644 "$builddir"/debian/hildon-desktop.xsession \
# "$pkgdir"/usr/bin/hildon-desktop
}
sha512sums="4084f535b366283d2d7d1a2ca546a925c50506a97270c0bfbb9358f859a4e175d9fbd530ffa9e3251afe372c58352d91d4d707c9190b19b114f655f35ea16f58 hildon-desktop-2.2.157.11.tar.gz
f9f7ae9c4b175bb40d9f76a6716afdf3e77630bedee727b09b442b723a90f0dfa125937c483e75024343ae55eb60e5d824bc8bf3ce554c071cca9d88b9af2594 build-fix.patch"