{"id":633,"date":"2010-03-25T23:11:13","date_gmt":"2010-03-25T14:11:13","guid":{"rendered":"http:\/\/www13.atpages.jp\/mattyan\/blog\/?p=633"},"modified":"2010-03-25T23:11:13","modified_gmt":"2010-03-25T14:11:13","slug":"%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%bb%e3%83%bc%e3%83%90%e3%83%bc%e4%bd%9c%e6%88%90%e4%b8%ad","status":"publish","type":"post","link":"https:\/\/mattyan.net\/blog\/?p=633","title":{"rendered":"\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u4f5c\u6210\u4e2d"},"content":{"rendered":"<p>Gnome\u7528\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u4f5c\u6210\u4e2d\u3002<br \/>\n\u6587\u5b57\u5217\u306e\u63cf\u5199\u306fcairo\u3092\u4f7f\u3046\u3053\u3068\u3067\u7121\u4e8b\u306b\u6210\u529f\u3002<br \/>\n\u305f\u3060\u3001\u305d\u308c\u3092\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u30d7\u30ec\u30d3\u30e5\u30fc\u307e\u3067\u306f\u3067\u304d\u308b\u3051\u3069\u3001\u5b9f\u884c\u3067\u304d\u306a\u3044\u30fb\u30fb\u30fb<br \/>\n\u691c\u8a3c\u7528Makefile<\/p>\n<pre><code class=\"\" data-line=\"\">CC             =gcc\nPKG_CONFIG     =pkg-config\nGTK_METADATA   =gtk+-2.0\nINSTALL        =install\nGS_LIBEXEC_DIR =`${PKG_CONFIG} --variable=privlibexecdir gnome-screensaver`\nGS_DESKTOP_DIR =`${PKG_CONFIG} --variable=themesdir      gnome-screensaver`\nSOURCES =source\/gs-theme-window.c source\/main.c\nTARGET  =screen_caution\nDESKTOP =${TARGET}.desktop\nICON    =${TARGET}.png\nOBJECTS = $(SOURCES:.c=.o)\nCFLAGS = `${PKG_CONFIG} ${GTK_METADATA} --cflags` -Wall -g\nLIBS   = `${PKG_CONFIG} ${GTK_METADATA} --libs`\n$(TARGET): $(OBJECTS)\n\t$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS)\n.c.o:\n\t$(CC) $(CFLAGS) -c $&lt; -o $@\nclean:\n\trm -f $(OBJECTS) $(TARGET) core* *.o *~\ninstall:\n\t${INSTALL} -s -m 0755 ${TARGET}  ${GS_LIBEXEC_DIR}\n\t${INSTALL}    -m 0644 ${DESKTOP} ${GS_DESKTOP_DIR}\n\t${INSTALL}    -m 0644 ${ICON}    \/usr\/share\/icons<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Gnome\u7528\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u4f5c\u6210\u4e2d\u3002 \u6587\u5b57\u5217\u306e\u63cf\u5199\u306fcairo\u3092\u4f7f\u3046\u3053\u3068\u3067\u7121\u4e8b\u306b\u6210\u529f\u3002 \u305f\u3060\u3001\u305d\u308c\u3092\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u30d7\u30ec\u30d3\u30e5\u30fc\u307e\u3067\u306f\u3067\u304d\u308b\u3051\u3069\u3001\u5b9f\u884c\u3067\u304d\u306a\u3044\u30fb\u30fb\u30fb \u691c\u8a3c\u7528Makefile C &hellip; <a href=\"https:\/\/mattyan.net\/blog\/?p=633\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u30b9\u30af\u30ea\u30fc\u30f3\u30bb\u30fc\u30d0\u30fc\u4f5c\u6210\u4e2d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-633","post","type-post","status-publish","format-standard","hentry","category-3","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=633"}],"version-history":[{"count":0,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/633\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattyan.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}